[INFO] fetching crate astrolib 0.1.7...
[INFO] testing astrolib-0.1.7 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] extracting crate astrolib 0.1.7 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate astrolib 0.1.7
[INFO] finished tweaking crates.io crate astrolib 0.1.7
[INFO] tweaked toml for crates.io crate astrolib 0.1.7 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate astrolib 0.1.7 on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate astrolib 0.1.7 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 09a9095a79b8973a8137a97ac12bddd2b99bde4699bf6965f48e73cb4f2a7569
[INFO] running `Command { std: "docker" "start" "-a" "09a9095a79b8973a8137a97ac12bddd2b99bde4699bf6965f48e73cb4f2a7569", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "09a9095a79b8973a8137a97ac12bddd2b99bde4699bf6965f48e73cb4f2a7569", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "09a9095a79b8973a8137a97ac12bddd2b99bde4699bf6965f48e73cb4f2a7569", kill_on_drop: false }`
[INFO] [stdout] 09a9095a79b8973a8137a97ac12bddd2b99bde4699bf6965f48e73cb4f2a7569
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 303ef6bae311c2a05e4f2948d084ca728880d1fecb6282354f5a539e1ce7367c
[INFO] running `Command { std: "docker" "start" "-a" "303ef6bae311c2a05e4f2948d084ca728880d1fecb6282354f5a539e1ce7367c", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling phf_shared v0.11.2
[INFO] [stderr]    Compiling bitflags v2.4.0
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling smallvec v1.11.0
[INFO] [stderr]    Compiling rustix v1.0.5
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling memchr v2.6.3
[INFO] [stderr]    Compiling phf v0.11.2
[INFO] [stderr]    Compiling unicode-segmentation v1.10.1
[INFO] [stderr]    Compiling env_home v0.1.0
[INFO] [stderr]    Compiling newline-converter v0.3.0
[INFO] [stderr]    Compiling fuzzy-matcher v0.3.7
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling dyn-clone v1.0.13
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling unicode-width v0.1.10
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling phf_generator v0.11.2
[INFO] [stderr]    Compiling phf_codegen v0.11.2
[INFO] [stderr]    Compiling terminfo v0.9.0
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling mio v0.8.8
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling nanorand v0.7.0
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling which v8.0.0
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling signal-hook-mio v0.2.3
[INFO] [stderr]    Compiling crossterm v0.25.0
[INFO] [stderr]    Compiling inquire v0.7.5
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling tokio v1.45.1
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling clearscreen v4.0.2
[INFO] [stderr]    Compiling astrolib v0.1.7 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.08s
[INFO] running `Command { std: "docker" "inspect" "303ef6bae311c2a05e4f2948d084ca728880d1fecb6282354f5a539e1ce7367c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "303ef6bae311c2a05e4f2948d084ca728880d1fecb6282354f5a539e1ce7367c", kill_on_drop: false }`
[INFO] [stdout] 303ef6bae311c2a05e4f2948d084ca728880d1fecb6282354f5a539e1ce7367c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 8e31c4db8218c036b2b9a69335e53069aae85cbe72a6d66377db8d4b79d000c2
[INFO] running `Command { std: "docker" "start" "-a" "8e31c4db8218c036b2b9a69335e53069aae85cbe72a6d66377db8d4b79d000c2", kill_on_drop: false }`
[INFO] [stderr]    Compiling astrolib v0.1.7 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `Bar` is never constructed
[INFO] [stdout]   --> src/lib.rs:69:20
[INFO] [stdout]    |
[INFO] [stdout] 69 |         pub struct Bar {
[INFO] [stdout]    |                    ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]    = note: this warning originates in the macro `eqstruct` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Baz` is never constructed
[INFO] [stdout]   --> src/lib.rs:78:20
[INFO] [stdout]    |
[INFO] [stdout] 78 |         pub struct Baz {
[INFO] [stdout]    |                    ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `eqstruct` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.26s
[INFO] running `Command { std: "docker" "inspect" "8e31c4db8218c036b2b9a69335e53069aae85cbe72a6d66377db8d4b79d000c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e31c4db8218c036b2b9a69335e53069aae85cbe72a6d66377db8d4b79d000c2", kill_on_drop: false }`
[INFO] [stdout] 8e31c4db8218c036b2b9a69335e53069aae85cbe72a6d66377db8d4b79d000c2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 6b6cb95d7573782721961f041009a407238d16d3bbda73feba8d6e0825023191
[INFO] running `Command { std: "docker" "start" "-a" "6b6cb95d7573782721961f041009a407238d16d3bbda73feba8d6e0825023191", kill_on_drop: false }`
[INFO] [stderr] warning: struct `Bar` is never constructed
[INFO] [stderr]   --> src/lib.rs:69:20
[INFO] [stderr]    |
[INFO] [stderr] 69 |         pub struct Bar {
[INFO] [stderr]    |                    ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr]    = note: this warning originates in the macro `eqstruct` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Baz` is never constructed
[INFO] [stderr]   --> src/lib.rs:78:20
[INFO] [stderr]    |
[INFO] [stderr] 78 |         pub struct Baz {
[INFO] [stderr]    |                    ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `eqstruct` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `astrolib` (lib test) generated 2 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/astrolib/9a3455b5019e4f04/deps/astrolib-9a3455b5019e4f04)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test tests::test_foo_eq ... ok
[INFO] [stdout] test tests::test_foo_ne ... ok
[INFO] [stdout] test tasks::tests::test_load_balancer ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/build/astrolib/0bb2a7cb2724b443/deps/astrolib-0bb2a7cb2724b443)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests astrolib
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/tasks/mod.rs - tasks::AsyncLoadBalancer (line 10) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/tasks/mod.rs - tasks::AsyncLoadBalancer (line 10) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `LoadBalancer` in this scope
[INFO] [stdout]   --> src/tasks/mod.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | let mut lb: LoadBalancer<i32, i32> = LoadBalancer::new(100, 4, |x| {Box::pin(async move {x * 2})});
[INFO] [stdout]    |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/tasks/mod.rs:13:24
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_tasks_mod_rs_10_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 13 |    lb.input_tx.send(i).await.unwrap();
[INFO] [stdout]    |                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/tasks/mod.rs:16:27
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_tasks_mod_rs_10_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 16 |    let result = lb.recv().await.unwrap();
[INFO] [stdout]    |                           ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LoadBalancer`
[INFO] [stdout]   --> src/tasks/mod.rs:11:38
[INFO] [stdout]    |
[INFO] [stdout] 11 | let mut lb: LoadBalancer<i32, i32> = LoadBalancer::new(100, 4, |x| {Box::pin(async move {x * 2})});
[INFO] [stdout]    |                                      ^^^^^^^^^^^^ use of undeclared type `LoadBalancer`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/tasks/mod.rs - tasks::AsyncLoadBalancer (line 10)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "6b6cb95d7573782721961f041009a407238d16d3bbda73feba8d6e0825023191", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6b6cb95d7573782721961f041009a407238d16d3bbda73feba8d6e0825023191", kill_on_drop: false }`
[INFO] [stdout] 6b6cb95d7573782721961f041009a407238d16d3bbda73feba8d6e0825023191
