[INFO] fetching crate throttle-timer 1.0.0... [INFO] testing throttle-timer-1.0.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate throttle-timer 1.0.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate throttle-timer 1.0.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2b527f479a42919fe07d69c8cdf48ebe94100a7a2d8fb3f2f1c828f5b9a56db6 [INFO] running `Command { std: "docker" "start" "-a" "2b527f479a42919fe07d69c8cdf48ebe94100a7a2d8fb3f2f1c828f5b9a56db6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b527f479a42919fe07d69c8cdf48ebe94100a7a2d8fb3f2f1c828f5b9a56db6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b527f479a42919fe07d69c8cdf48ebe94100a7a2d8fb3f2f1c828f5b9a56db6", kill_on_drop: false }` [INFO] [stdout] 2b527f479a42919fe07d69c8cdf48ebe94100a7a2d8fb3f2f1c828f5b9a56db6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b91588cc049319beb971d19c9d0f6ef74158c08dca92045207e8852bc01e92d3 [INFO] running `Command { std: "docker" "start" "-a" "b91588cc049319beb971d19c9d0f6ef74158c08dca92045207e8852bc01e92d3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling 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: 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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 129 - pub fn run_throttle_cb(&mut self, success: &mut FnMut(), throttled: &mut FnMut()) -> bool { [INFO] [stdout] 129 + pub fn run_throttle_cb(&mut self, success: &mut dyn FnMut(), throttled: &mut FnMut()) -> bool { [INFO] [stdout] | [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 129 - pub fn run_throttle_cb(&mut self, success: &mut FnMut(), throttled: &mut FnMut()) -> bool { [INFO] [stdout] 129 + pub fn run_throttle_cb(&mut self, success: &mut FnMut(), throttled: &mut dyn FnMut()) -> bool { [INFO] [stdout] | [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 144 - pub fn run(&mut self, success: &mut FnMut()) -> bool { [INFO] [stdout] 144 + pub fn run(&mut self, success: &mut dyn FnMut()) -> bool { [INFO] [stdout] | [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 150 - pub fn run_wait(&mut self, success: &mut FnMut()) { [INFO] [stdout] 150 + pub fn run_wait(&mut self, success: &mut dyn FnMut()) { [INFO] [stdout] | [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 156 - pub fn run_with_msg(&mut self, success: &mut FnMut()) -> bool { [INFO] [stdout] 156 + pub fn run_with_msg(&mut self, success: &mut dyn FnMut()) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.06s [INFO] running `Command { std: "docker" "inspect" "b91588cc049319beb971d19c9d0f6ef74158c08dca92045207e8852bc01e92d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b91588cc049319beb971d19c9d0f6ef74158c08dca92045207e8852bc01e92d3", kill_on_drop: false }` [INFO] [stdout] b91588cc049319beb971d19c9d0f6ef74158c08dca92045207e8852bc01e92d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e178def8bcff66dfb34daf3094b0da95015421462b19a884c07b1b1b88774c82 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e178def8bcff66dfb34daf3094b0da95015421462b19a884c07b1b1b88774c82", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 129 - pub fn run_throttle_cb(&mut self, success: &mut FnMut(), throttled: &mut FnMut()) -> bool { [INFO] [stdout] 129 + pub fn run_throttle_cb(&mut self, success: &mut dyn FnMut(), throttled: &mut FnMut()) -> bool { [INFO] [stdout] | [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 129 - pub fn run_throttle_cb(&mut self, success: &mut FnMut(), throttled: &mut FnMut()) -> bool { [INFO] [stdout] 129 + pub fn run_throttle_cb(&mut self, success: &mut FnMut(), throttled: &mut dyn FnMut()) -> bool { [INFO] [stdout] | [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 144 - pub fn run(&mut self, success: &mut FnMut()) -> bool { [INFO] [stdout] 144 + pub fn run(&mut self, success: &mut dyn FnMut()) -> bool { [INFO] [stdout] | [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 150 - pub fn run_wait(&mut self, success: &mut FnMut()) { [INFO] [stdout] 150 + pub fn run_wait(&mut self, success: &mut dyn FnMut()) { [INFO] [stdout] | [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 156 - pub fn run_with_msg(&mut self, success: &mut FnMut()) -> bool { [INFO] [stdout] 156 + pub fn run_with_msg(&mut self, success: &mut dyn FnMut()) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 129 - pub fn run_throttle_cb(&mut self, success: &mut FnMut(), throttled: &mut FnMut()) -> bool { [INFO] [stdout] 129 + pub fn run_throttle_cb(&mut self, success: &mut dyn FnMut(), throttled: &mut FnMut()) -> bool { [INFO] [stdout] | [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 129 - pub fn run_throttle_cb(&mut self, success: &mut FnMut(), throttled: &mut FnMut()) -> bool { [INFO] [stdout] 129 + pub fn run_throttle_cb(&mut self, success: &mut FnMut(), throttled: &mut dyn FnMut()) -> bool { [INFO] [stdout] | [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 144 - pub fn run(&mut self, success: &mut FnMut()) -> bool { [INFO] [stdout] 144 + pub fn run(&mut self, success: &mut dyn FnMut()) -> bool { [INFO] [stdout] | [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 150 - pub fn run_wait(&mut self, success: &mut FnMut()) { [INFO] [stdout] 150 + pub fn run_wait(&mut self, success: &mut dyn FnMut()) { [INFO] [stdout] | [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 156 - pub fn run_with_msg(&mut self, success: &mut FnMut()) -> bool { [INFO] [stdout] 156 + pub fn run_with_msg(&mut self, success: &mut dyn FnMut()) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.51s [INFO] running `Command { std: "docker" "inspect" "e178def8bcff66dfb34daf3094b0da95015421462b19a884c07b1b1b88774c82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e178def8bcff66dfb34daf3094b0da95015421462b19a884c07b1b1b88774c82", kill_on_drop: false }` [INFO] [stdout] e178def8bcff66dfb34daf3094b0da95015421462b19a884c07b1b1b88774c82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 04a4e4a51a613a15ad8a3e5315f5946b19948f86d02331486cf25f42b2e204bb [INFO] running `Command { std: "docker" "start" "-a" "04a4e4a51a613a15ad8a3e5315f5946b19948f86d02331486cf25f42b2e204bb", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/lib.rs:96:17 [INFO] [stderr] | [INFO] [stderr] 96 | (self.max_frequency [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 99 | .min(self.max_frequency)) [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 96 ~ self.max_frequency [INFO] [stderr] 97 | - Instant::now() [INFO] [stderr] 98 | .duration_since(last_time) [INFO] [stderr] 99 ~ .min(self.max_frequency) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:129:53 [INFO] [stderr] | [INFO] [stderr] 129 | pub fn run_throttle_cb(&mut self, success: &mut FnMut(), throttled: &mut FnMut()) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 129 - pub fn run_throttle_cb(&mut self, success: &mut FnMut(), throttled: &mut FnMut()) -> bool { [INFO] [stderr] 129 + pub fn run_throttle_cb(&mut self, success: &mut dyn FnMut(), throttled: &mut FnMut()) -> bool { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:129:78 [INFO] [stderr] | [INFO] [stderr] 129 | pub fn run_throttle_cb(&mut self, success: &mut FnMut(), throttled: &mut FnMut()) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 129 - pub fn run_throttle_cb(&mut self, success: &mut FnMut(), throttled: &mut FnMut()) -> bool { [INFO] [stderr] 129 + pub fn run_throttle_cb(&mut self, success: &mut FnMut(), throttled: &mut dyn FnMut()) -> bool { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:144:41 [INFO] [stderr] | [INFO] [stderr] 144 | pub fn run(&mut self, success: &mut FnMut()) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 144 - pub fn run(&mut self, success: &mut FnMut()) -> bool { [INFO] [stderr] 144 + pub fn run(&mut self, success: &mut dyn FnMut()) -> bool { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:150:46 [INFO] [stderr] | [INFO] [stderr] 150 | pub fn run_wait(&mut self, success: &mut FnMut()) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 150 - pub fn run_wait(&mut self, success: &mut FnMut()) { [INFO] [stderr] 150 + pub fn run_wait(&mut self, success: &mut dyn FnMut()) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:156:50 [INFO] [stderr] | [INFO] [stderr] 156 | pub fn run_with_msg(&mut self, success: &mut FnMut()) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 156 - pub fn run_with_msg(&mut self, success: &mut FnMut()) -> bool { [INFO] [stderr] 156 + pub fn run_with_msg(&mut self, success: &mut dyn FnMut()) -> bool { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `throttle-timer` (lib) generated 6 warnings [INFO] [stderr] warning: `throttle-timer` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/throttle_timer-b60264988025f1bd) [INFO] [stdout] running 8 tests [INFO] [stdout] test test::test_in_loop ... ok [INFO] [stdout] test test::test_run_with_msg ... ok [INFO] [stdout] test test::test_can_run ... ok [INFO] [stdout] test test::test_run_wait ... ok [INFO] [stdout] test test::test_run ... ok [INFO] [stdout] test test::test_print_debug ... ok [INFO] [stdout] test test::test_call_count ... ok [INFO] [stderr] Doc-tests throttle-timer [INFO] [stdout] test test::test_with_delay ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.11s [INFO] [stdout] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:96:17 [INFO] [stderr] | [INFO] [stderr] 96 | (self.max_frequency [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 99 | .min(self.max_frequency)) [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 96 ~ self.max_frequency [INFO] [stderr] 97 | - Instant::now() [INFO] [stderr] 98 | .duration_since(last_time) [INFO] [stderr] 99 ~ .min(self.max_frequency) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 14) ... ok [INFO] [stdout] test src/lib.rs - ThrottleTimer (line 54) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "04a4e4a51a613a15ad8a3e5315f5946b19948f86d02331486cf25f42b2e204bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04a4e4a51a613a15ad8a3e5315f5946b19948f86d02331486cf25f42b2e204bb", kill_on_drop: false }` [INFO] [stdout] 04a4e4a51a613a15ad8a3e5315f5946b19948f86d02331486cf25f42b2e204bb