macOS cran-release has been failing for a while now (the last successful commit was 81bd5a9)
In file included from /Users/runner/work/crossbow/crossbow/arrow/cpp/src/arrow/util/bpacking.cc:23:
/Users/runner/work/crossbow/crossbow/arrow/cpp/src/arrow/util/dispatch_internal.h:98:15: error: no member named 'ranges' in namespace 'std'
98 | return std::ranges::all_of(targets, [](const DynamicDispatchTarget<Func>& trgt) {
| ~~~~~^
/Users/runner/work/crossbow/crossbow/arrow/cpp/src/arrow/util/dispatch_internal.h:97:16: error: no return statement in constexpr function
97 | constexpr bool DispatchFullyStatic(const DynamicDispatchTargets<Func> auto& targets) {
| ^
/Users/runner/work/crossbow/crossbow/arrow/cpp/src/arrow/util/dispatch_internal.h:107:15: error: no member named 'ranges' in namespace 'std'
107 | return std::ranges::any_of(targets, [](const DynamicDispatchTarget<Func>& trgt) {
| ~~~~~^
/Users/runner/work/crossbow/crossbow/arrow/cpp/src/arrow/util/dispatch_internal.h:106:16: error: no return statement in constexpr function
106 | constexpr bool DispatchHasStatic(const DynamicDispatchTargets<Func> auto& targets) {
| ^
/Users/runner/work/crossbow/crossbow/arrow/cpp/src/arrow/util/bpacking.cc:50:16: error: constraints not satisfied for class template 'DynamicDispatch' [with DynamicFunction = arrow::internal::(anonymous namespace)::UnpackDynamicFunction<bool>]
50 | static const DynamicDispatch<UnpackDynamicFunction<Uint>> dispatch;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/work/crossbow/crossbow/arrow/cpp/src/arrow/util/bpacking.cc:54:15: note: in instantiation of function template specialization 'arrow::internal::unpack<bool>' requested here
54 | template void unpack<bool>(const uint8_t*, bool*, const UnpackOptions&);
| ^
/Users/runner/work/crossbow/crossbow/arrow/cpp/src/arrow/util/dispatch_internal.h:298:11: note: because 'arrow::internal::(anonymous namespace)::UnpackDynamicFunction<bool>' does not satisfy 'DynamicDispatchSpec'
298 | template <DynamicDispatchSpec DynamicFunction>
| ^
/Users/runner/work/crossbow/crossbow/arrow/cpp/src/arrow/util/dispatch_internal.h:218:12: note: because 'DispatchHasStatic<typename T::FunctionType>(T::targets())' would be invalid: no matching function for call to 'DispatchHasStatic'
218 | requires DispatchHasStatic<typename T::FunctionType>(T::targets());
| ^
/Users/runner/work/crossbow/crossbow/arrow/cpp/src/arrow/util/bpacking.cc:50:16: error: constraints not satisfied for class template 'DynamicDispatch' [with DynamicFunction = arrow::internal::(anonymous namespace)::UnpackDynamicFunction<unsigned char>]
50 | static const DynamicDispatch<UnpackDynamicFunction<Uint>> dispatch;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/work/crossbow/crossbow/arrow/cpp/src/arrow/util/bpacking.cc:55:15: note: in instantiation of function template specialization 'arrow::internal::unpack<unsigned char>' requested here
55 | template void unpack<uint8_t>(const uint8_t*, uint8_t*, const UnpackOptions&);
| ^
/Users/runner/work/crossbow/crossbow/arrow/cpp/src/arrow/util/dispatch_internal.h:298:11: note: because 'arrow::internal::(anonymous namespace)::UnpackDynamicFunction<unsigned char>' does not satisfy 'DynamicDispatchSpec'
298 | template <DynamicDispatchSpec DynamicFunction>
| ^
/Users/runner/work/crossbow/crossbow/arrow/cpp/src/arrow/util/dispatch_internal.h:218:12: note: because 'DispatchHasStatic<typename T::FunctionType>(T::targets())' would be invalid: no matching function for call to 'DispatchHasStatic'
218 | requires DispatchHasStatic<typename T::FunctionType>(T::targets());
| ^
/Users/runner/work/crossbow/crossbow/arrow/cpp/src/arrow/util/bpacking.cc:50:16: error: constraints not satisfied for class template 'DynamicDispatch' [with DynamicFunction = arrow::internal::(anonymous namespace)::UnpackDynamicFunction<unsigned short>]
50 | static const DynamicDispatch<UnpackDynamicFunction<Uint>> dispatch;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/work/crossbow/crossbow/arrow/cpp/src/arrow/util/bpacking.cc:56:15: note: in instantiation of function template specialization 'arrow::internal::unpack<unsigned short>' requested here
56 | template void unpack<uint16_t>(const uint8_t*, uint16_t*, const UnpackOptions&);
| ^
/Users/runner/work/crossbow/crossbow/arrow/cpp/src/arrow/util/dispatch_internal.h:298:11: note: because 'arrow::internal::(anonymous namespace)::UnpackDynamicFunction<unsigned short>' does not satisfy 'DynamicDispatchSpec'
298 | template <DynamicDispatchSpec DynamicFunction>
| ^
/Users/runner/work/crossbow/crossbow/arrow/cpp/src/arrow/util/dispatch_internal.h:218:12: note: because 'DispatchHasStatic<typename T::FunctionType>(T::targets())' would be invalid: no matching function for call to 'DispatchHasStatic'
218 | requires DispatchHasStatic<typename T::FunctionType>(T::targets());
| ^
/Users/runner/work/crossbow/crossbow/arrow/cpp/src/arrow/util/bpacking.cc:50:16: error: constraints not satisfied for class template 'DynamicDispatch' [with DynamicFunction = arrow::internal::(anonymous namespace)::UnpackDynamicFunction<unsigned int>]
50 | static const DynamicDispatch<UnpackDynamicFunction<Uint>> dispatch;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/work/crossbow/crossbow/arrow/cpp/src/arrow/util/bpacking.cc:57:15: note: in instantiation of function template specialization 'arrow::internal::unpack<unsigned int>' requested here
57 | template void unpack<uint32_t>(const uint8_t*, uint32_t*, const UnpackOptions&);
| ^
/Users/runner/work/crossbow/crossbow/arrow/cpp/src/arrow/util/dispatch_internal.h:298:11: note: because 'arrow::internal::(anonymous namespace)::UnpackDynamicFunction<unsigned int>' does not satisfy 'DynamicDispatchSpec'
298 | template <DynamicDispatchSpec DynamicFunction>
| ^
/Users/runner/work/crossbow/crossbow/arrow/cpp/src/arrow/util/dispatch_internal.h:218:12: note: because 'DispatchHasStatic<typename T::FunctionType>(T::targets())' would be invalid: no matching function for call to 'DispatchHasStatic'
218 | requires DispatchHasStatic<typename T::FunctionType>(T::targets());
| ^
/Users/runner/work/crossbow/crossbow/arrow/cpp/src/arrow/util/bpacking.cc:50:16: error: constraints not satisfied for class template 'DynamicDispatch' [with DynamicFunction = arrow::internal::(anonymous namespace)::UnpackDynamicFunction<unsigned long long>]
50 | static const DynamicDispatch<UnpackDynamicFunction<Uint>> dispatch;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/work/crossbow/crossbow/arrow/cpp/src/arrow/util/bpacking.cc:58:15: note: in instantiation of function template specialization 'arrow::internal::unpack<unsigned long long>' requested here
58 | template void unpack<uint64_t>(const uint8_t*, uint64_t*, const UnpackOptions&);
| ^
/Users/runner/work/crossbow/crossbow/arrow/cpp/src/arrow/util/dispatch_internal.h:298:11: note: because 'arrow::internal::(anonymous namespace)::UnpackDynamicFunction<unsigned long long>' does not satisfy 'DynamicDispatchSpec'
298 | template <DynamicDispatchSpec DynamicFunction>
| ^
/Users/runner/work/crossbow/crossbow/arrow/cpp/src/arrow/util/dispatch_internal.h:218:12: note: because 'DispatchHasStatic<typename T::FunctionType>(T::targets())' would be invalid: no matching function for call to 'DispatchHasStatic'
218 | requires DispatchHasStatic<typename T::FunctionType>(T::targets());
| ^
9 errors generated.
Describe the bug, including details regarding any error messages, version, and platform.
macOS cran-release has been failing for a while now (the last successful commit was 81bd5a9)
Component(s)
C++, Continuous Integration