[INFO] fetching crate throttle-timer 1.0.0... [INFO] checking throttle-timer-1.0.0 against try#ffa4a0215752773248fb0f0a8092f1c3e7907e9e for pr-75585 [INFO] extracting crate throttle-timer 1.0.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate throttle-timer 1.0.0 on toolchain ffa4a0215752773248fb0f0a8092f1c3e7907e9e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ffa4a0215752773248fb0f0a8092f1c3e7907e9e" "read-manifest" "--manifest-path" "Cargo.toml", 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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ffa4a0215752773248fb0f0a8092f1c3e7907e9e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ffa4a0215752773248fb0f0a8092f1c3e7907e9e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+ffa4a0215752773248fb0f0a8092f1c3e7907e9e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb748e872f9bd7ab4d382f79692ba79822362435d9e8cdedb1c18a1fd00a0213 [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" "fb748e872f9bd7ab4d382f79692ba79822362435d9e8cdedb1c18a1fd00a0213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb748e872f9bd7ab4d382f79692ba79822362435d9e8cdedb1c18a1fd00a0213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb748e872f9bd7ab4d382f79692ba79822362435d9e8cdedb1c18a1fd00a0213", kill_on_drop: false }` [INFO] [stdout] fb748e872f9bd7ab4d382f79692ba79822362435d9e8cdedb1c18a1fd00a0213 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+ffa4a0215752773248fb0f0a8092f1c3e7907e9e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2c23fab4309e8f817711524686c805e93da2cff000d94b8f3cef89a817666c5 [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" "c2c23fab4309e8f817711524686c805e93da2cff000d94b8f3cef89a817666c5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] 97 | | - Instant::now() [INFO] [stdout] 98 | | .duration_since(last_time) [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] [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] [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] [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] [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] [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] 97 | | - Instant::now() [INFO] [stdout] 98 | | .duration_since(last_time) [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] [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] [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] [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] [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] [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 1.23s [INFO] running `Command { std: "docker" "inspect" "c2c23fab4309e8f817711524686c805e93da2cff000d94b8f3cef89a817666c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2c23fab4309e8f817711524686c805e93da2cff000d94b8f3cef89a817666c5", kill_on_drop: false }` [INFO] [stdout] c2c23fab4309e8f817711524686c805e93da2cff000d94b8f3cef89a817666c5