[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#1f5783cbeb5da8b38566d718631d016891e9c912 for pr-142704
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKatekovAnton%2Flearnrust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/KatekovAnton/learnrust on toolchain 1f5783cbeb5da8b38566d718631d016891e9c912
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-6-tc2/source/Cargo.toml
[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" "+1f5783cbeb5da8b38566d718631d016891e9c912" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libc v0.2.78
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9ebc072d697a19930811e5c74462046956b5ed90bc1ce897270967020c9e4f05
[INFO] running `Command { std: "docker" "start" "-a" "9ebc072d697a19930811e5c74462046956b5ed90bc1ce897270967020c9e4f05", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9ebc072d697a19930811e5c74462046956b5ed90bc1ce897270967020c9e4f05", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9ebc072d697a19930811e5c74462046956b5ed90bc1ce897270967020c9e4f05", kill_on_drop: false }`
[INFO] [stdout] 9ebc072d697a19930811e5c74462046956b5ed90bc1ce897270967020c9e4f05
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9ac5a44ba6eb248c5cc59e3f6d3bb1875bfef10bc006385c09775c154b575ee2
[INFO] running `Command { std: "docker" "start" "-a" "9ac5a44ba6eb248c5cc59e3f6d3bb1875bfef10bc006385c09775c154b575ee2", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.78
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking analyzer v0.1.0 (/opt/rustwide/workdir/analyzer)
[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)]` on by default
[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)]` 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::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 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)]` 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:13
[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:13
[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:34
[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:45
[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:38
[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:49
[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: 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)]` 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:13
[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:13
[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:34
[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:45
[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:38
[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:49
[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: 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)]` 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: 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)]` 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)]` 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)]` 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: 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)]` 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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.92s
[INFO] running `Command { std: "docker" "inspect" "9ac5a44ba6eb248c5cc59e3f6d3bb1875bfef10bc006385c09775c154b575ee2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9ac5a44ba6eb248c5cc59e3f6d3bb1875bfef10bc006385c09775c154b575ee2", kill_on_drop: false }`
[INFO] [stdout] 9ac5a44ba6eb248c5cc59e3f6d3bb1875bfef10bc006385c09775c154b575ee2
