[INFO] cloning repository https://github.com/lochbrunner/rust-hacks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lochbrunner/rust-hacks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flochbrunner%2Frust-hacks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flochbrunner%2Frust-hacks'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 04a14e80469215a2b365dd3d60ca86a6520cd2ad [INFO] checking lochbrunner/rust-hacks against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flochbrunner%2Frust-hacks" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lochbrunner/rust-hacks on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lochbrunner/rust-hacks [INFO] finished tweaking git repo https://github.com/lochbrunner/rust-hacks [INFO] tweaked toml for git repo https://github.com/lochbrunner/rust-hacks written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/lochbrunner/rust-hacks already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1523a67b8f5e5ec792926bdff7b548458748b85b98ebbdf443b5d37acd0c5487 [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" "1523a67b8f5e5ec792926bdff7b548458748b85b98ebbdf443b5d37acd0c5487", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1523a67b8f5e5ec792926bdff7b548458748b85b98ebbdf443b5d37acd0c5487", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1523a67b8f5e5ec792926bdff7b548458748b85b98ebbdf443b5d37acd0c5487", kill_on_drop: false }` [INFO] [stdout] 1523a67b8f5e5ec792926bdff7b548458748b85b98ebbdf443b5d37acd0c5487 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cac6441a4f6729eacb87058e2dc819b4e451f70a87c554f1a4fb8b0de909f9a3 [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" "cac6441a4f6729eacb87058e2dc819b4e451f70a87c554f1a4fb8b0de909f9a3", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking rust-hacks v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/move_in_map.rs (2 fixes) [INFO] [stderr] Fixed src/count_calls.rs (1 fix) [INFO] [stderr] Fixed src/sample_map.rs (3 fixes) [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cross_join.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(left_iter: L, samples: &'a [R]) -> CrossJoin<'a, R, L> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/sample_map.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub(super) fn new(iter: I, f: F, s: &'a [S]) -> SampleMap<'a, I, F, S> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `P` [INFO] [stdout] --> src/sample_map.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | type P = dyn FnMut() -> S; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `P` [INFO] [stdout] --> src/sample_map.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | type P = dyn FnMut() -> S; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Map` that must be used [INFO] [stdout] --> src/cross_join.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | input.iter().map(|s| s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.46s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking rust-hacks v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cross_join.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(left_iter: L, samples: &'a [R]) -> CrossJoin<'a, R, L> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/sample_map.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub(super) fn new(iter: I, f: F, s: &'a [S]) -> SampleMap<'a, I, F, S> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `P` [INFO] [stdout] --> src/sample_map.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | type P = dyn FnMut() -> S; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `P` [INFO] [stdout] --> src/sample_map.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | type P = dyn FnMut() -> S; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Map` that must be used [INFO] [stdout] --> src/cross_join.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | input.iter().map(|s| s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "cac6441a4f6729eacb87058e2dc819b4e451f70a87c554f1a4fb8b0de909f9a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cac6441a4f6729eacb87058e2dc819b4e451f70a87c554f1a4fb8b0de909f9a3", kill_on_drop: false }` [INFO] [stdout] cac6441a4f6729eacb87058e2dc819b4e451f70a87c554f1a4fb8b0de909f9a3