[INFO] fetching crate hkalbasi-rustc-ap-compiletest 0.0.20231215...
[INFO] testing hkalbasi-rustc-ap-compiletest-0.0.20231215 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] extracting crate hkalbasi-rustc-ap-compiletest 0.0.20231215 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate hkalbasi-rustc-ap-compiletest 0.0.20231215 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate hkalbasi-rustc-ap-compiletest 0.0.20231215
[INFO] finished tweaking crates.io crate hkalbasi-rustc-ap-compiletest 0.0.20231215
[INFO] tweaked toml for crates.io crate hkalbasi-rustc-ap-compiletest 0.0.20231215 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate crates.io crate hkalbasi-rustc-ap-compiletest 0.0.20231215 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2bc15306a545e8d962cf23c1b8d23c06c464067ff2efa0c495dc7dc7216acf82
[INFO] running `Command { std: "docker" "start" "-a" "2bc15306a545e8d962cf23c1b8d23c06c464067ff2efa0c495dc7dc7216acf82", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2bc15306a545e8d962cf23c1b8d23c06c464067ff2efa0c495dc7dc7216acf82", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2bc15306a545e8d962cf23c1b8d23c06c464067ff2efa0c495dc7dc7216acf82", kill_on_drop: false }`
[INFO] [stdout] 2bc15306a545e8d962cf23c1b8d23c06c464067ff2efa0c495dc7dc7216acf82
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Zrandomize-layout" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] edc1cb56892e17ff16db16e3ec97077f61b907270dc61045181f8562a2796909
[INFO] running `Command { std: "docker" "start" "-a" "edc1cb56892e17ff16db16e3ec97077f61b907270dc61045181f8562a2796909", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.70
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling serde v1.0.193
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling memchr v2.6.4
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling anyhow v1.0.75
[INFO] [stderr]    Compiling smallvec v1.11.2
[INFO] [stderr]    Compiling serde_json v1.0.108
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling itoa v1.0.10
[INFO] [stderr]    Compiling ryu v1.0.16
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling thread_local v1.1.7
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling unicode-width v0.1.11
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling walkdir v2.4.0
[INFO] [stderr]    Compiling colored v2.1.0
[INFO] [stderr]    Compiling getopts v0.2.21
[INFO] [stderr]    Compiling unified-diff v0.2.1
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling syn v2.0.41
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling regex-automata v0.4.3
[INFO] [stderr]    Compiling matchers v0.1.0
[INFO] [stderr]    Compiling regex v1.10.2
[INFO] [stderr]    Compiling hkalbasi-rustc-ap-miropt-test-tools v0.0.20231215
[INFO] [stderr]    Compiling serde_derive v1.0.193
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling hkalbasi-rustc-ap-build_helper v0.0.20231215
[INFO] [stderr]    Compiling rustfix v0.6.1
[INFO] [stderr]    Compiling hkalbasi-rustc-ap-compiletest v0.0.20231215 (/opt/rustwide/workdir)
[INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement
[INFO] [stdout]    --> src/json.rs:285:22
[INFO] [stdout]     |
[INFO] [stdout] 285 |         for frame in &span.expansion {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]     |
[INFO] [stdout] 285 |         while let Some(frame) = &span.expansion {
[INFO] [stdout]     |         ~~~~~~~~~~~~~~~     ~~~
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]     |
[INFO] [stdout] 285 |         if let Some(frame) = &span.expansion {
[INFO] [stdout]     |         ~~~~~~~~~~~~     ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement
[INFO] [stdout]    --> src/json.rs:318:31
[INFO] [stdout]     |
[INFO] [stdout] 318 |     for previous_expansion in &expansion.span.expansion {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]     |
[INFO] [stdout] 318 |     while let Some(previous_expansion) = &expansion.span.expansion {
[INFO] [stdout]     |     ~~~~~~~~~~~~~~~                  ~~~
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]     |
[INFO] [stdout] 318 |     if let Some(previous_expansion) = &expansion.span.expansion {
[INFO] [stdout]     |     ~~~~~~~~~~~~                  ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `compiletest`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use compiletest::{common::Mode, log_config, parse_config, run_tests};
[INFO] [stdout]   |     ^^^^^^^^^^^ use of undeclared crate or module `compiletest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `compiletest`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use compiletest::{common::Mode, log_config, parse_config, run_tests};
[INFO] [stdout]   |     ^^^^^^^^^^^ use of undeclared crate or module `compiletest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hkalbasi-rustc-ap-compiletest` (bin "hkalbasi-rustc-ap-compiletest") due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "edc1cb56892e17ff16db16e3ec97077f61b907270dc61045181f8562a2796909", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "edc1cb56892e17ff16db16e3ec97077f61b907270dc61045181f8562a2796909", kill_on_drop: false }`
[INFO] [stdout] edc1cb56892e17ff16db16e3ec97077f61b907270dc61045181f8562a2796909
