Repository navigation
Open
Labels
A-code-coverageArea: Source-based code coverage (-Cinstrument-coverage)Area: Source-based code coverage (-Cinstrument-coverage)C-bugCategory: This is a bug.Category: This is a bug.O-windows-gnuToolchain: GNU, Operating system: WindowsToolchain: GNU, Operating system: WindowsT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
Summary
Sometime bretween May 31 and now, the coverage-run tests broke on windows-gnu. Rustc no longer builds the coverage tests into valid executables, causing the coverage-run tests to fail.
Attempting to run the a.exe files manually also fails; Windows really does not see them as valid executables. Oddly, they still manage to pass the coverage-map tests.
Command Used
./x test tests/coverageBootstrap configuration (bootstrap.toml)
profile = "compiler"
change-id = "ignore"
[build]
profiler = true
[rust]
debug = true
debuginfo-level = 2Operating system
Windows 11 24H2, build 26100.4652
HEAD
Additional context
Build Log
Building bootstrap
Finished `dev` profile [unoptimized] target(s) in 0.15s
Building compiler artifacts (stage0 -> stage1, x86_64-pc-windows-gnu)
Finished `release` profile [optimized + debuginfo] target(s) in 0.75s
Creating a sysroot for stage1 compiler (use `rustup toolchain link 'name' build/host/stage1`)
Building stage1 library artifacts (x86_64-pc-windows-gnu)
Finished `release` profile [optimized + debuginfo] target(s) in 0.21s
Building stage0 tool compiletest (x86_64-pc-windows-gnu)
Finished `release` profile [optimized + debuginfo] target(s) in 0.47s
Building stage0 tool coverage-dump (x86_64-pc-windows-gnu)
Finished `release` profile [optimized + debuginfo] target(s) in 0.34s
Testing stage1 compiletest suite=coverage mode=coverage-map (x86_64-pc-windows-gnu)
running 95 tests
........i...............i.......................................i....................... 88/95
.......
test result: ok. 92 passed; 0 failed; 3 ignored; 0 measured; 0 filtered out; finished in 1.52s
Testing stage1 compiletest suite=coverage mode=coverage-run (x86_64-pc-windows-gnu)
running 95 tests
[coverage-run] tests\coverage\attr\nested.rs ... F
[coverage-run] tests\coverage\assert-ne.rs ... F
[coverage-run] tests\coverage\branch\if-let.rs ... F
[coverage-run] tests\coverage\attr\trait-impl-inherit.rs ... F
[coverage-run] tests\coverage\attr\impl.rs ... F
[coverage-run] tests\coverage\attr\module.rs ... F
[coverage-run] tests\coverage\assert_not.rs ... F
[coverage-run] tests\coverage\bad_counter_ids.rs ... F
i
[coverage-run] tests\coverage\branch\let-else.rs ... F
[coverage-run] tests\coverage\branch\guard.rs ... F
[coverage-run] tests\coverage\attr\off-on-sandwich.rs ... F
[coverage-run] tests\coverage\assert.rs ... F
[coverage-run] tests\coverage\branch\generics.rs ... F
[coverage-run] tests\coverage\abort.rs ... F
[coverage-run] tests\coverage\branch\match-arms.rs ... F
[coverage-run] tests\coverage\bench.rs ... F
[coverage-run] tests\coverage\branch\if.rs ... F
[coverage-run] tests\coverage\branch\match-trivial.rs ... F
[coverage-run] tests\coverage\branch\lazy-boolean.rs ... F
[coverage-run] tests\coverage\async_block.rs ... F
[coverage-run] tests\coverage\async_closure.rs ... F
[coverage-run] tests\coverage\await_ready.rs ... F
[coverage-run] tests\coverage\async.rs ... F
[coverage-run] tests\coverage\async2.rs ... F
i
[coverage-run] tests\coverage\branch\no-mir-spans.rs ... F
[coverage-run] tests\coverage\branch\while.rs ... F
i
[coverage-run] tests\coverage\condition\conditions.rs ... F
[coverage-run] tests\coverage\conditions.rs ... F
[coverage-run] tests\coverage\closure_macro.rs ... F
[coverage-run] tests\coverage\closure_unit_return.rs ... F
[coverage-run] tests\coverage\drop_trait.rs ... F
[coverage-run] tests\coverage\continue.rs ... F
[coverage-run] tests\coverage\coverage_attr_closure.rs ... F
[coverage-run] tests\coverage\closure_bug.rs ... F
[coverage-run] tests\coverage\coroutine.rs ... F
[coverage-run] tests\coverage\dead_code.rs ... F
[coverage-run] tests\coverage\generics.rs ... F
[coverage-run] tests\coverage\closure.rs ... F
[coverage-run] tests\coverage\inline-dead.rs ... F
[coverage-run] tests\coverage\generic-unused-impl.rs ... F
[coverage-run] tests\coverage\ignore_map.rs ... F
[coverage-run] tests\coverage\if_else.rs ... F
[coverage-run] tests\coverage\fn_sig_into_try.rs ... F
[coverage-run] tests\coverage\if_not.rs ... F
[coverage-run] tests\coverage\holes.rs ... F
[coverage-run] tests\coverage\discard-all-issue-133606.rs ... F
[coverage-run] tests\coverage\if.rs ... F
[coverage-run] tests\coverage\closure_macro_async.rs ... F
[coverage-run] tests\coverage\inner_items.rs ... F
[coverage-run] tests\coverage\inline.rs ... F
[coverage-run] tests\coverage\issue-83601.rs ... F
[coverage-run] tests\coverage\issue-84561.rs ... F
[coverage-run] tests\coverage\issue-93054.rs ... F
[coverage-run] tests\coverage\lazy_boolean.rs ... F
[coverage-run] tests\coverage\let_else_loop.rs ... F
[coverage-run] tests\coverage\long_and_wide.rs ... F
[coverage-run] tests\coverage\loop-break.rs ... F
[coverage-run] tests\coverage\loop_break_value.rs ... F
[coverage-run] tests\coverage\loops_branches.rs ... F
[coverage-run] tests\coverage\mcdc\condition-limit.rs ... F
i
[coverage-run] tests\coverage\macro_in_closure.rs ... F
[coverage-run] tests\coverage\issue-85461.rs ... F
[coverage-run] tests\coverage\match_or_pattern.rs ... F
[coverage-run] tests\coverage\mcdc\if.rs ... F
[coverage-run] tests\coverage\mcdc\non_control_flow.rs ... F
[coverage-run] tests\coverage\no-core.rs ... F
[coverage-run] tests\coverage\mcdc\inlined_expressions.rs ... F
[coverage-run] tests\coverage\nested_loops.rs ... F
[coverage-run] tests\coverage\no_spans.rs ... F
[coverage-run] tests\coverage\mcdc\nested_if.rs ... F
[coverage-run] tests\coverage\macro_name_span.rs ... F
[coverage-run] tests\coverage\partial_eq.rs ... F
[coverage-run] tests\coverage\no_spans_if_not.rs ... F
[coverage-run] tests\coverage\simple_loop.rs ... F
[coverage-run] tests\coverage\overflow.rs ... F
[coverage-run] tests\coverage\simple_match.rs ... F
[coverage-run] tests\coverage\panic_unwind.rs ... F
[coverage-run] tests\coverage\no_cov_crate.rs ... F
[coverage-run] tests\coverage\sort_groups.rs ... F
[coverage-run] tests\coverage\tight_inf_loop.rs ... F
[coverage-run] tests\coverage\test_harness.rs ... F
[coverage-run] tests\coverage\trivial.rs ... F
[coverage-run] tests\coverage\try_error_result.rs ... F
[coverage-run] tests\coverage\unreachable.rs ... F
88/95
[coverage-run] tests\coverage\unused.rs ... F
[coverage-run] tests\coverage\unused_mod.rs ... F
[coverage-run] tests\coverage\while.rs ... F
[coverage-run] tests\coverage\yield.rs ... F
[coverage-run] tests\coverage\while_early_ret.rs ... F
[coverage-run] tests\coverage\uses_crate.rs ... F
[coverage-run] tests\coverage\uses_inline_crate.rs ... F
failures:
---- [coverage-run] tests\coverage\attr\nested.rs stdout ----
thread '[coverage-run] tests\coverage\attr\nested.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\attr\\nested.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- [coverage-run] tests\coverage\assert-ne.rs stdout ----
thread '[coverage-run] tests\coverage\assert-ne.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\assert-ne.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\branch\if-let.rs stdout ----
thread '[coverage-run] tests\coverage\branch\if-let.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\branch\\if-let.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\attr\trait-impl-inherit.rs stdout ----
thread '[coverage-run] tests\coverage\attr\trait-impl-inherit.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\attr\\trait-impl-inherit.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\attr\impl.rs stdout ----
thread '[coverage-run] tests\coverage\attr\impl.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\attr\\impl.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\attr\module.rs stdout ----
thread '[coverage-run] tests\coverage\attr\module.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\attr\\module.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\assert_not.rs stdout ----
thread '[coverage-run] tests\coverage\assert_not.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\assert_not.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\bad_counter_ids.rs stdout ----
thread '[coverage-run] tests\coverage\bad_counter_ids.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\bad_counter_ids.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\branch\let-else.rs stdout ----
thread '[coverage-run] tests\coverage\branch\let-else.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\branch\\let-else.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\branch\guard.rs stdout ----
thread '[coverage-run] tests\coverage\branch\guard.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\branch\\guard.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\attr\off-on-sandwich.rs stdout ----
thread '[coverage-run] tests\coverage\attr\off-on-sandwich.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\attr\\off-on-sandwich.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\assert.rs stdout ----
thread '[coverage-run] tests\coverage\assert.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\assert.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\branch\generics.rs stdout ----
thread '[coverage-run] tests\coverage\branch\generics.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\branch\\generics.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\abort.rs stdout ----
thread '[coverage-run] tests\coverage\abort.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\abort.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\branch\match-arms.rs stdout ----
thread '[coverage-run] tests\coverage\branch\match-arms.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\branch\\match-arms.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\bench.rs stdout ----
thread '[coverage-run] tests\coverage\bench.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\bench.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\branch\if.rs stdout ----
thread '[coverage-run] tests\coverage\branch\if.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\branch\\if.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\branch\match-trivial.rs stdout ----
thread '[coverage-run] tests\coverage\branch\match-trivial.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\branch\\match-trivial.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\branch\lazy-boolean.rs stdout ----
thread '[coverage-run] tests\coverage\branch\lazy-boolean.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\branch\\lazy-boolean.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\async_block.rs stdout ----
thread '[coverage-run] tests\coverage\async_block.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\async_block.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\async_closure.rs stdout ----
thread '[coverage-run] tests\coverage\async_closure.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\async_closure.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\await_ready.rs stdout ----
thread '[coverage-run] tests\coverage\await_ready.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\await_ready.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\async.rs stdout ----
thread '[coverage-run] tests\coverage\async.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\async.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\async2.rs stdout ----
thread '[coverage-run] tests\coverage\async2.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\async2.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\branch\no-mir-spans.rs stdout ----
thread '[coverage-run] tests\coverage\branch\no-mir-spans.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\branch\\no-mir-spans.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\branch\while.rs stdout ----
thread '[coverage-run] tests\coverage\branch\while.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\branch\\while.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\condition\conditions.rs stdout ----
thread '[coverage-run] tests\coverage\condition\conditions.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\condition\\conditions.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\conditions.rs stdout ----
thread '[coverage-run] tests\coverage\conditions.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\conditions.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\closure_macro.rs stdout ----
thread '[coverage-run] tests\coverage\closure_macro.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\closure_macro.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\closure_unit_return.rs stdout ----
thread '[coverage-run] tests\coverage\closure_unit_return.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\closure_unit_return.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\drop_trait.rs stdout ----
thread '[coverage-run] tests\coverage\drop_trait.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\drop_trait.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\continue.rs stdout ----
thread '[coverage-run] tests\coverage\continue.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\continue.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\coverage_attr_closure.rs stdout ----
thread '[coverage-run] tests\coverage\coverage_attr_closure.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\coverage_attr_closure.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\closure_bug.rs stdout ----
thread '[coverage-run] tests\coverage\closure_bug.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\closure_bug.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\coroutine.rs stdout ----
thread '[coverage-run] tests\coverage\coroutine.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\coroutine.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\dead_code.rs stdout ----
thread '[coverage-run] tests\coverage\dead_code.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\dead_code.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\generics.rs stdout ----
thread '[coverage-run] tests\coverage\generics.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\generics.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\closure.rs stdout ----
thread '[coverage-run] tests\coverage\closure.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\closure.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\inline-dead.rs stdout ----
thread '[coverage-run] tests\coverage\inline-dead.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\inline-dead.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\generic-unused-impl.rs stdout ----
thread '[coverage-run] tests\coverage\generic-unused-impl.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\generic-unused-impl.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\ignore_map.rs stdout ----
thread '[coverage-run] tests\coverage\ignore_map.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\ignore_map.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\if_else.rs stdout ----
thread '[coverage-run] tests\coverage\if_else.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\if_else.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\fn_sig_into_try.rs stdout ----
thread '[coverage-run] tests\coverage\fn_sig_into_try.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\fn_sig_into_try.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\if_not.rs stdout ----
thread '[coverage-run] tests\coverage\if_not.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\if_not.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\holes.rs stdout ----
thread '[coverage-run] tests\coverage\holes.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\holes.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\discard-all-issue-133606.rs stdout ----
thread '[coverage-run] tests\coverage\discard-all-issue-133606.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\discard-all-issue-133606.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\if.rs stdout ----
thread '[coverage-run] tests\coverage\if.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\if.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\closure_macro_async.rs stdout ----
thread '[coverage-run] tests\coverage\closure_macro_async.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\closure_macro_async.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\inner_items.rs stdout ----
thread '[coverage-run] tests\coverage\inner_items.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\inner_items.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\inline.rs stdout ----
thread '[coverage-run] tests\coverage\inline.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\inline.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\issue-83601.rs stdout ----
thread '[coverage-run] tests\coverage\issue-83601.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\issue-83601.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\issue-84561.rs stdout ----
thread '[coverage-run] tests\coverage\issue-84561.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\issue-84561.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\issue-93054.rs stdout ----
thread '[coverage-run] tests\coverage\issue-93054.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\issue-93054.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\lazy_boolean.rs stdout ----
thread '[coverage-run] tests\coverage\lazy_boolean.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\lazy_boolean.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\let_else_loop.rs stdout ----
thread '[coverage-run] tests\coverage\let_else_loop.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\let_else_loop.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\long_and_wide.rs stdout ----
thread '[coverage-run] tests\coverage\long_and_wide.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\long_and_wide.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\loop-break.rs stdout ----
thread '[coverage-run] tests\coverage\loop-break.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\loop-break.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\loop_break_value.rs stdout ----
thread '[coverage-run] tests\coverage\loop_break_value.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\loop_break_value.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\loops_branches.rs stdout ----
thread '[coverage-run] tests\coverage\loops_branches.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\loops_branches.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\mcdc\condition-limit.rs stdout ----
thread '[coverage-run] tests\coverage\mcdc\condition-limit.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\mcdc\\condition-limit.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\macro_in_closure.rs stdout ----
thread '[coverage-run] tests\coverage\macro_in_closure.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\macro_in_closure.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\issue-85461.rs stdout ----
thread '[coverage-run] tests\coverage\issue-85461.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\issue-85461.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\match_or_pattern.rs stdout ----
thread '[coverage-run] tests\coverage\match_or_pattern.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\match_or_pattern.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\mcdc\if.rs stdout ----
thread '[coverage-run] tests\coverage\mcdc\if.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\mcdc\\if.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\mcdc\non_control_flow.rs stdout ----
thread '[coverage-run] tests\coverage\mcdc\non_control_flow.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\mcdc\\non_control_flow.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\no-core.rs stdout ----
thread '[coverage-run] tests\coverage\no-core.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\no-core.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\mcdc\inlined_expressions.rs stdout ----
thread '[coverage-run] tests\coverage\mcdc\inlined_expressions.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\mcdc\\inlined_expressions.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\nested_loops.rs stdout ----
thread '[coverage-run] tests\coverage\nested_loops.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\nested_loops.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\no_spans.rs stdout ----
thread '[coverage-run] tests\coverage\no_spans.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\no_spans.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\mcdc\nested_if.rs stdout ----
thread '[coverage-run] tests\coverage\mcdc\nested_if.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\mcdc\\nested_if.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\macro_name_span.rs stdout ----
thread '[coverage-run] tests\coverage\macro_name_span.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\macro_name_span.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\partial_eq.rs stdout ----
thread '[coverage-run] tests\coverage\partial_eq.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\partial_eq.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\no_spans_if_not.rs stdout ----
thread '[coverage-run] tests\coverage\no_spans_if_not.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\no_spans_if_not.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\simple_loop.rs stdout ----
thread '[coverage-run] tests\coverage\simple_loop.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\simple_loop.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\overflow.rs stdout ----
thread '[coverage-run] tests\coverage\overflow.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\overflow.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\simple_match.rs stdout ----
thread '[coverage-run] tests\coverage\simple_match.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\simple_match.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\panic_unwind.rs stdout ----
thread '[coverage-run] tests\coverage\panic_unwind.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\panic_unwind.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\no_cov_crate.rs stdout ----
thread '[coverage-run] tests\coverage\no_cov_crate.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\no_cov_crate.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\sort_groups.rs stdout ----
thread '[coverage-run] tests\coverage\sort_groups.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\sort_groups.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\tight_inf_loop.rs stdout ----
thread '[coverage-run] tests\coverage\tight_inf_loop.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\tight_inf_loop.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\test_harness.rs stdout ----
thread '[coverage-run] tests\coverage\test_harness.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\test_harness.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\trivial.rs stdout ----
thread '[coverage-run] tests\coverage\trivial.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\trivial.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\try_error_result.rs stdout ----
thread '[coverage-run] tests\coverage\try_error_result.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\try_error_result.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\unreachable.rs stdout ----
thread '[coverage-run] tests\coverage\unreachable.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\unreachable.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\unused.rs stdout ----
thread '[coverage-run] tests\coverage\unused.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\unused.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\unused_mod.rs stdout ----
thread '[coverage-run] tests\coverage\unused_mod.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\unused_mod.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\while.rs stdout ----
thread '[coverage-run] tests\coverage\while.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\while.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\yield.rs stdout ----
thread '[coverage-run] tests\coverage\yield.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\yield.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\while_early_ret.rs stdout ----
thread '[coverage-run] tests\coverage\while_early_ret.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\while_early_ret.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\uses_crate.rs stdout ----
thread '[coverage-run] tests\coverage\uses_crate.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\uses_crate.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
---- [coverage-run] tests\coverage\uses_inline_crate.rs stdout ----
thread '[coverage-run] tests\coverage\uses_inline_crate.rs' panicked at src\tools\compiletest\src\runtest.rs:1471:33:
failed to exec `"C:\\Users\\Forrest\\Desktop\\rust-lang\\build\\x86_64-pc-windows-gnu\\test\\coverage\\uses_inline_crate.coverage-run\\a.exe"`: Os { code: 193, kind: Uncategorized, message: "%1 is not a valid Win32 application." }
failures:
[coverage-run] tests\coverage\attr\nested.rs
[coverage-run] tests\coverage\assert-ne.rs
[coverage-run] tests\coverage\branch\if-let.rs
[coverage-run] tests\coverage\attr\trait-impl-inherit.rs
[coverage-run] tests\coverage\attr\impl.rs
[coverage-run] tests\coverage\attr\module.rs
[coverage-run] tests\coverage\assert_not.rs
[coverage-run] tests\coverage\bad_counter_ids.rs
[coverage-run] tests\coverage\branch\let-else.rs
[coverage-run] tests\coverage\branch\guard.rs
[coverage-run] tests\coverage\attr\off-on-sandwich.rs
[coverage-run] tests\coverage\assert.rs
[coverage-run] tests\coverage\branch\generics.rs
[coverage-run] tests\coverage\abort.rs
[coverage-run] tests\coverage\branch\match-arms.rs
[coverage-run] tests\coverage\bench.rs
[coverage-run] tests\coverage\branch\if.rs
[coverage-run] tests\coverage\branch\match-trivial.rs
[coverage-run] tests\coverage\branch\lazy-boolean.rs
[coverage-run] tests\coverage\async_block.rs
[coverage-run] tests\coverage\async_closure.rs
[coverage-run] tests\coverage\await_ready.rs
[coverage-run] tests\coverage\async.rs
[coverage-run] tests\coverage\async2.rs
[coverage-run] tests\coverage\branch\no-mir-spans.rs
[coverage-run] tests\coverage\branch\while.rs
[coverage-run] tests\coverage\condition\conditions.rs
[coverage-run] tests\coverage\conditions.rs
[coverage-run] tests\coverage\closure_macro.rs
[coverage-run] tests\coverage\closure_unit_return.rs
[coverage-run] tests\coverage\drop_trait.rs
[coverage-run] tests\coverage\continue.rs
[coverage-run] tests\coverage\coverage_attr_closure.rs
[coverage-run] tests\coverage\closure_bug.rs
[coverage-run] tests\coverage\coroutine.rs
[coverage-run] tests\coverage\dead_code.rs
[coverage-run] tests\coverage\generics.rs
[coverage-run] tests\coverage\closure.rs
[coverage-run] tests\coverage\inline-dead.rs
[coverage-run] tests\coverage\generic-unused-impl.rs
[coverage-run] tests\coverage\ignore_map.rs
[coverage-run] tests\coverage\if_else.rs
[coverage-run] tests\coverage\fn_sig_into_try.rs
[coverage-run] tests\coverage\if_not.rs
[coverage-run] tests\coverage\holes.rs
[coverage-run] tests\coverage\discard-all-issue-133606.rs
[coverage-run] tests\coverage\if.rs
[coverage-run] tests\coverage\closure_macro_async.rs
[coverage-run] tests\coverage\inner_items.rs
[coverage-run] tests\coverage\inline.rs
[coverage-run] tests\coverage\issue-83601.rs
[coverage-run] tests\coverage\issue-84561.rs
[coverage-run] tests\coverage\issue-93054.rs
[coverage-run] tests\coverage\lazy_boolean.rs
[coverage-run] tests\coverage\let_else_loop.rs
[coverage-run] tests\coverage\long_and_wide.rs
[coverage-run] tests\coverage\loop-break.rs
[coverage-run] tests\coverage\loop_break_value.rs
[coverage-run] tests\coverage\loops_branches.rs
[coverage-run] tests\coverage\mcdc\condition-limit.rs
[coverage-run] tests\coverage\macro_in_closure.rs
[coverage-run] tests\coverage\issue-85461.rs
[coverage-run] tests\coverage\match_or_pattern.rs
[coverage-run] tests\coverage\mcdc\if.rs
[coverage-run] tests\coverage\mcdc\non_control_flow.rs
[coverage-run] tests\coverage\no-core.rs
[coverage-run] tests\coverage\mcdc\inlined_expressions.rs
[coverage-run] tests\coverage\nested_loops.rs
[coverage-run] tests\coverage\no_spans.rs
[coverage-run] tests\coverage\mcdc\nested_if.rs
[coverage-run] tests\coverage\macro_name_span.rs
[coverage-run] tests\coverage\partial_eq.rs
[coverage-run] tests\coverage\no_spans_if_not.rs
[coverage-run] tests\coverage\simple_loop.rs
[coverage-run] tests\coverage\overflow.rs
[coverage-run] tests\coverage\simple_match.rs
[coverage-run] tests\coverage\panic_unwind.rs
[coverage-run] tests\coverage\no_cov_crate.rs
[coverage-run] tests\coverage\sort_groups.rs
[coverage-run] tests\coverage\tight_inf_loop.rs
[coverage-run] tests\coverage\test_harness.rs
[coverage-run] tests\coverage\trivial.rs
[coverage-run] tests\coverage\try_error_result.rs
[coverage-run] tests\coverage\unreachable.rs
[coverage-run] tests\coverage\unused.rs
[coverage-run] tests\coverage\unused_mod.rs
[coverage-run] tests\coverage\while.rs
[coverage-run] tests\coverage\yield.rs
[coverage-run] tests\coverage\while_early_ret.rs
[coverage-run] tests\coverage\uses_crate.rs
[coverage-run] tests\coverage\uses_inline_crate.rs
test result: FAILED. 0 passed; 91 failed; 4 ignored; 0 measured; 0 filtered out; finished in 9.50s
Some tests failed in compiletest suite=coverage mode=coverage-run host=x86_64-pc-windows-gnu target=x86_64-pc-windows-gnuMetadata
Metadata
Assignees
Labels
A-code-coverageArea: Source-based code coverage (-Cinstrument-coverage)Area: Source-based code coverage (-Cinstrument-coverage)C-bugCategory: This is a bug.Category: This is a bug.O-windows-gnuToolchain: GNU, Operating system: WindowsToolchain: GNU, Operating system: WindowsT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Activity
Noratrieb commentedon Jul 17, 2025
Does this also reproduce with a more minimal example of just using coverage on hello world or is this only occuring within the test suite? If you are able to reproduce it outside the test suite and even with a nightly toolchain, you can then use cargo-bisect-rustc to bisect it.
mati865 commentedon Jul 17, 2025
How did you manage to run them?
They were disabled in #122613 because they were broken since the beginning (GCC bug) and worked only with gnullvm toolchains.
ForrestOfBarnes commentedon Jul 17, 2025
I literally just cloned from source, set my bootstrap.toml, and ran
./x test. I guess at some point these tests got re-enabled?Since I posted my issue I started bisecting manually, and this issue goes back to at least June 9th, probably further (I run into a different issue on/before June 4).
ForrestOfBarnes commentedon Jul 17, 2025
Ah, I see. #122613 disabled the profiler in CI—I’m running an unsupported config. I recently switched from -msvc to -gnu to more easily debug the compiler, and I guess I just haven’t run the full test suite since I made the switch.
I’m gonna see if I can add a warning for this, or at least update the docs. I’ll close this when I’m done.
mati865 commentedon Jul 17, 2025
Yeah, that's basically true for windows-gnu unless GCC stopped misscompiling the profiler.
If you want to get it to work, you should use Clang as the C/C++ compiler. Note however, unpatched Clang is not fully compatible with GCC so you have to use CFLAGS and CXXFLAGS to force emulated TLS and link pthreads. MSYS2 for environments called MINGW* and UCRT* provides a patched version that is mostly compatible, and for CLANG* environments it provides the original, unpatched version.