[INFO] fetching crate throttle-timer 1.0.0... [INFO] checking throttle-timer-1.0.0 against try#8de4b308b608cded0ebccf658a0fc719bce87d4e for pr-89056 [INFO] extracting crate throttle-timer 1.0.0 into /workspace/builds/worker-33/source [INFO] validating manifest of crates.io crate throttle-timer 1.0.0 on toolchain 8de4b308b608cded0ebccf658a0fc719bce87d4e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate throttle-timer 1.0.0 [INFO] finished tweaking crates.io crate throttle-timer 1.0.0 [INFO] tweaked toml for crates.io crate throttle-timer 1.0.0 written to /workspace/builds/worker-33/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "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-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3d2e62c40f143e58150fe727afe0511de7bf068573e258945bfd0e80c22decf [INFO] running `Command { std: "docker" "start" "-a" "b3d2e62c40f143e58150fe727afe0511de7bf068573e258945bfd0e80c22decf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3d2e62c40f143e58150fe727afe0511de7bf068573e258945bfd0e80c22decf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3d2e62c40f143e58150fe727afe0511de7bf068573e258945bfd0e80c22decf", kill_on_drop: false }` [INFO] [stdout] b3d2e62c40f143e58150fe727afe0511de7bf068573e258945bfd0e80c22decf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce6d01693b1db41d3fc498dc11d45ffec0479fe0b1607dd9f887e663d6d36feb [INFO] running `Command { std: "docker" "start" "-a" "ce6d01693b1db41d3fc498dc11d45ffec0479fe0b1607dd9f887e663d6d36feb", kill_on_drop: false }` [INFO] [stderr] Checking throttle-timer v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/lib.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | (self.max_frequency [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 99 | .min(self.max_frequency)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 ~ self.max_frequency [INFO] [stdout] 97 | - Instant::now() [INFO] [stdout] 98 | .duration_since(last_time) [INFO] [stdout] 99 ~ .min(self.max_frequency) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/lib.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | (self.max_frequency [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 99 | .min(self.max_frequency)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 ~ self.max_frequency [INFO] [stdout] 97 | - Instant::now() [INFO] [stdout] 98 | .duration_since(last_time) [INFO] [stdout] 99 ~ .min(self.max_frequency) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:129:53 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn run_throttle_cb(&mut self, success: &mut FnMut(), throttled: &mut FnMut()) -> bool { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:129:53 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn run_throttle_cb(&mut self, success: &mut FnMut(), throttled: &mut FnMut()) -> bool { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:129:78 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn run_throttle_cb(&mut self, success: &mut FnMut(), throttled: &mut FnMut()) -> bool { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:129:78 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn run_throttle_cb(&mut self, success: &mut FnMut(), throttled: &mut FnMut()) -> bool { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:144:41 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn run(&mut self, success: &mut FnMut()) -> bool { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:144:41 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn run(&mut self, success: &mut FnMut()) -> bool { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:150:46 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn run_wait(&mut self, success: &mut FnMut()) { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:156:50 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn run_with_msg(&mut self, success: &mut FnMut()) -> bool { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:150:46 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn run_wait(&mut self, success: &mut FnMut()) { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:156:50 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn run_with_msg(&mut self, success: &mut FnMut()) -> bool { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "ce6d01693b1db41d3fc498dc11d45ffec0479fe0b1607dd9f887e663d6d36feb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce6d01693b1db41d3fc498dc11d45ffec0479fe0b1607dd9f887e663d6d36feb", kill_on_drop: false }` [INFO] [stdout] ce6d01693b1db41d3fc498dc11d45ffec0479fe0b1607dd9f887e663d6d36feb