pitrou opened a new issue, #36451: URL: https://github.com/apache/arrow/issues/36451
### Describe the bug, including details regarding any error messages, version, and platform. See CI job: https://github.com/ursacomputing/crossbow/actions/runs/5453235513/jobs/9921799601#step:6:2273 Excerpt: ``` FAILED: src/arrow/CMakeFiles/arrow-scalar-test.dir/scalar_test.cc.o /usr/local/bin/sccache /usr/bin/g++ -DARROW_HAVE_RUNTIME_AVX2 -DARROW_HAVE_RUNTIME_AVX512 -DARROW_HAVE_RUNTIME_BMI2 -DARROW_HAVE_RUNTIME_SSE4_2 -DARROW_HAVE_SSE4_2 -DARROW_HDFS -DARROW_MIMALLOC -DARROW_WITH_BROTLI -DARROW_WITH_BZ2 -DARROW_WITH_LZ4 -DARROW_WITH_RE2 -DARROW_WITH_SNAPPY -DARROW_WITH_TIMING_TESTS -DARROW_WITH_UTF8PROC -DARROW_WITH_ZLIB -DARROW_WITH_ZSTD -DBOOST_ALL_DYN_LINK -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DJSON_DIAGNOSTICS=0 -DJSON_USE_IMPLICIT_CONVERSIONS=1 -DURI_STATIC_BUILD -I/build/cpp/src -I/arrow/cpp/src -I/arrow/cpp/src/generated -isystem /arrow/cpp/thirdparty/flatbuffers/include -isystem /arrow/cpp/thirdparty/hadoop/include -isystem /build/cpp/google_cloud_cpp_ep-install/include -isystem /build/cpp/absl_ep-install/include -isystem /build/cpp/crc32c_ep-install/include -isystem /build/cpp/orc_ep-install/include -isystem /build/cpp/protobuf_ep-install/include -isystem /build/cpp/awssdk_ep-install/include -isystem /build/cpp/opentelemetry_ep-install/include -i system /build/cpp/xsimd_ep/src/xsimd_ep-install/include -isystem /build/cpp/jemalloc_ep-prefix/src -isystem /build/cpp/mimalloc_ep/src/mimalloc_ep/include/mimalloc-2.0 -Wno-noexcept-type -fdiagnostics-color=always -Wall -Wno-conversion -Wno-sign-conversion -Wunused-result -Wdate-time -fno-semantic-interposition -msse4.2 -g -Werror -O0 -ggdb -g1 -fPIE -std=c++17 -MD -MT src/arrow/CMakeFiles/arrow-scalar-test.dir/scalar_test.cc.o -MF src/arrow/CMakeFiles/arrow-scalar-test.dir/scalar_test.cc.o.d -o src/arrow/CMakeFiles/arrow-scalar-test.dir/scalar_test.cc.o -c /arrow/cpp/src/arrow/scalar_test.cc In file included from /usr/include/gtest/gtest.h:375, from /usr/include/gmock/internal/gmock-internal-utils.h:47, from /usr/include/gmock/gmock-actions.h:51, from /usr/include/gmock/gmock.h:59, from /arrow/cpp/src/arrow/scalar_test.cc:27: /arrow/cpp/src/arrow/scalar_test.cc: In function 'void arrow::CheckInvalidListCast(const ScalarType&, const std::shared_ptr<arrow::DataType>&, std::string_view)': /arrow/cpp/src/arrow/scalar_test.cc:1083:64: error: no matching function for call to 'HasSubstr(std::string_view&)' 1083 | ::testing::HasSubstr(expected_message), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /arrow/cpp/src/arrow/scalar_test.cc:1082:3: note: in expansion of macro 'EXPECT_RAISES_WITH_CODE_AND_MESSAGE_THAT' 1082 | EXPECT_RAISES_WITH_CODE_AND_MESSAGE_THAT(StatusCode::Invalid, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gmock/gmock-spec-builders.h:75, from /usr/include/gmock/gmock-generated-function-mockers.h:47, from /usr/include/gmock/gmock-function-mocker.h:39, from /usr/include/gmock/gmock.h:61, from /arrow/cpp/src/arrow/scalar_test.cc:27: /usr/include/gmock/gmock-matchers.h:3840:69: note: candidate: 'testing::PolymorphicMatcher<testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<char> > > testing::HasSubstr(const string&)' 3840 | inline PolymorphicMatcher<internal::HasSubstrMatcher<std::string> > HasSubstr( | ^~~~~~~~~ /usr/include/gmock/gmock-matchers.h:3841:24: note: no known conversion for argument 1 from 'std::string_view' {aka 'std::basic_string_view<char>'} to 'const string&' {aka 'const std::__cxx11::basic_string<char>&'} 3841 | const std::string& substring) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/include/gmock/gmock-matchers.h:3892:70: note: candidate: 'testing::PolymorphicMatcher<testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<wchar_t> > > testing::HasSubstr(const wstring&)' 3892 | inline PolymorphicMatcher<internal::HasSubstrMatcher<std::wstring> > HasSubstr( | ^~~~~~~~~ /usr/include/gmock/gmock-matchers.h:3893:25: note: no known conversion for argument 1 from 'std::string_view' {aka 'std::basic_string_view<char>'} to 'const wstring&' {aka 'const std::__cxx11::basic_string<wchar_t>&'} 3893 | const std::wstring& substring) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ``` ### Component(s) C++, Continuous Integration -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
