[INFO] fetching crate astrolib 0.1.7...
[INFO] testing astrolib-0.1.7 against 1.98.0-beta.1 for beta-1.98-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 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "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" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ef7eca95ae226e3d0048947cd19e831148a8737fea9681e55090c1452a3311e7
[INFO] running `Command { std: "docker" "start" "ef7eca95ae226e3d0048947cd19e831148a8737fea9681e55090c1452a3311e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ef7eca95ae226e3d0048947cd19e831148a8737fea9681e55090c1452a3311e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ef7eca95ae226e3d0048947cd19e831148a8737fea9681e55090c1452a3311e7" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ef7eca95ae226e3d0048947cd19e831148a8737fea9681e55090c1452a3311e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ef7eca95ae226e3d0048947cd19e831148a8737fea9681e55090c1452a3311e7" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling bitflags v2.4.0
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]    Compiling rustix v1.0.5
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling memchr v2.6.3
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling unicode-segmentation v1.10.1
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling env_home v0.1.0
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling dyn-clone v1.0.13
[INFO] [stderr]    Compiling fuzzy-matcher v0.3.7
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling phf_shared v0.11.2
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling phf v0.11.2
[INFO] [stderr]    Compiling newline-converter v0.3.0
[INFO] [stderr]    Compiling phf_generator v0.11.2
[INFO] [stderr]    Compiling phf_codegen v0.11.2
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling terminfo v0.9.0
[INFO] [stderr]    Compiling syn v2.0.100
[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 socket2 v0.5.9
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling nanorand v0.7.0
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling parking_lot v0.12.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 which v8.0.0
[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 clearscreen v4.0.2
[INFO] [stderr]    Compiling astrolib v0.1.7 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.55s
[INFO] running `Command { std: "docker" "inspect" "ef7eca95ae226e3d0048947cd19e831148a8737fea9681e55090c1452a3311e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ef7eca95ae226e3d0048947cd19e831148a8737fea9681e55090c1452a3311e7" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", 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.12s
[INFO] running `Command { std: "docker" "inspect" "ef7eca95ae226e3d0048947cd19e831148a8737fea9681e55090c1452a3311e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ef7eca95ae226e3d0048947cd19e831148a8737fea9681e55090c1452a3311e7" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", 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.12s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/astrolib-b07daa5096a265b3)
[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.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/astrolib-7daa5d6fb4d41371)
[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]: cannot find type `LoadBalancer` in this scope
[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.18s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "ef7eca95ae226e3d0048947cd19e831148a8737fea9681e55090c1452a3311e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef7eca95ae226e3d0048947cd19e831148a8737fea9681e55090c1452a3311e7", kill_on_drop: false }`
[INFO] [stdout] ef7eca95ae226e3d0048947cd19e831148a8737fea9681e55090c1452a3311e7
