[clang] [C++20] [Modules] [ScanDeps] Scan results for module map file (PR #221652)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 7 00:59:46 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 56430 tests passed
* 1563 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.ClangScanDeps/p1689-module-map.cppm</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
rm -rf C:\_work\llvm-project\llvm-project\build\tools\clang\test\ClangScanDeps\Output\p1689-module-map.cppm.tmp
# executed command: rm -rf 'C:\_work\llvm-project\llvm-project\build\tools\clang\test\ClangScanDeps\Output\p1689-module-map.cppm.tmp'
# note: command had no output on stdout or stderr
# RUN: at line 2
split-file C:\_work\llvm-project\llvm-project\clang\test\ClangScanDeps\p1689-module-map.cppm C:\_work\llvm-project\llvm-project\build\tools\clang\test\ClangScanDeps\Output\p1689-module-map.cppm.tmp
# executed command: split-file 'C:\_work\llvm-project\llvm-project\clang\test\ClangScanDeps\p1689-module-map.cppm' 'C:\_work\llvm-project\llvm-project\build\tools\clang\test\ClangScanDeps\Output\p1689-module-map.cppm.tmp'
# note: command had no output on stdout or stderr
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\clang-scan-deps.exe -format=p1689 -- c:\_work\llvm-project\llvm-project\build\bin\clang.exe++ -std=c++20 -c C:\_work\llvm-project\llvm-project\build\tools\clang\test\ClangScanDeps\Output\p1689-module-map.cppm.tmp/include-only.cpp -o C:\_work\llvm-project\llvm-project\build\tools\clang\test\ClangScanDeps\Output\p1689-module-map.cppm.tmp/include-only.o -fmodule-map-file=C:\_work\llvm-project\llvm-project\build\tools\clang\test\ClangScanDeps\Output\p1689-module-map.cppm.tmp/module.modulemap | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\ClangScanDeps\p1689-module-map.cppm -DPREFIX=C:/_work/llvm-project/llvm-project/build/tools/clang/test/ClangScanDeps/Output/p1689-module-map.cppm.tmp --check-prefix=INCLUDE-ONLY
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang-scan-deps.exe' -format=p1689 -- 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe++' -std=c++20 -c 'C:\_work\llvm-project\llvm-project\build\tools\clang\test\ClangScanDeps\Output\p1689-module-map.cppm.tmp/include-only.cpp' -o 'C:\_work\llvm-project\llvm-project\build\tools\clang\test\ClangScanDeps\Output\p1689-module-map.cppm.tmp/include-only.o' '-fmodule-map-file=C:\_work\llvm-project\llvm-project\build\tools\clang\test\ClangScanDeps\Output\p1689-module-map.cppm.tmp/module.modulemap'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\ClangScanDeps\p1689-module-map.cppm' -DPREFIX=C:/_work/llvm-project/llvm-project/build/tools/clang/test/ClangScanDeps/Output/p1689-module-map.cppm.tmp --check-prefix=INCLUDE-ONLY
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\clang\test\ClangScanDeps\p1689-module-map.cppm:38:23: error: INCLUDE-ONLY-NEXT: expected string not found in input
# | // INCLUDE-ONLY-NEXT: "primary-output": "[[PREFIX]]/include-only.o",
# | ^
# | <stdin>:4:3: note: scanning from here
# | {
# | ^
# | <stdin>:4:3: note: with "PREFIX" equal to "C:/_work/llvm-project/llvm-project/build/tools/clang/test/ClangScanDeps/Output/p1689-module-map.cppm.tmp"
# | {
# | ^
# | <stdin>:5:2: note: possible intended match here
# | "primary-output": "C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\test\\ClangScanDeps\\Output\\p1689-module-map.cppm.tmp/include-only.o",
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\clang\test\ClangScanDeps\p1689-module-map.cppm
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: {
# | 2: "revision": 0,
# | 3: "rules": [
# | 4: {
# | next:38'0 { search range start (exclusive)
# | next:38'1 error: no match found in search range
# | next:38'2 with "PREFIX" equal to "C:/_work/llvm-project/llvm-project/build/tools/clang/test/ClangScanDeps/Output/p1689-module-map.cppm.tmp"
# | 5: "primary-output": "C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\test\\ClangScanDeps\\Output\\p1689-module-map.cppm.tmp/include-only.o",
# | next:38'3 ? possible intended match
# | 6: "requires": [
# | 7: {
# | 8: "logical-name": "alpha"
# | 9: },
# | 10: {
# | 11: "logical-name": "beta.gamma"
# | 12: }
# | 13: ]
# | 14: }
# | 15: ],
# | 16: "version": 1
# | 17: }
# | next:38'4 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</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/221652
More information about the cfe-commits
mailing list