[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 against try#3fada14ee01d755dc8076e611f11bf65b28ffd21 for pr-154971
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmurermader%2Frust-101" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/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-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/murermader/rust-101 on toolchain 3fada14ee01d755dc8076e611f11bf65b28ffd21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "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" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 877f7d5f2aee4865526fd95977fa3671d249908a40ead65a7d1a42fb7d2ab9b2
[INFO] running `Command { std: "docker" "start" "-a" "877f7d5f2aee4865526fd95977fa3671d249908a40ead65a7d1a42fb7d2ab9b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "877f7d5f2aee4865526fd95977fa3671d249908a40ead65a7d1a42fb7d2ab9b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "877f7d5f2aee4865526fd95977fa3671d249908a40ead65a7d1a42fb7d2ab9b2", kill_on_drop: false }`
[INFO] [stdout] 877f7d5f2aee4865526fd95977fa3671d249908a40ead65a7d1a42fb7d2ab9b2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 87375b08c5e6194177e41f730ddca1cd665cb30baa9925df25d8ce30f6944659
[INFO] running `Command { std: "docker" "start" "-a" "87375b08c5e6194177e41f730ddca1cd665cb30baa9925df25d8ce30f6944659", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking memchr v2.7.6
[INFO] [stderr]     Checking serde_json v1.0.145
[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 3.50s
[INFO] running `Command { std: "docker" "inspect" "87375b08c5e6194177e41f730ddca1cd665cb30baa9925df25d8ce30f6944659", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "87375b08c5e6194177e41f730ddca1cd665cb30baa9925df25d8ce30f6944659", kill_on_drop: false }`
[INFO] [stdout] 87375b08c5e6194177e41f730ddca1cd665cb30baa9925df25d8ce30f6944659
