Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

R package may be failing to compile on gcc13 #33635

Closed
paleolimbot opened this issue Jan 12, 2023 · 3 comments
Closed

R package may be failing to compile on gcc13 #33635

paleolimbot opened this issue Jan 12, 2023 · 3 comments

Comments

@paleolimbot
Copy link
Member

paleolimbot commented Jan 12, 2023

Describe the bug, including details regarding any error messages, version, and platform.

We'll need to fix all warnings shown on the package check page before the CRAN release. One of those is a gcc13 warning/error (unclear which). We used to have a job that did gcc12 and should try to update that to do gcc13.

https://cran.r-project.org/web/checks/check_results_arrow.html

Verbose error bits (with apologies for the ANSI):

In file included from �[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/shared_ptr.h:53�[m�[K,
                 from �[01m�[K/usr/local/gcc13/include/c++/13.0.0/memory:80�[m�[K,
                 from �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/csv/reader.h:20�[m�[K,
                 from �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/csv/reader.cc:18�[m�[K:
In constructor '�[01m�[Kstd::__shared_ptr<_Tp, _Lp>::�[01;32m�[K__shared_ptr�[m�[K(std::__shared_ptr<_Tp, _Lp>&&) �[35m�[K[with _Tp = arrow::Buffer; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]�[m�[K�[m�[K',
    inlined from '�[01m�[Kstd::shared_ptr<_Tp>::�[01;32m�[Kshared_ptr�[m�[K(std::shared_ptr<_Tp>&&) �[35m�[K[with _Tp = arrow::Buffer]�[m�[K�[m�[K' at �[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/shared_ptr.h:360:41�[m�[K,
    inlined from '�[01m�[Kconstexpr std::_Optional_payload_base<_Tp>::_Storage<_Up, false>::�[01;32m�[K_Storage�[m�[K(std::in_place_t, _Args&& ...) �[35m�[K[with _Args = {std::shared_ptr<arrow::Buffer>}; _Up = std::shared_ptr<arrow::Buffer>; _Tp = std::shared_ptr<arrow::Buffer>]�[m�[K�[m�[K' at �[01m�[K/usr/local/gcc13/include/c++/13.0.0/optional:244:8�[m�[K,
    inlined from '�[01m�[Kconstexpr std::_Optional_payload_base<_Tp>::�[01;32m�[K_Optional_payload_base�[m�[K(std::in_place_t, _Args&& ...) �[35m�[K[with _Args = {std::shared_ptr<arrow::Buffer>}; _Tp = std::shared_ptr<arrow::Buffer>]�[m�[K�[m�[K' at �[01m�[K/usr/local/gcc13/include/c++/13.0.0/optional:126:4�[m�[K,
    inlined from '�[01m�[Kconstexpr std::_Optional_payload<std::shared_ptr<arrow::Buffer>, true, false, false>::�[01;32m�[K_Optional_payload�[m�[K(std::in_place_t, _Args&& ...) �[35m�[K[with _Args = {std::shared_ptr<arrow::Buffer>}]�[m�[K[inherited from std::_Optional_payload_base<std::shared_ptr<arrow::Buffer> >]�[m�[K' at �[01m�[K/usr/local/gcc13/include/c++/13.0.0/optional:397:42�[m�[K,
    inlined from '�[01m�[Kconstexpr std::_Optional_payload<std::shared_ptr<arrow::Buffer>, false, false, false>::�[01;32m�[K_Optional_payload�[m�[K(std::in_place_t, _Args&& ...) �[35m�[K[with _Args = {std::shared_ptr<arrow::Buffer>}]�[m�[K[inherited from std::_Optional_payload_base<std::shared_ptr<arrow::Buffer> >]�[m�[K' at �[01m�[K/usr/local/gcc13/include/c++/13.0.0/optional:431:57�[m�[K,
    inlined from '�[01m�[Kconstexpr std::_Optional_base<_Tp, <anonymous>, <anonymous> >::�[01;32m�[K_Optional_base�[m�[K(std::in_place_t, _Args&& ...) �[35m�[K[with _Args = {std::shared_ptr<arrow::Buffer>}; typename std::enable_if<is_constructible_v<_Tp, _Args ...>, bool>::type <anonymous> = false; _Tp = std::shared_ptr<arrow::Buffer>; bool <anonymous> = false; bool <anonymous> = false]�[m�[K�[m�[K' at �[01m�[K/usr/local/gcc13/include/c++/13.0.0/optional:521:4�[m�[K,
    inlined from '�[01m�[Kconstexpr std::optional<_Tp>::�[01;32m�[Koptional�[m�[K(_Up&&) �[35m�[K[with _Up = std::shared_ptr<arrow::Buffer>; typename std::enable_if<__and_v<std::__not_<std::is_same<std::optional<_Tp>, typename std::remove_cv<typename std::remove_reference<_Tuple>::type>::type> >, std::__not_<std::is_same<std::in_place_t, typename std::remove_cv<typename std::remove_reference<_Tuple>::type>::type> >, std::is_constructible<_T1, _U1>, std::is_convertible<_U1, _T1> >, bool>::type <anonymous> = true; _Tp = std::shared_ptr<arrow::Buffer>]�[m�[K�[m�[K' at �[01m�[K/usr/local/gcc13/include/c++/13.0.0/optional:749:47�[m�[K,
    inlined from '�[01m�[Kvoid arrow::internal::AlignedStorage<T>::�[01;32m�[Kconstruct�[m�[K(A&& ...) �[35m�[K[with A = {std::shared_ptr<arrow::Buffer>}; T = std::optional<std::shared_ptr<arrow::Buffer> >]�[m�[K�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/util/aligned_storage.h:52:5�[m�[K,
    inlined from '�[01m�[Kvoid arrow::Result<T>::�[01;32m�[KConstructValue�[m�[K(U&&) �[35m�[K[with U = std::shared_ptr<arrow::Buffer>; T = std::optional<std::shared_ptr<arrow::Buffer> >]�[m�[K�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/result.h:435:23�[m�[K,
    inlined from '�[01m�[Karrow::Result<T>::�[01;32m�[KResult�[m�[K(U&&) �[35m�[K[with U = std::shared_ptr<arrow::Buffer>; E = void; T = std::optional<std::shared_ptr<arrow::Buffer> >]�[m�[K�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/result.h:163:19�[m�[K,
    inlined from '�[01m�[Karrow::Result<std::optional<_Up> > arrow::TransformIterator<T, V>::�[01;32m�[KPump�[m�[K() �[35m�[K[with T = std::shared_ptr<arrow::Buffer>; V = std::shared_ptr<arrow::Buffer>]�[m�[K�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/util/iterator.h:299:27�[m�[K:
�[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/shared_ptr_base.h:1532:9:�[m�[K �[01;35m�[Kwarning: �[m�[K'�[01m�[K*(std::__shared_ptr<arrow::Buffer, __gnu_cxx::_S_atomic>*)((char*)&next + offsetof(arrow::TransformFlow<std::shared_ptr<arrow::Buffer> >,arrow::TransformFlow<std::shared_ptr<arrow::Buffer> >::yield_value_.std::optional<std::shared_ptr<arrow::Buffer> >::<unnamed>.std::_Optional_base<std::shared_ptr<arrow::Buffer>, false, false>::<unnamed>)).std::__shared_ptr<arrow::Buffer, __gnu_cxx::_S_atomic>::_M_ptr�[m�[K' may be used uninitialized [�[01;35m�[K-Wmaybe-uninitialized�[m�[K]
 1532 |       : �[01;35m�[K_M_ptr(__r._M_ptr)�[m�[K, _M_refcount()
      |         �[01;35m�[K^~~~~~~~~~~~~~~~~~�[m�[K
In file included from �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/record_batch.h:28�[m�[K,
                 from �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/csv/reader.h:24�[m�[K:
�[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/util/iterator.h:�[m�[K In member function '�[01m�[Karrow::Result<std::optional<_Up> > arrow::TransformIterator<T, V>::�[01;32m�[KPump�[m�[K() �[35m�[K[with T = std::shared_ptr<arrow::Buffer>; V = std::shared_ptr<arrow::Buffer>]�[m�[K�[m�[K':
�[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/util/iterator.h:288:12:�[m�[K �[01;36m�[Knote: �[m�[K'�[01m�[K*(std::__shared_ptr<arrow::Buffer, __gnu_cxx::_S_atomic>*)((char*)&next + offsetof(arrow::TransformFlow<std::shared_ptr<arrow::Buffer> >,arrow::TransformFlow<std::shared_ptr<arrow::Buffer> >::yield_value_.std::optional<std::shared_ptr<arrow::Buffer> >::<unnamed>.std::_Optional_base<std::shared_ptr<arrow::Buffer>, false, false>::<unnamed>)).std::__shared_ptr<arrow::Buffer, __gnu_cxx::_S_atomic>::_M_ptr�[m�[K' was declared here
  288 |       auto �[01;36m�[Knext�[m�[K = *next_res;
      |            �[01;36m�[K^~~~�[m�[K
In destructor '�[01m�[Kstd::__shared_count<_Lp>::�[01;32m�[K~__shared_count�[m�[K() �[35m�[K[with __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]�[m�[K�[m�[K',
    inlined from '�[01m�[Kstd::__shared_ptr<_Tp, _Lp>::�[01;32m�[K~__shared_ptr�[m�[K() �[35m�[K[with _Tp = arrow::Buffer; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]�[m�[K�[m�[K' at �[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/shared_ptr_base.h:1524:7�[m�[K,
    inlined from '�[01m�[Kstd::shared_ptr<arrow::Buffer>::�[01;32m�[K~shared_ptr�[m�[K()�[m�[K' at �[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/shared_ptr.h:175:11�[m�[K,
    inlined from '�[01m�[Kconstexpr void std::_Optional_payload_base<_Tp>::�[01;32m�[K_M_destroy�[m�[K() �[35m�[K[with _Tp = std::shared_ptr<arrow::Buffer>]�[m�[K�[m�[K' at �[01m�[K/usr/local/gcc13/include/c++/13.0.0/optional:287:35�[m�[K,
    inlined from '�[01m�[Kconstexpr void std::_Optional_payload_base<_Tp>::�[01;32m�[K_M_reset�[m�[K() �[35m�[K[with _Tp = std::shared_ptr<arrow::Buffer>]�[m�[K�[m�[K' at �[01m�[K/usr/local/gcc13/include/c++/13.0.0/optional:318:14�[m�[K,
    inlined from '�[01m�[Kconstexpr void std::_Optional_payload_base<_Tp>::�[01;32m�[K_M_reset�[m�[K() �[35m�[K[with _Tp = std::shared_ptr<arrow::Buffer>]�[m�[K�[m�[K' at �[01m�[K/usr/local/gcc13/include/c++/13.0.0/optional:315:7�[m�[K,
    inlined from '�[01m�[Kstd::_Optional_payload<_Tp, false, _Copy, _Move>::�[01;32m�[K~_Optional_payload�[m�[K() �[35m�[K[with _Tp = std::shared_ptr<arrow::Buffer>; bool _Copy = false; bool _Move = false]�[m�[K�[m�[K' at �[01m�[K/usr/local/gcc13/include/c++/13.0.0/optional:439:65�[m�[K,
    inlined from '�[01m�[Kstd::_Optional_base<std::shared_ptr<arrow::Buffer>, false, false>::�[01;32m�[K~_Optional_base�[m�[K()�[m�[K' at �[01m�[K/usr/local/gcc13/include/c++/13.0.0/optional:510:12�[m�[K,
    inlined from '�[01m�[Kstd::optional<std::shared_ptr<arrow::Buffer> >::�[01;32m�[K~optional�[m�[K()�[m�[K' at �[01m�[K/usr/local/gcc13/include/c++/13.0.0/optional:705:11�[m�[K,
    inlined from '�[01m�[Karrow::TransformFlow<std::shared_ptr<arrow::Buffer> >::�[01;32m�[K~TransformFlow�[m�[K()�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/util/iterator.h:213:8�[m�[K,
    inlined from '�[01m�[Karrow::Result<std::optional<_Up> > arrow::TransformIterator<T, V>::�[01;32m�[KPump�[m�[K() �[35m�[K[with T = std::shared_ptr<arrow::Buffer>; V = std::shared_ptr<arrow::Buffer>]�[m�[K�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/util/iterator.h:301:5�[m�[K:
�[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/shared_ptr_base.h:1071:28:�[m�[K �[01;35m�[Kwarning: �[m�[K'�[01m�[K((std::__shared_count<__gnu_cxx::_S_atomic>*)((char*)&next + offsetof(arrow::TransformFlow<std::shared_ptr<arrow::Buffer> >,arrow::TransformFlow<std::shared_ptr<arrow::Buffer> >::yield_value_.std::optional<std::shared_ptr<arrow::Buffer> >::<unnamed>.std::_Optional_base<std::shared_ptr<arrow::Buffer>, false, false>::_M_payload.std::_Optional_payload<std::shared_ptr<arrow::Buffer>, false, false, false>::<unnamed>.std::_Optional_payload<std::shared_ptr<arrow::Buffer>, true, false, false>::<unnamed>.std::_Optional_payload_base<std::shared_ptr<arrow::Buffer> >::_M_payload)))[1].std::__shared_count<>::_M_pi�[m�[K' may be used uninitialized [�[01;35m�[K-Wmaybe-uninitialized�[m�[K]
 1071 |           �[01;35m�[K_M_pi->_M_release()�[m�[K;
      |           �[01;35m�[K~~~~~~~~~~~~~~~~~^~�[m�[K
�[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/util/iterator.h:�[m�[K In member function '�[01m�[Karrow::Result<std::optional<_Up> > arrow::TransformIterator<T, V>::�[01;32m�[KPump�[m�[K() �[35m�[K[with T = std::shared_ptr<arrow::Buffer>; V = std::shared_ptr<arrow::Buffer>]�[m�[K�[m�[K':
�[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/util/iterator.h:288:12:�[m�[K �[01;36m�[Knote: �[m�[K'�[01m�[K((std::__shared_count<__gnu_cxx::_S_atomic>*)((char*)&next + offsetof(arrow::TransformFlow<std::shared_ptr<arrow::Buffer> >,arrow::TransformFlow<std::shared_ptr<arrow::Buffer> >::yield_value_.std::optional<std::shared_ptr<arrow::Buffer> >::<unnamed>.std::_Optional_base<std::shared_ptr<arrow::Buffer>, false, false>::_M_payload.std::_Optional_payload<std::shared_ptr<arrow::Buffer>, false, false, false>::<unnamed>.std::_Optional_payload<std::shared_ptr<arrow::Buffer>, true, false, false>::<unnamed>.std::_Optional_payload_base<std::shared_ptr<arrow::Buffer> >::_M_payload)))[1].std::__shared_count<>::_M_pi�[m�[K' was declared here
  288 |       auto �[01;36m�[Knext�[m�[K = *next_res;
      |            �[01;36m�[K^~~~�[m�[K

�[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/compute/kernels/aggregate_mode.cc:�[m�[K In function '�[01m�[Karrow::Result<std::pair<CType*, long int*> > arrow::compute::internal::{anonymous}::�[01;32m�[KPrepareOutput�[m�[K(int64_t, arrow::compute::KernelContext*, const arrow::DataType&, arrow::compute::ExecResult*)�[m�[K':
�[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/compute/kernels/aggregate_mode.cc:70:22:�[m�[K �[01;31m�[Kinternal compiler error: �[m�[Kunexpected expression '�[01m�[K(std::shared_ptr<arrow::Buffer>)nullptr�[m�[K' of kind implicit_conv_expr
   70 |       �[01;31m�[KArrayData::Make(type.GetSharedPtr(), n, {nullptr}, {mode_data, count_data}, 0)�[m�[K;
      |       �[01;31m�[K~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~�[m�[K
0x6f4c70 cxx_eval_constant_expression
	../../latest/gcc/cp/constexpr.cc:8015
0x6f9a72 cxx_eval_outermost_constant_expr
	../../latest/gcc/cp/constexpr.cc:8252
0x6fd806 maybe_constant_init_1
	../../latest/gcc/cp/constexpr.cc:8717
0x6d2c67 maybe_init_list_as_array
	../../latest/gcc/cp/call.cc:4262
0x6d2c67 maybe_init_list_as_range
	../../latest/gcc/cp/call.cc:4293
0x6d2c67 build_user_type_conversion_1
	../../latest/gcc/cp/call.cc:4580
0x6c4f21 implicit_conversion_1
	../../latest/gcc/cp/call.cc:2135
0x6c566b implicit_conversion
	../../latest/gcc/cp/call.cc:2175
0x6c5cc9 add_function_candidate
	../../latest/gcc/cp/call.cc:2514
0x6c8f01 add_candidates
	../../latest/gcc/cp/call.cc:6609
0x6ca300 add_candidates
	../../latest/gcc/cp/call.cc:6431
0x6ca300 build_new_method_call(tree_node*, tree_node*, vec<tree_node*, va_gc, vl_embed>**, tree_node*, int, tree_node**, int)
	../../latest/gcc/cp/call.cc:11560
0x86c637 finish_call_expr(tree_node*, vec<tree_node*, va_gc, vl_embed>**, bool, bool, int)
	../../latest/gcc/cp/semantics.cc:2844
0x7f73f4 cp_parser_postfix_expression
	../../latest/gcc/cp/parser.cc:7957
0x7deedc cp_parser_binary_expression
	../../latest/gcc/cp/parser.cc:10101
0x7df902 cp_parser_assignment_expression
	../../latest/gcc/cp/parser.cc:10444
0x7e209d cp_parser_constant_expression
	../../latest/gcc/cp/parser.cc:10739
0x7e3231 cp_parser_initializer_clause
	../../latest/gcc/cp/parser.cc:25434
0x7dfb25 cp_parser_assignment_expression
	../../latest/gcc/cp/parser.cc:10464
0x7e14d3 cp_parser_expression
	../../latest/gcc/cp/parser.cc:10614
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

In file included from �[01m�[K/usr/local/gcc13/include/c++/13.0.0/vector:66�[m�[K,
                 from �[01m�[K/usr/local/gcc13/include/c++/13.0.0/functional:64�[m�[K,
                 from �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/compute/exec/exec_plan.h:22�[m�[K,
                 from �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/compute/exec/exec_plan.cc:18�[m�[K:
In constructor '�[01m�[Kstd::_Vector_base<_Tp, _Alloc>::_Vector_impl_data::�[01;32m�[K_Vector_impl_data�[m�[K(std::_Vector_base<_Tp, _Alloc>::_Vector_impl_data&&) �[35m�[K[with _Tp = arrow::Datum; _Alloc = std::allocator<arrow::Datum>]�[m�[K�[m�[K',
    inlined from '�[01m�[Kstd::_Vector_base<_Tp, _Alloc>::_Vector_impl::�[01;32m�[K_Vector_impl�[m�[K(std::_Vector_base<_Tp, _Alloc>::_Vector_impl&&) �[35m�[K[with _Tp = arrow::Datum; _Alloc = std::allocator<arrow::Datum>]�[m�[K�[m�[K' at �[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/stl_vector.h:152:68�[m�[K,
    inlined from '�[01m�[Kstd::_Vector_base<_Tp, _Alloc>::�[01;32m�[K_Vector_base�[m�[K(std::_Vector_base<_Tp, _Alloc>&&) �[35m�[K[with _Tp = arrow::Datum; _Alloc = std::allocator<arrow::Datum>]�[m�[K�[m�[K' at �[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/stl_vector.h:335:7�[m�[K,
    inlined from '�[01m�[Kstd::vector<_Tp, _Alloc>::�[01;32m�[Kvector�[m�[K(std::vector<_Tp, _Alloc>&&) �[35m�[K[with _Tp = arrow::Datum; _Alloc = std::allocator<arrow::Datum>]�[m�[K�[m�[K' at �[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/stl_vector.h:615:7�[m�[K,
    inlined from '�[01m�[Karrow::compute::ExecBatch::�[01;32m�[KExecBatch�[m�[K(arrow::compute::ExecBatch&&)�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/compute/exec.h:179:21�[m�[K,
    inlined from '�[01m�[Karrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>::<lambda(std::optional<arrow::compute::ExecBatch>)>�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/compute/exec/exec_plan.cc:605:73�[m�[K,
    inlined from '�[01m�[K_OIter std::�[01;32m�[Ktransform�[m�[K(_IIter, _IIter, _OIter, _UnaryOperation) �[35m�[K[with _IIter = move_iterator<__gnu_cxx::__normal_iterator<optional<arrow::compute::ExecBatch>*, vector<optional<arrow::compute::ExecBatch>, allocator<optional<arrow::compute::ExecBatch> > > > >; _OIter = back_insert_iterator<vector<arrow::compute::ExecBatch> >; _UnaryOperation = arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>::<lambda(optional<arrow::compute::ExecBatch>)>]�[m�[K�[m�[K' at �[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/stl_algo.h:4308:12�[m�[K,
    inlined from '�[01m�[Kstd::vector<To> arrow::internal::�[01;32m�[KMapVector�[m�[K(Fn&&, std::vector<_ValT>&&) �[35m�[K[with Fn = arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>::<lambda(std::optional<arrow::compute::ExecBatch>)>; From = std::optional<arrow::compute::ExecBatch>; To = arrow::compute::ExecBatch]�[m�[K�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/util/vector.h:102:17�[m�[K,
    inlined from '�[01m�[Karrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/compute/exec/exec_plan.cc:604:44�[m�[K,
    inlined from '�[01m�[Ktypename std::enable_if<(((! std::is_void<ContinueResult>::value) && (! arrow::detail::is_future<ContinueResult>::value)) && ((! NextFuture::is_empty) || std::is_same<ContinueResult, arrow::Status>::value))>::type arrow::detail::ContinueFuture::�[01;32m�[Koperator()�[m�[K(NextFuture, ContinueFunc&&, Args&& ...) const �[35m�[K[with ContinueFunc = arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>; Args = {}; ContinueResult = arrow::Result<std::vector<arrow::compute::ExecBatch> >; NextFuture = arrow::Future<std::vector<arrow::compute::ExecBatch> >]�[m�[K�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/util/future.h:150:22�[m�[K,
    inlined from '�[01m�[Kvoid arrow::detail::ContinueFuture::�[01;32m�[KIgnoringArgsIf�[m�[K(std::true_type, NextFuture&&, ContinueFunc&&, Args&& ...) const �[35m�[K[with ContinueFunc = arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>; NextFuture = arrow::Future<std::vector<arrow::compute::ExecBatch> >; Args = {const arrow::internal::Empty&}]�[m�[K�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/util/future.h:188:15�[m�[K,
    inlined from '�[01m�[Kvoid arrow::Future<T>::ThenOnComplete<OnSuccess, OnFailure>::�[01;32m�[Koperator()�[m�[K(const arrow::Result<T>&) && �[35m�[K[with OnSuccess = arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>; OnFailure = arrow::Future<>::PassthruOnFailure<arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()> >; T = arrow::internal::Empty]�[m�[K�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/util/future.h:545:39�[m�[K:
�[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/stl_vector.h:106:24:�[m�[K �[01;35m�[Kwarning: �[m�[K'�[01m�[K*(__vector(2) long unsigned int*)((char*)&<unnamed> + offsetof(std::optional<arrow::compute::ExecBatch>,std::optional<arrow::compute::ExecBatch>::<unnamed>.std::_Optional_base<arrow::compute::ExecBatch, false, false>::<unnamed>))�[m�[K' may be used uninitialized [�[01;35m�[K-Wmaybe-uninitialized�[m�[K]
  106 |         : _M_start(�[01;35m�[K__x._M_start�[m�[K), _M_finish(__x._M_finish),
      |                    �[01;35m�[K~~~~^~~~~~~~�[m�[K
In file included from �[01m�[K/usr/local/gcc13/include/c++/13.0.0/functional:67�[m�[K:
�[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/stl_algo.h:�[m�[K In member function '�[01m�[Kvoid arrow::Future<T>::ThenOnComplete<OnSuccess, OnFailure>::�[01;32m�[Koperator()�[m�[K(const arrow::Result<T>&) && �[35m�[K[with OnSuccess = arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>; OnFailure = arrow::Future<>::PassthruOnFailure<arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()> >; T = arrow::internal::Empty]�[m�[K�[m�[K':
�[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/stl_algo.h:4308:31:�[m�[K �[01;36m�[Knote: �[m�[K'�[01m�[K<anonymous>�[m�[K' declared here
 4308 |         *__result = �[01;36m�[K__unary_op(*__first)�[m�[K;
      |                     �[01;36m�[K~~~~~~~~~~^~~~~~~~~~�[m�[K
In constructor '�[01m�[Kstd::_Vector_base<_Tp, _Alloc>::_Vector_impl_data::�[01;32m�[K_Vector_impl_data�[m�[K(std::_Vector_base<_Tp, _Alloc>::_Vector_impl_data&&) �[35m�[K[with _Tp = arrow::Datum; _Alloc = std::allocator<arrow::Datum>]�[m�[K�[m�[K',
    inlined from '�[01m�[Kstd::_Vector_base<_Tp, _Alloc>::_Vector_impl::�[01;32m�[K_Vector_impl�[m�[K(std::_Vector_base<_Tp, _Alloc>::_Vector_impl&&) �[35m�[K[with _Tp = arrow::Datum; _Alloc = std::allocator<arrow::Datum>]�[m�[K�[m�[K' at �[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/stl_vector.h:152:68�[m�[K,
    inlined from '�[01m�[Kstd::_Vector_base<_Tp, _Alloc>::�[01;32m�[K_Vector_base�[m�[K(std::_Vector_base<_Tp, _Alloc>&&) �[35m�[K[with _Tp = arrow::Datum; _Alloc = std::allocator<arrow::Datum>]�[m�[K�[m�[K' at �[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/stl_vector.h:335:7�[m�[K,
    inlined from '�[01m�[Kstd::vector<_Tp, _Alloc>::�[01;32m�[Kvector�[m�[K(std::vector<_Tp, _Alloc>&&) �[35m�[K[with _Tp = arrow::Datum; _Alloc = std::allocator<arrow::Datum>]�[m�[K�[m�[K' at �[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/stl_vector.h:615:7�[m�[K,
    inlined from '�[01m�[Karrow::compute::ExecBatch::�[01;32m�[KExecBatch�[m�[K(arrow::compute::ExecBatch&&)�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/compute/exec.h:179:21�[m�[K,
    inlined from '�[01m�[Karrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>::<lambda(std::optional<arrow::compute::ExecBatch>)>�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/compute/exec/exec_plan.cc:605:73�[m�[K,
    inlined from '�[01m�[K_OIter std::�[01;32m�[Ktransform�[m�[K(_IIter, _IIter, _OIter, _UnaryOperation) �[35m�[K[with _IIter = move_iterator<__gnu_cxx::__normal_iterator<optional<arrow::compute::ExecBatch>*, vector<optional<arrow::compute::ExecBatch>, allocator<optional<arrow::compute::ExecBatch> > > > >; _OIter = back_insert_iterator<vector<arrow::compute::ExecBatch> >; _UnaryOperation = arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>::<lambda(optional<arrow::compute::ExecBatch>)>]�[m�[K�[m�[K' at �[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/stl_algo.h:4308:12�[m�[K,
    inlined from '�[01m�[Kstd::vector<To> arrow::internal::�[01;32m�[KMapVector�[m�[K(Fn&&, std::vector<_ValT>&&) �[35m�[K[with Fn = arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>::<lambda(std::optional<arrow::compute::ExecBatch>)>; From = std::optional<arrow::compute::ExecBatch>; To = arrow::compute::ExecBatch]�[m�[K�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/util/vector.h:102:17�[m�[K,
    inlined from '�[01m�[Karrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/compute/exec/exec_plan.cc:604:44�[m�[K,
    inlined from '�[01m�[Ktypename std::enable_if<(((! std::is_void<ContinueResult>::value) && (! arrow::detail::is_future<ContinueResult>::value)) && ((! NextFuture::is_empty) || std::is_same<ContinueResult, arrow::Status>::value))>::type arrow::detail::ContinueFuture::�[01;32m�[Koperator()�[m�[K(NextFuture, ContinueFunc&&, Args&& ...) const �[35m�[K[with ContinueFunc = arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>; Args = {}; ContinueResult = arrow::Result<std::vector<arrow::compute::ExecBatch> >; NextFuture = arrow::Future<std::vector<arrow::compute::ExecBatch> >]�[m�[K�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/util/future.h:150:22�[m�[K,
    inlined from '�[01m�[Kvoid arrow::detail::ContinueFuture::�[01;32m�[KIgnoringArgsIf�[m�[K(std::true_type, NextFuture&&, ContinueFunc&&, Args&& ...) const �[35m�[K[with ContinueFunc = arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>; NextFuture = arrow::Future<std::vector<arrow::compute::ExecBatch> >; Args = {const arrow::internal::Empty&}]�[m�[K�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/util/future.h:188:15�[m�[K,
    inlined from '�[01m�[Kvoid arrow::Future<T>::ThenOnComplete<OnSuccess, OnFailure>::�[01;32m�[Koperator()�[m�[K(const arrow::Result<T>&) && �[35m�[K[with OnSuccess = arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>; OnFailure = arrow::Future<>::PassthruOnFailure<arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()> >; T = arrow::internal::Empty]�[m�[K�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/util/future.h:545:39�[m�[K:
�[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/stl_vector.h:106:24:�[m�[K �[01;35m�[Kwarning: �[m�[K'�[01m�[K((__vector(2) long unsigned int*)((char*)&<unnamed> + offsetof(std::optional<arrow::compute::ExecBatch>,std::optional<arrow::compute::ExecBatch>::<unnamed>.std::_Optional_base<arrow::compute::ExecBatch, false, false>::_M_payload.std::_Optional_payload<arrow::compute::ExecBatch, false, false, false>::<unnamed>.std::_Optional_payload<arrow::compute::ExecBatch, true, false, false>::<unnamed>.std::_Optional_payload_base<arrow::compute::ExecBatch>::_M_payload)))[1]�[m�[K' may be used uninitialized [�[01;35m�[K-Wmaybe-uninitialized�[m�[K]
  106 |         : _M_start(�[01;35m�[K__x._M_start�[m�[K), _M_finish(__x._M_finish),
      |                    �[01;35m�[K~~~~^~~~~~~~�[m�[K
�[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/stl_algo.h:�[m�[K In member function '�[01m�[Kvoid arrow::Future<T>::ThenOnComplete<OnSuccess, OnFailure>::�[01;32m�[Koperator()�[m�[K(const arrow::Result<T>&) && �[35m�[K[with OnSuccess = arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>; OnFailure = arrow::Future<>::PassthruOnFailure<arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()> >; T = arrow::internal::Empty]�[m�[K�[m�[K':
�[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/stl_algo.h:4308:31:�[m�[K �[01;36m�[Knote: �[m�[K'�[01m�[K<anonymous>�[m�[K' declared here
 4308 |         *__result = �[01;36m�[K__unary_op(*__first)�[m�[K;
      |                     �[01;36m�[K~~~~~~~~~~^~~~~~~~~~�[m�[K
In constructor '�[01m�[Kstd::_Vector_base<_Tp, _Alloc>::_Vector_impl_data::�[01;32m�[K_Vector_impl_data�[m�[K(std::_Vector_base<_Tp, _Alloc>::_Vector_impl_data&&) �[35m�[K[with _Tp = arrow::Datum; _Alloc = std::allocator<arrow::Datum>]�[m�[K�[m�[K',
    inlined from '�[01m�[Kstd::_Vector_base<_Tp, _Alloc>::_Vector_impl::�[01;32m�[K_Vector_impl�[m�[K(std::_Vector_base<_Tp, _Alloc>::_Vector_impl&&) �[35m�[K[with _Tp = arrow::Datum; _Alloc = std::allocator<arrow::Datum>]�[m�[K�[m�[K' at �[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/stl_vector.h:152:68�[m�[K,
    inlined from '�[01m�[Kstd::_Vector_base<_Tp, _Alloc>::�[01;32m�[K_Vector_base�[m�[K(std::_Vector_base<_Tp, _Alloc>&&) �[35m�[K[with _Tp = arrow::Datum; _Alloc = std::allocator<arrow::Datum>]�[m�[K�[m�[K' at �[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/stl_vector.h:335:7�[m�[K,
    inlined from '�[01m�[Kstd::vector<_Tp, _Alloc>::�[01;32m�[Kvector�[m�[K(std::vector<_Tp, _Alloc>&&) �[35m�[K[with _Tp = arrow::Datum; _Alloc = std::allocator<arrow::Datum>]�[m�[K�[m�[K' at �[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/stl_vector.h:615:7�[m�[K,
    inlined from '�[01m�[Karrow::compute::ExecBatch::�[01;32m�[KExecBatch�[m�[K(arrow::compute::ExecBatch&&)�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/compute/exec.h:179:21�[m�[K,
    inlined from '�[01m�[Karrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>::<lambda(std::optional<arrow::compute::ExecBatch>)>�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/compute/exec/exec_plan.cc:605:73�[m�[K,
    inlined from '�[01m�[K_OIter std::�[01;32m�[Ktransform�[m�[K(_IIter, _IIter, _OIter, _UnaryOperation) �[35m�[K[with _IIter = move_iterator<__gnu_cxx::__normal_iterator<optional<arrow::compute::ExecBatch>*, vector<optional<arrow::compute::ExecBatch>, allocator<optional<arrow::compute::ExecBatch> > > > >; _OIter = back_insert_iterator<vector<arrow::compute::ExecBatch> >; _UnaryOperation = arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>::<lambda(optional<arrow::compute::ExecBatch>)>]�[m�[K�[m�[K' at �[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/stl_algo.h:4308:12�[m�[K,
    inlined from '�[01m�[Kstd::vector<To> arrow::internal::�[01;32m�[KMapVector�[m�[K(Fn&&, std::vector<_ValT>&&) �[35m�[K[with Fn = arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>::<lambda(std::optional<arrow::compute::ExecBatch>)>; From = std::optional<arrow::compute::ExecBatch>; To = arrow::compute::ExecBatch]�[m�[K�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/util/vector.h:102:17�[m�[K,
    inlined from '�[01m�[Karrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/compute/exec/exec_plan.cc:604:44�[m�[K,
    inlined from '�[01m�[Ktypename std::enable_if<(((! std::is_void<ContinueResult>::value) && (! arrow::detail::is_future<ContinueResult>::value)) && ((! NextFuture::is_empty) || std::is_same<ContinueResult, arrow::Status>::value))>::type arrow::detail::ContinueFuture::�[01;32m�[Koperator()�[m�[K(NextFuture, ContinueFunc&&, Args&& ...) const �[35m�[K[with ContinueFunc = arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>; Args = {}; ContinueResult = arrow::Result<std::vector<arrow::compute::ExecBatch> >; NextFuture = arrow::Future<std::vector<arrow::compute::ExecBatch> >]�[m�[K�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/util/future.h:150:22�[m�[K,
    inlined from '�[01m�[Kvoid arrow::detail::ContinueFuture::�[01;32m�[KIgnoringArgsIf�[m�[K(std::true_type, NextFuture&&, ContinueFunc&&, Args&& ...) const �[35m�[K[with ContinueFunc = arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>; NextFuture = arrow::Future<std::vector<arrow::compute::ExecBatch> >; Args = {const arrow::internal::Empty&}]�[m�[K�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/util/future.h:188:15�[m�[K,
    inlined from '�[01m�[Kvoid arrow::Future<T>::ThenOnComplete<OnSuccess, OnFailure>::�[01;32m�[Koperator()�[m�[K(const arrow::Result<T>&) && �[35m�[K[with OnSuccess = arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>; OnFailure = arrow::Future<>::PassthruOnFailure<arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()> >; T = arrow::internal::Empty]�[m�[K�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/util/future.h:545:39�[m�[K:
�[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/stl_vector.h:106:24:�[m�[K �[01;35m�[Kwarning: �[m�[K'�[01m�[K((__vector(2) long unsigned int*)((char*)&<unnamed> + offsetof(std::optional<arrow::compute::ExecBatch>,std::optional<arrow::compute::ExecBatch>::<unnamed>.std::_Optional_base<arrow::compute::ExecBatch, false, false>::_M_payload.std::_Optional_payload<arrow::compute::ExecBatch, false, false, false>::<unnamed>.std::_Optional_payload<arrow::compute::ExecBatch, true, false, false>::<unnamed>.std::_Optional_payload_base<arrow::compute::ExecBatch>::_M_payload)))[2]�[m�[K' may be used uninitialized [�[01;35m�[K-Wmaybe-uninitialized�[m�[K]
  106 |         : _M_start(�[01;35m�[K__x._M_start�[m�[K), _M_finish(__x._M_finish),
      |                    �[01;35m�[K~~~~^~~~~~~~�[m�[K
�[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/stl_algo.h:�[m�[K In member function '�[01m�[Kvoid arrow::Future<T>::ThenOnComplete<OnSuccess, OnFailure>::�[01;32m�[Koperator()�[m�[K(const arrow::Result<T>&) && �[35m�[K[with OnSuccess = arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>; OnFailure = arrow::Future<>::PassthruOnFailure<arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()> >; T = arrow::internal::Empty]�[m�[K�[m�[K':
�[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/stl_algo.h:4308:31:�[m�[K �[01;36m�[Knote: �[m�[K'�[01m�[K<anonymous>�[m�[K' declared here
 4308 |         *__result = �[01;36m�[K__unary_op(*__first)�[m�[K;
      |                     �[01;36m�[K~~~~~~~~~~^~~~~~~~~~�[m�[K
In file included from �[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/shared_ptr.h:53�[m�[K,
                 from �[01m�[K/usr/local/gcc13/include/c++/13.0.0/memory:80�[m�[K,
                 from �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/compute/exec/exec_plan.h:23�[m�[K:
In member function '�[01m�[Kvoid std::__shared_count<_Lp>::�[01;32m�[K_M_swap�[m�[K(std::__shared_count<_Lp>&) �[35m�[K[with __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]�[m�[K�[m�[K',
    inlined from '�[01m�[Kstd::__shared_ptr<_Tp, _Lp>::�[01;32m�[K__shared_ptr�[m�[K(std::__shared_ptr<_Tp, _Lp>&&) �[35m�[K[with _Tp = std::variant<arrow::Datum, arrow::compute::Expression::Parameter, arrow::compute::Expression::Call>; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]�[m�[K�[m�[K' at �[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/shared_ptr_base.h:1534:21�[m�[K,
    inlined from '�[01m�[Kstd::shared_ptr<_Tp>::�[01;32m�[Kshared_ptr�[m�[K(std::shared_ptr<_Tp>&&) �[35m�[K[with _Tp = std::variant<arrow::Datum, arrow::compute::Expression::Parameter, arrow::compute::Expression::Call>]�[m�[K�[m�[K' at �[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/shared_ptr.h:360:41�[m�[K,
    inlined from '�[01m�[Karrow::compute::Expression::�[01;32m�[KExpression�[m�[K(arrow::compute::Expression&&)�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/compute/exec/expression.h:45:20�[m�[K,
    inlined from '�[01m�[Karrow::compute::ExecBatch::�[01;32m�[KExecBatch�[m�[K(arrow::compute::ExecBatch&&)�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/compute/exec.h:179:21�[m�[K,
    inlined from '�[01m�[Karrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>::<lambda(std::optional<arrow::compute::ExecBatch>)>�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/compute/exec/exec_plan.cc:605:73�[m�[K,
    inlined from '�[01m�[K_OIter std::�[01;32m�[Ktransform�[m�[K(_IIter, _IIter, _OIter, _UnaryOperation) �[35m�[K[with _IIter = move_iterator<__gnu_cxx::__normal_iterator<optional<arrow::compute::ExecBatch>*, vector<optional<arrow::compute::ExecBatch>, allocator<optional<arrow::compute::ExecBatch> > > > >; _OIter = back_insert_iterator<vector<arrow::compute::ExecBatch> >; _UnaryOperation = arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>::<lambda(optional<arrow::compute::ExecBatch>)>]�[m�[K�[m�[K' at �[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/stl_algo.h:4308:12�[m�[K,
    inlined from '�[01m�[Kstd::vector<To> arrow::internal::�[01;32m�[KMapVector�[m�[K(Fn&&, std::vector<_ValT>&&) �[35m�[K[with Fn = arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>::<lambda(std::optional<arrow::compute::ExecBatch>)>; From = std::optional<arrow::compute::ExecBatch>; To = arrow::compute::ExecBatch]�[m�[K�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/util/vector.h:102:17�[m�[K,
    inlined from '�[01m�[Karrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/compute/exec/exec_plan.cc:604:44�[m�[K,
    inlined from '�[01m�[Ktypename std::enable_if<(((! std::is_void<ContinueResult>::value) && (! arrow::detail::is_future<ContinueResult>::value)) && ((! NextFuture::is_empty) || std::is_same<ContinueResult, arrow::Status>::value))>::type arrow::detail::ContinueFuture::�[01;32m�[Koperator()�[m�[K(NextFuture, ContinueFunc&&, Args&& ...) const �[35m�[K[with ContinueFunc = arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>; Args = {}; ContinueResult = arrow::Result<std::vector<arrow::compute::ExecBatch> >; NextFuture = arrow::Future<std::vector<arrow::compute::ExecBatch> >]�[m�[K�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/util/future.h:150:22�[m�[K,
    inlined from '�[01m�[Kvoid arrow::detail::ContinueFuture::�[01;32m�[KIgnoringArgsIf�[m�[K(std::true_type, NextFuture&&, ContinueFunc&&, Args&& ...) const �[35m�[K[with ContinueFunc = arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>; NextFuture = arrow::Future<std::vector<arrow::compute::ExecBatch> >; Args = {const arrow::internal::Empty&}]�[m�[K�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/util/future.h:188:15�[m�[K,
    inlined from '�[01m�[Kvoid arrow::Future<T>::ThenOnComplete<OnSuccess, OnFailure>::�[01;32m�[Koperator()�[m�[K(const arrow::Result<T>&) && �[35m�[K[with OnSuccess = arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>; OnFailure = arrow::Future<>::PassthruOnFailure<arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()> >; T = arrow::internal::Empty]�[m�[K�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/util/future.h:545:39�[m�[K:
�[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/shared_ptr_base.h:1099:32:�[m�[K �[01;35m�[Kwarning: �[m�[K'�[01m�[K((std::__shared_count<__gnu_cxx::_S_atomic>*)((char*)&<unnamed> + offsetof(std::optional<arrow::compute::ExecBatch>,std::optional<arrow::compute::ExecBatch>::<unnamed>.std::_Optional_base<arrow::compute::ExecBatch, false, false>::_M_payload.std::_Optional_payload<arrow::compute::ExecBatch, false, false, false>::<unnamed>.std::_Optional_payload<arrow::compute::ExecBatch, true, false, false>::<unnamed>.std::_Optional_payload_base<arrow::compute::ExecBatch>::_M_payload)))[6].std::__shared_count<>::_M_pi�[m�[K' may be used uninitialized [�[01;35m�[K-Wmaybe-uninitialized�[m�[K]
 1099 |         _Sp_counted_base<_Lp>* �[01;35m�[K__tmp�[m�[K = __r._M_pi;
      |                                �[01;35m�[K^~~~~�[m�[K
�[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/stl_algo.h:�[m�[K In member function '�[01m�[Kvoid arrow::Future<T>::ThenOnComplete<OnSuccess, OnFailure>::�[01;32m�[Koperator()�[m�[K(const arrow::Result<T>&) && �[35m�[K[with OnSuccess = arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>; OnFailure = arrow::Future<>::PassthruOnFailure<arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()> >; T = arrow::internal::Empty]�[m�[K�[m�[K':
�[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/stl_algo.h:4308:31:�[m�[K �[01;36m�[Knote: �[m�[K'�[01m�[K<anonymous>�[m�[K' declared here
 4308 |         *__result = �[01;36m�[K__unary_op(*__first)�[m�[K;
      |                     �[01;36m�[K~~~~~~~~~~^~~~~~~~~~�[m�[K
In file included from �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/compute/exec/exec_plan.cc:25�[m�[K:
In constructor '�[01m�[Karrow::compute::ExecBatch::�[01;32m�[KExecBatch�[m�[K(arrow::compute::ExecBatch&&)�[m�[K',
    inlined from '�[01m�[Karrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>::<lambda(std::optional<arrow::compute::ExecBatch>)>�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/compute/exec/exec_plan.cc:605:73�[m�[K,
    inlined from '�[01m�[K_OIter std::�[01;32m�[Ktransform�[m�[K(_IIter, _IIter, _OIter, _UnaryOperation) �[35m�[K[with _IIter = move_iterator<__gnu_cxx::__normal_iterator<optional<arrow::compute::ExecBatch>*, vector<optional<arrow::compute::ExecBatch>, allocator<optional<arrow::compute::ExecBatch> > > > >; _OIter = back_insert_iterator<vector<arrow::compute::ExecBatch> >; _UnaryOperation = arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>::<lambda(optional<arrow::compute::ExecBatch>)>]�[m�[K�[m�[K' at �[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/stl_algo.h:4308:12�[m�[K,
    inlined from '�[01m�[Kstd::vector<To> arrow::internal::�[01;32m�[KMapVector�[m�[K(Fn&&, std::vector<_ValT>&&) �[35m�[K[with Fn = arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>::<lambda(std::optional<arrow::compute::ExecBatch>)>; From = std::optional<arrow::compute::ExecBatch>; To = arrow::compute::ExecBatch]�[m�[K�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/util/vector.h:102:17�[m�[K,
    inlined from '�[01m�[Karrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/compute/exec/exec_plan.cc:604:44�[m�[K,
    inlined from '�[01m�[Ktypename std::enable_if<(((! std::is_void<ContinueResult>::value) && (! arrow::detail::is_future<ContinueResult>::value)) && ((! NextFuture::is_empty) || std::is_same<ContinueResult, arrow::Status>::value))>::type arrow::detail::ContinueFuture::�[01;32m�[Koperator()�[m�[K(NextFuture, ContinueFunc&&, Args&& ...) const �[35m�[K[with ContinueFunc = arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>; Args = {}; ContinueResult = arrow::Result<std::vector<arrow::compute::ExecBatch> >; NextFuture = arrow::Future<std::vector<arrow::compute::ExecBatch> >]�[m�[K�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/util/future.h:150:22�[m�[K,
    inlined from '�[01m�[Kvoid arrow::detail::ContinueFuture::�[01;32m�[KIgnoringArgsIf�[m�[K(std::true_type, NextFuture&&, ContinueFunc&&, Args&& ...) const �[35m�[K[with ContinueFunc = arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>; NextFuture = arrow::Future<std::vector<arrow::compute::ExecBatch> >; Args = {const arrow::internal::Empty&}]�[m�[K�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/util/future.h:188:15�[m�[K,
    inlined from '�[01m�[Kvoid arrow::Future<T>::ThenOnComplete<OnSuccess, OnFailure>::�[01;32m�[Koperator()�[m�[K(const arrow::Result<T>&) && �[35m�[K[with OnSuccess = arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>; OnFailure = arrow::Future<>::PassthruOnFailure<arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()> >; T = arrow::internal::Empty]�[m�[K�[m�[K' at �[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/util/future.h:545:39�[m�[K:
�[01m�[K/data/gannet/ripley/R/packages/tests-gcc13/arrow/tools/cpp/src/arrow/compute/exec.h:179:21:�[m�[K �[01;35m�[Kwarning: �[m�[K'�[01m�[K*(arrow::compute::ExecBatch*)((char*)&<unnamed> + offsetof(std::optional<arrow::compute::ExecBatch>,std::optional<arrow::compute::ExecBatch>::<unnamed>.std::_Optional_base<arrow::compute::ExecBatch, false, false>::<unnamed>)).arrow::compute::ExecBatch::length�[m�[K' may be used uninitialized [�[01;35m�[K-Wmaybe-uninitialized�[m�[K]
  179 | struct ARROW_EXPORT �[01;35m�[KExecBatch�[m�[K {
      |                     �[01;35m�[K^~~~~~~~~�[m�[K
�[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/stl_algo.h:�[m�[K In member function '�[01m�[Kvoid arrow::Future<T>::ThenOnComplete<OnSuccess, OnFailure>::�[01;32m�[Koperator()�[m�[K(const arrow::Result<T>&) && �[35m�[K[with OnSuccess = arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()>; OnFailure = arrow::Future<>::PassthruOnFailure<arrow::compute::DeclarationToExecBatchesAsync(Declaration, ExecContext*)::<lambda()> >; T = arrow::internal::Empty]�[m�[K�[m�[K':
�[01m�[K/usr/local/gcc13/include/c++/13.0.0/bits/stl_algo.h:4308:31:�[m�[K �[01;36m�[Knote: �[m�[K'�[01m�[K<anonymous>�[m�[K' declared here
 4308 |         *__result = �[01;36m�[K__unary_op(*__first)�[m�[K;
      |                     �[01;36m�[K~~~~~~~~~~^~~~~~~~~~�[m�[K

Component(s)

R

@paleolimbot
Copy link
Member Author

Since gcc-13 isn't released yet, replicating this involves building gcc from source. I did so using this Dockerfile:

FROM rocker/r-devel:latest
RUN apt update && apt install -y git flex
RUN git clone git://gcc.gnu.org/git/gcc.git gcc-dev
RUN cd gcc-dev && ./contrib/download_prerequisites
RUN mkdir gcc-build && cd gcc-build && ../gcc-dev/configure -disable-multilib --enable-languages=c,c++,fortran
RUN cd gcc-build && make -j4 && make install

RUN apt-get update && apt-get install -y cmake libssl-dev
RUN git clone https://github.com/apache/arrow.git /arrow && mkdir /arrow-build && cd /arrow-build && cmake /arrow/cpp -DCMAKE_C_COMPILER=/usr/local/bin/gcc -DCMAKE_CXX_COMPILER=/usr/local/bin/g++ -DARROW_CSV=ON -DARROW_DATASET=ON -DARROW_FILESYSTEM=ON -DARROW_COMPUTE=ON -DARROW_PARQUET=ON -DBoost_SOURCE=BUNDLED && cmake --build . && cmake --install . --prefix /arrow-dist

ENV ARROW_HOME /arrow-dist
RUN echo 'LD_LIBRARY_PATH="/arrow-dist/lib:/usr/local/lib64:${R_LD_LIBRARY_PATH}:${LD_LIBRARY_PATH}"' >> /usr/lib/R/etc/ldpaths
RUN mkdir ~/.R && echo 'CXX11=/usr/local/bin/g++' > ~/.R/Makevars && echo 'CXX14=/usr/local/bin/g++' >> ~/.R/Makevars && echo 'CXX17=/usr/local/bin/g++' >> ~/.R/Makevars && echo 'CXX=/usr/local/bin/g++' >> ~/.R/Makevars && echo 'CC=/usr/local/bin/gcc' >> ~/.R/Makevars
RUN echo 'CCFLAGS = -Wall -pedantic -O2' >> ~/.R/Makevars && echo 'CXXFLAGS = -Wall -pedantic -O2' >> ~/.R/Makevars && echo 'CXX11FLAGS = -Wall -pedantic -O2' >> ~/.R/Makevars

RUN R -e 'install.packages(c("testthat", "pkgbuild", "cpp11", "R6", "assertthat", "bit64", "bit", "cli", "ellipsis", "glue", "magrittr", "purrr", "rlang", "blob", "stringr",  "tidyselect", "vctrs", "lubridate", "dplyr", "hms"))'
RUN cd /arrow/r && R CMD INSTALL .

CMD /bin/bash

...and was unable to replicate the error. @nealrichardson that should be sufficient to include to our "please hit reply-all and answer: have these problems been fixed"? The reported error seemed to indicate that the error might be a result of a compiler bug (which may have been fixed between the time that BDR built gcc13 and when I built gcc13 today).

@paleolimbot paleolimbot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 15, 2023
@nealrichardson
Copy link
Member

Did you try to reproduce with the current release or latest master? Maybe something else we did in arrow since the last release fixed it?

"Works on my machine" doesn't typically work but if that's all we have, I guess we'll have to give it a shot. Thanks for trying to reproduce.

@nealrichardson
Copy link
Member

https://cran.r-project.org/web/checks/check_results_arrow.html no longer shows a gcc13 issue, so perhaps BDR rebuilt latest and the issue resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants