llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux-android` running on `sanitizer-buildbot-android` while building `llvm` at step 2 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/186/builds/7204 <details> <summary>Here is the relevant piece of the build log for the reference</summary> ``` Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure) ... [341/5429] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark.dir/statistics.cc.o [342/5429] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark.dir/string_util.cc.o [343/5429] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark.dir/sysinfo.cc.o [344/5429] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark_main.dir/benchmark_main.cc.o [345/5429] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark.dir/timers.cc.o [346/5429] Linking CXX static library lib/libbenchmark.a [347/5429] Linking CXX static library lib/libbenchmark_main.a [348/5429] Linking CXX shared module unittests/Support/DynamicLibrary/SecondLib.so [349/5429] Linking CXX shared module unittests/Support/DynamicLibrary/PipSqueak.so [350/5429] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Mustache.cpp.o FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/Mustache.cpp.o CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm_build64/lib/Support -I/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/lib/Support -I/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm_build64/include -I/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/include -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 -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 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/Mustache.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/Mustache.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/Mustache.cpp.o -c /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/lib/Support/Mustache.cpp /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/lib/Support/Mustache.cpp:278:27: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move] 278 | NextToken.TokenBody = std::move(NextTokenBody.substr(2).str()); | ^ /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/lib/Support/Mustache.cpp:278:27: note: remove std::move call here 278 | NextToken.TokenBody = std::move(NextTokenBody.substr(2).str()); | ^~~~~~~~~~ ~ /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/lib/Support/Mustache.cpp:280:27: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move] 280 | NextToken.TokenBody = std::move(NextTokenBody.substr(1).str()); | ^ /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/lib/Support/Mustache.cpp:280:27: note: remove std::move call here 280 | NextToken.TokenBody = std::move(NextTokenBody.substr(1).str()); | ^~~~~~~~~~ ~ /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/lib/Support/Mustache.cpp:298:27: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move] 298 | PrevToken.TokenBody = std::move(Unindented.str()); | ^ /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/lib/Support/Mustache.cpp:298:27: note: remove std::move call here 298 | PrevToken.TokenBody = std::move(Unindented.str()); | ^~~~~~~~~~ ~ /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/lib/Support/Mustache.cpp:772:42: error: field 'Tree' will be initialized after field 'AstAllocator' [-Werror,-Wreorder-ctor] 772 | Escapes(std::move(Other.Escapes)), Tree(Other.Tree), | ^~~~~~~~~~~~~~~~ | AstAllocator(std::move(Other.AstAllocator)) 773 | AstAllocator(std::move(Other.AstAllocator)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | RenderAllocator(std::move(Other.RenderAllocator)) 774 | RenderAllocator(std::move(Other.RenderAllocator)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Tree(Other.Tree) 4 errors generated. ninja: build stopped: subcommand failed. How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild @@@STEP_FAILURE@@@ @@@STEP_FAILURE@@@ Step 8 (bootstrap clang) failure: bootstrap clang (failure) ... [341/5429] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark.dir/statistics.cc.o [342/5429] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark.dir/string_util.cc.o [343/5429] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark.dir/sysinfo.cc.o [344/5429] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark_main.dir/benchmark_main.cc.o [345/5429] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark.dir/timers.cc.o [346/5429] Linking CXX static library lib/libbenchmark.a [347/5429] Linking CXX static library lib/libbenchmark_main.a [348/5429] Linking CXX shared module unittests/Support/DynamicLibrary/SecondLib.so [349/5429] Linking CXX shared module unittests/Support/DynamicLibrary/PipSqueak.so [350/5429] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Mustache.cpp.o FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/Mustache.cpp.o CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm_build64/lib/Support -I/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/lib/Support -I/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm_build64/include -I/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/include -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 -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 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/Mustache.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/Mustache.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/Mustache.cpp.o -c /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/lib/Support/Mustache.cpp /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/lib/Support/Mustache.cpp:278:27: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move] 278 | NextToken.TokenBody = std::move(NextTokenBody.substr(2).str()); | ^ /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/lib/Support/Mustache.cpp:278:27: note: remove std::move call here 278 | NextToken.TokenBody = std::move(NextTokenBody.substr(2).str()); | ^~~~~~~~~~ ~ /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/lib/Support/Mustache.cpp:280:27: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move] 280 | NextToken.TokenBody = std::move(NextTokenBody.substr(1).str()); | ^ /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/lib/Support/Mustache.cpp:280:27: note: remove std::move call here 280 | NextToken.TokenBody = std::move(NextTokenBody.substr(1).str()); | ^~~~~~~~~~ ~ /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/lib/Support/Mustache.cpp:298:27: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move] 298 | PrevToken.TokenBody = std::move(Unindented.str()); | ^ /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/lib/Support/Mustache.cpp:298:27: note: remove std::move call here 298 | PrevToken.TokenBody = std::move(Unindented.str()); | ^~~~~~~~~~ ~ /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/lib/Support/Mustache.cpp:772:42: error: field 'Tree' will be initialized after field 'AstAllocator' [-Werror,-Wreorder-ctor] 772 | Escapes(std::move(Other.Escapes)), Tree(Other.Tree), | ^~~~~~~~~~~~~~~~ | AstAllocator(std::move(Other.AstAllocator)) 773 | AstAllocator(std::move(Other.AstAllocator)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | RenderAllocator(std::move(Other.RenderAllocator)) 774 | RenderAllocator(std::move(Other.RenderAllocator)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Tree(Other.Tree) 4 errors generated. ninja: build stopped: subcommand failed. How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild program finished with exit code 2 ``` </details> https://github.com/llvm/llvm-project/pull/105893 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits