[INFO] cloning repository https://github.com/KatekovAnton/learnrust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KatekovAnton/learnrust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKatekovAnton%2Flearnrust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKatekovAnton%2Flearnrust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9a1af3543ea4355febeb02eef68cb69bbe12d1ea
[INFO] checking KatekovAnton/learnrust against try#2cbf9c3ff35600794d69a7dc7ab399810a067910 for pr-129249-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKatekovAnton%2Flearnrust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/KatekovAnton/learnrust
[INFO] finished tweaking git repo https://github.com/KatekovAnton/learnrust
[INFO] tweaked toml for git repo https://github.com/KatekovAnton/learnrust written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/KatekovAnton/learnrust on toolchain 2cbf9c3ff35600794d69a7dc7ab399810a067910
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2cbf9c3ff35600794d69a7dc7ab399810a067910" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/KatekovAnton/learnrust 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" "+2cbf9c3ff35600794d69a7dc7ab399810a067910" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 91ac1d0a6cc0eae8a2d3443a3fbd73581ac7a39b1381608dea6d68dcc9063bd2
[INFO] running `Command { std: "docker" "start" "91ac1d0a6cc0eae8a2d3443a3fbd73581ac7a39b1381608dea6d68dcc9063bd2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "91ac1d0a6cc0eae8a2d3443a3fbd73581ac7a39b1381608dea6d68dcc9063bd2" "/opt/rustwide/cargo-home/bin/cargo" "+2cbf9c3ff35600794d69a7dc7ab399810a067910" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "91ac1d0a6cc0eae8a2d3443a3fbd73581ac7a39b1381608dea6d68dcc9063bd2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "91ac1d0a6cc0eae8a2d3443a3fbd73581ac7a39b1381608dea6d68dcc9063bd2" "/opt/rustwide/cargo-home/bin/cargo" "+2cbf9c3ff35600794d69a7dc7ab399810a067910" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.78
[INFO] [stderr]     Checking analyzer v0.1.0 (/opt/rustwide/workdir/analyzer)
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand v0.5.6
[INFO] [stderr]     Checking hello_cargo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fmt::Error`
[INFO] [stdout]    --> src/main.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout] 102 | use std::fmt::Error;
[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 import: `std::num::ParseIntError`
[INFO] [stdout]    --> src/main.rs:103:5
[INFO] [stdout]     |
[INFO] [stdout] 103 | use std::num::ParseIntError;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Error`
[INFO] [stdout]    --> src/main.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout] 102 | use std::fmt::Error;
[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 import: `std::num::ParseIntError`
[INFO] [stdout]    --> src/main.rs:103:5
[INFO] [stdout]     |
[INFO] [stdout] 103 | use std::num::ParseIntError;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:306:9
[INFO] [stdout]     |
[INFO] [stdout] 306 |     let mut a1: aaa::TestObject = aaa::TestObject::new(1);
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:307:9
[INFO] [stdout]     |
[INFO] [stdout] 307 |     let mut a2: aaa::TestObject = aaa::TestObject::new_simple();
[INFO] [stdout]     |         ----^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:324:9
[INFO] [stdout]     |
[INFO] [stdout] 324 |     let mut x: &i32;
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> src/main.rs:161:13
[INFO] [stdout]     |
[INFO] [stdout] 161 |         let f = match f {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `score`
[INFO] [stdout]    --> src/main.rs:215:13
[INFO] [stdout]     |
[INFO] [stdout] 215 |         let score = scores.get(&team_name);
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_score`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `word`
[INFO] [stdout]    --> src/main.rs:271:13
[INFO] [stdout]     |
[INFO] [stdout] 271 |         let word = first_word(&s);
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_word`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a2`
[INFO] [stdout]    --> src/main.rs:275:13
[INFO] [stdout]     |
[INFO] [stdout] 275 |         let a2 = a1;
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_a2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t2`
[INFO] [stdout]    --> src/main.rs:282:13
[INFO] [stdout]     |
[INFO] [stdout] 282 |         let t2 = t1.clone();
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_t2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v1`
[INFO] [stdout]    --> src/main.rs:283:13
[INFO] [stdout]     |
[INFO] [stdout] 283 |         let v1 = t1.0;
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_v1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v2`
[INFO] [stdout]    --> src/main.rs:284:13
[INFO] [stdout]     |
[INFO] [stdout] 284 |         let v2 = t1.1;
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_v2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:285:13
[INFO] [stdout]     |
[INFO] [stdout] 285 |         let a: usize = 0;
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `h`
[INFO] [stdout]    --> src/main.rs:305:9
[INFO] [stdout]     |
[INFO] [stdout] 305 |     let h = human::Human { name: String::from("Anton"), age: 34 };
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a1`
[INFO] [stdout]    --> src/main.rs:306:9
[INFO] [stdout]     |
[INFO] [stdout] 306 |     let mut a1: aaa::TestObject = aaa::TestObject::new(1);
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_a1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a2`
[INFO] [stdout]    --> src/main.rs:307:9
[INFO] [stdout]     |
[INFO] [stdout] 307 |     let mut a2: aaa::TestObject = aaa::TestObject::new_simple();
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_a2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x1`
[INFO] [stdout]    --> src/main.rs:334:30
[INFO] [stdout]     |
[INFO] [stdout] 334 |         top_left: Point { x: ref x1, y: ref y1 },
[INFO] [stdout]     |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_x1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y1`
[INFO] [stdout]    --> src/main.rs:334:41
[INFO] [stdout]     |
[INFO] [stdout] 334 |         top_left: Point { x: ref x1, y: ref y1 },
[INFO] [stdout]     |                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_y1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x2`
[INFO] [stdout]    --> src/main.rs:335:34
[INFO] [stdout]     |
[INFO] [stdout] 335 |         bottom_right: Point { x: ref x2, y: ref y2 }
[INFO] [stdout]     |                                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_x2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y2`
[INFO] [stdout]    --> src/main.rs:335:45
[INFO] [stdout]     |
[INFO] [stdout] 335 |         bottom_right: Point { x: ref x2, y: ref y2 }
[INFO] [stdout]     |                                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_y2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `age` are never read
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Person<'a> {
[INFO] [stdout]   |        ------ fields in this struct
[INFO] [stdout] 6 |     // The 'a defines a lifetime
[INFO] [stdout] 7 |     name: &'a str,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 8 |     age: u8,
[INFO] [stdout]   |     ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Unit` is never constructed
[INFO] [stdout]   --> src/main.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct Unit;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pair` is never constructed
[INFO] [stdout]   --> src/main.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct Pair(i32, f32);
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `plus_one` is never used
[INFO] [stdout]   --> src/main.rs:82:4
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn plus_one(x: i32) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `testFunction` is never used
[INFO] [stdout]    --> src/main.rs:108:4
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn testFunction(i: &u32) -> Result<u32, String> {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_username_from_file` is never used
[INFO] [stdout]    --> src/main.rs:113:4
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn read_username_from_file() -> Result<String, io::Error> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `a` is never read
[INFO] [stdout]   --> src/main.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub struct TestObject {
[INFO] [stdout]    |                ---------- field in this struct
[INFO] [stdout] 64 |         pub a: i32
[INFO] [stdout]    |             ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `age` are never read
[INFO] [stdout]  --> src/human.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Human {
[INFO] [stdout]   |            ----- fields in this struct
[INFO] [stdout] 5 |     pub name: String,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 6 |     pub age: i32
[INFO] [stdout]   |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/human.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn test() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `testFunction` should have a snake case name
[INFO] [stdout]    --> src/main.rs:108:4
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn testFunction(i: &u32) -> Result<u32, String> {
[INFO] [stdout]     |    ^^^^^^^^^^^^ help: convert the identifier to snake case: `test_function`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:306:9
[INFO] [stdout]     |
[INFO] [stdout] 306 |     let mut a1: aaa::TestObject = aaa::TestObject::new(1);
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:307:9
[INFO] [stdout]     |
[INFO] [stdout] 307 |     let mut a2: aaa::TestObject = aaa::TestObject::new_simple();
[INFO] [stdout]     |         ----^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:324:9
[INFO] [stdout]     |
[INFO] [stdout] 324 |     let mut x: &i32;
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> src/main.rs:161:13
[INFO] [stdout]     |
[INFO] [stdout] 161 |         let f = match f {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `score`
[INFO] [stdout]    --> src/main.rs:215:13
[INFO] [stdout]     |
[INFO] [stdout] 215 |         let score = scores.get(&team_name);
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_score`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `word`
[INFO] [stdout]    --> src/main.rs:271:13
[INFO] [stdout]     |
[INFO] [stdout] 271 |         let word = first_word(&s);
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_word`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a2`
[INFO] [stdout]    --> src/main.rs:275:13
[INFO] [stdout]     |
[INFO] [stdout] 275 |         let a2 = a1;
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_a2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t2`
[INFO] [stdout]    --> src/main.rs:282:13
[INFO] [stdout]     |
[INFO] [stdout] 282 |         let t2 = t1.clone();
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_t2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v1`
[INFO] [stdout]    --> src/main.rs:283:13
[INFO] [stdout]     |
[INFO] [stdout] 283 |         let v1 = t1.0;
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_v1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v2`
[INFO] [stdout]    --> src/main.rs:284:13
[INFO] [stdout]     |
[INFO] [stdout] 284 |         let v2 = t1.1;
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_v2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:285:13
[INFO] [stdout]     |
[INFO] [stdout] 285 |         let a: usize = 0;
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `h`
[INFO] [stdout]    --> src/main.rs:305:9
[INFO] [stdout]     |
[INFO] [stdout] 305 |     let h = human::Human { name: String::from("Anton"), age: 34 };
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a1`
[INFO] [stdout]    --> src/main.rs:306:9
[INFO] [stdout]     |
[INFO] [stdout] 306 |     let mut a1: aaa::TestObject = aaa::TestObject::new(1);
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_a1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a2`
[INFO] [stdout]    --> src/main.rs:307:9
[INFO] [stdout]     |
[INFO] [stdout] 307 |     let mut a2: aaa::TestObject = aaa::TestObject::new_simple();
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_a2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x1`
[INFO] [stdout]    --> src/main.rs:334:30
[INFO] [stdout]     |
[INFO] [stdout] 334 |         top_left: Point { x: ref x1, y: ref y1 },
[INFO] [stdout]     |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_x1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y1`
[INFO] [stdout]    --> src/main.rs:334:41
[INFO] [stdout]     |
[INFO] [stdout] 334 |         top_left: Point { x: ref x1, y: ref y1 },
[INFO] [stdout]     |                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_y1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x2`
[INFO] [stdout]    --> src/main.rs:335:34
[INFO] [stdout]     |
[INFO] [stdout] 335 |         bottom_right: Point { x: ref x2, y: ref y2 }
[INFO] [stdout]     |                                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_x2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y2`
[INFO] [stdout]    --> src/main.rs:335:45
[INFO] [stdout]     |
[INFO] [stdout] 335 |         bottom_right: Point { x: ref x2, y: ref y2 }
[INFO] [stdout]     |                                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_y2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `age` are never read
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Person<'a> {
[INFO] [stdout]   |        ------ fields in this struct
[INFO] [stdout] 6 |     // The 'a defines a lifetime
[INFO] [stdout] 7 |     name: &'a str,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 8 |     age: u8,
[INFO] [stdout]   |     ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Unit` is never constructed
[INFO] [stdout]   --> src/main.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct Unit;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pair` is never constructed
[INFO] [stdout]   --> src/main.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct Pair(i32, f32);
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `plus_one` is never used
[INFO] [stdout]   --> src/main.rs:82:4
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn plus_one(x: i32) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `testFunction` is never used
[INFO] [stdout]    --> src/main.rs:108:4
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn testFunction(i: &u32) -> Result<u32, String> {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_username_from_file` is never used
[INFO] [stdout]    --> src/main.rs:113:4
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn read_username_from_file() -> Result<String, io::Error> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `a` is never read
[INFO] [stdout]   --> src/main.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub struct TestObject {
[INFO] [stdout]    |                ---------- field in this struct
[INFO] [stdout] 64 |         pub a: i32
[INFO] [stdout]    |             ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `age` are never read
[INFO] [stdout]  --> src/human.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Human {
[INFO] [stdout]   |            ----- fields in this struct
[INFO] [stdout] 5 |     pub name: String,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 6 |     pub age: i32
[INFO] [stdout]   |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/human.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn test() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `testFunction` should have a snake case name
[INFO] [stdout]    --> src/main.rs:108:4
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn testFunction(i: &u32) -> Result<u32, String> {
[INFO] [stdout]     |    ^^^^^^^^^^^^ help: convert the identifier to snake case: `test_function`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.84s
[INFO] running `Command { std: "docker" "inspect" "91ac1d0a6cc0eae8a2d3443a3fbd73581ac7a39b1381608dea6d68dcc9063bd2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "91ac1d0a6cc0eae8a2d3443a3fbd73581ac7a39b1381608dea6d68dcc9063bd2", kill_on_drop: false }`
[INFO] [stdout] 91ac1d0a6cc0eae8a2d3443a3fbd73581ac7a39b1381608dea6d68dcc9063bd2
