[INFO] cloning repository https://github.com/madeinfree/hello-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/madeinfree/hello-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmadeinfree%2Fhello-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmadeinfree%2Fhello-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 14cf9473fa1db4844cb0a6768ec4b46b45801ae7
[INFO] checking madeinfree/hello-rust against master#dc375db7d8df0aa450e622c529147c95eee756f5 for pr-156749
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmadeinfree%2Fhello-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/madeinfree/hello-rust
[INFO] finished tweaking git repo https://github.com/madeinfree/hello-rust
[INFO] tweaked toml for git repo https://github.com/madeinfree/hello-rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/madeinfree/hello-rust on toolchain dc375db7d8df0aa450e622c529147c95eee756f5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/madeinfree/hello-rust 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" "+dc375db7d8df0aa450e622c529147c95eee756f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `hello` (manifest) generated 1 warning
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rand v0.5.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1f2fa177b152773059826087791d61dc77e9c3f0a3628fdd69459b0e80c15483
[INFO] running `Command { std: "docker" "start" "1f2fa177b152773059826087791d61dc77e9c3f0a3628fdd69459b0e80c15483", 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" "1f2fa177b152773059826087791d61dc77e9c3f0a3628fdd69459b0e80c15483" "/opt/rustwide/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1f2fa177b152773059826087791d61dc77e9c3f0a3628fdd69459b0e80c15483", 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" "1f2fa177b152773059826087791d61dc77e9c3f0a3628fdd69459b0e80c15483" "/opt/rustwide/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `hello` (manifest) generated 1 warning
[INFO] [stderr]     Checking rand_core v0.2.1
[INFO] [stderr]     Checking libc v0.2.42
[INFO] [stderr]     Checking rand v0.5.2
[INFO] [stderr]     Checking hello v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> src/main.rs:567:17
[INFO] [stdout]     |
[INFO] [stdout] 567 |   for number in (1..5) {
[INFO] [stdout]     |                 ^    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 567 -   for number in (1..5) {
[INFO] [stdout] 567 +   for number in 1..5  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> src/main.rs:567:17
[INFO] [stdout]     |
[INFO] [stdout] 567 |   for number in (1..5) {
[INFO] [stdout]     |                 ^    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 567 -   for number in (1..5) {
[INFO] [stdout] 567 +   for number in 1..5  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/main.rs:254:3
[INFO] [stdout]     |
[INFO] [stdout] 253 |   panic!("crash and burn");
[INFO] [stdout]     |   ------------------------ any code following this expression is unreachable
[INFO] [stdout] 254 |   println!("{}", "Run here?"); // Not run
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> src/main.rs:188:7
[INFO] [stdout]     |
[INFO] [stdout] 188 |   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: `row`
[INFO] [stdout]    --> src/main.rs:301:7
[INFO] [stdout]     |
[INFO] [stdout] 301 |   let row = vec![
[INFO] [stdout]     |       ^^^ help: if this is intentional, prefix it with an underscore: `_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `six`
[INFO] [stdout]    --> src/main.rs:358:7
[INFO] [stdout]     |
[INFO] [stdout] 358 |   let six = plus_one(five);
[INFO] [stdout]     |       ^^^ help: if this is intentional, prefix it with an underscore: `_six`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/main.rs:254:3
[INFO] [stdout]     |
[INFO] [stdout] 253 |   panic!("crash and burn");
[INFO] [stdout]     |   ------------------------ any code following this expression is unreachable
[INFO] [stdout] 254 |   println!("{}", "Run here?"); // Not run
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `none`
[INFO] [stdout]    --> src/main.rs:359:7
[INFO] [stdout]     |
[INFO] [stdout] 359 |   let none = plus_one(None);
[INFO] [stdout]     |       ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `None`
[INFO] [stdout]     |
[INFO] [stdout] 359 -   let none = plus_one(None);
[INFO] [stdout] 359 +   let std::prelude::v1::None = plus_one(None);
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 359 |   let _none = plus_one(None);
[INFO] [stdout]     |       +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `home`
[INFO] [stdout]    --> src/main.rs:380:7
[INFO] [stdout]     |
[INFO] [stdout] 380 |   let home = IpAddr {
[INFO] [stdout]     |       ^^^^ help: if this is intentional, prefix it with an underscore: `_home`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r1`
[INFO] [stdout]    --> src/main.rs:498:9
[INFO] [stdout]     |
[INFO] [stdout] 498 |     let r1 = &mut s;
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r2`
[INFO] [stdout]    --> src/main.rs:500:7
[INFO] [stdout]     |
[INFO] [stdout] 500 |   let r2 = &mut s;
[INFO] [stdout]     |       ^^ help: if this is intentional, prefix it with an underscore: `_r2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `longest` is never used
[INFO] [stdout]   --> src/main.rs:53:6
[INFO] [stdout]    |
[INFO] [stdout] 53 |   fn longest<'a>(x: &'a str, y: &'a str) -> &'a str {
[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 `sample_impl_trait_type` is never used
[INFO] [stdout]   --> src/main.rs:94:4
[INFO] [stdout]    |
[INFO] [stdout] 94 | fn sample_impl_trait_type() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/main.rs:133:8
[INFO] [stdout]     |
[INFO] [stdout] 132 |   impl<T> Pair<T> {
[INFO] [stdout]     |   --------------- associated function in this implementation
[INFO] [stdout] 133 |     fn new(x: T, y: T) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cmp_display` is never used
[INFO] [stdout]    --> src/main.rs:139:8
[INFO] [stdout]     |
[INFO] [stdout] 138 |   impl<T: Display + PartialOrd> Pair<T> {
[INFO] [stdout]     |   ------------------------------------- method in this implementation
[INFO] [stdout] 139 |     fn cmp_display(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_generic_types` is never used
[INFO] [stdout]    --> src/main.rs:151:4
[INFO] [stdout]     |
[INFO] [stdout] 151 | fn sample_generic_types() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_error_result` is never used
[INFO] [stdout]    --> src/main.rs:177:4
[INFO] [stdout]     |
[INFO] [stdout] 177 | fn sample_error_result() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `value` are never used
[INFO] [stdout]    --> src/main.rs:235:12
[INFO] [stdout]     |
[INFO] [stdout] 234 |   impl Guess {
[INFO] [stdout]     |   ---------- associated items in this implementation
[INFO] [stdout] 235 |     pub fn new(value: u32) -> Guess {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 242 |     pub fn value(&self) -> u32 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_error_panic` is never used
[INFO] [stdout]    --> src/main.rs:250:4
[INFO] [stdout]     |
[INFO] [stdout] 250 | fn sample_error_panic() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_hash_map` is never used
[INFO] [stdout]    --> src/main.rs:257:4
[INFO] [stdout]     |
[INFO] [stdout] 257 | fn sample_hash_map() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_vector` is never used
[INFO] [stdout]    --> src/main.rs:285:4
[INFO] [stdout]     |
[INFO] [stdout] 285 | fn sample_vector() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_if_let` is never used
[INFO] [stdout]    --> src/main.rs:309:4
[INFO] [stdout]     |
[INFO] [stdout] 309 | fn sample_if_let() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_match` is never used
[INFO] [stdout]    --> src/main.rs:324:4
[INFO] [stdout]     |
[INFO] [stdout] 324 | fn sample_match() {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_enum` is never used
[INFO] [stdout]    --> src/main.rs:370:4
[INFO] [stdout]     |
[INFO] [stdout] 370 | fn sample_enum() {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_method_syntax` is never used
[INFO] [stdout]    --> src/main.rs:386:4
[INFO] [stdout]     |
[INFO] [stdout] 386 | fn sample_method_syntax() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `area` is never used
[INFO] [stdout]    --> src/main.rs:394:8
[INFO] [stdout]     |
[INFO] [stdout] 393 |   impl Rectangle {
[INFO] [stdout]     |   -------------- method in this implementation
[INFO] [stdout] 394 |     fn area(&self) -> u32 {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_use_struct` is never used
[INFO] [stdout]    --> src/main.rs:407:4
[INFO] [stdout]     |
[INFO] [stdout] 407 | fn sample_use_struct() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_defining_struct` is never used
[INFO] [stdout]    --> src/main.rs:430:4
[INFO] [stdout]     |
[INFO] [stdout] 430 | fn sample_defining_struct() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_string_slice` is never used
[INFO] [stdout]    --> src/main.rs:453:4
[INFO] [stdout]     |
[INFO] [stdout] 453 | fn sample_string_slice() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_slice_type` is never used
[INFO] [stdout]    --> src/main.rs:478:4
[INFO] [stdout]     |
[INFO] [stdout] 478 | fn sample_slice_type() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_ownership_multi_ref` is never used
[INFO] [stdout]    --> src/main.rs:494:4
[INFO] [stdout]     |
[INFO] [stdout] 494 | fn sample_ownership_multi_ref() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_ownership_ref` is never used
[INFO] [stdout]    --> src/main.rs:507:4
[INFO] [stdout]     |
[INFO] [stdout] 507 | fn sample_ownership_ref() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_ownership` is never used
[INFO] [stdout]    --> src/main.rs:536:4
[INFO] [stdout]     |
[INFO] [stdout] 536 | fn sample_ownership() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_control_flow` is never used
[INFO] [stdout]    --> src/main.rs:562:4
[INFO] [stdout]     |
[INFO] [stdout] 562 | fn sample_control_flow() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_function_call` is never used
[INFO] [stdout]    --> src/main.rs:609:4
[INFO] [stdout]     |
[INFO] [stdout] 609 | fn sample_function_call() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_type` is never used
[INFO] [stdout]    --> src/main.rs:635:4
[INFO] [stdout]     |
[INFO] [stdout] 635 | fn sample_type() {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_len` is never used
[INFO] [stdout]    --> src/main.rs:643:4
[INFO] [stdout]     |
[INFO] [stdout] 643 | fn sample_len() {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_rang` is never used
[INFO] [stdout]    --> src/main.rs:648:4
[INFO] [stdout]     |
[INFO] [stdout] 648 | fn sample_rang() {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait method `summarizeD` should have a snake case name
[INFO] [stdout]    --> src/main.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout] 102 |     fn summarizeD(&self) -> String;
[INFO] [stdout]     |        ^^^^^^^^^^ help: convert the identifier to snake case: `summarize_d`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> src/main.rs:188:7
[INFO] [stdout]     |
[INFO] [stdout] 188 |   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 `Result` that must be used
[INFO] [stdout]    --> src/main.rs:223:5
[INFO] [stdout]     |
[INFO] [stdout] 223 |     File::open("./src/hello.txt")?.read_to_string(&mut s2);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 223 |     let _ = File::open("./src/hello.txt")?.read_to_string(&mut s2);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `commonS` should have a snake case name
[INFO] [stdout]    --> src/main.rs:455:7
[INFO] [stdout]     |
[INFO] [stdout] 455 |   let commonS = "Hello Common World";
[INFO] [stdout]     |       ^^^^^^^ help: convert the identifier to snake case: `common_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row`
[INFO] [stdout]    --> src/main.rs:301:7
[INFO] [stdout]     |
[INFO] [stdout] 301 |   let row = vec![
[INFO] [stdout]     |       ^^^ help: if this is intentional, prefix it with an underscore: `_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `six`
[INFO] [stdout]    --> src/main.rs:358:7
[INFO] [stdout]     |
[INFO] [stdout] 358 |   let six = plus_one(five);
[INFO] [stdout]     |       ^^^ help: if this is intentional, prefix it with an underscore: `_six`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `none`
[INFO] [stdout]    --> src/main.rs:359:7
[INFO] [stdout]     |
[INFO] [stdout] 359 |   let none = plus_one(None);
[INFO] [stdout]     |       ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `None`
[INFO] [stdout]     |
[INFO] [stdout] 359 -   let none = plus_one(None);
[INFO] [stdout] 359 +   let std::prelude::v1::None = plus_one(None);
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 359 |   let _none = plus_one(None);
[INFO] [stdout]     |       +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `home`
[INFO] [stdout]    --> src/main.rs:380:7
[INFO] [stdout]     |
[INFO] [stdout] 380 |   let home = IpAddr {
[INFO] [stdout]     |       ^^^^ help: if this is intentional, prefix it with an underscore: `_home`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r1`
[INFO] [stdout]    --> src/main.rs:498:9
[INFO] [stdout]     |
[INFO] [stdout] 498 |     let r1 = &mut s;
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r2`
[INFO] [stdout]    --> src/main.rs:500:7
[INFO] [stdout]     |
[INFO] [stdout] 500 |   let r2 = &mut s;
[INFO] [stdout]     |       ^^ help: if this is intentional, prefix it with an underscore: `_r2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `longest` is never used
[INFO] [stdout]   --> src/main.rs:53:6
[INFO] [stdout]    |
[INFO] [stdout] 53 |   fn longest<'a>(x: &'a str, y: &'a str) -> &'a str {
[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 `sample_impl_trait_type` is never used
[INFO] [stdout]   --> src/main.rs:94:4
[INFO] [stdout]    |
[INFO] [stdout] 94 | fn sample_impl_trait_type() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/main.rs:133:8
[INFO] [stdout]     |
[INFO] [stdout] 132 |   impl<T> Pair<T> {
[INFO] [stdout]     |   --------------- associated function in this implementation
[INFO] [stdout] 133 |     fn new(x: T, y: T) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cmp_display` is never used
[INFO] [stdout]    --> src/main.rs:139:8
[INFO] [stdout]     |
[INFO] [stdout] 138 |   impl<T: Display + PartialOrd> Pair<T> {
[INFO] [stdout]     |   ------------------------------------- method in this implementation
[INFO] [stdout] 139 |     fn cmp_display(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_generic_types` is never used
[INFO] [stdout]    --> src/main.rs:151:4
[INFO] [stdout]     |
[INFO] [stdout] 151 | fn sample_generic_types() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_error_result` is never used
[INFO] [stdout]    --> src/main.rs:177:4
[INFO] [stdout]     |
[INFO] [stdout] 177 | fn sample_error_result() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `value` are never used
[INFO] [stdout]    --> src/main.rs:235:12
[INFO] [stdout]     |
[INFO] [stdout] 234 |   impl Guess {
[INFO] [stdout]     |   ---------- associated items in this implementation
[INFO] [stdout] 235 |     pub fn new(value: u32) -> Guess {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 242 |     pub fn value(&self) -> u32 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_error_panic` is never used
[INFO] [stdout]    --> src/main.rs:250:4
[INFO] [stdout]     |
[INFO] [stdout] 250 | fn sample_error_panic() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_hash_map` is never used
[INFO] [stdout]    --> src/main.rs:257:4
[INFO] [stdout]     |
[INFO] [stdout] 257 | fn sample_hash_map() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_vector` is never used
[INFO] [stdout]    --> src/main.rs:285:4
[INFO] [stdout]     |
[INFO] [stdout] 285 | fn sample_vector() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_if_let` is never used
[INFO] [stdout]    --> src/main.rs:309:4
[INFO] [stdout]     |
[INFO] [stdout] 309 | fn sample_if_let() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_match` is never used
[INFO] [stdout]    --> src/main.rs:324:4
[INFO] [stdout]     |
[INFO] [stdout] 324 | fn sample_match() {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_enum` is never used
[INFO] [stdout]    --> src/main.rs:370:4
[INFO] [stdout]     |
[INFO] [stdout] 370 | fn sample_enum() {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_method_syntax` is never used
[INFO] [stdout]    --> src/main.rs:386:4
[INFO] [stdout]     |
[INFO] [stdout] 386 | fn sample_method_syntax() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `area` is never used
[INFO] [stdout]    --> src/main.rs:394:8
[INFO] [stdout]     |
[INFO] [stdout] 393 |   impl Rectangle {
[INFO] [stdout]     |   -------------- method in this implementation
[INFO] [stdout] 394 |     fn area(&self) -> u32 {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_use_struct` is never used
[INFO] [stdout]    --> src/main.rs:407:4
[INFO] [stdout]     |
[INFO] [stdout] 407 | fn sample_use_struct() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_defining_struct` is never used
[INFO] [stdout]    --> src/main.rs:430:4
[INFO] [stdout]     |
[INFO] [stdout] 430 | fn sample_defining_struct() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_string_slice` is never used
[INFO] [stdout]    --> src/main.rs:453:4
[INFO] [stdout]     |
[INFO] [stdout] 453 | fn sample_string_slice() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_slice_type` is never used
[INFO] [stdout]    --> src/main.rs:478:4
[INFO] [stdout]     |
[INFO] [stdout] 478 | fn sample_slice_type() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_ownership_multi_ref` is never used
[INFO] [stdout]    --> src/main.rs:494:4
[INFO] [stdout]     |
[INFO] [stdout] 494 | fn sample_ownership_multi_ref() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_ownership_ref` is never used
[INFO] [stdout]    --> src/main.rs:507:4
[INFO] [stdout]     |
[INFO] [stdout] 507 | fn sample_ownership_ref() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_ownership` is never used
[INFO] [stdout]    --> src/main.rs:536:4
[INFO] [stdout]     |
[INFO] [stdout] 536 | fn sample_ownership() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_control_flow` is never used
[INFO] [stdout]    --> src/main.rs:562:4
[INFO] [stdout]     |
[INFO] [stdout] 562 | fn sample_control_flow() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_function_call` is never used
[INFO] [stdout]    --> src/main.rs:609:4
[INFO] [stdout]     |
[INFO] [stdout] 609 | fn sample_function_call() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_type` is never used
[INFO] [stdout]    --> src/main.rs:635:4
[INFO] [stdout]     |
[INFO] [stdout] 635 | fn sample_type() {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_len` is never used
[INFO] [stdout]    --> src/main.rs:643:4
[INFO] [stdout]     |
[INFO] [stdout] 643 | fn sample_len() {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_rang` is never used
[INFO] [stdout]    --> src/main.rs:648:4
[INFO] [stdout]     |
[INFO] [stdout] 648 | fn sample_rang() {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait method `summarizeD` should have a snake case name
[INFO] [stdout]    --> src/main.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout] 102 |     fn summarizeD(&self) -> String;
[INFO] [stdout]     |        ^^^^^^^^^^ help: convert the identifier to snake case: `summarize_d`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:223:5
[INFO] [stdout]     |
[INFO] [stdout] 223 |     File::open("./src/hello.txt")?.read_to_string(&mut s2);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 223 |     let _ = File::open("./src/hello.txt")?.read_to_string(&mut s2);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `commonS` should have a snake case name
[INFO] [stdout]    --> src/main.rs:455:7
[INFO] [stdout]     |
[INFO] [stdout] 455 |   let commonS = "Hello Common World";
[INFO] [stdout]     |       ^^^^^^^ help: convert the identifier to snake case: `common_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.48s
[INFO] running `Command { std: "docker" "inspect" "1f2fa177b152773059826087791d61dc77e9c3f0a3628fdd69459b0e80c15483", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1f2fa177b152773059826087791d61dc77e9c3f0a3628fdd69459b0e80c15483", kill_on_drop: false }`
[INFO] [stdout] 1f2fa177b152773059826087791d61dc77e9c3f0a3628fdd69459b0e80c15483
