[clang] [llvm] [llvm][support] Implement tracing virtual file system (PR #88326)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 6 14:37:18 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-win` running on `sie-win-worker` while building `clang,llvm` at step 7 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/46/builds/4523
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
...
[207/1117] Building CXX object tools\clang\unittests\AST\CMakeFiles\ASTTests.dir\NamedDeclPrinterTest.cpp.obj
[208/1117] Building CXX object tools\clang\unittests\AST\CMakeFiles\ASTTests.dir\ASTImporterODRStrategiesTest.cpp.obj
[209/1117] Building CXX object tools\clang\unittests\AST\CMakeFiles\ASTTests.dir\DeclBaseTest.cpp.obj
[210/1117] Building CXX object tools\clang\unittests\AST\CMakeFiles\ASTTests.dir\AttrTest.cpp.obj
[211/1117] Building CXX object tools\clang\unittests\AST\CMakeFiles\ASTTests.dir\SizelessTypesTest.cpp.obj
[212/1117] Building CXX object tools\clang\unittests\AST\CMakeFiles\ASTTests.dir\ASTImporterVisibilityTest.cpp.obj
[213/1117] Building CXX object tools\clang\unittests\AST\CMakeFiles\ASTTests.dir\DeclPrinterTest.cpp.obj
[214/1117] Building CXX object tools\clang\unittests\CrossTU\CMakeFiles\CrossTUTests.dir\CrossTranslationUnitTest.cpp.obj
[215/1117] Building CXX object tools\clang\unittests\ASTMatchers\CMakeFiles\ASTMatchersTests.dir\ASTMatchersTraversalTest.cpp.obj
[216/1117] Building CXX object tools\clang\unittests\Tooling\CMakeFiles\ToolingTests.dir\DependencyScanning\DependencyScanningFilesystemTest.cpp.obj
FAILED: tools/clang/unittests/Tooling/CMakeFiles/ToolingTests.dir/DependencyScanning/DependencyScanningFilesystemTest.cpp.obj
C:\bin\ccache.exe C:\PROGRA~2\MICROS~1\2019\BUILDT~1\VC\Tools\MSVC\1429~1.301\bin\HostX64\x64\cl.exe /nologo /TP -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\clang\unittests\Tooling -IZ:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\unittests\Tooling -IZ:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\include -Itools\clang\include -Iinclude -IZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include -IZ:\b\llvm-clang-x86_64-sie-win\llvm-project\third-party\unittest\googletest\include -IZ:\b\llvm-clang-x86_64-sie-win\llvm-project\third-party\unittest\googlemock\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2 -MD /EHs-c- /GR- -UNDEBUG -std:c++17 /showIncludes /Fotools\clang\unittests\Tooling\CMakeFiles\ToolingTests.dir\DependencyScanning\DependencyScanningFilesystemTest.cpp.obj /Fdtools\clang\unittests\Tooling\CMakeFiles\ToolingTests.dir\ /FS -c Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\unittests\Tooling\DependencyScanning\DependencyScanningFilesystemTest.cpp
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\unittests\Tooling\DependencyScanning\DependencyScanningFilesystemTest.cpp(157): error C2065: 'InstrumentingFilesystem': undeclared identifier
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\unittests\Tooling\DependencyScanning\DependencyScanningFilesystemTest.cpp(157): error C2672: 'llvm::makeIntrusiveRefCnt': no matching overloaded function found
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\unittests\Tooling\DependencyScanning\DependencyScanningFilesystemTest.cpp(157): error C2974: 'llvm::makeIntrusiveRefCnt': invalid template argument for 'T', type expected
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/ADT/IntrusiveRefCntPtr.h(313): note: see declaration of 'llvm::makeIntrusiveRefCnt'
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\unittests\Tooling\DependencyScanning\DependencyScanningFilesystemTest.cpp(160): error C3536: 'InstrumentingFS': cannot be used before it is initialized
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\unittests\Tooling\DependencyScanning\DependencyScanningFilesystemTest.cpp(160): error C2664: 'clang::tooling::dependencies::DependencyScanningWorkerFilesystem::DependencyScanningWorkerFilesystem(clang::tooling::dependencies::DependencyScanningFilesystemSharedCache &,llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>)': cannot convert argument 2 from 'int' to 'llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>'
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\unittests\Tooling\DependencyScanning\DependencyScanningFilesystemTest.cpp(160): note: No constructor could take the source type, or constructor overload resolution was ambiguous
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\include\clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h(343): note: see declaration of 'clang::tooling::dependencies::DependencyScanningWorkerFilesystem::DependencyScanningWorkerFilesystem'
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\unittests\Tooling\DependencyScanning\DependencyScanningFilesystemTest.cpp(164): error C2660: 'testing::internal::EqHelper::Compare': function does not take 3 arguments
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\third-party\unittest\googletest\include\gtest/gtest.h(1407): note: see declaration of 'testing::internal::EqHelper::Compare'
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\unittests\Tooling\DependencyScanning\DependencyScanningFilesystemTest.cpp(164): error C2737: 'gtest_ar': const object must be initialized
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\unittests\Tooling\DependencyScanning\DependencyScanningFilesystemTest.cpp(168): error C2660: 'testing::internal::EqHelper::Compare': function does not take 3 arguments
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\third-party\unittest\googletest\include\gtest/gtest.h(1407): note: see declaration of 'testing::internal::EqHelper::Compare'
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\unittests\Tooling\DependencyScanning\DependencyScanningFilesystemTest.cpp(168): error C2737: 'gtest_ar': const object must be initialized
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\unittests\Tooling\DependencyScanning\DependencyScanningFilesystemTest.cpp(172): error C2660: 'testing::internal::EqHelper::Compare': function does not take 3 arguments
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\third-party\unittest\googletest\include\gtest/gtest.h(1407): note: see declaration of 'testing::internal::EqHelper::Compare'
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\unittests\Tooling\DependencyScanning\DependencyScanningFilesystemTest.cpp(172): error C2737: 'gtest_ar': const object must be initialized
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\unittests\Tooling\DependencyScanning\DependencyScanningFilesystemTest.cpp(174): error C2660: 'testing::internal::EqHelper::Compare': function does not take 3 arguments
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\third-party\unittest\googletest\include\gtest/gtest.h(1407): note: see declaration of 'testing::internal::EqHelper::Compare'
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\unittests\Tooling\DependencyScanning\DependencyScanningFilesystemTest.cpp(174): error C2737: 'gtest_ar': const object must be initialized
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\unittests\Tooling\DependencyScanning\DependencyScanningFilesystemTest.cpp(179): error C2660: 'testing::internal::EqHelper::Compare': function does not take 3 arguments
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\third-party\unittest\googletest\include\gtest/gtest.h(1407): note: see declaration of 'testing::internal::EqHelper::Compare'
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\unittests\Tooling\DependencyScanning\DependencyScanningFilesystemTest.cpp(179): error C2737: 'gtest_ar': const object must be initialized
[217/1117] Building CXX object tools\clang\unittests\AST\CMakeFiles\ASTTests.dir\RandstructTest.cpp.obj
[218/1117] Building CXX object tools\clang\unittests\Tooling\CMakeFiles\ToolingTests.dir\HeaderIncludesTest.cpp.obj
[219/1117] Building CXX object tools\clang\unittests\Tooling\CMakeFiles\ToolingTests.dir\CompilationDatabaseTest.cpp.obj
[220/1117] Building CXX object tools\clang\unittests\AST\CMakeFiles\ASTTests.dir\ProfilingTest.cpp.obj
[221/1117] Building CXX object tools\clang\unittests\AST\ByteCode\CMakeFiles\InterpTests.dir\toAPValue.cpp.obj
[222/1117] Building CXX object tools\clang\unittests\AST\CMakeFiles\ASTTests.dir\ExternalASTSourceTest.cpp.obj
[223/1117] Building CXX object tools\clang\unittests\AST\CMakeFiles\ASTTests.dir\StructuralEquivalenceTest.cpp.obj
[224/1117] Building CXX object tools\clang\unittests\Tooling\CMakeFiles\ToolingTests.dir\DiagnosticsYamlTest.cpp.obj
[225/1117] Building CXX object tools\clang\unittests\AST\CMakeFiles\ASTTests.dir\StmtPrinterTest.cpp.obj
[226/1117] Linking CXX executable tools\clang\unittests\CrossTU\CrossTUTests.exe
[227/1117] Linking CXX executable tools\clang\unittests\ASTMatchers\ASTMatchersTests.exe
[228/1117] Building CXX object tools\clang\unittests\AST\CMakeFiles\ASTTests.dir\DeclTest.cpp.obj
[229/1117] Building CXX object tools\clang\unittests\AST\CMakeFiles\ASTTests.dir\ASTImporterTest.cpp.obj
[230/1117] Building CXX object tools\clang\unittests\Tooling\CMakeFiles\ToolingTests.dir\StandardLibraryTest.cpp.obj
```
</details>
https://github.com/llvm/llvm-project/pull/88326
More information about the cfe-commits
mailing list