[INFO] cloning repository https://github.com/syn-chromatic/timer-module-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/syn-chromatic/timer-module-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsyn-chromatic%2Ftimer-module-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsyn-chromatic%2Ftimer-module-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9556696070ead49bfd4239ba06aeafe32d1b0bc4 [INFO] building syn-chromatic/timer-module-rs against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsyn-chromatic%2Ftimer-module-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/syn-chromatic/timer-module-rs on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/syn-chromatic/timer-module-rs [INFO] finished tweaking git repo https://github.com/syn-chromatic/timer-module-rs [INFO] tweaked toml for git repo https://github.com/syn-chromatic/timer-module-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/syn-chromatic/timer-module-rs 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a826edfa2f37c9fd17ac6092881aa77b9441c9d0269e89649e1ade4ebcf9267 [INFO] running `Command { std: "docker" "start" "-a" "1a826edfa2f37c9fd17ac6092881aa77b9441c9d0269e89649e1ade4ebcf9267", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a826edfa2f37c9fd17ac6092881aa77b9441c9d0269e89649e1ade4ebcf9267", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a826edfa2f37c9fd17ac6092881aa77b9441c9d0269e89649e1ade4ebcf9267", kill_on_drop: false }` [INFO] [stdout] 1a826edfa2f37c9fd17ac6092881aa77b9441c9d0269e89649e1ade4ebcf9267 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3ef9869c1c3285acb71438daa8637815865d3705b3f8d8c21b17cb0b4729646 [INFO] running `Command { std: "docker" "start" "-a" "f3ef9869c1c3285acb71438daa8637815865d3705b3f8d8c21b17cb0b4729646", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.142 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling getrandom v0.2.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling timer-module-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `recursive_permute2` is never used [INFO] [stdout] --> src/test/algorithm_test.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn recursive_permute2(nums: &mut Vec, result: &mut Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `permute` is never used [INFO] [stdout] --> src/test/algorithm_test.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn permute(mut nums: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recursive_permute` is never used [INFO] [stdout] --> src/test/algorithm_test.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn recursive_permute(nums: &mut Vec, result: &mut Vec>, start: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `permute_backtrack` is never used [INFO] [stdout] --> src/test/algorithm_test.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn permute_backtrack(mut nums: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Red`, `Blue`, and `Magenta` are never constructed [INFO] [stdout] --> src/timer_module/terminal.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum ANSICode { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 3 | Reset, [INFO] [stdout] 4 | Red, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | Blue, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Magenta, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ANSICode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/timer_module/timer.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl TimerModule { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn pause(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn reset(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn refresh(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn set_time(&mut self, time_seconds: u64) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn get_time(&mut self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_time_ms(&mut self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn get_string(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn update_duration(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/timer_module/profiler.rs:117:70 [INFO] [stdout] | [INFO] [stdout] 117 | let call_metrics = callable_refs.get(&call_hash).unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `CallableMetrics` does not implement `Clone`, so calling `clone` on `&CallableMetrics` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 117 - let call_metrics = callable_refs.get(&call_hash).unwrap().clone(); [INFO] [stdout] 117 + let call_metrics = callable_refs.get(&call_hash).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `CallableMetrics`, implement `Clone` for it [INFO] [stdout] --> src/timer_module/metrics.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 + #[derive(Clone)] [INFO] [stdout] 58 | pub struct CallableMetrics { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.13s [INFO] running `Command { std: "docker" "inspect" "f3ef9869c1c3285acb71438daa8637815865d3705b3f8d8c21b17cb0b4729646", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3ef9869c1c3285acb71438daa8637815865d3705b3f8d8c21b17cb0b4729646", kill_on_drop: false }` [INFO] [stdout] f3ef9869c1c3285acb71438daa8637815865d3705b3f8d8c21b17cb0b4729646 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c07b8b4c92a72d7d5684fe56054aa97858eb58a0a67ab92ec95ddd3c9844e5b3 [INFO] running `Command { std: "docker" "start" "-a" "c07b8b4c92a72d7d5684fe56054aa97858eb58a0a67ab92ec95ddd3c9844e5b3", kill_on_drop: false }` [INFO] [stderr] Compiling timer-module-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `recursive_permute2` is never used [INFO] [stdout] --> src/test/algorithm_test.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn recursive_permute2(nums: &mut Vec, result: &mut Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `permute` is never used [INFO] [stdout] --> src/test/algorithm_test.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn permute(mut nums: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recursive_permute` is never used [INFO] [stdout] --> src/test/algorithm_test.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn recursive_permute(nums: &mut Vec, result: &mut Vec>, start: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `permute_backtrack` is never used [INFO] [stdout] --> src/test/algorithm_test.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn permute_backtrack(mut nums: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Red`, `Blue`, and `Magenta` are never constructed [INFO] [stdout] --> src/timer_module/terminal.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum ANSICode { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 3 | Reset, [INFO] [stdout] 4 | Red, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | Blue, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Magenta, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ANSICode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/timer_module/timer.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl TimerModule { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn pause(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn reset(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn refresh(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn set_time(&mut self, time_seconds: u64) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn get_time(&mut self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_time_ms(&mut self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn get_string(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn update_duration(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/timer_module/profiler.rs:117:70 [INFO] [stdout] | [INFO] [stdout] 117 | let call_metrics = callable_refs.get(&call_hash).unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `CallableMetrics` does not implement `Clone`, so calling `clone` on `&CallableMetrics` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 117 - let call_metrics = callable_refs.get(&call_hash).unwrap().clone(); [INFO] [stdout] 117 + let call_metrics = callable_refs.get(&call_hash).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `CallableMetrics`, implement `Clone` for it [INFO] [stdout] --> src/timer_module/metrics.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 + #[derive(Clone)] [INFO] [stdout] 58 | pub struct CallableMetrics { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.57s [INFO] running `Command { std: "docker" "inspect" "c07b8b4c92a72d7d5684fe56054aa97858eb58a0a67ab92ec95ddd3c9844e5b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c07b8b4c92a72d7d5684fe56054aa97858eb58a0a67ab92ec95ddd3c9844e5b3", kill_on_drop: false }` [INFO] [stdout] c07b8b4c92a72d7d5684fe56054aa97858eb58a0a67ab92ec95ddd3c9844e5b3