[INFO] cloning repository https://github.com/CharlesGe129/learn_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CharlesGe129/learn_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCharlesGe129%2Flearn_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCharlesGe129%2Flearn_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fc393476917d2ec95a39b0022e045a93291122bb
[INFO] checking CharlesGe129/learn_rust against beta-2020-07-24 for pr-75494-beta
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCharlesGe129%2Flearn_rust" "/workspace/builds/worker-8/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/CharlesGe129/learn_rust on toolchain beta-2020-07-24
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/CharlesGe129/learn_rust
[INFO] finished tweaking git repo https://github.com/CharlesGe129/learn_rust
[INFO] tweaked toml for git repo https://github.com/CharlesGe129/learn_rust written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] crate git repo https://github.com/CharlesGe129/learn_rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 7ecbc482f16ab97720981e6d228e0a0824e2f939ad8d441e340d2edfdde7a26a
[INFO] running `Command { std: "docker" "start" "-a" "7ecbc482f16ab97720981e6d228e0a0824e2f939ad8d441e340d2edfdde7a26a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7ecbc482f16ab97720981e6d228e0a0824e2f939ad8d441e340d2edfdde7a26a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7ecbc482f16ab97720981e6d228e0a0824e2f939ad8d441e340d2edfdde7a26a", kill_on_drop: false }`
[INFO] [stdout] 7ecbc482f16ab97720981e6d228e0a0824e2f939ad8d441e340d2edfdde7a26a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5e479c575ea16e06c7089e3d00ace51ba351601f869157f4b8bd1855c8951281
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "5e479c575ea16e06c7089e3d00ace51ba351601f869157f4b8bd1855c8951281", kill_on_drop: false }`
[INFO] [stderr]     Checking learn_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type `Point_mut` should have an upper camel case name
[INFO] [stdout]   --> src/struct.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 |     struct Point_mut {
[INFO] [stdout]    |            ^^^^^^^^^ help: convert the identifier to upper camel case: `PointMut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused label
[INFO] [stdout]   --> src/control_flow.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |         'inner: loop {
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_labels)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/control_flow.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 |         e @ 1...5 => println!("Weekday from range {}", e),
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/function.rs:44:31
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn factory(x: i32) -> Box<Fn(i32) -> i32> {
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32) -> i32`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/function.rs:55:21
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let translate: &Fn(i32) -> i32 = add_num;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32) -> i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/problems/triangle_expensive_path.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     use std::env;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Point_mut` should have an upper camel case name
[INFO] [stdout]   --> src/struct.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 |     struct Point_mut {
[INFO] [stdout]    |            ^^^^^^^^^ help: convert the identifier to upper camel case: `PointMut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused label
[INFO] [stdout]   --> src/control_flow.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |         'inner: loop {
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_labels)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/control_flow.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 |         e @ 1...5 => println!("Weekday from range {}", e),
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/function.rs:44:31
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn factory(x: i32) -> Box<Fn(i32) -> i32> {
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32) -> i32`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/function.rs:55:21
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let translate: &Fn(i32) -> i32 = add_num;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32) -> i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/problems/triangle_expensive_path.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     use std::env;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
[INFO] [stdout]   --> src/io.rs:34:61
[INFO] [stdout]    |
[INFO] [stdout] 34 |         Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)),
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
[INFO] [stdout]   --> src/io.rs:40:63
[INFO] [stdout]    |
[INFO] [stdout] 40 |         Err(why) => println!("couldn't read {}: {}", display, Error::description(&why)),
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
[INFO] [stdout]   --> src/io.rs:58:61
[INFO] [stdout]    |
[INFO] [stdout] 58 |         Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)),
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
[INFO] [stdout]   --> src/io.rs:63:67
[INFO] [stdout]    |
[INFO] [stdout] 63 |         Err(why) => println!("couldn't write to {}: {}", display, Error::description(&why)),
[INFO] [stdout]    |                                                                   ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
[INFO] [stdout]   --> src/io.rs:34:61
[INFO] [stdout]    |
[INFO] [stdout] 34 |         Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)),
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
[INFO] [stdout]   --> src/io.rs:40:63
[INFO] [stdout]    |
[INFO] [stdout] 40 |         Err(why) => println!("couldn't read {}: {}", display, Error::description(&why)),
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
[INFO] [stdout]   --> src/io.rs:58:61
[INFO] [stdout]    |
[INFO] [stdout] 58 |         Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)),
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
[INFO] [stdout]   --> src/io.rs:63:67
[INFO] [stdout]    |
[INFO] [stdout] 63 |         Err(why) => println!("couldn't write to {}: {}", display, Error::description(&why)),
[INFO] [stdout]    |                                                                   ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/control_flow.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |             break 'outer
[INFO] [stdout]    |             ------------ any code following this expression is unreachable
[INFO] [stdout] 34 |         }
[INFO] [stdout] 35 |         println!("No print, outer has been break");
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/control_flow.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |             break 'outer
[INFO] [stdout]    |             ------------ any code following this expression is unreachable
[INFO] [stdout] 34 |         }
[INFO] [stdout] 35 |         println!("No print, outer has been break");
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]  --> src/array.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let v: Vec<i32> = Vec::new();
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]  --> src/array.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let v: Vec<i32> = vec![];
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]  --> src/str.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let hello = "hello world!";
[INFO] [stdout]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]  --> src/str.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let hello: &'static str = "hello world!";
[INFO] [stdout]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `hello` is never read
[INFO] [stdout]  --> src/str.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut hello = String::new();
[INFO] [stdout]   |         ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]   = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]  --> src/struct.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let point = Point{x: 1, y: 2};
[INFO] [stdout]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `green`
[INFO] [stdout]   --> src/struct.rs:14:20
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let Color(red, green, blue) = android_green;
[INFO] [stdout]    |                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_green`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blue`
[INFO] [stdout]   --> src/struct.rs:14:27
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let Color(red, green, blue) = android_green;
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_blue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num`
[INFO] [stdout]   --> src/function.rs:23:37
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let mut add_num = move |x: i32| num += x;
[INFO] [stdout]    |                                     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: did you mean to capture by reference instead?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `couple`
[INFO] [stdout]   --> src/generics.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let couple = make_pair("male", "female");
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_couple`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `int_origin`
[INFO] [stdout]   --> src/generics.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let int_origin = Point { x: 0, y: 0 };
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_int_origin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `float_origin`
[INFO] [stdout]   --> src/generics.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let float_origin = Point { x: 0.0, y: 0.0 };
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_float_origin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]  --> src/array.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let v: Vec<i32> = Vec::new();
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]  --> src/array.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let v: Vec<i32> = vec![];
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]  --> src/str.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let hello = "hello world!";
[INFO] [stdout]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]  --> src/str.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let hello: &'static str = "hello world!";
[INFO] [stdout]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `hello` is never read
[INFO] [stdout]  --> src/str.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut hello = String::new();
[INFO] [stdout]   |         ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]   = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]  --> src/struct.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let point = Point{x: 1, y: 2};
[INFO] [stdout]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `green`
[INFO] [stdout]   --> src/struct.rs:14:20
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let Color(red, green, blue) = android_green;
[INFO] [stdout]    |                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_green`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blue`
[INFO] [stdout]   --> src/struct.rs:14:27
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let Color(red, green, blue) = android_green;
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_blue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num`
[INFO] [stdout]   --> src/function.rs:23:37
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let mut add_num = move |x: i32| num += x;
[INFO] [stdout]    |                                     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: did you mean to capture by reference instead?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `couple`
[INFO] [stdout]   --> src/generics.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let couple = make_pair("male", "female");
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_couple`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `int_origin`
[INFO] [stdout]   --> src/generics.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let int_origin = Point { x: 0, y: 0 };
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_int_origin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `float_origin`
[INFO] [stdout]   --> src/generics.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let float_origin = Point { x: 0.0, y: 0.0 };
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_float_origin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/array.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let mut array: [i32; 3] = [0; 3];
[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/array.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let mut array: [i32; 3] = [0; 3];
[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/function.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut temp = num;
[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/io.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut input = String::new();
[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/function.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut temp = num;
[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/io.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut input = String::new();
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `display_test`
[INFO] [stdout]  --> src/display.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn display_test() {
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `list_test`
[INFO] [stdout]   --> src/complicated/list.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn list_test() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `literal_operator_test`
[INFO] [stdout]  --> src/literals_operators.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn literal_operator_test() {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `array_test`
[INFO] [stdout]  --> src/array.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn array_test() {
[INFO] [stdout]   |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `str_test`
[INFO] [stdout]  --> src/str.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn str_test() {
[INFO] [stdout]   |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `struct_test`
[INFO] [stdout]  --> src/struct.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn struct_test() {
[INFO] [stdout]   |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `control_flow_test`
[INFO] [stdout]  --> src/control_flow.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn control_flow_test() {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `if_test`
[INFO] [stdout]  --> src/control_flow.rs:8:4
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn if_test() {
[INFO] [stdout]   |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `for_test`
[INFO] [stdout]   --> src/control_flow.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn for_test() {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `while_test`
[INFO] [stdout]   --> src/control_flow.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn while_test() {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `match_test`
[INFO] [stdout]   --> src/control_flow.rs:40:4
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn match_test() {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `function_test`
[INFO] [stdout]  --> src/function.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn function_test() {
[INFO] [stdout]   |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `add_one`
[INFO] [stdout]  --> src/function.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn add_one(x: i32) -> i32 {
[INFO] [stdout]   |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `diverges`
[INFO] [stdout]   --> src/function.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn diverges() -> ! {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `closure`
[INFO] [stdout]   --> src/function.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn closure() {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `high_order_function`
[INFO] [stdout]   --> src/function.rs:33:4
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn high_order_function() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `method_test`
[INFO] [stdout]  --> src/method.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn method_test() {
[INFO] [stdout]   |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `trait_test`
[INFO] [stdout]  --> src/trait.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn trait_test() {
[INFO] [stdout]   |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `trait_with_generics`
[INFO] [stdout]   --> src/trait.rs:55:4
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn trait_with_generics() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `inheritance_test`
[INFO] [stdout]  --> src/inheritance.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn inheritance_test() {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `generics_test`
[INFO] [stdout]  --> src/generics.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn generics_test() {
[INFO] [stdout]   |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `generics`
[INFO] [stdout]  --> src/generics.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn generics() {
[INFO] [stdout]   |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `polymorphism`
[INFO] [stdout]   --> src/generics.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn polymorphism() {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `add_test`
[INFO] [stdout]   --> src/generics.rs:58:4
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn add_test() {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `io_test`
[INFO] [stdout]  --> src/io.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn io_test() {
[INFO] [stdout]   |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `std_in`
[INFO] [stdout]   --> src/io.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn std_in() {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `file_out`
[INFO] [stdout]   --> src/io.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn file_out() {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `file_out_example2`
[INFO] [stdout]   --> src/io.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn file_out_example2() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `file_in`
[INFO] [stdout]   --> src/io.rs:51:4
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn file_in() {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Stack`
[INFO] [stdout]  --> src/problems/verify_closable.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Stack {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static is never used: `LEFT_CHARS`
[INFO] [stdout]  --> src/problems/verify_closable.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | static LEFT_CHARS: &'static str = "({[";
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]  --> src/problems/verify_closable.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn new() -> Stack {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `push`
[INFO] [stdout]   --> src/problems/verify_closable.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn push(&mut self, s: String) -> bool {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `pop`
[INFO] [stdout]   --> src/problems/verify_closable.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn pop(&mut self) -> String {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `print`
[INFO] [stdout]   --> src/problems/verify_closable.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn print(&self) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `verify_closable_test`
[INFO] [stdout]   --> src/problems/verify_closable.rs:49:4
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn verify_closable_test() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `verify_closable`
[INFO] [stdout]   --> src/problems/verify_closable.rs:61:4
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn verify_closable(input_str: &str) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `examples`
[INFO] [stdout]   --> src/main.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn examples() {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::clone::Clone::clone` that must be used
[INFO] [stdout]   --> src/trait.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |         s.clone();
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: cloning is often expensive and is not expected to have side effects
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::clone::Clone::clone` that must be used
[INFO] [stdout]   --> src/trait.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |         s.clone();
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: cloning is often expensive and is not expected to have side effects
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `display_test`
[INFO] [stdout]  --> src/display.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn display_test() {
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `list_test`
[INFO] [stdout]   --> src/complicated/list.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn list_test() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `literal_operator_test`
[INFO] [stdout]  --> src/literals_operators.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn literal_operator_test() {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `array_test`
[INFO] [stdout]  --> src/array.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn array_test() {
[INFO] [stdout]   |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `str_test`
[INFO] [stdout]  --> src/str.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn str_test() {
[INFO] [stdout]   |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `struct_test`
[INFO] [stdout]  --> src/struct.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn struct_test() {
[INFO] [stdout]   |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `control_flow_test`
[INFO] [stdout]  --> src/control_flow.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn control_flow_test() {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `if_test`
[INFO] [stdout]  --> src/control_flow.rs:8:4
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn if_test() {
[INFO] [stdout]   |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `for_test`
[INFO] [stdout]   --> src/control_flow.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn for_test() {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `while_test`
[INFO] [stdout]   --> src/control_flow.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn while_test() {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `match_test`
[INFO] [stdout]   --> src/control_flow.rs:40:4
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn match_test() {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `function_test`
[INFO] [stdout]  --> src/function.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn function_test() {
[INFO] [stdout]   |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `add_one`
[INFO] [stdout]  --> src/function.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn add_one(x: i32) -> i32 {
[INFO] [stdout]   |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `diverges`
[INFO] [stdout]   --> src/function.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn diverges() -> ! {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `closure`
[INFO] [stdout]   --> src/function.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn closure() {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `high_order_function`
[INFO] [stdout]   --> src/function.rs:33:4
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn high_order_function() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `method_test`
[INFO] [stdout]  --> src/method.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn method_test() {
[INFO] [stdout]   |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `trait_test`
[INFO] [stdout]  --> src/trait.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn trait_test() {
[INFO] [stdout]   |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `trait_with_generics`
[INFO] [stdout]   --> src/trait.rs:55:4
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn trait_with_generics() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `inheritance_test`
[INFO] [stdout]  --> src/inheritance.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn inheritance_test() {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `generics_test`
[INFO] [stdout]  --> src/generics.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn generics_test() {
[INFO] [stdout]   |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `generics`
[INFO] [stdout]  --> src/generics.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn generics() {
[INFO] [stdout]   |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `polymorphism`
[INFO] [stdout]   --> src/generics.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn polymorphism() {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `add_test`
[INFO] [stdout]   --> src/generics.rs:58:4
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn add_test() {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `io_test`
[INFO] [stdout]  --> src/io.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn io_test() {
[INFO] [stdout]   |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `std_in`
[INFO] [stdout]   --> src/io.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn std_in() {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `file_out`
[INFO] [stdout]   --> src/io.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn file_out() {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `file_out_example2`
[INFO] [stdout]   --> src/io.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn file_out_example2() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `file_in`
[INFO] [stdout]   --> src/io.rs:51:4
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn file_in() {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Stack`
[INFO] [stdout]  --> src/problems/verify_closable.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Stack {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static is never used: `LEFT_CHARS`
[INFO] [stdout]  --> src/problems/verify_closable.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | static LEFT_CHARS: &'static str = "({[";
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]  --> src/problems/verify_closable.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn new() -> Stack {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `push`
[INFO] [stdout]   --> src/problems/verify_closable.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn push(&mut self, s: String) -> bool {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `pop`
[INFO] [stdout]   --> src/problems/verify_closable.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn pop(&mut self) -> String {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `print`
[INFO] [stdout]   --> src/problems/verify_closable.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn print(&self) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `verify_closable_test`
[INFO] [stdout]   --> src/problems/verify_closable.rs:49:4
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn verify_closable_test() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `verify_closable`
[INFO] [stdout]   --> src/problems/verify_closable.rs:61:4
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn verify_closable(input_str: &str) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `examples`
[INFO] [stdout]   --> src/main.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn examples() {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::clone::Clone::clone` that must be used
[INFO] [stdout]   --> src/trait.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |         s.clone();
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: cloning is often expensive and is not expected to have side effects
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::clone::Clone::clone` that must be used
[INFO] [stdout]   --> src/trait.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |         s.clone();
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: cloning is often expensive and is not expected to have side effects
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 66 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 66 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.25s
[INFO] running `Command { std: "docker" "inspect" "5e479c575ea16e06c7089e3d00ace51ba351601f869157f4b8bd1855c8951281", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5e479c575ea16e06c7089e3d00ace51ba351601f869157f4b8bd1855c8951281", kill_on_drop: false }`
[INFO] [stdout] 5e479c575ea16e06c7089e3d00ace51ba351601f869157f4b8bd1855c8951281
