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

[C++][CI] vcpkg nightly job fails to build scalar_test.cc #36448

Closed
raulcd opened this issue Jul 4, 2023 · 2 comments
Closed

[C++][CI] vcpkg nightly job fails to build scalar_test.cc #36448

raulcd opened this issue Jul 4, 2023 · 2 comments

Comments

@raulcd
Copy link
Member

raulcd commented Jul 4, 2023

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

The nightly job test-build-vcpkg-win has been failing since #36309 was merged.

The current error:

 D:/a/crossbow/crossbow/arrow/cpp/src/arrow/scalar_test.cc(1082,1): error C2665: 'testing::HasSubstr': none of the 2 overloads could convert all the argument types [D:\a\crossbow\crossbow\arrow\cpp\build\src\arrow\arrow-scalar-test.vcxproj]
D:/a/crossbow/crossbow/arrow/cpp/vcpkg_installed/x64-windows/share/rapidjson/../../include\gmock/gmock-matchers.h(3892,70): message : could be 'testing::PolymorphicMatcher<testing::internal::HasSubstrMatcher<std::wstring>> testing::HasSubstr(const std::wstring &)' [D:\a\crossbow\crossbow\arrow\cpp\build\src\arrow\arrow-scalar-test.vcxproj]
D:/a/crossbow/crossbow/arrow/cpp/vcpkg_installed/x64-windows/share/rapidjson/../../include\gmock/gmock-matchers.h(3840,69): message : or       'testing::PolymorphicMatcher<testing::internal::HasSubstrMatcher<std::string>> testing::HasSubstr(const std::string &)' [D:\a\crossbow\crossbow\arrow\cpp\build\src\arrow\arrow-scalar-test.vcxproj]
D:/a/crossbow/crossbow/arrow/cpp/src/arrow/scalar_test.cc(1082,1): message : while trying to match the argument list '(std::string_view)' [D:\a\crossbow\crossbow\arrow\cpp\build\src\arrow\arrow-scalar-test.vcxproj]
D:/a/crossbow/crossbow/arrow/cpp/src/arrow/scalar_test.cc(1233): message : see reference to function template instantiation 'void arrow::CheckInvalidListCast<arrow::MapScalar>(const ScalarType &,const std::shared_ptr<arrow::DataType> &,std::string_view)' being compiled [D:\a\crossbow\crossbow\arrow\cpp\build\src\arrow\arrow-scalar-test.vcxproj]
          with
          [
              ScalarType=arrow::MapScalar
          ]
D:/a/crossbow/crossbow/arrow/cpp/src/arrow/scalar_test.cc(1082,1): error C2672: 'testing::internal::MakePredicateFormatterFromMatcher': no matching overloaded function found [D:\a\crossbow\crossbow\arrow\cpp\build\src\arrow\arrow-scalar-test.vcxproj]
D:/a/crossbow/crossbow/arrow/cpp/src/arrow/scalar_test.cc(1082,1): error C2737: 'gtest_ar': const object must be initialized [D:\a\crossbow\crossbow\arrow\cpp\build\src\arrow\arrow-scalar-test.vcxproj]

Component(s)

C++, Continuous Integration

@raulcd
Copy link
Member Author

raulcd commented Jul 4, 2023

CC @felipecrv

@raulcd
Copy link
Member Author

raulcd commented Jul 4, 2023

Close as duplicate, #36451 solved the issue.

@raulcd raulcd closed this as not planned Won't fix, can't repro, duplicate, stale Jul 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant