[INFO] fetching crate wheel-timer2 0.1.2...
[INFO] testing wheel-timer2-0.1.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8
[INFO] extracting crate wheel-timer2 0.1.2 into /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate wheel-timer2 0.1.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded crossbeam-utils v0.8.6
[INFO] [stderr]   Downloaded libc v0.2.113
[INFO] [stderr]   Downloaded generic-array v0.14.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c79a24ed496943fbccb21ae61e747c4f9b8ad35e97ee4b02620f63d1b794d22f
[INFO] running `Command { std: "docker" "start" "-a" "c79a24ed496943fbccb21ae61e747c4f9b8ad35e97ee4b02620f63d1b794d22f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c79a24ed496943fbccb21ae61e747c4f9b8ad35e97ee4b02620f63d1b794d22f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c79a24ed496943fbccb21ae61e747c4f9b8ad35e97ee4b02620f63d1b794d22f", kill_on_drop: false }`
[INFO] [stdout] c79a24ed496943fbccb21ae61e747c4f9b8ad35e97ee4b02620f63d1b794d22f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1ae62e34341ff40a24a70955708b9345dfe6bab9434ac78e702924bf6041bafb
[INFO] running `Command { std: "docker" "start" "-a" "1ae62e34341ff40a24a70955708b9345dfe6bab9434ac78e702924bf6041bafb", 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.08s
[INFO] running `Command { std: "docker" "inspect" "1ae62e34341ff40a24a70955708b9345dfe6bab9434ac78e702924bf6041bafb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ae62e34341ff40a24a70955708b9345dfe6bab9434ac78e702924bf6041bafb", kill_on_drop: false }`
[INFO] [stdout] 1ae62e34341ff40a24a70955708b9345dfe6bab9434ac78e702924bf6041bafb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0b35307ece30070e2b98fdc9c64f0c5458173050787cc9e5f26af36e3d043825
[INFO] running `Command { std: "docker" "start" "-a" "0b35307ece30070e2b98fdc9c64f0c5458173050787cc9e5f26af36e3d043825", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling libc v0.2.113
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.7
[INFO] [stderr]    Compiling futures-core v0.3.19
[INFO] [stderr]    Compiling futures-task v0.3.19
[INFO] [stderr]    Compiling crossbeam-utils v0.8.6
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling httparse v1.5.1
[INFO] [stderr]    Compiling quote v1.0.14
[INFO] [stderr]    Compiling pin-project-lite v0.2.8
[INFO] [stderr]    Compiling tinyvec v1.5.1
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling cpufeatures v0.2.1
[INFO] [stderr]    Compiling futures-util v0.3.19
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling futures-sink v0.3.19
[INFO] [stderr]    Compiling slab v0.4.5
[INFO] [stderr]    Compiling once_cell v1.9.0
[INFO] [stderr]    Compiling getrandom v0.2.4
[INFO] [stderr]    Compiling mio v0.7.14
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling crossbeam-channel v0.5.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling http v0.2.6
[INFO] [stderr]    Compiling rand v0.8.4
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling sha-1 v0.9.8
[INFO] [stderr]    Compiling url v2.2.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]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling futures-macro v0.3.19
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[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 17.40s
[INFO] running `Command { std: "docker" "inspect" "0b35307ece30070e2b98fdc9c64f0c5458173050787cc9e5f26af36e3d043825", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0b35307ece30070e2b98fdc9c64f0c5458173050787cc9e5f26af36e3d043825", kill_on_drop: false }`
[INFO] [stdout] 0b35307ece30070e2b98fdc9c64f0c5458173050787cc9e5f26af36e3d043825
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c598d97b0884bb254c19d39496a6e0b7609f7b11a9c1d8d9fdf327ed4a22cf9e
[INFO] running `Command { std: "docker" "start" "-a" "c598d97b0884bb254c19d39496a6e0b7609f7b11a9c1d8d9fdf327ed4a22cf9e", 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.09s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wheel_timer2-b36e41b089829a83)
[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" "c598d97b0884bb254c19d39496a6e0b7609f7b11a9c1d8d9fdf327ed4a22cf9e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c598d97b0884bb254c19d39496a6e0b7609f7b11a9c1d8d9fdf327ed4a22cf9e", kill_on_drop: false }`
[INFO] [stdout] c598d97b0884bb254c19d39496a6e0b7609f7b11a9c1d8d9fdf327ed4a22cf9e
