[INFO] cloning repository https://github.com/murermader/rust-101
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/murermader/rust-101" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmurermader%2Frust-101", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmurermader%2Frust-101'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4b8e2444e4f54586d74497963ad8902d0187073b
[INFO] checking murermader/rust-101/4b8e2444e4f54586d74497963ad8902d0187073b against master#f8463896a9b36a04899c013bd8825a7fd29dd7a4 for pr-151920
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmurermader%2Frust-101" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/murermader/rust-101
[INFO] finished tweaking git repo https://github.com/murermader/rust-101
[INFO] tweaked toml for git repo https://github.com/murermader/rust-101 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/murermader/rust-101 on toolchain f8463896a9b36a04899c013bd8825a7fd29dd7a4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8463896a9b36a04899c013bd8825a7fd29dd7a4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/murermader/rust-101 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" "+f8463896a9b36a04899c013bd8825a7fd29dd7a4" "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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+f8463896a9b36a04899c013bd8825a7fd29dd7a4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 46c62d18ecc9f8a009545a6e38614d3b8e3c96a73d553f6e5cbe8e59483eb3b4
[INFO] running `Command { std: "docker" "start" "-a" "46c62d18ecc9f8a009545a6e38614d3b8e3c96a73d553f6e5cbe8e59483eb3b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "46c62d18ecc9f8a009545a6e38614d3b8e3c96a73d553f6e5cbe8e59483eb3b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "46c62d18ecc9f8a009545a6e38614d3b8e3c96a73d553f6e5cbe8e59483eb3b4", kill_on_drop: false }`
[INFO] [stdout] 46c62d18ecc9f8a009545a6e38614d3b8e3c96a73d553f6e5cbe8e59483eb3b4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+f8463896a9b36a04899c013bd8825a7fd29dd7a4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bceb38bf085e6020bd92bf92f78a07342d7b364b6521504a49b0d9e1697cee5d
[INFO] running `Command { std: "docker" "start" "-a" "bceb38bf085e6020bd92bf92f78a07342d7b364b6521504a49b0d9e1697cee5d", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking rust_101 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `first`
[INFO] [stdout]  --> src/branching.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn get_max(first: i32, second: i32) -> i32 {
[INFO] [stdout]   |            ^^^^^ help: if this is intentional, prefix it with an underscore: `_first`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `second`
[INFO] [stdout]  --> src/branching.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn get_max(first: i32, second: i32) -> i32 {
[INFO] [stdout]   |                        ^^^^^^ help: if this is intentional, prefix it with an underscore: `_second`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `number`
[INFO] [stdout]  --> src/functions.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn power_2(number: i32) -> i32 {
[INFO] [stdout]   |                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `first`
[INFO] [stdout]   --> src/functions.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn get_max(first: i64, second: i64) -> i64 {
[INFO] [stdout]    |                ^^^^^ help: if this is intentional, prefix it with an underscore: `_first`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `second`
[INFO] [stdout]   --> src/functions.rs:11:28
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn get_max(first: i64, second: i64) -> i64 {
[INFO] [stdout]    |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_second`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `people`
[INFO] [stdout]   --> src/functions.rs:21:24
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn welcome_to_rust(people: String) -> String {
[INFO] [stdout]    |                        ^^^^^^ help: if this is intentional, prefix it with an underscore: `_people`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/loops.rs:33:39
[INFO] [stdout]    |
[INFO] [stdout] 33 |     words.iter().fold(String::new(), |mut string, x| {
[INFO] [stdout]    |                                       ----^^^^^^
[INFO] [stdout]    |                                       |
[INFO] [stdout]    |                                       help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `string`
[INFO] [stdout]   --> src/loops.rs:33:39
[INFO] [stdout]    |
[INFO] [stdout] 33 |     words.iter().fold(String::new(), |mut string, x| {
[INFO] [stdout]    |                                       ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/loops.rs:33:51
[INFO] [stdout]    |
[INFO] [stdout] 33 |     words.iter().fold(String::new(), |mut string, x| {
[INFO] [stdout]    |                                                   ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_max` is never used
[INFO] [stdout]  --> src/branching.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn get_max(first: i32, second: i32) -> i32 {
[INFO] [stdout]   |    ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `picky_eater` is never used
[INFO] [stdout]  --> src/branching.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn picky_eater(food: &str) -> &str {
[INFO] [stdout]   |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `another_picky_eater` is never used
[INFO] [stdout]   --> src/branching.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn another_picky_eater(food: &str) -> &str {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `loop_over_range` is never used
[INFO] [stdout]  --> src/loops.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn loop_over_range() -> i32 {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sum_over_vector` is never used
[INFO] [stdout]   --> src/loops.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn sum_over_vector(vector: &[i32]) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sum_over_vector_functional` is never used
[INFO] [stdout]   --> src/loops.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn sum_over_vector_functional(vector: &[i32]) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `concat_words_functional` is never used
[INFO] [stdout]   --> src/loops.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn concat_words_functional(words: &[&str]) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Person` is never constructed
[INFO] [stdout]  --> src/structs.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Person {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_age`, `birthday`, and `get_name` are never used
[INFO] [stdout]   --> src/structs.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Person {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] 11 |     pub fn get_age(&self) -> u8 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub fn birthday(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn get_name(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ItalianPerson` is never constructed
[INFO] [stdout]   --> src/traits.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct ItalianPerson;
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `things_that_make_sound_static` is never used
[INFO] [stdout]   --> src/traits.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn things_that_make_sound_static<T: MakesSound>(list_of_things: Vec<T>) -> Vec<String> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `things_that_make_sound_dynamic` is never used
[INFO] [stdout]   --> src/traits.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn things_that_make_sound_dynamic(list_of_things: Vec<Box<dyn MakesSound>>) -> Vec<String> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ItalianPerson`
[INFO] [stdout]   --> src/traits.rs:48:35
[INFO] [stdout]    |
[INFO] [stdout] 48 |     use crate::traits::{Cat, Dog, ItalianPerson, MakesSound, things_that_make_sound_dynamic};
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `first`
[INFO] [stdout]  --> src/branching.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn get_max(first: i32, second: i32) -> i32 {
[INFO] [stdout]   |            ^^^^^ help: if this is intentional, prefix it with an underscore: `_first`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `second`
[INFO] [stdout]  --> src/branching.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn get_max(first: i32, second: i32) -> i32 {
[INFO] [stdout]   |                        ^^^^^^ help: if this is intentional, prefix it with an underscore: `_second`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `number`
[INFO] [stdout]  --> src/functions.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn power_2(number: i32) -> i32 {
[INFO] [stdout]   |                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `first`
[INFO] [stdout]   --> src/functions.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn get_max(first: i64, second: i64) -> i64 {
[INFO] [stdout]    |                ^^^^^ help: if this is intentional, prefix it with an underscore: `_first`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `second`
[INFO] [stdout]   --> src/functions.rs:11:28
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn get_max(first: i64, second: i64) -> i64 {
[INFO] [stdout]    |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_second`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `people`
[INFO] [stdout]   --> src/functions.rs:21:24
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn welcome_to_rust(people: String) -> String {
[INFO] [stdout]    |                        ^^^^^^ help: if this is intentional, prefix it with an underscore: `_people`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/loops.rs:33:39
[INFO] [stdout]    |
[INFO] [stdout] 33 |     words.iter().fold(String::new(), |mut string, x| {
[INFO] [stdout]    |                                       ----^^^^^^
[INFO] [stdout]    |                                       |
[INFO] [stdout]    |                                       help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `string`
[INFO] [stdout]   --> src/loops.rs:33:39
[INFO] [stdout]    |
[INFO] [stdout] 33 |     words.iter().fold(String::new(), |mut string, x| {
[INFO] [stdout]    |                                       ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/loops.rs:33:51
[INFO] [stdout]    |
[INFO] [stdout] 33 |     words.iter().fold(String::new(), |mut string, x| {
[INFO] [stdout]    |                                                   ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cat_sounds`
[INFO] [stdout]    --> src/traits.rs:100:13
[INFO] [stdout]     |
[INFO] [stdout] 100 |         let cat_sounds = things_that_make_sound_static(vec![Cat, Cat]);
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cat_sounds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dog_sounds`
[INFO] [stdout]    --> src/traits.rs:101:13
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let dog_sounds = things_that_make_sound_static(vec![Dog, Dog]);
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dog_sounds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ItalianPerson` is never constructed
[INFO] [stdout]   --> src/traits.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct ItalianPerson;
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.45s
[INFO] running `Command { std: "docker" "inspect" "bceb38bf085e6020bd92bf92f78a07342d7b364b6521504a49b0d9e1697cee5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bceb38bf085e6020bd92bf92f78a07342d7b364b6521504a49b0d9e1697cee5d", kill_on_drop: false }`
[INFO] [stdout] bceb38bf085e6020bd92bf92f78a07342d7b364b6521504a49b0d9e1697cee5d
