Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

experiment: run mono-item collection in check build #122744

Closed
wants to merge 1 commit into from

Conversation

RalfJung
Copy link
Member

r? @ghost
This is just to get an upper bound to the perf overhead associated with fixing #99682. We could be a bit more clever and only perform collection, not partitioning, or even more clever and do "mentioned items" collection rather than full collection (when #122568 lands) -- but for now let's just get a ballpark number.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Mar 19, 2024
@RalfJung
Copy link
Member Author

@bors try @rust-timer queue

@rust-timer
Copy link
Collaborator

Awaiting bors try build completion.

@rustbot label: +S-waiting-on-perf

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Mar 19, 2024
bors added a commit to rust-lang-ci/rust that referenced this pull request Mar 19, 2024
experiment: run mono-item collection in check build

r? `@ghost`
This is just to get an upper bound to the perf overhead associated with fixing rust-lang#99682. We could be a bit more clever and only perform collection, not partitioning, or even more clever and do "mentioned items" collection rather than full collection (when rust-lang#122568 lands) -- but for now let's just get a ballpark number.
@bors
Copy link
Contributor

bors commented Mar 19, 2024

⌛ Trying commit ceefc85 with merge 447c90e...

@rust-log-analyzer
Copy link
Collaborator

The job dist-x86_64-linux failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
Preparing bitmaps-3.1.0
[2024-03-19T20:13:39Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Check, scenario=None, patch=None
[2024-03-19T20:13:39Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Opt, scenario=None, patch=None
[2024-03-19T20:13:39Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Debug, scenario=None, patch=None
[2024-03-19T20:13:39Z DEBUG collector::compile::execute] cd "/tmp/.tmpGDeXwL" && CARGO_INCREMENTAL="0" CARGO_MAKEFLAGS="-j --jobserver-fds=13,14 --jobserver-auth=13,14" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpGDeXwL#[email protected]" "--release" "--" "--skip-this-rustc"
[2024-03-19T20:13:39Z DEBUG collector::compile::execute] cd "/tmp/.tmp7Acpmg" && CARGO_INCREMENTAL="0" CARGO_MAKEFLAGS="-j --jobserver-fds=13,14 --jobserver-auth=13,14" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmp7Acpmg#[email protected]" "--profile" "check" "--" "--skip-this-rustc"
[2024-03-19T20:13:39Z DEBUG collector::compile::execute] cd "/tmp/.tmpozs53B" && CARGO_INCREMENTAL="0" CARGO_MAKEFLAGS="-j --jobserver-fds=13,14 --jobserver-auth=13,14" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpozs53B#[email protected]" "--" "--skip-this-rustc"
[2024-03-19T20:13:39Z DEBUG collector::compile::benchmark] Benchmark iteration 1/1
[2024-03-19T20:13:39Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Check, scenario=Some(Full), patch=None
[2024-03-19T20:13:39Z DEBUG collector::compile::execute] cd "/tmp/.tmp1qSfAU" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmp1qSfAU#[email protected]" "--profile" "check" "--" "--wrap-rustc-with" "Eprintln"
[2024-03-19T20:13:40Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrFull), patch=None
---
[2024-03-19T20:13:41Z DEBUG collector::compile::benchmark] Benchmark iteration 1/1
[2024-03-19T20:13:41Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Debug, scenario=Some(Full), patch=None
[2024-03-19T20:13:41Z DEBUG collector::compile::execute] cd "/tmp/.tmpUrpImp" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpUrpImp#[email protected]" "--" "--wrap-rustc-with" "Eprintln"
[2024-03-19T20:13:42Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Debug, scenario=Some(IncrFull), patch=None
[2024-03-19T20:13:42Z DEBUG collector::compile::execute] cd "/tmp/.tmpUrpImp" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpUrpImp#[email protected]" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpUrpImp/incremental-state"
[2024-03-19T20:13:43Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Debug, scenario=Some(IncrUnchanged), patch=None
[2024-03-19T20:13:43Z DEBUG collector::compile::execute] cd "/tmp/.tmpUrpImp" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpUrpImp#[email protected]" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpUrpImp/incremental-state"
[2024-03-19T20:13:43Z DEBUG collector::compile::benchmark::patch] applying println to "/tmp/.tmpUrpImp"
[2024-03-19T20:13:43Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Debug, scenario=Some(IncrPatched), patch=Some(Patch { index: 0, name: PatchName("println"), path: "0-println.patch" })
[2024-03-19T20:13:43Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Debug, scenario=Some(IncrPatched), patch=Some(Patch { index: 0, name: PatchName("println"), path: "0-println.patch" })
[2024-03-19T20:13:43Z DEBUG collector::compile::execute] cd "/tmp/.tmpUrpImp" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpUrpImp#[email protected]" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpUrpImp/incremental-state"
[2024-03-19T20:13:43Z DEBUG collector::compile::benchmark] Benchmark iteration 1/1
[2024-03-19T20:13:43Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Opt, scenario=Some(Full), patch=None
[2024-03-19T20:13:44Z DEBUG collector::compile::execute] cd "/tmp/.tmp1hcyKn" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmp1hcyKn#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln"
[2024-03-19T20:13:44Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrFull), patch=None
---
[2024-03-19T20:13:46Z DEBUG collector::compile::execute] cd "/tmp/.tmpVaCDE3" && CARGO_INCREMENTAL="0" CARGO_MAKEFLAGS="-j --jobserver-fds=13,14 --jobserver-auth=13,14" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpVaCDE3#[email protected]" "--release" "--lib" "--" "--skip-this-rustc"
[2024-03-19T20:13:46Z DEBUG collector::compile::execute] cd "/tmp/.tmpDVl7rO" && CARGO_INCREMENTAL="0" CARGO_MAKEFLAGS="-j --jobserver-fds=13,14 --jobserver-auth=13,14" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpDVl7rO#[email protected]" "--profile" "check" "--lib" "--" "--skip-this-rustc"
[2024-03-19T20:13:46Z DEBUG collector::compile::execute] cd "/tmp/.tmpJuFyHY" && CARGO_INCREMENTAL="0" CARGO_MAKEFLAGS="-j --jobserver-fds=13,14 --jobserver-auth=13,14" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpJuFyHY#[email protected]" "--lib" "--" "--skip-this-rustc"
Finished benchmark cargo-0.60.0 (2/8)
collector error: Failed to profile 'cargo-0.60.0' with Eprintln, recorded: expected success, got exit status: 101
stderr=    Blocking waiting for file lock on package cache
    Blocking waiting for file lock on package cache
    Blocking waiting for file lock on package cache
   Compiling libc v0.2.119
---
    Checking rand_xoshiro v0.4.0
    Checking thread_local v1.1.4
error: missing optimized MIR for an item in the crate `once_cell`
     |
note: missing optimized MIR for this item (was the crate `once_cell` compiled with `--emit=metadata`?)
    --> /cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.9.0/src/lib.rs:1171:9
     |
1171 |         fn deref(&self) -> &T {

error: could not compile `thread_local` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: missing optimized MIR for an item in the crate `lazy_static`
error: missing optimized MIR for an item in the crate `lazy_static`
   |
note: missing optimized MIR for this item (was the crate `lazy_static` compiled with `--emit=metadata`?)
  --> /cargo/registry/src/index.crates.io-6f17d22bba15001f/lazy_static-1.4.0/src/inline_lazy.rs:26:5
   |
26 | /     pub fn get<F>(&'static self, f: F) -> &T
28 | |         F: FnOnce() -> T,
   | |_________________________^

error: could not compile `crossbeam-utils` (lib) due to 1 previous error
---
Preparing ctfe-stress-5
[2024-03-19T20:14:27Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Opt, scenario=None, patch=None
[2024-03-19T20:14:27Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Check, scenario=None, patch=None
[2024-03-19T20:14:27Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Debug, scenario=None, patch=None
[2024-03-19T20:14:27Z DEBUG collector::compile::execute] cd "/tmp/.tmpsrKkWg" && CARGO_INCREMENTAL="0" CARGO_MAKEFLAGS="-j --jobserver-fds=13,14 --jobserver-auth=13,14" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpsrKkWg#[email protected]" "--release" "--" "--skip-this-rustc"
[2024-03-19T20:14:27Z DEBUG collector::compile::execute] cd "/tmp/.tmpMQcBTu" && CARGO_INCREMENTAL="0" CARGO_MAKEFLAGS="-j --jobserver-fds=13,14 --jobserver-auth=13,14" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpMQcBTu#[email protected]" "--" "--skip-this-rustc"
Running ctfe-stress-5: Check + [Full, IncrFull, IncrUnchanged, IncrPatched]
[2024-03-19T20:14:27Z DEBUG collector::compile::benchmark] Benchmark iteration 1/1
[2024-03-19T20:14:27Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Check, scenario=Some(Full), patch=None
---
[2024-03-19T20:14:46Z DEBUG collector::compile::execute] cd "/tmp/.tmpwdM7PK" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpwdM7PK#[email protected]" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpwdM7PK/incremental-state"
Running ctfe-stress-5: Opt + [Full, IncrFull, IncrUnchanged, IncrPatched]
[2024-03-19T20:14:46Z DEBUG collector::compile::benchmark] Benchmark iteration 1/1
[2024-03-19T20:14:46Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Opt, scenario=Some(Full), patch=None
[2024-03-19T20:14:46Z DEBUG collector::compile::execute] cd "/tmp/.tmpexWrxF" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpexWrxF#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln"
[2024-03-19T20:14:50Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrFull), patch=None
[2024-03-19T20:14:50Z DEBUG collector::compile::execute] cd "/tmp/.tmpexWrxF" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpexWrxF#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpexWrxF/incremental-state"
[2024-03-19T20:14:55Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrUnchanged), patch=None
[2024-03-19T20:14:55Z DEBUG collector::compile::execute] cd "/tmp/.tmpexWrxF" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpexWrxF#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpexWrxF/incremental-state"
Executing benchmark diesel-1.4.8 (4/8)
Preparing diesel-1.4.8
[2024-03-19T20:14:55Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Debug, scenario=None, patch=None
[2024-03-19T20:14:55Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Opt, scenario=None, patch=None
[2024-03-19T20:14:55Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Opt, scenario=None, patch=None
[2024-03-19T20:14:55Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Check, scenario=None, patch=None
[2024-03-19T20:14:55Z DEBUG collector::compile::execute] cd "/tmp/.tmp9Bdg8H" && CARGO_INCREMENTAL="0" CARGO_MAKEFLAGS="-j --jobserver-fds=13,14 --jobserver-auth=13,14" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmp9Bdg8H#[email protected]" "--" "--skip-this-rustc"
[2024-03-19T20:14:55Z DEBUG collector::compile::execute] cd "/tmp/.tmp7ByXs4" && CARGO_INCREMENTAL="0" CARGO_MAKEFLAGS="-j --jobserver-fds=13,14 --jobserver-auth=13,14" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmp7ByXs4#[email protected]" "--release" "--" "--skip-this-rustc"
[2024-03-19T20:14:55Z DEBUG collector::compile::execute] cd "/tmp/.tmphEnqak" && CARGO_INCREMENTAL="0" CARGO_MAKEFLAGS="-j --jobserver-fds=13,14 --jobserver-auth=13,14" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmphEnqak#[email protected]" "--profile" "check" "--" "--skip-this-rustc"
Running diesel-1.4.8: Check + [Full, IncrFull, IncrUnchanged, IncrPatched]
[2024-03-19T20:15:03Z DEBUG collector::compile::benchmark] Benchmark iteration 1/1
[2024-03-19T20:15:03Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Check, scenario=Some(Full), patch=None
[2024-03-19T20:15:03Z DEBUG collector::compile::execute] cd "/tmp/.tmpYTzEQT" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpYTzEQT#[email protected]" "--profile" "check" "--" "--wrap-rustc-with" "Eprintln"
[2024-03-19T20:15:08Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrFull), patch=None
[2024-03-19T20:15:08Z DEBUG collector::compile::execute] cd "/tmp/.tmpYTzEQT" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpYTzEQT#[email protected]" "--profile" "check" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpYTzEQT/incremental-state"
[2024-03-19T20:15:14Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrUnchanged), patch=None
[2024-03-19T20:15:14Z DEBUG collector::compile::execute] cd "/tmp/.tmpYTzEQT" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpYTzEQT#[email protected]" "--profile" "check" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpYTzEQT/incremental-state"
[2024-03-19T20:15:15Z DEBUG collector::compile::benchmark::patch] applying println to "/tmp/.tmpYTzEQT"
[2024-03-19T20:15:15Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrPatched), patch=Some(Patch { index: 0, name: PatchName("println"), path: "0-println.patch" })
[2024-03-19T20:15:15Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrPatched), patch=Some(Patch { index: 0, name: PatchName("println"), path: "0-println.patch" })
[2024-03-19T20:15:15Z DEBUG collector::compile::execute] cd "/tmp/.tmpYTzEQT" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpYTzEQT#[email protected]" "--profile" "check" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpYTzEQT/incremental-state"
[2024-03-19T20:15:16Z DEBUG collector::compile::benchmark] Benchmark iteration 1/1
[2024-03-19T20:15:16Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Debug, scenario=Some(Full), patch=None
[2024-03-19T20:15:16Z DEBUG collector::compile::execute] cd "/tmp/.tmpCXaN3Q" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpCXaN3Q#[email protected]" "--" "--wrap-rustc-with" "Eprintln"
[2024-03-19T20:15:22Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Debug, scenario=Some(IncrFull), patch=None
---
Preparing externs
[2024-03-19T20:15:48Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Check, scenario=None, patch=None
[2024-03-19T20:15:48Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Opt, scenario=None, patch=None
[2024-03-19T20:15:48Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Debug, scenario=None, patch=None
[2024-03-19T20:15:48Z DEBUG collector::compile::execute] cd "/tmp/.tmpMSZcH2" && CARGO_INCREMENTAL="0" CARGO_MAKEFLAGS="-j --jobserver-fds=13,14 --jobserver-auth=13,14" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpMSZcH2#[email protected]" "--profile" "check" "--" "--skip-this-rustc"
[2024-03-19T20:15:48Z DEBUG collector::compile::execute] cd "/tmp/.tmpFnBf8f" && CARGO_INCREMENTAL="0" CARGO_MAKEFLAGS="-j --jobserver-fds=13,14 --jobserver-auth=13,14" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpFnBf8f#[email protected]" "--release" "--" "--skip-this-rustc"
[2024-03-19T20:15:48Z DEBUG collector::compile::execute] cd "/tmp/.tmpomlqLw" && CARGO_INCREMENTAL="0" CARGO_MAKEFLAGS="-j --jobserver-fds=13,14 --jobserver-auth=13,14" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpomlqLw#[email protected]" "--" "--skip-this-rustc"
[2024-03-19T20:15:48Z DEBUG collector::compile::benchmark] Benchmark iteration 1/1
[2024-03-19T20:15:48Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Check, scenario=Some(Full), patch=None
[2024-03-19T20:15:48Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Check, scenario=Some(Full), patch=None
[2024-03-19T20:15:48Z DEBUG collector::compile::execute] cd "/tmp/.tmpdXgQNO" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpdXgQNO#[email protected]" "--profile" "check" "--" "--wrap-rustc-with" "Eprintln"
[2024-03-19T20:15:49Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrFull), patch=None
[2024-03-19T20:15:49Z DEBUG collector::compile::execute] cd "/tmp/.tmpdXgQNO" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpdXgQNO#[email protected]" "--profile" "check" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpdXgQNO/incremental-state"
[2024-03-19T20:15:49Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrUnchanged), patch=None
[2024-03-19T20:15:49Z DEBUG collector::compile::execute] cd "/tmp/.tmpdXgQNO" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpdXgQNO#[email protected]" "--profile" "check" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpdXgQNO/incremental-state"
[2024-03-19T20:15:49Z DEBUG collector::compile::benchmark] Benchmark iteration 1/1
[2024-03-19T20:15:49Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Debug, scenario=Some(Full), patch=None
[2024-03-19T20:15:49Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Debug, scenario=Some(Full), patch=None
[2024-03-19T20:15:49Z DEBUG collector::compile::execute] cd "/tmp/.tmpruyhxr" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpruyhxr#[email protected]" "--" "--wrap-rustc-with" "Eprintln"
[2024-03-19T20:15:49Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Debug, scenario=Some(IncrFull), patch=None
[2024-03-19T20:15:49Z DEBUG collector::compile::execute] cd "/tmp/.tmpruyhxr" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpruyhxr#[email protected]" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpruyhxr/incremental-state"
[2024-03-19T20:15:50Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Debug, scenario=Some(IncrUnchanged), patch=None
[2024-03-19T20:15:50Z DEBUG collector::compile::execute] cd "/tmp/.tmpruyhxr" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpruyhxr#[email protected]" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpruyhxr/incremental-state"
[2024-03-19T20:15:50Z DEBUG collector::compile::benchmark] Benchmark iteration 1/1
[2024-03-19T20:15:50Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Opt, scenario=Some(Full), patch=None
[2024-03-19T20:15:50Z DEBUG collector::compile::execute] cd "/tmp/.tmpeTL253" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpeTL253#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln"
[2024-03-19T20:15:50Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrFull), patch=None
---
Preparing match-stress
[2024-03-19T20:15:51Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Check, scenario=None, patch=None
[2024-03-19T20:15:51Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Opt, scenario=None, patch=None
[2024-03-19T20:15:51Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Debug, scenario=None, patch=None
[2024-03-19T20:15:51Z DEBUG collector::compile::execute] cd "/tmp/.tmpZJdsvy" && CARGO_INCREMENTAL="0" CARGO_MAKEFLAGS="-j --jobserver-fds=13,14 --jobserver-auth=13,14" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpZJdsvy#[email protected]" "--profile" "check" "--" "--skip-this-rustc"
[2024-03-19T20:15:51Z DEBUG collector::compile::execute] cd "/tmp/.tmpZaGHpI" && CARGO_INCREMENTAL="0" CARGO_MAKEFLAGS="-j --jobserver-fds=13,14 --jobserver-auth=13,14" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpZaGHpI#[email protected]" "--release" "--" "--skip-this-rustc"
[2024-03-19T20:15:51Z DEBUG collector::compile::execute] cd "/tmp/.tmpwNif8H" && CARGO_INCREMENTAL="0" CARGO_MAKEFLAGS="-j --jobserver-fds=13,14 --jobserver-auth=13,14" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpwNif8H#[email protected]" "--" "--skip-this-rustc"
[2024-03-19T20:15:51Z DEBUG collector::compile::benchmark] Benchmark iteration 1/1
[2024-03-19T20:15:51Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Check, scenario=Some(Full), patch=None
[2024-03-19T20:15:51Z DEBUG collector::compile::execute] cd "/tmp/.tmpC2m4m0" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpC2m4m0#[email protected]" "--profile" "check" "--" "--wrap-rustc-with" "Eprintln"
[2024-03-19T20:15:52Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrFull), patch=None
---
[2024-03-19T20:15:54Z DEBUG collector::compile::benchmark] Benchmark iteration 1/1
[2024-03-19T20:15:54Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Debug, scenario=Some(Full), patch=None
[2024-03-19T20:15:54Z DEBUG collector::compile::execute] cd "/tmp/.tmpMY3nTs" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpMY3nTs#[email protected]" "--" "--wrap-rustc-with" "Eprintln"
[2024-03-19T20:15:55Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Debug, scenario=Some(IncrFull), patch=None
[2024-03-19T20:15:55Z DEBUG collector::compile::execute] cd "/tmp/.tmpMY3nTs" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpMY3nTs#[email protected]" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpMY3nTs/incremental-state"
[2024-03-19T20:15:56Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Debug, scenario=Some(IncrUnchanged), patch=None
[2024-03-19T20:15:56Z DEBUG collector::compile::execute] cd "/tmp/.tmpMY3nTs" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpMY3nTs#[email protected]" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpMY3nTs/incremental-state"
[2024-03-19T20:15:56Z DEBUG collector::compile::benchmark] Benchmark iteration 1/1
[2024-03-19T20:15:56Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Opt, scenario=Some(Full), patch=None
[2024-03-19T20:15:56Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Opt, scenario=Some(Full), patch=None
[2024-03-19T20:15:56Z DEBUG collector::compile::execute] cd "/tmp/.tmpKqsQSc" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpKqsQSc#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln"
[2024-03-19T20:15:57Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrFull), patch=None
[2024-03-19T20:15:57Z DEBUG collector::compile::execute] cd "/tmp/.tmpKqsQSc" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpKqsQSc#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpKqsQSc/incremental-state"
[2024-03-19T20:15:59Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrUnchanged), patch=None
[2024-03-19T20:15:59Z DEBUG collector::compile::execute] cd "/tmp/.tmpKqsQSc" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpKqsQSc#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpKqsQSc/incremental-state"
Executing benchmark token-stream-stress (7/8)
Preparing token-stream-stress
[2024-03-19T20:15:59Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Check, scenario=None, patch=None
[2024-03-19T20:15:59Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Debug, scenario=None, patch=None
[2024-03-19T20:15:59Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Debug, scenario=None, patch=None
[2024-03-19T20:15:59Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Opt, scenario=None, patch=None
[2024-03-19T20:15:59Z DEBUG collector::compile::execute] cd "/tmp/.tmpDdO9Gx" && CARGO_INCREMENTAL="0" CARGO_MAKEFLAGS="-j --jobserver-fds=13,14 --jobserver-auth=13,14" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpDdO9Gx#[email protected]" "--profile" "check" "--bin" "token-stream-stress-bin" "--" "--skip-this-rustc"
[2024-03-19T20:15:59Z DEBUG collector::compile::execute] cd "/tmp/.tmposOuil" && CARGO_INCREMENTAL="0" CARGO_MAKEFLAGS="-j --jobserver-fds=13,14 --jobserver-auth=13,14" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmposOuil#[email protected]" "--bin" "token-stream-stress-bin" "--" "--skip-this-rustc"
[2024-03-19T20:15:59Z DEBUG collector::compile::execute] cd "/tmp/.tmpuyqmAw" && CARGO_INCREMENTAL="0" CARGO_MAKEFLAGS="-j --jobserver-fds=13,14 --jobserver-auth=13,14" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpuyqmAw#[email protected]" "--release" "--bin" "token-stream-stress-bin" "--" "--skip-this-rustc"
[2024-03-19T20:15:59Z DEBUG collector::compile::benchmark] Benchmark iteration 1/1
[2024-03-19T20:15:59Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Check, scenario=Some(Full), patch=None
[2024-03-19T20:15:59Z DEBUG collector::compile::execute] cd "/tmp/.tmp9Kno5O" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmp9Kno5O#[email protected]" "--profile" "check" "--bin" "token-stream-stress-bin" "--" "--wrap-rustc-with" "Eprintln"
[2024-03-19T20:15:59Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrFull), patch=None
---
Preparing tuple-stress
[2024-03-19T20:16:00Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Debug, scenario=None, patch=None
[2024-03-19T20:16:00Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Check, scenario=None, patch=None
[2024-03-19T20:16:00Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Opt, scenario=None, patch=None
[2024-03-19T20:16:00Z DEBUG collector::compile::execute] cd "/tmp/.tmpkWmDiR" && CARGO_INCREMENTAL="0" CARGO_MAKEFLAGS="-j --jobserver-fds=13,14 --jobserver-auth=13,14" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpkWmDiR#[email protected]" "--" "--skip-this-rustc"
[2024-03-19T20:16:00Z DEBUG collector::compile::execute] cd "/tmp/.tmp4ZeXGZ" && CARGO_INCREMENTAL="0" CARGO_MAKEFLAGS="-j --jobserver-fds=13,14 --jobserver-auth=13,14" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmp4ZeXGZ#[email protected]" "--profile" "check" "--" "--skip-this-rustc"
[2024-03-19T20:16:00Z DEBUG collector::compile::execute] cd "/tmp/.tmplIMDyq" && CARGO_INCREMENTAL="0" CARGO_MAKEFLAGS="-j --jobserver-fds=13,14 --jobserver-auth=13,14" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmplIMDyq#[email protected]" "--release" "--" "--skip-this-rustc"
[2024-03-19T20:16:00Z DEBUG collector::compile::benchmark] Benchmark iteration 1/1
[2024-03-19T20:16:00Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Check, scenario=Some(Full), patch=None
[2024-03-19T20:16:00Z DEBUG collector::compile::execute] cd "/tmp/.tmplosRDM" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmplosRDM#[email protected]" "--profile" "check" "--" "--wrap-rustc-with" "Eprintln"
[2024-03-19T20:16:02Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrFull), patch=None
[2024-03-19T20:16:02Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrFull), patch=None
[2024-03-19T20:16:02Z DEBUG collector::compile::execute] cd "/tmp/.tmplosRDM" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmplosRDM#[email protected]" "--profile" "check" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmplosRDM/incremental-state"
[2024-03-19T20:16:04Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrUnchanged), patch=None
[2024-03-19T20:16:04Z DEBUG collector::compile::execute] cd "/tmp/.tmplosRDM" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmplosRDM#[email protected]" "--profile" "check" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmplosRDM/incremental-state"
[2024-03-19T20:16:05Z DEBUG collector::compile::benchmark::patch] applying new row to "/tmp/.tmplosRDM"
[2024-03-19T20:16:05Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrPatched), patch=Some(Patch { index: 0, name: PatchName("new row"), path: "0-new-row.patch" })
[2024-03-19T20:16:05Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Check, scenario=Some(IncrPatched), patch=Some(Patch { index: 0, name: PatchName("new row"), path: "0-new-row.patch" })
[2024-03-19T20:16:05Z DEBUG collector::compile::execute] cd "/tmp/.tmplosRDM" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmplosRDM#[email protected]" "--profile" "check" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmplosRDM/incremental-state"
[2024-03-19T20:16:07Z DEBUG collector::compile::benchmark] Benchmark iteration 1/1
[2024-03-19T20:16:07Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Debug, scenario=Some(Full), patch=None
[2024-03-19T20:16:07Z DEBUG collector::compile::execute] cd "/tmp/.tmpmtkKS4" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpmtkKS4#[email protected]" "--" "--wrap-rustc-with" "Eprintln"
[2024-03-19T20:16:09Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Debug, scenario=Some(IncrFull), patch=None
---
[2024-03-19T20:16:13Z DEBUG collector::compile::benchmark] Benchmark iteration 1/1
[2024-03-19T20:16:13Z INFO  collector::compile::execute] run_rustc with incremental=false, profile=Opt, scenario=Some(Full), patch=None
[2024-03-19T20:16:13Z DEBUG collector::compile::execute] cd "/tmp/.tmpLjHFrg" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpLjHFrg#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln"
[2024-03-19T20:16:15Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrFull), patch=None
[2024-03-19T20:16:15Z DEBUG collector::compile::execute] cd "/tmp/.tmpLjHFrg" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpLjHFrg#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpLjHFrg/incremental-state"
[2024-03-19T20:16:17Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrUnchanged), patch=None
[2024-03-19T20:16:17Z DEBUG collector::compile::execute] cd "/tmp/.tmpLjHFrg" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpLjHFrg#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpLjHFrg/incremental-state"
[2024-03-19T20:16:18Z DEBUG collector::compile::benchmark::patch] applying new row to "/tmp/.tmpLjHFrg"
[2024-03-19T20:16:18Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrPatched), patch=Some(Patch { index: 0, name: PatchName("new row"), path: "0-new-row.patch" })
[2024-03-19T20:16:18Z INFO  collector::compile::execute] run_rustc with incremental=true, profile=Opt, scenario=Some(IncrPatched), patch=Some(Patch { index: 0, name: PatchName("new row"), path: "0-new-row.patch" })
[2024-03-19T20:16:18Z DEBUG collector::compile::execute] cd "/tmp/.tmpLjHFrg" && CARGO_INCREMENTAL="0" EXPECT_ONLY_WRAPPED_RUSTC="1" RUSTC="/tmp/tmp-multistage/opt-artifacts/rustc-perf/target/debug/rustc-fake" RUSTC_BOOTSTRAP="1" RUSTC_REAL="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustc" "--manifest-path" "Cargo.toml" "-p" "path+file:///tmp/.tmpLjHFrg#[email protected]" "--release" "--" "--wrap-rustc-with" "Eprintln" "-C" "incremental=/tmp/.tmpLjHFrg/incremental-state"
collector error: 1 benchmarks failed
[2024-03-19T20:16:20.299Z INFO  opt_dist::timer] Section `Stage 1 (Rustc PGO) > Gather profiles` ended: FAIL (161.28s)`
[2024-03-19T20:16:20.299Z INFO  opt_dist::timer] Section `Stage 1 (Rustc PGO)` ended: FAIL (1002.47s)`
[2024-03-19T20:16:20.299Z INFO  opt_dist] Timer results
---
    0: Cannot gather rustc PGO profiles
    1: Command LLVM_PROFILE_FILE=/tmp/tmp-multistage/opt-artifacts/rustc-pgo/default_%m_%p.profraw RUSTC=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/rustc RUSTC_BOOTSTRAP=1 RUST_LOG=collector=debug /checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo run -p collector --bin collector -- profile_local eprintln /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc --id Test --cargo /checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo --profiles Check,Debug,Opt --scenarios All --include externs,ctfe-stress-5,cargo-0.60.0,token-stream-stress,match-stress,tuple-stress,diesel-1.4.8,bitmaps-3.1.0 [at /tmp/tmp-multistage/opt-artifacts/rustc-perf] has failed with exit code Some(1)

Stack backtrace:
   0: <anyhow::Error>::msg::<alloc::string::String>
             at /rust/deps/anyhow-1.0.81/src/error.rs:83:36
   1: <opt_dist::exec::CmdBuilder>::run
             at /rustc/447c90eb8c3770f3030e8ca220e2be3f9109186a/src/tools/opt-dist/src/exec.rs:78:17
             at /rustc/447c90eb8c3770f3030e8ca220e2be3f9109186a/src/tools/opt-dist/src/training.rs:164:9
   3: opt_dist::utils::with_log_group::<opt_dist::training::gather_rustc_profiles::{closure#0}, core::result::Result<(), anyhow::Error>>
             at /rustc/447c90eb8c3770f3030e8ca220e2be3f9109186a/src/tools/opt-dist/src/utils/mod.rs:65:22
   4: opt_dist::training::gather_rustc_profiles
   4: opt_dist::training::gather_rustc_profiles
             at /rustc/447c90eb8c3770f3030e8ca220e2be3f9109186a/src/tools/opt-dist/src/training.rs:163:5
   5: opt_dist::execute_pipeline::{closure#1}::{closure#1}
             at /rustc/447c90eb8c3770f3030e8ca220e2be3f9109186a/src/tools/opt-dist/src/main.rs:214:45
   6: <opt_dist::timer::TimerSection>::section::<opt_dist::execute_pipeline::{closure#1}::{closure#1}, opt_dist::training::RustcPGOProfile>
             at /rustc/447c90eb8c3770f3030e8ca220e2be3f9109186a/src/tools/opt-dist/src/timer.rs:111:22
   7: opt_dist::execute_pipeline::{closure#1}
             at /rustc/447c90eb8c3770f3030e8ca220e2be3f9109186a/src/tools/opt-dist/src/main.rs:213:23
   8: <opt_dist::timer::TimerSection>::section::<opt_dist::execute_pipeline::{closure#1}, opt_dist::training::RustcPGOProfile>
             at /rustc/447c90eb8c3770f3030e8ca220e2be3f9109186a/src/tools/opt-dist/src/timer.rs:111:22
   9: opt_dist::execute_pipeline
             at /rustc/447c90eb8c3770f3030e8ca220e2be3f9109186a/src/tools/opt-dist/src/main.rs:196:29
             at /rustc/447c90eb8c3770f3030e8ca220e2be3f9109186a/src/tools/opt-dist/src/main.rs:386:18
  11: <fn() -> core::result::Result<(), anyhow::Error> as core::ops::function::FnOnce<()>>::call_once
             at /rustc/04ba4521971a83d71477a406b5ce7a479e9d7af8/library/core/src/ops/function.rs:250:5
  12: std::sys_common::backtrace::__rust_begin_short_backtrace::<fn() -> core::result::Result<(), anyhow::Error>, core::result::Result<(), anyhow::Error>>
  12: std::sys_common::backtrace::__rust_begin_short_backtrace::<fn() -> core::result::Result<(), anyhow::Error>, core::result::Result<(), anyhow::Error>>
             at /rustc/04ba4521971a83d71477a406b5ce7a479e9d7af8/library/std/src/sys_common/backtrace.rs:155:18
  13: std::rt::lang_start::<core::result::Result<(), anyhow::Error>>::{closure#0}
             at /rustc/04ba4521971a83d71477a406b5ce7a479e9d7af8/library/std/src/rt.rs:166:18
  14: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
  15: std::panicking::try::do_call
             at /rustc/04ba4521971a83d71477a406b5ce7a479e9d7af8/library/std/src/panicking.rs:554:40
  16: std::panicking::try
             at /rustc/04ba4521971a83d71477a406b5ce7a479e9d7af8/library/std/src/panicking.rs:518:19

@bors
Copy link
Contributor

bors commented Mar 19, 2024

💔 Test failed - checks-actions

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 19, 2024
@RalfJung
Copy link
Member Author

Hm...

2024-03-19T20:14:27.6495668Z error: missing optimized MIR for an item in the crate `once_cell`
2024-03-19T20:14:27.6496177Z      |
2024-03-19T20:14:27.6496848Z note: missing optimized MIR for this item (was the crate `once_cell` compiled with `--emit=metadata`?)
2024-03-19T20:14:27.6497912Z     --> /cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.9.0/src/lib.rs:1171:9
2024-03-19T20:14:27.6498552Z      |
2024-03-19T20:14:27.6498859Z 1171 |         fn deref(&self) -> &T {
2024-03-19T20:14:27.6499225Z      |         ^^^^^^^^^^^^^^^^^^^^^
2024-03-19T20:14:27.6499461Z 
2024-03-19T20:14:27.6499777Z error: could not compile `thread_local` (lib) due to 1 previous error
2024-03-19T20:14:27.6500401Z warning: build failed, waiting for other jobs to finish...
2024-03-19T20:14:27.6501017Z error: missing optimized MIR for an item in the crate `lazy_static`
2024-03-19T20:14:27.6501492Z    |
2024-03-19T20:14:27.6502120Z note: missing optimized MIR for this item (was the crate `lazy_static` compiled with `--emit=metadata`?)
2024-03-19T20:14:27.6503408Z   --> /cargo/registry/src/index.crates.io-6f17d22bba15001f/lazy_static-1.4.0/src/inline_lazy.rs:26:5
2024-03-19T20:14:27.6504027Z    |
2024-03-19T20:14:27.6504384Z 26 | /     pub fn get<F>(&'static self, f: F) -> &T
2024-03-19T20:14:27.6504789Z 27 | |     where
2024-03-19T20:14:27.6505103Z 28 | |         F: FnOnce() -> T,
2024-03-19T20:14:27.6505442Z    | |_________________________^
2024-03-19T20:14:27.6505660Z 
2024-03-19T20:14:27.6506018Z error: could not compile `crossbeam-utils` (lib) due to 1 previous error

It's not quite as easy it seems.

@RalfJung
Copy link
Member Author

RalfJung commented Mar 23, 2024

So the information to do this is simply not present because we don't store the MIR of things in rmeta files, or something like that? To to make this approach work I think we'd have to (a) make "mentioned items" traversal work without full MIR (based on Oli's proposal of a separate query that just returns the mentioned items), and then (b) do a mentioned items traversal of everything (rather than the usual used items traversal) in a check build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. S-waiting-on-perf Status: Waiting on a perf run to be completed. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants