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>tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGNonTrivialStruct.cpp.o</summary>
```
FAILED:
tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGNonTrivialStruct.cpp.o
sccache /opt/llvm/bin/clang++ -DCLANG_EXPORTS -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/tools/clang/lib/CodeGen
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -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 -fno-common
-Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -UNDEBUG
-fno-exceptions -funwind-tables -fno-rtti -MD -MT
tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGNonTrivialStruct.cpp.o
-MF
tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGNonTrivialStruct.cpp.o.d
-o
tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGNonTrivialStruct.cpp.o
-c
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGNonTrivialStruct.cpp
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGNonTrivialStruct.cpp:35:40:
error: ISO C++11 does not allow conversion from string literal to 'char
*const' [-Werror,-Wwritable-strings]
35 | constexpr char *const ValNameStr[2] = {"dst", "src"};
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/CGNonTrivialStruct.cpp:35:47:
error: ISO C++11 does not allow conversion from string literal to 'char
*const' [-Werror,-Wwritable-strings]
35 | constexpr char *const ValNameStr[2] = {"dst", "src"};
| ^
2 errors generated.
```
</details>
<details>
<summary>tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Clang.cpp.o</summary>
```
FAILED:
tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Clang.cpp.o
sccache /opt/llvm/bin/clang++ -DCLANG_EXPORTS -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/tools/clang/lib/Driver
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -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 -fno-common
-Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -UNDEBUG
-fno-exceptions -funwind-tables -fno-rtti -MD -MT
tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Clang.cpp.o
-MF
tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Clang.cpp.o.d
-o tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Clang.cpp.o
-c
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/ToolChains/Clang.cpp
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/ToolChains/Clang.cpp:6522:9:
error: ISO C++11 does not allow conversion from string literal to 'char
*const' [-Werror,-Wwritable-strings]
6522 | "standalone", "objc", "swift", "swift-5.0", "swift-4.2",
"swift-4.1",
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/ToolChains/Clang.cpp:6522:23:
error: ISO C++11 does not allow conversion from string literal to 'char
*const' [-Werror,-Wwritable-strings]
6522 | "standalone", "objc", "swift", "swift-5.0", "swift-4.2",
"swift-4.1",
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/ToolChains/Clang.cpp:6522:31:
error: ISO C++11 does not allow conversion from string literal to 'char
*const' [-Werror,-Wwritable-strings]
6522 | "standalone", "objc", "swift", "swift-5.0", "swift-4.2",
"swift-4.1",
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/ToolChains/Clang.cpp:6522:40:
error: ISO C++11 does not allow conversion from string literal to 'char
*const' [-Werror,-Wwritable-strings]
6522 | "standalone", "objc", "swift", "swift-5.0", "swift-4.2",
"swift-4.1",
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/ToolChains/Clang.cpp:6522:53:
error: ISO C++11 does not allow conversion from string literal to 'char
*const' [-Werror,-Wwritable-strings]
6522 | "standalone", "objc", "swift", "swift-5.0", "swift-4.2",
"swift-4.1",
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/ToolChains/Clang.cpp:6522:66:
error: ISO C++11 does not allow conversion from string literal to 'char
*const' [-Werror,-Wwritable-strings]
6522 | "standalone", "objc", "swift", "swift-5.0", "swift-4.2",
"swift-4.1",
| ^
6 errors generated.
```
</details>
<details>
<summary>tools/clang/tools/extra/clangd/tool/CMakeFiles/obj.clangdMain.dir/ClangdMain.cpp.o</summary>
```
FAILED:
tools/clang/tools/extra/clangd/tool/CMakeFiles/obj.clangdMain.dir/ClangdMain.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/tools/clang/tools/extra/clangd/tool
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/tool
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/../include-cleaner/include
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/clangd/../clang-tidy
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include
-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/clang-tools-extra/clangd
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/clangd
-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 -fno-common
-Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -UNDEBUG
-fno-exceptions -funwind-tables -fno-rtti -MD -MT
tools/clang/tools/extra/clangd/tool/CMakeFiles/obj.clangdMain.dir/ClangdMain.cpp.o
-MF
tools/clang/tools/extra/clangd/tool/CMakeFiles/obj.clangdMain.dir/ClangdMain.cpp.o.d
-o
tools/clang/tools/extra/clangd/tool/CMakeFiles/obj.clangdMain.dir/ClangdMain.cpp.o
-c
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/tool/ClangdMain.cpp
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/tool/ClangdMain.cpp:829:41:
error: cannot assign to variable 'DefaultFallbackStyle' with const-qualified
type 'const char *const'
829 | clang::format::DefaultFallbackStyle = FallbackStyle.c_str();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Format/Format.h:6186:26:
note: variable 'DefaultFallbackStyle' declared const here
6186 | extern const char *const DefaultFallbackStyle;
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
1 error 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/183287
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits