[INFO] fetching crate wheel-timer2 0.1.2...
[INFO] testing wheel-timer2-0.1.2 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] extracting crate wheel-timer2 0.1.2 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate wheel-timer2 0.1.2
[INFO] finished tweaking crates.io crate wheel-timer2 0.1.2
[INFO] tweaked toml for crates.io crate wheel-timer2 0.1.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate wheel-timer2 0.1.2 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 wheel-timer2 0.1.2 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] a2ba75dfe63c8a7252f8302cc0fdf35187489b08649a80a29b63c388e7a347a9
[INFO] running `Command { std: "docker" "start" "-a" "a2ba75dfe63c8a7252f8302cc0fdf35187489b08649a80a29b63c388e7a347a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a2ba75dfe63c8a7252f8302cc0fdf35187489b08649a80a29b63c388e7a347a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a2ba75dfe63c8a7252f8302cc0fdf35187489b08649a80a29b63c388e7a347a9", kill_on_drop: false }`
[INFO] [stdout] a2ba75dfe63c8a7252f8302cc0fdf35187489b08649a80a29b63c388e7a347a9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] c6bbbf945eb824014df2bfae62509ec4cc0b5bfcc3e02904263e8ad8017c29d7
[INFO] running `Command { std: "docker" "start" "-a" "c6bbbf945eb824014df2bfae62509ec4cc0b5bfcc3e02904263e8ad8017c29d7", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.8.6
[INFO] [stderr]    Compiling crossbeam-channel v0.5.2
[INFO] [stderr]    Compiling wheel-timer2 v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/wheel.rs:128:17
[INFO] [stdout]     |
[INFO] [stdout] 128 |             let mut task = if let Some(task) = slot.get_mut(task_i) {
[INFO] [stdout]     |                 ----^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.34s
[INFO] running `Command { std: "docker" "inspect" "c6bbbf945eb824014df2bfae62509ec4cc0b5bfcc3e02904263e8ad8017c29d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c6bbbf945eb824014df2bfae62509ec4cc0b5bfcc3e02904263e8ad8017c29d7", kill_on_drop: false }`
[INFO] [stdout] c6bbbf945eb824014df2bfae62509ec4cc0b5bfcc3e02904263e8ad8017c29d7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] c4f70ab40db2f60caf5f4c6ef104101bf8c6a272733bfcbc670dc011c74356ee
[INFO] running `Command { std: "docker" "start" "-a" "c4f70ab40db2f60caf5f4c6ef104101bf8c6a272733bfcbc670dc011c74356ee", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling libc v0.2.113
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling httparse v1.5.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.6
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling futures-task v0.3.19
[INFO] [stderr]    Compiling futures-core v0.3.19
[INFO] [stderr]    Compiling futures-util v0.3.19
[INFO] [stderr]    Compiling quote v1.0.14
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling sha-1 v0.9.8
[INFO] [stderr]    Compiling futures-sink v0.3.19
[INFO] [stderr]    Compiling getrandom v0.2.4
[INFO] [stderr]    Compiling mio v0.7.14
[INFO] [stderr]    Compiling crossbeam-channel v0.5.2
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling wheel-timer2 v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling rand v0.8.4
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/wheel.rs:128:17
[INFO] [stdout]     |
[INFO] [stdout] 128 |             let mut task = if let Some(task) = slot.get_mut(task_i) {
[INFO] [stdout]     |                 ----^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling futures-macro v0.3.19
[INFO] [stderr]    Compiling tokio v1.15.0
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]    Compiling tungstenite v0.16.0
[INFO] [stderr]    Compiling tokio-tungstenite v0.16.1
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/wheel.rs:128:17
[INFO] [stdout]     |
[INFO] [stdout] 128 |             let mut task = if let Some(task) = slot.get_mut(task_i) {
[INFO] [stdout]     |                 ----^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 13.45s
[INFO] running `Command { std: "docker" "inspect" "c4f70ab40db2f60caf5f4c6ef104101bf8c6a272733bfcbc670dc011c74356ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4f70ab40db2f60caf5f4c6ef104101bf8c6a272733bfcbc670dc011c74356ee", kill_on_drop: false }`
[INFO] [stdout] c4f70ab40db2f60caf5f4c6ef104101bf8c6a272733bfcbc670dc011c74356ee
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 62afedc21c08540328db6944d9d0a65770bdb71445500a0c0c134e04e209d213
[INFO] running `Command { std: "docker" "start" "-a" "62afedc21c08540328db6944d9d0a65770bdb71445500a0c0c134e04e209d213", kill_on_drop: false }`
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/wheel.rs:128:17
[INFO] [stderr]     |
[INFO] [stderr] 128 |             let mut task = if let Some(task) = slot.get_mut(task_i) {
[INFO] [stderr]     |                 ----^^^^
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `wheel-timer2` (lib) generated 1 warning (run `cargo fix --lib -p wheel-timer2` to apply 1 suggestion)
[INFO] [stderr] warning: `wheel-timer2` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/wheel-timer2/7aa9f4d94a970ac5/deps/wheel_timer2-7aa9f4d94a970ac5)
[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 wheel_timer2
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/lib.rs - (line 42) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 21) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 27) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 42) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration`
[INFO] [stdout]   --> src/lib.rs:43:35
[INFO] [stdout]    |
[INFO] [stdout] 43 | let mut i = tokio::time::interval(Duration::from_millis(100));
[INFO] [stdout]    |                                   ^^^^^^^^ use of undeclared type `Duration`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 42 + use std::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 42 + use tokio::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `wheel` in this scope
[INFO] [stdout]   --> src/lib.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 |     wheel.tick();
[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/lib.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 42 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_42_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 45 |     i.tick().await;
[INFO] [stdout]    |              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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] ---- src/lib.rs - (line 21) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MultiWheel`
[INFO] [stdout]   --> src/lib.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 22 | let mut wheel = MultiWheel::new(3, 10, Duration::from_millis(100));
[INFO] [stdout]    |                 ^^^^^^^^^^ use of undeclared type `MultiWheel`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 21 + use wheel_timer2::MultiWheel;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration`
[INFO] [stdout]   --> src/lib.rs:22:40
[INFO] [stdout]    |
[INFO] [stdout] 22 | let mut wheel = MultiWheel::new(3, 10, Duration::from_millis(100));
[INFO] [stdout]    |                                        ^^^^^^^^ use of undeclared type `Duration`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 21 + use std::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 21 + use tokio::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 27) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `wheel` in this scope
[INFO] [stdout]   --> src/lib.rs:28:18
[INFO] [stdout]    |
[INFO] [stdout] 28 | let add_handle = wheel.add_handle();
[INFO] [stdout]    |                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration`
[INFO] [stdout]   --> src/lib.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |         Duration::from_millis(300),
[INFO] [stdout]    |         ^^^^^^^^ use of undeclared type `Duration`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 27 + use std::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 27 + use tokio::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[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/lib.rs - (line 21)
[INFO] [stdout]     src/lib.rs - (line 27)
[INFO] [stdout]     src/lib.rs - (line 42)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "62afedc21c08540328db6944d9d0a65770bdb71445500a0c0c134e04e209d213", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "62afedc21c08540328db6944d9d0a65770bdb71445500a0c0c134e04e209d213", kill_on_drop: false }`
[INFO] [stdout] 62afedc21c08540328db6944d9d0a65770bdb71445500a0c0c134e04e209d213
