[INFO] cloning repository https://github.com/andev0/perfect_code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andev0/perfect_code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandev0%2Fperfect_code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandev0%2Fperfect_code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e7cd28b9962801c350c3f475d2a0242101825195 [INFO] checking andev0/perfect_code against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandev0%2Fperfect_code" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/andev0/perfect_code [INFO] finished tweaking git repo https://github.com/andev0/perfect_code [INFO] tweaked toml for git repo https://github.com/andev0/perfect_code written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/andev0/perfect_code on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/andev0/perfect_code 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 532f636be2db27197d1f566396bf9213ec3e5a88b8b960a9aa264194b1a9d366 [INFO] running `Command { std: "docker" "start" "-a" "532f636be2db27197d1f566396bf9213ec3e5a88b8b960a9aa264194b1a9d366", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "532f636be2db27197d1f566396bf9213ec3e5a88b8b960a9aa264194b1a9d366", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "532f636be2db27197d1f566396bf9213ec3e5a88b8b960a9aa264194b1a9d366", kill_on_drop: false }` [INFO] [stdout] 532f636be2db27197d1f566396bf9213ec3e5a88b8b960a9aa264194b1a9d366 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9da481a3d620b6db4f36d03fadc6b737a947973ea1abe61fba38eecd046b8577 [INFO] running `Command { std: "docker" "start" "-a" "9da481a3d620b6db4f36d03fadc6b737a947973ea1abe61fba38eecd046b8577", kill_on_drop: false }` [INFO] [stderr] Checking perfect_code v777.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::Display` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let a = 5; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let b: u8; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rth` is never read [INFO] [stdout] --> src/main.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | rth -= 2; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o1` [INFO] [stdout] --> src/main.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | .filter(|(o1, &o2)| o2 % 3 != 0 && o2 % 5 != 0) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_o1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/main.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | .for_each(|(f, &f12)| println!("{}", f12)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o1` [INFO] [stdout] --> src/main.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | .filter(|(o1, &o2)| o2 % 3 == 0 && !(o2 % 3 == 0 && o2 % 5 == 0)) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_o1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/main.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | .for_each(|(f, &f12)| println!("Fizz")); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f12` [INFO] [stdout] --> src/main.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | .for_each(|(f, &f12)| println!("Fizz")); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_f12` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o1` [INFO] [stdout] --> src/main.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | .filter(|(o1, &o2)| o2 % 5 == 0 && !(o2 % 3 == 0 && o2 % 5 == 0)) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_o1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/main.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | .for_each(|(f, &f12)| println!("Buzz")); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f12` [INFO] [stdout] --> src/main.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | .for_each(|(f, &f12)| println!("Buzz")); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_f12` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o1` [INFO] [stdout] --> src/main.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | .filter(|(o1, &o2)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_o1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/main.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | .for_each(|(f, &f12)| println!("FizzBuzz")); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f12` [INFO] [stdout] --> src/main.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | .for_each(|(f, &f12)| println!("FizzBuzz")); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_f12` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reasonA` and `reason3` are never read [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct Mvce { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 5 | reasonA: i32, // reason a [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | reason3: (), // reason 3 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mvce` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `reasonA` should have a snake case name [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | reasonA: i32, // reason a [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `reason_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Display` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let a = 5; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let b: u8; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rth` is never read [INFO] [stdout] --> src/main.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | rth -= 2; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o1` [INFO] [stdout] --> src/main.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | .filter(|(o1, &o2)| o2 % 3 != 0 && o2 % 5 != 0) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_o1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/main.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | .for_each(|(f, &f12)| println!("{}", f12)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o1` [INFO] [stdout] --> src/main.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | .filter(|(o1, &o2)| o2 % 3 == 0 && !(o2 % 3 == 0 && o2 % 5 == 0)) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_o1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/main.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | .for_each(|(f, &f12)| println!("Fizz")); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f12` [INFO] [stdout] --> src/main.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | .for_each(|(f, &f12)| println!("Fizz")); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_f12` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o1` [INFO] [stdout] --> src/main.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | .filter(|(o1, &o2)| o2 % 5 == 0 && !(o2 % 3 == 0 && o2 % 5 == 0)) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_o1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/main.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | .for_each(|(f, &f12)| println!("Buzz")); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f12` [INFO] [stdout] --> src/main.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | .for_each(|(f, &f12)| println!("Buzz")); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_f12` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o1` [INFO] [stdout] --> src/main.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | .filter(|(o1, &o2)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_o1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/main.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | .for_each(|(f, &f12)| println!("FizzBuzz")); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f12` [INFO] [stdout] --> src/main.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | .for_each(|(f, &f12)| println!("FizzBuzz")); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_f12` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reasonA` and `reason3` are never read [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct Mvce { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 5 | reasonA: i32, // reason a [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | reason3: (), // reason 3 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mvce` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `reasonA` should have a snake case name [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | reasonA: i32, // reason a [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `reason_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "9da481a3d620b6db4f36d03fadc6b737a947973ea1abe61fba38eecd046b8577", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9da481a3d620b6db4f36d03fadc6b737a947973ea1abe61fba38eecd046b8577", kill_on_drop: false }` [INFO] [stdout] 9da481a3d620b6db4f36d03fadc6b737a947973ea1abe61fba38eecd046b8577