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/tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/PrerequisiteModulesTest.cpp.o</summary>

```
FAILED: 
tools/clang/tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/PrerequisiteModulesTest.cpp.o
sccache /opt/llvm/bin/clang++ -DLLVM_BUILD_STATIC -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/unittests
 
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/unittests
 
-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
 
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/include
 
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googlemock/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 
-Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions 
-funwind-tables -fno-rtti -Wno-suggest-override -MD -MT 
tools/clang/tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/PrerequisiteModulesTest.cpp.o
 -MF 
tools/clang/tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/PrerequisiteModulesTest.cpp.o.d
 -o 
tools/clang/tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/PrerequisiteModulesTest.cpp.o
 -c 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/unittests/PrerequisiteModulesTest.cpp
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/unittests/PrerequisiteModulesTest.cpp:101:14:
 error: use of undeclared identifier 'maybeCaseFoldPath'
101 |     Commands[maybeCaseFoldPath(AbsPath)] = tooling::CompileCommand(
|              ^~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/unittests/PrerequisiteModulesTest.cpp:108:29:
 error: use of undeclared identifier 'maybeCaseFoldPath'
108 |     auto It = Commands.find(maybeCaseFoldPath(File));
|                             ^~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/unittests/PrerequisiteModulesTest.cpp:168:28:
 error: no matching constructor for initialization of 'llvm::SmallString<256>'
168 |     llvm::SmallString<256> Root(File);
|                            ^    ~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallString.h:32:3:
 note: candidate constructor not viable: no known conversion from 'PathRef' to 
'StringRef' for 1st argument
32 |   SmallString(StringRef S) : SmallVector<char, InternalLen>(S.begin(), 
S.end()) {}
|   ^           ~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallString.h:35:3:
 note: candidate constructor not viable: no known conversion from 'PathRef' to 
'std::initializer_list<StringRef>' for 1st argument
35 |   SmallString(std::initializer_list<StringRef> Refs)
|   ^           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Lex/Preprocessor.h:65:38:
 note: candidate constructor (the implicit copy constructor) not viable: no 
known conversion from 'PathRef' to 'const SmallString<256>' for 1st argument
65 | template<unsigned InternalLen> class SmallString;
|                                      ^~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Lex/Preprocessor.h:65:38:
 note: candidate constructor (the implicit move constructor) not viable: no 
known conversion from 'PathRef' to 'SmallString<256>' for 1st argument
65 | template<unsigned InternalLen> class SmallString;
|                                      ^~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallString.h:29:3:
 note: candidate constructor not viable: requires 0 arguments, but 1 was 
provided
29 |   SmallString() = default;
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallString.h:42:3:
 note: candidate constructor template not viable: requires 2 arguments, but 1 
was provided
42 |   SmallString(ItTy S, ItTy E) : SmallVector<char, InternalLen>(S, E) {}
|   ^           ~~~~~~~~~~~~~~
3 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/136439
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to