Skip to content

[YAML][NFC] precommit wrong test case #131782

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

Merged
merged 2 commits into from
Mar 25, 2025

Conversation

HerrCai0907
Copy link
Contributor

No description provided.

Copy link
Contributor Author

HerrCai0907 commented Mar 18, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@HerrCai0907 HerrCai0907 marked this pull request as ready for review March 18, 2025 10:59
@llvmbot
Copy link
Member

llvmbot commented Mar 18, 2025

@llvm/pr-subscribers-llvm-support

Author: Congcong Cai (HerrCai0907)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/131782.diff

1 Files Affected:

  • (modified) llvm/unittests/Support/YAMLIOTest.cpp (+30)
diff --git a/llvm/unittests/Support/YAMLIOTest.cpp b/llvm/unittests/Support/YAMLIOTest.cpp
index c0e9c57a77f19..3db1db57ad596 100644
--- a/llvm/unittests/Support/YAMLIOTest.cpp
+++ b/llvm/unittests/Support/YAMLIOTest.cpp
@@ -1273,6 +1273,36 @@ TEST(YAMLIO, TestReadWriteBlockScalarValue) {
   }
 }
 
+struct V {
+  MultilineStringType doc;
+  std::string str;
+};
+template <> struct MappingTraits<V> {
+  static void mapping(IO &io, V &v) {
+    io.mapRequired("block_scalac", v.doc);
+    io.mapRequired("scalar", v.str);
+  }
+};
+template <> struct llvm::yaml::SequenceElementTraits<V> {
+  static const bool flow = false;
+};
+TEST(YAMLIO, TestScalarAfterBlockScalar) {
+  std::vector<V> v{V{}};
+  v[0].doc.str = "AA\nBB";
+  v[0].str = "a";
+  std::string output;
+  llvm::raw_string_ostream ostr(output);
+  Output yout(ostr);
+  yout << v;
+  EXPECT_EQ(output, R"(---
+- block_scalac:     |
+    AA
+    BB
+scalar:          a
+...
+)");
+}
+
 //===----------------------------------------------------------------------===//
 //  Test flow sequences
 //===----------------------------------------------------------------------===//

@HerrCai0907 HerrCai0907 merged commit cb4ae35 into main Mar 25, 2025
11 checks passed
@HerrCai0907 HerrCai0907 deleted the users/ccc03-18-_yaml_nfc_precommit_wrong_test_case branch March 25, 2025 06:44
@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 25, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-sie-ubuntu-fast running on sie-linux-worker while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/144/builds/21198

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
...
4.077 [2/10/77] Linking CXX executable unittests/tools/llvm-mca/LLVMMCATests
4.083 [2/9/78] Linking CXX executable unittests/ExecutionEngine/Orc/OrcJITTests
4.098 [2/8/79] Linking CXX executable unittests/Target/X86/X86Tests
4.158 [2/7/80] Linking CXX executable unittests/Transforms/Scalar/ScalarTests
4.244 [2/6/81] Linking CXX executable unittests/Passes/Plugins/PluginsTests
4.244 [2/5/82] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
4.340 [2/4/83] Linking CXX executable tools/clang/unittests/Frontend/FrontendTests
4.987 [2/3/84] Linking CXX executable tools/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests
5.042 [2/2/85] Linking CXX executable tools/clang/unittests/Interpreter/ClangReplInterpreterTests
5.692 [2/1/86] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o
FAILED: unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /usr/bin/g++ -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/unittests/Support -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/unittests/Support -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/third-party/unittest/googletest/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/third-party/unittest/googlemock/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -Wno-dangling-else -Wno-variadic-macros -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -std=c++17 -MD -MT unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o -MF unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o.d -o unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o -c /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/unittests/Support/YAMLIOTest.cpp
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/unittests/Support/YAMLIOTest.cpp:1280:20: error: explicit specialization of ‘template<class T> struct llvm::yaml::MappingTraits’ outside its namespace must use a nested-name-specifier [-fpermissive]
 1280 | template <> struct MappingTraits<V> {
      |                    ^~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 25, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-gcc-ubuntu running on sie-linux-worker3 while building llvm at step 5 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/174/builds/15105

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
3.208 [185/34/22] Linking CXX executable bin/llvm-cat
3.208 [184/34/23] Linking CXX executable bin/llvm-cov
3.209 [183/34/24] Linking CXX executable bin/llvm-rc
3.209 [182/34/25] Linking CXX executable bin/apinotes-test
3.213 [181/34/26] Linking CXX executable bin/llvm-profdata
3.223 [180/34/27] Linking CXX executable bin/llvm-cgdata
3.244 [179/34/28] Linking CXX executable bin/clang-apply-replacements
3.268 [178/34/29] Linking CXX executable bin/llvm-pdbutil
3.285 [177/34/30] Linking CXX executable bin/llvm-link
3.351 [176/34/31] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o
FAILED: unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o 
/opt/ccache/bin/g++ -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/unittests/Support -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/unittests/Support -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/third-party/unittest/googletest/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/third-party/unittest/googlemock/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -Wno-dangling-else -Wno-variadic-macros -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -std=c++17 -MD -MT unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o -MF unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o.d -o unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o -c /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/unittests/Support/YAMLIOTest.cpp
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/unittests/Support/YAMLIOTest.cpp:1280:20: error: explicit specialization of ‘template<class T> struct llvm::yaml::MappingTraits’ outside its namespace must use a nested-name-specifier [-fpermissive]
 1280 | template <> struct MappingTraits<V> {
      |                    ^~~~~~~~~~~~~~~~
3.472 [176/33/32] Linking CXX executable bin/clang-format
3.602 [176/32/33] Linking CXX executable bin/clang-offload-bundler
3.618 [176/31/34] Linking CXX executable bin/llvm-mca
3.618 [176/30/35] Linking CXX executable bin/llvm-ml
3.632 [176/29/36] Linking CXX executable bin/llvm-mc
3.699 [176/28/37] Building CXX object tools/lld/Common/CMakeFiles/lldCommon.dir/Version.cpp.o
3.735 [176/27/38] Linking CXX executable bin/llvm-dwarfdump
3.758 [176/26/39] Linking CXX executable bin/llvm-ar
3.806 [176/25/40] Linking CXX executable bin/llvm-nm
3.834 [176/24/41] Linking CXX executable bin/llvm-objdump
3.883 [176/23/42] Linking CXX executable bin/llvm-cfi-verify
3.905 [176/22/43] Linking CXX executable bin/llvm-debuginfo-analyzer
3.914 [176/21/44] Linking CXX executable bin/llvm-extract
4.225 [176/20/45] Linking CXX executable bin/llvm-profgen
4.324 [176/19/46] Linking CXX executable bin/llvm-jitlink
4.489 [176/18/47] Linking CXX executable bin/diagtool
4.511 [176/17/48] Linking CXX shared module lib/CheckerOptionHandlingAnalyzerPlugin.so
4.533 [176/16/49] Linking CXX shared module lib/CheckerDependencyHandlingAnalyzerPlugin.so
4.685 [176/15/50] Linking CXX shared module lib/SampleAnalyzerPlugin.so
5.020 [176/14/51] Linking CXX executable bin/pp-trace
5.060 [176/13/52] Linking CXX executable bin/clang-doc
5.064 [176/12/53] Linking CXX executable bin/clang-diff
5.153 [176/11/54] Linking CXX executable bin/clang-change-namespace
5.163 [176/10/55] Linking CXX executable bin/clang-installapi
5.176 [176/9/56] Linking CXX executable bin/find-all-symbols
5.213 [176/8/57] Linking CXX executable bin/modularize
5.346 [176/7/58] Linking CXX executable bin/clang-include-fixer
5.391 [176/6/59] Linking CXX executable bin/clang-reorder-fields
5.462 [176/5/60] Linking CXX executable bin/clang-move
5.478 [176/4/61] Linking CXX executable bin/clang-refactor
7.962 [176/3/62] Linking CXX executable bin/clang-tidy
13.335 [176/2/63] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
14.602 [176/1/64] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 25, 2025

LLVM Buildbot has detected a new failure on builder arc-builder running on arc-worker while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/3/builds/13569

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
...
18.375 [2/17/61] Linking CXX executable unittests/MI/MITests
18.600 [2/16/62] Linking CXX executable unittests/IR/IRTests
18.894 [2/15/63] Linking CXX executable unittests/Transforms/Coroutines/CoroTests
19.198 [2/14/64] Linking CXX executable unittests/Transforms/Instrumentation/InstrumentationTests
19.202 [2/13/65] Linking CXX executable unittests/ExecutionEngine/MCJIT/MCJITTests
19.221 [2/12/66] Linking CXX executable unittests/Target/TargetMachineCTests
19.274 [2/11/67] Linking CXX executable unittests/Passes/PassBuilderBindings/PassesBindingsTests
19.331 [2/10/68] Linking CXX executable unittests/tools/llvm-cfi-verify/CFIVerifyTests
19.712 [2/9/69] Linking CXX executable unittests/Passes/Plugins/PluginsTests
19.794 [2/8/70] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o
FAILED: unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o 
/usr/bin/c++ -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iunittests/Support -I/buildbot/worker/arc-folder/llvm-project/llvm/unittests/Support -Iinclude -I/buildbot/worker/arc-folder/llvm-project/llvm/include -I/buildbot/worker/arc-folder/llvm-project/third-party/unittest/googletest/include -I/buildbot/worker/arc-folder/llvm-project/third-party/unittest/googlemock/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -Wno-dangling-else -Wno-variadic-macros -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -std=c++17 -MD -MT unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o -MF unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o.d -o unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o -c /buildbot/worker/arc-folder/llvm-project/llvm/unittests/Support/YAMLIOTest.cpp
/buildbot/worker/arc-folder/llvm-project/llvm/unittests/Support/YAMLIOTest.cpp:1280:20: error: explicit specialization of 'template<class T> struct llvm::yaml::MappingTraits' outside its namespace must use a nested-name-specifier [-fpermissive]
 1280 | template <> struct MappingTraits<V> {
      |                    ^~~~~~~~~~~~~~~~
19.989 [2/7/71] Linking CXX executable unittests/Transforms/Utils/UtilsTests
20.164 [2/6/72] Linking CXX executable unittests/Target/X86/X86Tests
21.182 [2/5/73] Linking CXX executable unittests/Transforms/Scalar/ScalarTests
21.253 [2/4/74] Linking CXX executable tools/clang/unittests/Interpreter/ClangReplInterpreterTests
21.472 [2/3/75] Linking CXX executable unittests/tools/llvm-mca/LLVMMCATests
21.626 [2/2/76] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
22.076 [2/1/77] Linking CXX executable tools/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 25, 2025

LLVM Buildbot has detected a new failure on builder llvm-nvptx64-nvidia-ubuntu running on as-builder-7 while building llvm at step 6 "test-build-unified-tree-check-llvm".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/160/builds/15318

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-llvm) failure: test (failure)
...
0.965 [2/10/693] Linking CXX executable unittests/ExecutionEngine/Orc/OrcJITTests
0.969 [2/9/694] Linking CXX executable unittests/Transforms/Utils/UtilsTests
0.982 [2/8/695] Linking CXX executable unittests/Transforms/Vectorize/SandboxVectorizer/SandboxVectorizerTests
1.008 [2/7/696] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
1.033 [2/6/697] Linking CXX executable unittests/CodeGen/CodeGenTests
1.057 [2/5/698] Linking CXX executable unittests/Frontend/LLVMFrontendTests
1.105 [2/4/699] Linking CXX executable unittests/Analysis/AnalysisTests
1.232 [2/3/700] Linking CXX executable unittests/IR/IRTests
1.396 [2/2/701] Linking CXX executable unittests/ADT/ADTTests
5.051 [2/1/702] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o
FAILED: unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /usr/bin/c++ -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/unittests/Support -I/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/unittests/Support -I/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/include -I/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/include -I/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/third-party/unittest/googletest/include -I/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/third-party/unittest/googlemock/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -Wno-dangling-else -Wno-variadic-macros -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -std=c++17 -MD -MT unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o -MF unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o.d -o unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o -c /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/unittests/Support/YAMLIOTest.cpp
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/unittests/Support/YAMLIOTest.cpp:1280:20: error: explicit specialization of ‘template<class T> struct llvm::yaml::MappingTraits’ outside its namespace must use a nested-name-specifier [-fpermissive]
 1280 | template <> struct MappingTraits<V> {
      |                    ^~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 25, 2025

LLVM Buildbot has detected a new failure on builder ml-opt-devrel-x86-64 running on ml-opt-devrel-x86-64-b2 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/175/builds/15639

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
...
5.609 [2/20/732] Linking CXX executable unittests/tools/llvm-profdata/LLVMProfdataTests
5.661 [2/19/733] Linking CXX executable unittests/Transforms/Vectorize/SandboxVectorizer/SandboxVectorizerTests
5.686 [2/18/734] Linking CXX executable unittests/Transforms/Vectorize/VectorizeTests
6.075 [2/17/735] Linking CXX executable unittests/Target/AMDGPU/AMDGPUTests
6.496 [2/16/736] Linking CXX executable unittests/Target/X86/X86Tests
6.552 [2/15/737] Linking CXX executable unittests/tools/llvm-cfi-verify/CFIVerifyTests
6.553 [2/14/738] Linking CXX executable unittests/Transforms/Coroutines/CoroTests
6.601 [2/13/739] Linking CXX executable unittests/Transforms/Instrumentation/InstrumentationTests
7.046 [2/12/740] Linking CXX executable unittests/Transforms/Utils/UtilsTests
7.093 [2/11/741] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o
FAILED: unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o 
ccache /usr/bin/c++ -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/b/ml-opt-devrel-x86-64-b1/build/unittests/Support -I/b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/unittests/Support -I/var/lib/buildbot/.local/lib/python3.7/site-packages/tensorflow/include -I/b/ml-opt-devrel-x86-64-b1/build/include -I/b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/include -I/b/ml-opt-devrel-x86-64-b1/llvm-project/third-party/unittest/googletest/include -I/b/ml-opt-devrel-x86-64-b1/llvm-project/third-party/unittest/googlemock/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -Wno-dangling-else -Wno-variadic-macros -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -std=c++17 -MD -MT unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o -MF unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o.d -o unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o -c /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/unittests/Support/YAMLIOTest.cpp
/b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/unittests/Support/YAMLIOTest.cpp:1280:20: error: explicit specialization of ‘template<class T> struct llvm::yaml::MappingTraits’ outside its namespace must use a nested-name-specifier [-fpermissive]
 1280 | template <> struct MappingTraits<V> {
      |                    ^~~~~~~~~~~~~~~~
7.147 [2/10/742] Linking CXX executable unittests/CodeGen/CodeGenTests
7.459 [2/9/743] Linking CXX executable unittests/Transforms/Scalar/ScalarTests
7.485 [2/8/744] Linking CXX executable unittests/tools/llvm-mca/LLVMMCATests
7.536 [2/7/745] Linking CXX executable unittests/MIR/MIRTests
7.545 [2/6/746] Linking CXX executable unittests/CodeGen/GlobalISel/GlobalISelTests
7.627 [2/5/747] Linking CXX executable unittests/DebugInfo/LogicalView/DebugInfoLogicalViewTests
7.667 [2/4/748] Linking CXX executable unittests/DebugInfo/DWARF/DebugInfoDWARFTests
7.699 [2/3/749] Linking CXX executable unittests/MI/MITests
7.953 [2/2/750] Linking CXX executable unittests/Target/TargetMachineCTests
8.745 [2/1/751] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 25, 2025

LLVM Buildbot has detected a new failure on builder ml-opt-dev-x86-64 running on ml-opt-dev-x86-64-b2 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/137/builds/15793

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
...
7.116 [2/12/740] Linking CXX executable unittests/Transforms/Utils/UtilsTests
7.127 [2/11/741] Linking CXX executable unittests/CodeGen/GlobalISel/GlobalISelTests
7.127 [2/10/742] Linking CXX executable unittests/CodeGen/CodeGenTests
7.345 [2/9/743] Linking CXX executable unittests/MI/MITests
7.427 [2/8/744] Linking CXX executable unittests/DebugInfo/DWARF/DebugInfoDWARFTests
7.435 [2/7/745] Linking CXX executable unittests/MIR/MIRTests
7.606 [2/6/746] Linking CXX executable unittests/DebugInfo/LogicalView/DebugInfoLogicalViewTests
7.610 [2/5/747] Linking CXX executable unittests/tools/llvm-mca/LLVMMCATests
7.658 [2/4/748] Linking CXX executable unittests/Transforms/Scalar/ScalarTests
7.784 [2/3/749] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o
FAILED: unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o 
ccache /usr/bin/c++ -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/b/ml-opt-dev-x86-64-b1/build/unittests/Support -I/b/ml-opt-dev-x86-64-b1/llvm-project/llvm/unittests/Support -I/b/ml-opt-dev-x86-64-b1/build/include -I/b/ml-opt-dev-x86-64-b1/llvm-project/llvm/include -I/b/ml-opt-dev-x86-64-b1/llvm-project/third-party/unittest/googletest/include -I/b/ml-opt-dev-x86-64-b1/llvm-project/third-party/unittest/googlemock/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -Wno-dangling-else -Wno-variadic-macros -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -std=c++17 -MD -MT unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o -MF unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o.d -o unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o -c /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/unittests/Support/YAMLIOTest.cpp
/b/ml-opt-dev-x86-64-b1/llvm-project/llvm/unittests/Support/YAMLIOTest.cpp:1280:20: error: explicit specialization of ‘template<class T> struct llvm::yaml::MappingTraits’ outside its namespace must use a nested-name-specifier [-fpermissive]
 1280 | template <> struct MappingTraits<V> {
      |                    ^~~~~~~~~~~~~~~~
7.859 [2/2/750] Linking CXX executable unittests/Target/TargetMachineCTests
8.394 [2/1/751] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 25, 2025

LLVM Buildbot has detected a new failure on builder ml-opt-rel-x86-64 running on ml-opt-rel-x86-64-b2 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/185/builds/15553

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
...
6.165 [2/12/739] Linking CXX executable unittests/tools/llvm-cfi-verify/CFIVerifyTests
6.549 [2/11/740] Linking CXX executable unittests/CodeGen/GlobalISel/GlobalISelTests
6.549 [2/10/741] Linking CXX executable unittests/CodeGen/CodeGenTests
6.857 [2/9/742] Linking CXX executable unittests/MI/MITests
6.857 [2/8/743] Linking CXX executable unittests/MIR/MIRTests
6.858 [2/7/744] Linking CXX executable unittests/DebugInfo/LogicalView/DebugInfoLogicalViewTests
6.892 [2/6/745] Linking CXX executable unittests/Transforms/Scalar/ScalarTests
7.017 [2/5/746] Linking CXX executable unittests/DebugInfo/DWARF/DebugInfoDWARFTests
7.034 [2/4/747] Linking CXX executable unittests/tools/llvm-mca/LLVMMCATests
7.165 [2/3/748] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o
FAILED: unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o 
ccache /usr/bin/c++ -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/b/ml-opt-rel-x86-64-b1/build/unittests/Support -I/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/unittests/Support -I/var/lib/buildbot/.local/lib/python3.7/site-packages/tensorflow/include -I/b/ml-opt-rel-x86-64-b1/build/include -I/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/include -I/b/ml-opt-rel-x86-64-b1/llvm-project/third-party/unittest/googletest/include -I/b/ml-opt-rel-x86-64-b1/llvm-project/third-party/unittest/googlemock/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -Wno-dangling-else -Wno-variadic-macros -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -std=c++17 -MD -MT unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o -MF unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o.d -o unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o -c /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/unittests/Support/YAMLIOTest.cpp
/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/unittests/Support/YAMLIOTest.cpp:1280:20: error: explicit specialization of ‘template<class T> struct llvm::yaml::MappingTraits’ outside its namespace must use a nested-name-specifier [-fpermissive]
 1280 | template <> struct MappingTraits<V> {
      |                    ^~~~~~~~~~~~~~~~
7.186 [2/2/749] Linking CXX executable unittests/Target/TargetMachineCTests
7.689 [2/1/750] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 25, 2025

LLVM Buildbot has detected a new failure on builder openmp-offload-sles-build-only running on rocm-worker-hw-04-sles while building llvm at step 8 "Add check check-llvm".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/140/builds/19747

Here is the relevant piece of the build log for the reference
Step 8 (Add check check-llvm) failure: test (failure)
...
[686/699] Linking CXX executable unittests/DebugInfo/DWARF/DebugInfoDWARFTests
[687/699] Linking CXX executable unittests/Passes/Plugins/PluginsTests
[688/699] Linking CXX executable unittests/ExecutionEngine/MCJIT/MCJITTests
[689/699] Linking CXX executable unittests/Target/X86/X86Tests
[690/699] Linking CXX executable unittests/MI/MITests
[691/699] Linking CXX executable unittests/tools/llvm-mca/LLVMMCATests
[692/699] Linking CXX executable unittests/MIR/MIRTests
[693/699] Linking CXX executable unittests/Transforms/Scalar/ScalarTests
[694/699] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
[695/699] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o
FAILED: unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o 
ccache /usr/bin/c++ -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iunittests/Support -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/unittests/Support -Iinclude -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/third-party/unittest/googletest/include -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/third-party/unittest/googlemock/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -Wno-dangling-else -Wno-variadic-macros -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -std=c++1z -MD -MT unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o -MF unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o.d -o unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o -c /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/unittests/Support/YAMLIOTest.cpp
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/unittests/Support/YAMLIOTest.cpp:1280:20: error: explicit specialization of ‘template<class T> struct llvm::yaml::MappingTraits’ outside its namespace must use a nested-name-specifier [-fpermissive]
 template <> struct MappingTraits<V> {
                    ^~~~~~~~~~~~~~~~
[696/699] Linking CXX executable unittests/Target/TargetMachineCTests
[697/699] Linking CXX executable unittests/Target/AMDGPU/AMDGPUTests
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 25, 2025

LLVM Buildbot has detected a new failure on builder llvm-nvptx-nvidia-ubuntu running on as-builder-7 while building llvm at step 6 "test-build-unified-tree-check-llvm".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/180/builds/15315

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-llvm) failure: test (failure)
...
0.981 [2/10/693] Linking CXX executable unittests/ExecutionEngine/Orc/OrcJITTests
0.995 [2/9/694] Linking CXX executable unittests/Transforms/Utils/UtilsTests
1.036 [2/8/695] Linking CXX executable unittests/Transforms/Vectorize/SandboxVectorizer/SandboxVectorizerTests
1.053 [2/7/696] Linking CXX executable unittests/CodeGen/CodeGenTests
1.057 [2/6/697] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
1.078 [2/5/698] Linking CXX executable unittests/Frontend/LLVMFrontendTests
1.131 [2/4/699] Linking CXX executable unittests/Analysis/AnalysisTests
1.266 [2/3/700] Linking CXX executable unittests/IR/IRTests
1.427 [2/2/701] Linking CXX executable unittests/ADT/ADTTests
5.055 [2/1/702] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o
FAILED: unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /usr/bin/c++ -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/unittests/Support -I/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/unittests/Support -I/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/include -I/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/include -I/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/third-party/unittest/googletest/include -I/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/third-party/unittest/googlemock/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -Wno-dangling-else -Wno-variadic-macros -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -std=c++17 -MD -MT unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o -MF unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o.d -o unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o -c /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/unittests/Support/YAMLIOTest.cpp
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/unittests/Support/YAMLIOTest.cpp:1280:20: error: explicit specialization of ‘template<class T> struct llvm::yaml::MappingTraits’ outside its namespace must use a nested-name-specifier [-fpermissive]
 1280 | template <> struct MappingTraits<V> {
      |                    ^~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 25, 2025

LLVM Buildbot has detected a new failure on builder clang-x86_64-linux-abi-test running on sie-linux-worker2 while building llvm at step 6 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/8/builds/12999

Here is the relevant piece of the build log for the reference
Step 6 (build-unified-tree) failure: build (failure)
...
In member function ‘void llvm::ContextAndReplaceableUses::makeReplaceable(std::unique_ptr<llvm::ReplaceableMetadataImpl>)’,
    inlined from ‘virtual void {anonymous}::ContextAndReplaceableUsesTest_makeReplaceable_Test::TestBody()’ at /home/buildbot/buildbot-root/abi-test/llvm/llvm/unittests/IR/MetadataTest.cpp:49:22:
/home/buildbot/buildbot-root/abi-test/llvm/llvm/include/llvm/IR/Metadata.h:1025:31: warning: ‘void operator delete(void*, std::size_t)’ called on unallocated object ‘Context’ [-Wfree-nonheap-object]
 1025 |     delete getReplaceableUses();
      |                               ^
/home/buildbot/buildbot-root/abi-test/llvm/llvm/unittests/IR/MetadataTest.cpp: In member function ‘virtual void {anonymous}::ContextAndReplaceableUsesTest_makeReplaceable_Test::TestBody()’:
/home/buildbot/buildbot-root/abi-test/llvm/llvm/unittests/IR/MetadataTest.cpp:47:15: note: declared here
   47 |   LLVMContext Context;
      |               ^~~~~~~
243.976 [152/10/6964] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o
FAILED: unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o 
/opt/ccache/bin/g++ -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/buildbot-root/abi-test/build/unittests/Support -I/home/buildbot/buildbot-root/abi-test/llvm/llvm/unittests/Support -I/home/buildbot/buildbot-root/abi-test/build/include -I/home/buildbot/buildbot-root/abi-test/llvm/llvm/include -I/home/buildbot/buildbot-root/abi-test/llvm/third-party/unittest/googletest/include -I/home/buildbot/buildbot-root/abi-test/llvm/third-party/unittest/googlemock/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -Wno-dangling-else -Wno-variadic-macros -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -std=c++17 -MD -MT unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o -MF unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o.d -o unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o -c /home/buildbot/buildbot-root/abi-test/llvm/llvm/unittests/Support/YAMLIOTest.cpp
/home/buildbot/buildbot-root/abi-test/llvm/llvm/unittests/Support/YAMLIOTest.cpp:1280:20: error: explicit specialization of ‘template<class T> struct llvm::yaml::MappingTraits’ outside its namespace must use a nested-name-specifier [-fpermissive]
 1280 | template <> struct MappingTraits<V> {
      |                    ^~~~~~~~~~~~~~~~
244.629 [152/2/6972] Linking CXX executable unittests/Target/SPIRV/SPIRVTests
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 25, 2025

LLVM Buildbot has detected a new failure on builder clang-cmake-x86_64-avx512-linux running on avx512-intel64 while building llvm at step 7 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/133/builds/13413

Here is the relevant piece of the build log for the reference
Step 7 (ninja check 1) failure: stage 1 checked (failure)
...
[43/92] Performing build step for 'runtimes'
[1/3] Building CXX object compiler-rt/lib/memprof/CMakeFiles/RTMemprof_dynamic_version_script_dummy.x86_64.dir/dummy.cpp.o
[2/3] Linking CXX shared library /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/lib/clang/21/lib/x86_64-unknown-linux-gnu/libclang_rt.memprof.so
[3/3] Generating /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/compile_commands.json
[44/92] cd /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/runtimes/runtimes-bins && /usr/bin/cmake --build /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/runtimes/runtimes-bins/ --target runtimes-test-depends --config Release
ninja: no work to do.
[45/92] No install step for 'runtimes'
[47/92] Completed 'runtimes'
[48/92] Linking CXX executable unittests/Target/TargetMachineCTests
[49/92] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o
FAILED: unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o 
/usr/bin/c++ -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/unittests/Support -I/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/unittests/Support -I/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/include -I/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/include -I/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/third-party/unittest/googletest/include -I/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/third-party/unittest/googlemock/include -march=cascadelake -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17  -Wno-dangling-else -Wno-variadic-macros -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -MD -MT unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o -MF unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o.d -o unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o -c /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/unittests/Support/YAMLIOTest.cpp
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/unittests/Support/YAMLIOTest.cpp:1280:20: error: explicit specialization of ‘template<class T> struct llvm::yaml::MappingTraits’ outside its namespace must use a nested-name-specifier [-fpermissive]
 1280 | template <> struct MappingTraits<V> {
      |                    ^~~~~~~~~~~~~~~~
[50/92] Linking CXX executable unittests/CodeGen/GlobalISel/GlobalISelTests
[51/92] Linking CXX executable unittests/MIR/MIRTests
[52/92] Linking CXX executable unittests/Transforms/Instrumentation/InstrumentationTests
[53/92] Linking CXX executable unittests/Frontend/LLVMFrontendTests
[54/92] Linking CXX executable unittests/ExecutionEngine/Orc/OrcJITTests
[55/92] Linking CXX executable unittests/tools/llvm-mca/LLVMMCATests
[56/92] Linking CXX executable unittests/DebugInfo/LogicalView/DebugInfoLogicalViewTests
[57/92] Linking CXX executable tools/clang/unittests/Serialization/SerializationTests
[58/92] Linking CXX executable unittests/Passes/Plugins/PluginsTests
[59/92] Linking CXX executable unittests/Transforms/Utils/UtilsTests
[60/92] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
[61/92] Linking CXX executable unittests/MI/MITests
[62/92] Linking CXX executable tools/clang/unittests/Lex/LexTests
[63/92] Linking CXX executable tools/clang/unittests/Analysis/ClangAnalysisTests
[64/92] Linking CXX executable unittests/Transforms/Coroutines/CoroTests
[65/92] Linking CXX executable unittests/DebugInfo/DWARF/DebugInfoDWARFTests
[66/92] Linking CXX executable tools/clang/unittests/AST/ByteCode/InterpTests
[67/92] Linking CXX executable unittests/Transforms/Scalar/ScalarTests
[68/92] Linking CXX executable tools/clang/unittests/CrossTU/CrossTUTests
[69/92] Linking CXX executable tools/clang/unittests/Tooling/Syntax/SyntaxTests
[70/92] Linking CXX executable unittests/Passes/PassBuilderBindings/PassesBindingsTests
[71/92] Linking CXX executable tools/clang/unittests/ASTMatchers/ASTMatchersTests
[72/92] Linking CXX executable tools/clang/unittests/ASTMatchers/Dynamic/DynamicASTMatchersTests
[73/92] Linking CXX executable tools/clang/unittests/Sema/SemaTests
[74/92] Linking CXX executable unittests/IR/IRTests
[75/92] Linking CXX executable unittests/ExecutionEngine/MCJIT/MCJITTests
[76/92] Linking CXX executable tools/clang/unittests/Support/ClangSupportTests
[77/92] Linking CXX executable tools/clang/unittests/Index/IndexTests
[78/92] Linking CXX executable unittests/Analysis/AnalysisTests
[79/92] Linking CXX executable tools/clang/unittests/Rewrite/RewriteTests
[80/92] Linking CXX executable unittests/Target/X86/X86Tests
[81/92] Linking CXX executable unittests/CodeGen/CodeGenTests
[82/92] Linking CXX executable tools/clang/unittests/AST/ASTTests
[83/92] Linking CXX executable tools/clang/unittests/Analysis/FlowSensitive/ClangAnalysisFlowSensitiveTests

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 25, 2025

LLVM Buildbot has detected a new failure on builder clang-ppc64le-linux-test-suite running on ppc64le-clang-test-suite while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/95/builds/11196

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
...
15.145 [5/68/41] Linking CXX executable unittests/Bitcode/BitcodeTests
15.655 [4/67/42] cd /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/runtimes/runtimes-bins && /home/buildbots/llvm-external-buildbots/cmake-3.31.2/bin/cmake --build /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/runtimes/runtimes-bins/ --target runtimes-test-depends --config Release
ninja: no work to do.
15.853 [3/67/43] No install step for 'runtimes'
15.958 [2/67/45] Completed 'runtimes'
16.155 [2/66/46] Linking CXX executable unittests/FuzzMutate/FuzzMutateTests
17.075 [2/65/47] Linking CXX executable unittests/MC/MCTests
18.415 [2/64/48] Linking CXX executable unittests/Transforms/IPO/IPOTests
20.185 [2/63/49] Linking CXX executable unittests/tools/llvm-cfi-verify/CFIVerifyTests
20.937 [2/62/50] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o
FAILED: unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o 
ccache /usr/lib64/ccache/c++ -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/unittests/Support -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/unittests/Support -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/third-party/unittest/googletest/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/third-party/unittest/googlemock/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17  -Wno-dangling-else -Wno-variadic-macros -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -MD -MT unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o -MF unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o.d -o unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o -c /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/unittests/Support/YAMLIOTest.cpp
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/unittests/Support/YAMLIOTest.cpp:1280:20: error: explicit specialization of ‘template<class T> struct llvm::yaml::MappingTraits’ outside its namespace must use a nested-name-specifier [-fpermissive]
 template <> struct MappingTraits<V> {
                    ^~~~~~~~~~~~~~~~
23.315 [2/61/51] Linking CXX executable unittests/Target/PowerPC/PowerPCTests
27.415 [2/60/52] Linking CXX executable unittests/Target/WebAssembly/WebAssemblyTests
28.305 [2/59/53] Linking CXX executable unittests/Target/VE/VETests
28.465 [2/58/54] Linking CXX executable unittests/Target/LoongArch/LoongArchTests
30.465 [2/57/55] Linking CXX executable unittests/Target/RISCV/RISCVTests
30.695 [2/56/56] Linking CXX executable unittests/Target/ARM/ARMTests
30.825 [2/55/57] Linking CXX executable unittests/Target/SPIRV/SPIRVTests
32.395 [2/54/58] Linking CXX executable unittests/Target/AArch64/AArch64Tests
33.215 [2/53/59] Linking CXX executable unittests/tools/llvm-mca/LLVMMCATests
40.085 [2/52/60] Linking CXX executable unittests/Transforms/Instrumentation/InstrumentationTests
40.265 [2/51/61] Linking CXX executable tools/clang/tools/extra/unittests/clang-query/ClangQueryTests
40.327 [2/50/62] Linking CXX executable tools/clang/unittests/Lex/LexTests
41.464 [2/49/63] Linking CXX executable unittests/ExecutionEngine/Orc/OrcJITTests
42.856 [2/48/64] Linking CXX executable unittests/Transforms/Utils/UtilsTests
43.173 [2/47/65] Linking CXX executable unittests/Transforms/Coroutines/CoroTests
43.494 [2/46/66] Linking CXX executable unittests/Transforms/Scalar/ScalarTests
43.548 [2/45/67] Linking CXX executable unittests/Frontend/LLVMFrontendTests
43.705 [2/44/68] Linking CXX executable unittests/Passes/PassBuilderBindings/PassesBindingsTests
44.654 [2/43/69] Linking CXX executable tools/clang/unittests/Support/ClangSupportTests
45.664 [2/42/70] Linking CXX executable unittests/Passes/Plugins/PluginsTests
46.403 [2/41/71] Linking CXX executable unittests/IR/IRTests
46.869 [2/40/72] Linking CXX executable tools/clang/unittests/Rewrite/RewriteTests
47.208 [2/39/73] Linking CXX executable tools/clang/unittests/CrossTU/CrossTUTests
47.371 [2/38/74] Linking CXX executable unittests/Analysis/AnalysisTests
47.813 [2/37/75] Linking CXX executable tools/clang/unittests/AST/ByteCode/InterpTests
48.011 [2/36/76] Linking CXX executable tools/clang/tools/extra/unittests/clang-include-fixer/ClangIncludeFixerTests
48.383 [2/35/77] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
48.421 [2/34/78] Linking CXX executable tools/clang/tools/extra/unittests/clang-include-fixer/find-all-symbols/FindAllSymbolsTests
48.513 [2/33/79] Linking CXX executable tools/clang/tools/extra/unittests/clang-change-namespace/ClangChangeNamespaceTests
48.575 [2/32/80] Linking CXX executable tools/clang/unittests/Index/IndexTests
48.816 [2/31/81] Linking CXX executable tools/clang/tools/extra/unittests/clang-doc/ClangDocTests
49.239 [2/30/82] Linking CXX executable tools/clang/unittests/Sema/SemaTests
49.554 [2/29/83] Linking CXX executable tools/clang/tools/extra/include-cleaner/unittests/ClangIncludeCleanerTests
49.771 [2/28/84] Linking CXX executable tools/clang/unittests/Analysis/ClangAnalysisTests

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 25, 2025

LLVM Buildbot has detected a new failure on builder ppc64le-lld-multistage-test running on ppc64le-lld-multistage-test while building llvm at step 6 "build-stage1-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/168/builds/10129

Here is the relevant piece of the build log for the reference
Step 6 (build-stage1-unified-tree) failure: build (failure)
3.064 [205/4/1] Building CXX object tools/llvm-config/CMakeFiles/llvm-config.dir/llvm-config.cpp.o
3.078 [204/4/2] Generating VCSRevision.h
3.105 [201/6/3] Generating VCSVersion.inc
3.435 [200/6/4] Linking CXX executable bin/llvm-config
4.960 [200/5/5] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o
7.925 [200/4/6] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
8.053 [199/4/7] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o
FAILED: unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o 
ccache /usr/lib64/ccache/c++ -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/unittests/Support -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/unittests/Support -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/third-party/unittest/googletest/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/third-party/unittest/googlemock/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17  -Wno-dangling-else -Wno-variadic-macros -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -MD -MT unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o -MF unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o.d -o unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o -c /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/unittests/Support/YAMLIOTest.cpp
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/unittests/Support/YAMLIOTest.cpp:1280:20: error: explicit specialization of ‘template<class T> struct llvm::yaml::MappingTraits’ outside its namespace must use a nested-name-specifier [-fpermissive]
 template <> struct MappingTraits<V> {
                    ^~~~~~~~~~~~~~~~
8.101 [199/3/8] Linking CXX static library lib/libLLVMObject.a
18.729 [199/2/9] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
19.284 [199/1/10] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
In file included from /usr/include/c++/8/cassert:44,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/include/llvm/ProfileData/InstrProf.h:39,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/include/llvm/Analysis/IndirectCallPromotionAnalysis.h:16,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/include/llvm/Transforms/IPO/MemProfContextDisambiguation.h:18,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/lib/LTO/LTO.cpp:56:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/include/llvm/ProfileData/InstrProf.h: In member function ‘llvm::ArrayRef<llvm::InstrProfValueSiteRecord> llvm::InstrProfRecord::getValueSitesForKind(uint32_t) const’:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/include/llvm/ProfileData/InstrProf.h:968:23: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
     assert(IPVK_First <= ValueKind && ValueKind <= IPVK_Last &&
            ~~~~~~~~~~~^~~~~~~~~~~~
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/include/llvm/ProfileData/InstrProf.h: In member function ‘std::vector<llvm::InstrProfValueSiteRecord>& llvm::InstrProfRecord::getOrCreateValueSitesForKind(uint32_t)’:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/include/llvm/ProfileData/InstrProf.h:977:23: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
     assert(IPVK_First <= ValueKind && ValueKind <= IPVK_Last &&
            ~~~~~~~~~~~^~~~~~~~~~~~
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 25, 2025

LLVM Buildbot has detected a new failure on builder lld-x86_64-win running on as-worker-93 while building llvm at step 7 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/146/builds/2574

Here is the relevant piece of the build log for the reference
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM-Unit :: Support/./SupportTests.exe/82/95' FAILED ********************
Script(shard):
--
GTEST_OUTPUT=json:C:\a\lld-x86_64-win\build\unittests\Support\.\SupportTests.exe-LLVM-Unit-23416-82-95.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=95 GTEST_SHARD_INDEX=82 C:\a\lld-x86_64-win\build\unittests\Support\.\SupportTests.exe
--

Script:
--
C:\a\lld-x86_64-win\build\unittests\Support\.\SupportTests.exe --gtest_filter=ProgramEnvTest.CreateProcessLongPath
--
C:\a\lld-x86_64-win\llvm-project\llvm\unittests\Support\ProgramTest.cpp(160): error: Expected equality of these values:
  0
  RC
    Which is: -2

C:\a\lld-x86_64-win\llvm-project\llvm\unittests\Support\ProgramTest.cpp(163): error: fs::remove(Twine(LongPath)): did not return errc::success.
error number: 13
error message: permission denied



C:\a\lld-x86_64-win\llvm-project\llvm\unittests\Support\ProgramTest.cpp:160
Expected equality of these values:
  0
  RC
    Which is: -2

C:\a\lld-x86_64-win\llvm-project\llvm\unittests\Support\ProgramTest.cpp:163
fs::remove(Twine(LongPath)): did not return errc::success.
error number: 13
error message: permission denied




********************


@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 25, 2025

LLVM Buildbot has detected a new failure on builder lld-x86_64-ubuntu-fast running on as-builder-4 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/33/builds/13734

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
...
2.956 [2/41/715] Linking CXX executable unittests/ObjCopy/ObjCopyTests
3.136 [2/40/716] Linking CXX executable unittests/FuzzMutate/FuzzMutateTests
3.179 [2/39/717] Linking CXX executable unittests/Transforms/Vectorize/VectorizeTests
3.376 [2/38/718] Linking CXX executable unittests/Transforms/Vectorize/SandboxVectorizer/SandboxVectorizerTests
3.742 [2/37/719] Linking CXX executable unittests/Transforms/IPO/IPOTests
4.101 [2/36/720] Linking CXX executable unittests/MC/MCTests
4.890 [2/35/721] Linking CXX executable unittests/tools/llvm-cfi-verify/CFIVerifyTests
5.227 [2/34/722] Linking CXX executable unittests/Target/VE/VETests
5.361 [2/33/723] Linking CXX executable unittests/Target/LoongArch/LoongArchTests
5.397 [2/32/724] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o
FAILED: unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /usr/bin/c++ -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/unittests/Support -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/unittests/Support -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/include -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/include -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/third-party/unittest/googletest/include -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/third-party/unittest/googlemock/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -Wno-dangling-else -Wno-variadic-macros -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -std=c++17 -MD -MT unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o -MF unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o.d -o unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o -c /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/unittests/Support/YAMLIOTest.cpp
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/unittests/Support/YAMLIOTest.cpp:1280:20: error: explicit specialization of ‘template<class T> struct llvm::yaml::MappingTraits’ outside its namespace must use a nested-name-specifier [-fpermissive]
 1280 | template <> struct MappingTraits<V> {
      |                    ^~~~~~~~~~~~~~~~
5.588 [2/31/725] Linking CXX executable unittests/Target/PowerPC/PowerPCTests
5.643 [2/30/726] Linking CXX executable unittests/Target/SPIRV/SPIRVTests
5.703 [2/29/727] Linking CXX executable unittests/Target/WebAssembly/WebAssemblyTests
6.016 [2/28/728] Linking CXX executable unittests/Target/AArch64/AArch64Tests
6.067 [2/27/729] Linking CXX executable unittests/Target/ARM/ARMTests
6.209 [2/26/730] Linking CXX executable unittests/Transforms/Coroutines/CoroTests
6.228 [2/25/731] Linking CXX executable unittests/Target/RISCV/RISCVTests
6.401 [2/24/732] Linking CXX executable unittests/Transforms/Instrumentation/InstrumentationTests
6.563 [2/23/733] Linking CXX executable unittests/Frontend/LLVMFrontendTests
6.690 [2/22/734] Linking CXX executable unittests/tools/llvm-mca/LLVMMCATests
6.691 [2/21/735] Linking CXX executable unittests/Transforms/Utils/UtilsTests
6.844 [2/20/736] Linking CXX executable unittests/Passes/PassBuilderBindings/PassesBindingsTests
7.308 [2/19/737] Linking CXX executable unittests/ExecutionEngine/Orc/OrcJITTests
7.462 [2/18/738] Linking CXX executable unittests/Target/X86/X86Tests
7.569 [2/17/739] Linking CXX executable unittests/IR/IRTests
7.757 [2/16/740] Linking CXX executable unittests/Transforms/Scalar/ScalarTests
7.814 [2/15/741] Linking CXX executable unittests/Analysis/AnalysisTests
7.966 [2/14/742] Linking CXX executable unittests/MC/AMDGPU/AMDGPUMCTests
8.120 [2/13/743] Linking CXX executable unittests/Passes/Plugins/PluginsTests
8.340 [2/12/744] Linking CXX executable unittests/Target/AMDGPU/AMDGPUTests
8.759 [2/11/745] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
8.839 [2/10/746] Linking CXX executable unittests/ExecutionEngine/MCJIT/MCJITTests
11.270 [2/9/747] Linking CXX executable unittests/Target/TargetMachineCTests
11.354 [2/8/748] Linking CXX executable unittests/MIR/MIRTests
11.819 [2/7/749] Linking CXX executable unittests/CodeGen/GlobalISel/GlobalISelTests
11.989 [2/6/750] Linking CXX executable unittests/MI/MITests
12.225 [2/5/751] Linking CXX executable unittests/CodeGen/CodeGenTests
12.233 [2/4/752] Linking CXX executable unittests/DebugInfo/DWARF/DebugInfoDWARFTests
12.675 [2/3/753] Linking CXX executable unittests/DebugInfo/LogicalView/DebugInfoLogicalViewTests
13.531 [2/2/754] Linking CXX executable tools/lld/unittests/AsLibAll/LLDAsLibAllTests
13.969 [2/1/755] Linking CXX executable tools/lld/unittests/AsLibELF/LLDAsLibELFTests
ninja: build stopped: subcommand failed.

@mstorsjo
Copy link
Member

I was about to report the same as one of the bots had reported here, this breaks compilation with GCC:

llvm-project/llvm/unittests/Support/YAMLIOTest.cpp:1280:20: error: explicit specialization of ‘template<class T> struct llvm::yaml::MappingTrait’ outside its namespace must use a nested-name-specifier [-fpermissive]
 1280 | template <> struct MappingTraits<V> {
      |                    ^~~~~~~~~~~~~~~~

I'll push a revert soon unless someone else beats me to it.

mstorsjo added a commit that referenced this pull request Mar 25, 2025
This reverts commit cb4ae35.

That commit broke compilation with GCC:

../unittests/Support/YAMLIOTest.cpp:1280:20: error: explicit specialization of
template<class T> struct llvm::yaml::MappingTraits’ outside its namespace must u
se a nested-name-specifier [-fpermissive]
 1280 | template <> struct MappingTraits<V> {
      |                    ^~~~~~~~~~~~~~~~
HerrCai0907 added a commit to HerrCai0907/llvm-project that referenced this pull request Mar 25, 2025
HerrCai0907 added a commit that referenced this pull request Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants