[INFO] cloning repository https://github.com/chriszhang94/rustlearn
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chriszhang94/rustlearn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchriszhang94%2Frustlearn", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchriszhang94%2Frustlearn'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1177d9a5ea10c22e4a160883ef71ce954c7b88d4
[INFO] checking chriszhang94/rustlearn against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchriszhang94%2Frustlearn" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/chriszhang94/rustlearn
[INFO] finished tweaking git repo https://github.com/chriszhang94/rustlearn
[INFO] tweaked toml for git repo https://github.com/chriszhang94/rustlearn written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/chriszhang94/rustlearn on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/chriszhang94/rustlearn 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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9637a6b5258444f4e1a3de030109af889d39467a8bace0cbe3ee2ae13cc4daed
[INFO] running `Command { std: "docker" "start" "-a" "9637a6b5258444f4e1a3de030109af889d39467a8bace0cbe3ee2ae13cc4daed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9637a6b5258444f4e1a3de030109af889d39467a8bace0cbe3ee2ae13cc4daed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9637a6b5258444f4e1a3de030109af889d39467a8bace0cbe3ee2ae13cc4daed", kill_on_drop: false }`
[INFO] [stdout] 9637a6b5258444f4e1a3de030109af889d39467a8bace0cbe3ee2ae13cc4daed
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f58a14d13215b4f02277dbe4d3423322ac3d0ddadfcd44a31a365ef65edac843
[INFO] running `Command { std: "docker" "start" "-a" "f58a14d13215b4f02277dbe4d3423322ac3d0ddadfcd44a31a365ef65edac843", kill_on_drop: false }`
[INFO] [stderr]     Checking rustlearn v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `private_fn` is never used
[INFO] [stdout]  --> src/lib.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn private_fn(){
[INFO] [stdout]   |    ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_head` is never used
[INFO] [stdout]   --> src/lib.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Node{
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 30 |     fn get_head(&self){
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lib.rs:48:27
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn new(messanger: &T, max:usize) -> LimitTracker<T>{
[INFO] [stdout]    |                           ^^                ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn new(messanger: &T, max:usize) -> LimitTracker<'_, T>{
[INFO] [stdout]    |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `private_fn` is never used
[INFO] [stdout]  --> src/lib.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn private_fn(){
[INFO] [stdout]   |    ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_head` is never used
[INFO] [stdout]   --> src/lib.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Node{
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 30 |     fn get_head(&self){
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lib.rs:48:27
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn new(messanger: &T, max:usize) -> LimitTracker<T>{
[INFO] [stdout]    |                           ^^                ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn new(messanger: &T, max:usize) -> LimitTracker<'_, T>{
[INFO] [stdout]    |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/main.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::cmp::max;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::null`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ptr::null;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Node` and `test_in_lib`
[INFO] [stdout]  --> src/main.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rustlearn::{test_in_lib, Node, Messanger};
[INFO] [stdout]   |                 ^^^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:264:20
[INFO] [stdout]     |
[INFO] [stdout] 264 |     let mut high = (arr.len()-1);
[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] 264 -     let mut high = (arr.len()-1);
[INFO] [stdout] 264 +     let mut high = arr.len()-1 ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/main.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let mut count = 0;
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::cmp::max;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::null`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ptr::null;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Node` and `test_in_lib`
[INFO] [stdout]  --> src/main.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rustlearn::{test_in_lib, Node, Messanger};
[INFO] [stdout]   |                 ^^^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:264:20
[INFO] [stdout]     |
[INFO] [stdout] 264 |     let mut high = (arr.len()-1);
[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] 264 -     let mut high = (arr.len()-1);
[INFO] [stdout] 264 +     let mut high = arr.len()-1 ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s1`
[INFO] [stdout]   --> src/main.rs:97:17
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn changeString(s1: String){
[INFO] [stdout]    |                 ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ans`
[INFO] [stdout]   --> src/main.rs:98:9
[INFO] [stdout]    |
[INFO] [stdout] 98 |     let ans = three_sum(vec![-1,0,1]);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_ans`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let mut candidates = candidates;
[INFO] [stdout]     |         ----^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target`
[INFO] [stdout]    --> src/main.rs:102:46
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub fn combination_sum(candidates: Vec<i32>, target: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]     |                                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 |     let mut cp = list;
[INFO] [stdout]     |         ----^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cp`
[INFO] [stdout]    --> src/main.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 |     let mut cp = list;
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]    --> src/main.rs:163:13
[INFO] [stdout]     |
[INFO] [stdout] 163 |         let c = item;
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]    --> src/main.rs:172:19
[INFO] [stdout]     |
[INFO] [stdout] 172 | fn some_fun<T, U>(t: T, u: U) -> String where T: Display + Clone, U: Clone{
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]    --> src/main.rs:172:25
[INFO] [stdout]     |
[INFO] [stdout] 172 | fn some_fun<T, U>(t: T, u: U) -> String where T: Display + Clone, U: Clone{
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/main.rs:176:17
[INFO] [stdout]     |
[INFO] [stdout] 176 | fn longest2<'a>(x: &str, y: &str) -> String {
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/main.rs:176:26
[INFO] [stdout]     |
[INFO] [stdout] 176 | fn longest2<'a>(x: &str, y: &str) -> String {
[INFO] [stdout]     |                          ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/main.rs:256:9
[INFO] [stdout]     |
[INFO] [stdout] 256 |     let b = &a;
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]    --> src/main.rs:257:9
[INFO] [stdout]     |
[INFO] [stdout] 257 |     let c = &a;
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:266:13
[INFO] [stdout]     |
[INFO] [stdout] 266 |         let mut mid = low + (high-low/2);
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Point` is never constructed
[INFO] [stdout]   --> src/main.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Point<T>{
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Point<T>{
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 12 |     x:T,
[INFO] [stdout]    |     ^
[INFO] [stdout] 13 |     y:T
[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 `largest` is never used
[INFO] [stdout]   --> src/main.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn largest<T: PartialOrd + Copy>(list: &[T]) -> T{
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `longest` is never used
[INFO] [stdout]   --> src/main.rs:56:4
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn longest<'a>(s1: &'a str, s2:&'a str) -> String{
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `changeString` is never used
[INFO] [stdout]   --> src/main.rs:97:4
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn changeString(s1: String){
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `first_word` is never used
[INFO] [stdout]    --> src/main.rs:133:4
[INFO] [stdout]     |
[INFO] [stdout] 133 | fn first_word(s: &String) -> usize{
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_element` is never used
[INFO] [stdout]    --> src/main.rs:144:4
[INFO] [stdout]     |
[INFO] [stdout] 144 | fn add_element(num: &mut Vec<i32>){
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `largest_i32` is never used
[INFO] [stdout]    --> src/main.rs:158:4
[INFO] [stdout]     |
[INFO] [stdout] 158 | fn largest_i32(list: &[i32]) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `some_fun` is never used
[INFO] [stdout]    --> src/main.rs:172:4
[INFO] [stdout]     |
[INFO] [stdout] 172 | fn some_fun<T, U>(t: T, u: U) -> String where T: Display + Clone, U: Clone{
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `longest2` is never used
[INFO] [stdout]    --> src/main.rs:176:4
[INFO] [stdout]     |
[INFO] [stdout] 176 | fn longest2<'a>(x: &str, y: &str) -> String {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyBox` is never constructed
[INFO] [stdout]    --> src/main.rs:192:8
[INFO] [stdout]     |
[INFO] [stdout] 192 | struct MyBox<T>(T);
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/main.rs:203:8
[INFO] [stdout]     |
[INFO] [stdout] 202 | impl<T> MyBox<T> {
[INFO] [stdout]     | ---------------- associated function in this implementation
[INFO] [stdout] 203 |     fn new(x: T) -> MyBox<T> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/main.rs:210:6
[INFO] [stdout]     |
[INFO] [stdout] 208 | impl ListNode {
[INFO] [stdout]     | ------------- associated function in this implementation
[INFO] [stdout] 209 |   #[inline]
[INFO] [stdout] 210 |   fn new(val: i32) -> Self {
[INFO] [stdout]     |      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MockMessanger` is never constructed
[INFO] [stdout]    --> src/main.rs:231:8
[INFO] [stdout]     |
[INFO] [stdout] 231 | struct MockMessanger{
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/main.rs:236:8
[INFO] [stdout]     |
[INFO] [stdout] 235 | impl MockMessanger{
[INFO] [stdout]     | ------------------ associated function in this implementation
[INFO] [stdout] 236 |     fn new() -> MockMessanger{
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `binarySearch` is never used
[INFO] [stdout]    --> src/main.rs:262:4
[INFO] [stdout]     |
[INFO] [stdout] 262 | fn binarySearch(arr: &[i32], val: i32) -> usize{
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `message` is never used
[INFO] [stdout]   --> src/second.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn message(){
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `govern` is never used
[INFO] [stdout]  --> src/second.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 |         pub fn govern() {}
[INFO] [stdout]   |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `legislate` is never used
[INFO] [stdout]  --> src/second.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 |         pub fn legislate() {}
[INFO] [stdout]   |                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `judicial` is never used
[INFO] [stdout]   --> src/second.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 |         fn judicial() {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_in_lib` is never used
[INFO] [stdout]  --> src/lib.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn test_in_lib(){
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `private_fn` is never used
[INFO] [stdout]  --> src/lib.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn private_fn(){
[INFO] [stdout]   |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Display` is never used
[INFO] [stdout]   --> src/lib.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub trait Display{
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Callable` is never used
[INFO] [stdout]   --> src/lib.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub trait Callable{
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]   --> src/lib.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Node{
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_head` is never used
[INFO] [stdout]   --> src/lib.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Node{
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 30 |     fn get_head(&self){
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Messanger` is never used
[INFO] [stdout]   --> src/lib.rs:35:11
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub trait Messanger{
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LimitTracker` is never constructed
[INFO] [stdout]   --> src/lib.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct LimitTracker<'a, T:Messanger>{
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `set_value` are never used
[INFO] [stdout]   --> src/lib.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl<'a, T> LimitTracker<'a, T> where T: Messanger{
[INFO] [stdout]    | -------------------------------------------------- associated items in this implementation
[INFO] [stdout] 48 |     pub fn new(messanger: &T, max:usize) -> LimitTracker<T>{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn set_value(&mut self, value:usize){
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait method `Summarize` should have a snake case name
[INFO] [stdout]   --> src/main.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn Summarize(&self) -> String;
[INFO] [stdout]    |        ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `summarize`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait method `Display` should have a snake case name
[INFO] [stdout]   --> src/main.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn Display(&self) -> String;
[INFO] [stdout]    |        ^^^^^^^ help: convert the identifier to snake case: `display`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `changeString` should have a snake case name
[INFO] [stdout]   --> src/main.rs:97:4
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn changeString(s1: String){
[INFO] [stdout]    |    ^^^^^^^^^^^^ help: convert the identifier to snake case: `change_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `binarySearch` should have a snake case name
[INFO] [stdout]    --> src/main.rs:262:4
[INFO] [stdout]     |
[INFO] [stdout] 262 | fn binarySearch(arr: &[i32], val: i32) -> usize{
[INFO] [stdout]     |    ^^^^^^^^^^^^ help: convert the identifier to snake case: `binary_search`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lib.rs:48:27
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn new(messanger: &T, max:usize) -> LimitTracker<T>{
[INFO] [stdout]    |                           ^^                ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn new(messanger: &T, max:usize) -> LimitTracker<'_, T>{
[INFO] [stdout]    |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let mut count = 0;
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustlearn` (bin "rustlearn") due to 1 previous error; 54 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `s1`
[INFO] [stdout]   --> src/main.rs:97:17
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn changeString(s1: String){
[INFO] [stdout]    |                 ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ans`
[INFO] [stdout]   --> src/main.rs:98:9
[INFO] [stdout]    |
[INFO] [stdout] 98 |     let ans = three_sum(vec![-1,0,1]);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_ans`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let mut candidates = candidates;
[INFO] [stdout]     |         ----^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target`
[INFO] [stdout]    --> src/main.rs:102:46
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub fn combination_sum(candidates: Vec<i32>, target: i32) -> Vec<Vec<i32>> {
[INFO] [stdout]     |                                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 |     let mut cp = list;
[INFO] [stdout]     |         ----^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cp`
[INFO] [stdout]    --> src/main.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 |     let mut cp = list;
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]    --> src/main.rs:163:13
[INFO] [stdout]     |
[INFO] [stdout] 163 |         let c = item;
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]    --> src/main.rs:172:19
[INFO] [stdout]     |
[INFO] [stdout] 172 | fn some_fun<T, U>(t: T, u: U) -> String where T: Display + Clone, U: Clone{
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]    --> src/main.rs:172:25
[INFO] [stdout]     |
[INFO] [stdout] 172 | fn some_fun<T, U>(t: T, u: U) -> String where T: Display + Clone, U: Clone{
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/main.rs:176:17
[INFO] [stdout]     |
[INFO] [stdout] 176 | fn longest2<'a>(x: &str, y: &str) -> String {
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/main.rs:176:26
[INFO] [stdout]     |
[INFO] [stdout] 176 | fn longest2<'a>(x: &str, y: &str) -> String {
[INFO] [stdout]     |                          ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/main.rs:256:9
[INFO] [stdout]     |
[INFO] [stdout] 256 |     let b = &a;
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]    --> src/main.rs:257:9
[INFO] [stdout]     |
[INFO] [stdout] 257 |     let c = &a;
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:266:13
[INFO] [stdout]     |
[INFO] [stdout] 266 |         let mut mid = low + (high-low/2);
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Point` is never constructed
[INFO] [stdout]   --> src/main.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Point<T>{
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Point<T>{
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 12 |     x:T,
[INFO] [stdout]    |     ^
[INFO] [stdout] 13 |     y:T
[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 `largest` is never used
[INFO] [stdout]   --> src/main.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn largest<T: PartialOrd + Copy>(list: &[T]) -> T{
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `longest` is never used
[INFO] [stdout]   --> src/main.rs:56:4
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn longest<'a>(s1: &'a str, s2:&'a str) -> String{
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `changeString` is never used
[INFO] [stdout]   --> src/main.rs:97:4
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn changeString(s1: String){
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `first_word` is never used
[INFO] [stdout]    --> src/main.rs:133:4
[INFO] [stdout]     |
[INFO] [stdout] 133 | fn first_word(s: &String) -> usize{
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_element` is never used
[INFO] [stdout]    --> src/main.rs:144:4
[INFO] [stdout]     |
[INFO] [stdout] 144 | fn add_element(num: &mut Vec<i32>){
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `largest_i32` is never used
[INFO] [stdout]    --> src/main.rs:158:4
[INFO] [stdout]     |
[INFO] [stdout] 158 | fn largest_i32(list: &[i32]) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `some_fun` is never used
[INFO] [stdout]    --> src/main.rs:172:4
[INFO] [stdout]     |
[INFO] [stdout] 172 | fn some_fun<T, U>(t: T, u: U) -> String where T: Display + Clone, U: Clone{
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `longest2` is never used
[INFO] [stdout]    --> src/main.rs:176:4
[INFO] [stdout]     |
[INFO] [stdout] 176 | fn longest2<'a>(x: &str, y: &str) -> String {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyBox` is never constructed
[INFO] [stdout]    --> src/main.rs:192:8
[INFO] [stdout]     |
[INFO] [stdout] 192 | struct MyBox<T>(T);
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/main.rs:203:8
[INFO] [stdout]     |
[INFO] [stdout] 202 | impl<T> MyBox<T> {
[INFO] [stdout]     | ---------------- associated function in this implementation
[INFO] [stdout] 203 |     fn new(x: T) -> MyBox<T> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/main.rs:210:6
[INFO] [stdout]     |
[INFO] [stdout] 208 | impl ListNode {
[INFO] [stdout]     | ------------- associated function in this implementation
[INFO] [stdout] 209 |   #[inline]
[INFO] [stdout] 210 |   fn new(val: i32) -> Self {
[INFO] [stdout]     |      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MockMessanger` is never constructed
[INFO] [stdout]    --> src/main.rs:231:8
[INFO] [stdout]     |
[INFO] [stdout] 231 | struct MockMessanger{
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/main.rs:236:8
[INFO] [stdout]     |
[INFO] [stdout] 235 | impl MockMessanger{
[INFO] [stdout]     | ------------------ associated function in this implementation
[INFO] [stdout] 236 |     fn new() -> MockMessanger{
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `binarySearch` is never used
[INFO] [stdout]    --> src/main.rs:262:4
[INFO] [stdout]     |
[INFO] [stdout] 262 | fn binarySearch(arr: &[i32], val: i32) -> usize{
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `message` is never used
[INFO] [stdout]   --> src/second.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn message(){
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `govern` is never used
[INFO] [stdout]  --> src/second.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 |         pub fn govern() {}
[INFO] [stdout]   |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `legislate` is never used
[INFO] [stdout]  --> src/second.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 |         pub fn legislate() {}
[INFO] [stdout]   |                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `judicial` is never used
[INFO] [stdout]   --> src/second.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 |         fn judicial() {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_in_lib` is never used
[INFO] [stdout]  --> src/lib.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn test_in_lib(){
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `private_fn` is never used
[INFO] [stdout]  --> src/lib.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn private_fn(){
[INFO] [stdout]   |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Display` is never used
[INFO] [stdout]   --> src/lib.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub trait Display{
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Callable` is never used
[INFO] [stdout]   --> src/lib.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub trait Callable{
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]   --> src/lib.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Node{
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_head` is never used
[INFO] [stdout]   --> src/lib.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Node{
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 30 |     fn get_head(&self){
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Messanger` is never used
[INFO] [stdout]   --> src/lib.rs:35:11
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub trait Messanger{
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LimitTracker` is never constructed
[INFO] [stdout]   --> src/lib.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct LimitTracker<'a, T:Messanger>{
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `set_value` are never used
[INFO] [stdout]   --> src/lib.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl<'a, T> LimitTracker<'a, T> where T: Messanger{
[INFO] [stdout]    | -------------------------------------------------- associated items in this implementation
[INFO] [stdout] 48 |     pub fn new(messanger: &T, max:usize) -> LimitTracker<T>{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn set_value(&mut self, value:usize){
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait method `Summarize` should have a snake case name
[INFO] [stdout]   --> src/main.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn Summarize(&self) -> String;
[INFO] [stdout]    |        ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `summarize`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait method `Display` should have a snake case name
[INFO] [stdout]   --> src/main.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn Display(&self) -> String;
[INFO] [stdout]    |        ^^^^^^^ help: convert the identifier to snake case: `display`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `changeString` should have a snake case name
[INFO] [stdout]   --> src/main.rs:97:4
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn changeString(s1: String){
[INFO] [stdout]    |    ^^^^^^^^^^^^ help: convert the identifier to snake case: `change_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `binarySearch` should have a snake case name
[INFO] [stdout]    --> src/main.rs:262:4
[INFO] [stdout]     |
[INFO] [stdout] 262 | fn binarySearch(arr: &[i32], val: i32) -> usize{
[INFO] [stdout]     |    ^^^^^^^^^^^^ help: convert the identifier to snake case: `binary_search`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lib.rs:48:27
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn new(messanger: &T, max:usize) -> LimitTracker<T>{
[INFO] [stdout]    |                           ^^                ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn new(messanger: &T, max:usize) -> LimitTracker<'_, T>{
[INFO] [stdout]    |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustlearn` (bin "rustlearn" test) due to 1 previous error; 54 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f58a14d13215b4f02277dbe4d3423322ac3d0ddadfcd44a31a365ef65edac843", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f58a14d13215b4f02277dbe4d3423322ac3d0ddadfcd44a31a365ef65edac843", kill_on_drop: false }`
[INFO] [stdout] f58a14d13215b4f02277dbe4d3423322ac3d0ddadfcd44a31a365ef65edac843
