github-actions[bot] wrote: <!--PREMERGE ADVISOR COMMENT: Linux--> # :penguin: Linux x64 Test Results
The build failed before running any tests. Click on a failure below to see the details. <details> <summary>lib/Support/CMakeFiles/LLVMSupport.dir/TextEncoding.cpp.o</summary> ``` FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/TextEncoding.cpp.o sccache /opt/llvm/bin/clang++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Support -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/../third-party/siphash/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/../libc -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Werror=global-constructors -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -Wno-c99-extensions -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/TextEncoding.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/TextEncoding.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/TextEncoding.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/TextEncoding.cpp /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/TextEncoding.cpp:370:8: error: no type named 'shared_mutex' in namespace 'std' 370 | std::shared_mutex Mutex; | ~~~~~^ /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/TextEncoding.cpp:391:10: error: no member named 'shared_lock' in namespace 'std' 391 | std::shared_lock<std::shared_mutex> ReadLock(GlobalConverterCache->Mutex); | ^~~~~~~~~~~ /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/TextEncoding.cpp:391:27: error: no member named 'shared_mutex' in namespace 'std'; did you mean 'shared_ptr'? 391 | std::shared_lock<std::shared_mutex> ReadLock(GlobalConverterCache->Mutex); | ^~~~~~~~~~~~ /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr.h:175:11: note: 'shared_ptr' declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^ /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/TextEncoding.cpp:398:8: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'? 398 | std::unique_lock<std::shared_mutex> WriteLock(GlobalConverterCache->Mutex); | ~~~~~^~~~~~~~~~~ | unique_copy /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algo.h:4502:5: note: 'unique_copy' declared here 4502 | unique_copy(_InputIterator __first, _InputIterator __last, | ^ /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/TextEncoding.cpp:398:25: error: no template named 'shared_mutex' in namespace 'std'; did you mean 'shared_ptr'? 398 | std::unique_lock<std::shared_mutex> WriteLock(GlobalConverterCache->Mutex); | ~~~~~^~~~~~~~~~~~ | shared_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr.h:175:11: note: 'shared_ptr' declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^ /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/TextEncoding.cpp:398:38: error: expected ';' after expression 398 | std::unique_lock<std::shared_mutex> WriteLock(GlobalConverterCache->Mutex); | ^ | ; /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/TextEncoding.cpp:398:3: error: reference to overloaded function could not be resolved; did you mean to call it? 398 | std::unique_lock<std::shared_mutex> WriteLock(GlobalConverterCache->Mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algo.h:4502:5: note: possible target for call 4502 | unique_copy(_InputIterator __first, _InputIterator __last, | ^ /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algo.h:4543:5: note: possible target for call 4543 | unique_copy(_InputIterator __first, _InputIterator __last, | ^ /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/pstl/glue_algorithm_defs.h:238:1: note: possible target for call 238 | unique_copy(_ExecutionPolicy&& __exec, _ForwardIterator1 __first, _ForwardIterator1 __last, _ForwardIterator2 __result, | ^ /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/pstl/glue_algorithm_defs.h:243:1: note: possible target for call 243 | unique_copy(_ExecutionPolicy&& __exec, _ForwardIterator1 __first, _ForwardIterator1 __last, _ForwardIterator2 __result); | ^ 7 errors generated. ``` </details> If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label. https://github.com/llvm/llvm-project/pull/204668 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
