[INFO] cloning repository https://github.com/Abhishek8394/rust-tut-basics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Abhishek8394/rust-tut-basics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbhishek8394%2Frust-tut-basics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbhishek8394%2Frust-tut-basics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 62f62d3624994b41db874b52c2e0b11b72057d11 [INFO] checking Abhishek8394/rust-tut-basics against master#cced03bfd61a304243a34504618ecec86c17063f for pr-157082 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbhishek8394%2Frust-tut-basics" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Abhishek8394/rust-tut-basics [INFO] finished tweaking git repo https://github.com/Abhishek8394/rust-tut-basics [INFO] tweaked toml for git repo https://github.com/Abhishek8394/rust-tut-basics written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Abhishek8394/rust-tut-basics on toolchain cced03bfd61a304243a34504618ecec86c17063f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Abhishek8394/rust-tut-basics 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" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 10 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 [INFO] [stderr] Adding cloudabi v0.0.3 [INFO] [stderr] Adding fuchsia-cprng v0.1.1 [INFO] [stderr] Adding libc v0.2.186 [INFO] [stderr] Adding rand v0.5.6 (available: v0.10.1) [INFO] [stderr] Adding rand_core v0.3.1 [INFO] [stderr] Adding rand_core v0.4.2 [INFO] [stderr] Adding winapi v0.3.9 [INFO] [stderr] Adding winapi-i686-pc-windows-gnu v0.4.0 [INFO] [stderr] Adding winapi-x86_64-pc-windows-gnu v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] f5a027d7a1c6366d002c63819b2bba6845926fe12316cf6e47008fe215d1dc2c [INFO] running `Command { std: "docker" "start" "f5a027d7a1c6366d002c63819b2bba6845926fe12316cf6e47008fe215d1dc2c", 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" "f5a027d7a1c6366d002c63819b2bba6845926fe12316cf6e47008fe215d1dc2c" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5a027d7a1c6366d002c63819b2bba6845926fe12316cf6e47008fe215d1dc2c", 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" "f5a027d7a1c6366d002c63819b2bba6845926fe12316cf6e47008fe215d1dc2c" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking variables v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::panic_exc::unrecoverable as Unrec` [INFO] [stdout] --> src/main.rs:550:7 [INFO] [stdout] | [INFO] [stdout] 550 | use crate::panic_exc::unrecoverable as Unrec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:680:4 [INFO] [stdout] | [INFO] [stdout] 680 | if(x.len() > y.len()){ [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] 680 - if(x.len() > y.len()){ [INFO] [stdout] 680 + if x.len() > y.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:692:4 [INFO] [stdout] | [INFO] [stdout] 692 | if(x.len() > y.len()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 692 - if(x.len() > y.len()){ [INFO] [stdout] 692 + if x.len() > y.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:774:5 [INFO] [stdout] | [INFO] [stdout] 774 | if(self.is_reply){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 774 - if(self.is_reply){ [INFO] [stdout] 774 + if self.is_reply { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around `for` iterator expression [INFO] [stdout] --> src/main.rs:872:11 [INFO] [stdout] | [INFO] [stdout] 872 | for i in {0..n} { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 872 - for i in {0..n} { [INFO] [stdout] 872 + for i in 0..n { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::panic_exc::unrecoverable as Unrec` [INFO] [stdout] --> src/main.rs:550:7 [INFO] [stdout] | [INFO] [stdout] 550 | use crate::panic_exc::unrecoverable as Unrec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:680:4 [INFO] [stdout] | [INFO] [stdout] 680 | if(x.len() > y.len()){ [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] 680 - if(x.len() > y.len()){ [INFO] [stdout] 680 + if x.len() > y.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:692:4 [INFO] [stdout] | [INFO] [stdout] 692 | if(x.len() > y.len()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 692 - if(x.len() > y.len()){ [INFO] [stdout] 692 + if x.len() > y.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:774:5 [INFO] [stdout] | [INFO] [stdout] 774 | if(self.is_reply){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 774 - if(self.is_reply){ [INFO] [stdout] 774 + if self.is_reply { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around `for` iterator expression [INFO] [stdout] --> src/main.rs:872:11 [INFO] [stdout] | [INFO] [stdout] 872 | for i in {0..n} { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 872 - for i in {0..n} { [INFO] [stdout] 872 + for i in 0..n { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/panic_exc.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | 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: `f` [INFO] [stdout] --> src/panic_exc.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let f = File::open("hello.txt").unwrap_or_else(|err| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/panic_exc.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let f = File::open("hello.txt").unwrap_or_else(|err| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/panic_exc.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | 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: `f` [INFO] [stdout] --> src/panic_exc.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let f = File::open("hello.txt").unwrap_or_else(|err| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/panic_exc.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let f = File::open("hello.txt").unwrap_or_else(|err| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:247:7 [INFO] [stdout] | [INFO] [stdout] 247 | let mut s1 = String::from("quick brown"); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:526:7 [INFO] [stdout] | [INFO] [stdout] 526 | let mut scores: HashMap<_, _> = teams.iter().zip(points.iter()).collect(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/main.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 51 | let b = [3; 4]; // => b = [3, 3, 3, 3] [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sum` [INFO] [stdout] --> src/main.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 52 | let sum = for element in a.iter(){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> src/main.rs:249:7 [INFO] [stdout] | [INFO] [stdout] 249 | let hello = hello_return(&s1); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> src/main.rs:259:7 [INFO] [stdout] | [INFO] [stdout] 259 | let s1 = String::from("range string"); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `home` [INFO] [stdout] --> src/main.rs:326:10 [INFO] [stdout] | [INFO] [stdout] 326 | let home = StrictIpAddr::V4(127, 0, 0, 1); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_home` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `homev6` [INFO] [stdout] --> src/main.rs:327:10 [INFO] [stdout] | [INFO] [stdout] 327 | let homev6 = StrictIpAddr::V6(String::from("::1")); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_homev6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nonum` [INFO] [stdout] --> src/main.rs:348:7 [INFO] [stdout] | [INFO] [stdout] 348 | let nonum: Option = Option::None; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nonum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:392:7 [INFO] [stdout] | [INFO] [stdout] 392 | let v: Vec = Vec::new(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:468:7 [INFO] [stdout] | [INFO] [stdout] 468 | let s = String::new(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/main.rs:627:8 [INFO] [stdout] | [INFO] [stdout] 627 | let z = String::from("I am number FIVE!"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:247:7 [INFO] [stdout] | [INFO] [stdout] 247 | let mut s1 = String::from("quick brown"); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:526:7 [INFO] [stdout] | [INFO] [stdout] 526 | let mut scores: HashMap<_, _> = teams.iter().zip(points.iter()).collect(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/main.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 51 | let b = [3; 4]; // => b = [3, 3, 3, 3] [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sum` [INFO] [stdout] --> src/main.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 52 | let sum = for element in a.iter(){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> src/main.rs:249:7 [INFO] [stdout] | [INFO] [stdout] 249 | let hello = hello_return(&s1); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> src/main.rs:259:7 [INFO] [stdout] | [INFO] [stdout] 259 | let s1 = String::from("range string"); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `home` [INFO] [stdout] --> src/main.rs:326:10 [INFO] [stdout] | [INFO] [stdout] 326 | let home = StrictIpAddr::V4(127, 0, 0, 1); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_home` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `homev6` [INFO] [stdout] --> src/main.rs:327:10 [INFO] [stdout] | [INFO] [stdout] 327 | let homev6 = StrictIpAddr::V6(String::from("::1")); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_homev6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nonum` [INFO] [stdout] --> src/main.rs:348:7 [INFO] [stdout] | [INFO] [stdout] 348 | let nonum: Option = Option::None; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nonum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:392:7 [INFO] [stdout] | [INFO] [stdout] 392 | let v: Vec = Vec::new(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:468:7 [INFO] [stdout] | [INFO] [stdout] 468 | let s = String::new(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/main.rs:627:8 [INFO] [stdout] | [INFO] [stdout] 627 | let z = String::from("I am number FIVE!"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:872:6 [INFO] [stdout] | [INFO] [stdout] 872 | for i in {0..n} { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:971:17 [INFO] [stdout] | [INFO] [stdout] 971 | fn hello_return(s: &str) -> &str{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:872:6 [INFO] [stdout] | [INFO] [stdout] 872 | for i in {0..n} { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `version` and `announce_no_lifetime` are never used [INFO] [stdout] --> src/main.rs:653:5 [INFO] [stdout] | [INFO] [stdout] 652 | impl<'a> ImportantExcerpt<'a>{ [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] 653 | fn version(&self)->i32{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 668 | fn announce_no_lifetime(&self, ann: &str) -> &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: field `content` is never read [INFO] [stdout] --> src/main.rs:755:2 [INFO] [stdout] | [INFO] [stdout] 753 | struct NewsArticle{ [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 754 | author: String, [INFO] [stdout] 755 | content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `username` is never read [INFO] [stdout] --> src/main.rs:761:2 [INFO] [stdout] | [INFO] [stdout] 760 | struct Tweet{ [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 761 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:809:6 [INFO] [stdout] | [INFO] [stdout] 809 | Int(i32), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpreadsheetCell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 809 - Int(i32), [INFO] [stdout] 809 + Int(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:810:8 [INFO] [stdout] | [INFO] [stdout] 810 | Float(f64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpreadsheetCell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 810 - Float(f64), [INFO] [stdout] 810 + Float(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:811:7 [INFO] [stdout] | [INFO] [stdout] 811 | Text(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpreadsheetCell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 811 - Text(String), [INFO] [stdout] 811 + Text(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NewYork` is never constructed [INFO] [stdout] --> src/main.rs:846:2 [INFO] [stdout] | [INFO] [stdout] 844 | enum USState{ [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 845 | California, [INFO] [stdout] 846 | NewYork, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `USState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Penny`, `Nickel`, and `Dime` are never constructed [INFO] [stdout] --> src/main.rs:851:2 [INFO] [stdout] | [INFO] [stdout] 850 | enum Coin{ [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 851 | Penny, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 852 | Nickel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 853 | Dime, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Coin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:971:17 [INFO] [stdout] | [INFO] [stdout] 971 | fn hello_return(s: &str) -> &str{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> src/main.rs:891:5 [INFO] [stdout] | [INFO] [stdout] 891 | V4(u8, u8, u8, u8), [INFO] [stdout] | -- ^^ ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StrictIpAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 891 - V4(u8, u8, u8, u8), [INFO] [stdout] 891 + V4((), (), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:892:5 [INFO] [stdout] | [INFO] [stdout] 892 | V6(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StrictIpAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 892 - V6(String), [INFO] [stdout] 892 + V6(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `formatted` is never used [INFO] [stdout] --> src/main.rs:896:5 [INFO] [stdout] | [INFO] [stdout] 895 | impl StrictIpAddr { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 896 | fn formatted(&self){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/main.rs:903:8 [INFO] [stdout] | [INFO] [stdout] 903 | Move {x: i32, y: i32}, [INFO] [stdout] | ---- ^ ^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:904:14 [INFO] [stdout] | [INFO] [stdout] 904 | ChangeColor(RGBtup), [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 904 - ChangeColor(RGBtup), [INFO] [stdout] 904 + ChangeColor(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sign_in_count` and `active` are never read [INFO] [stdout] --> src/main.rs:924:2 [INFO] [stdout] | [INFO] [stdout] 921 | struct User{ [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 924 | sign_in_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 925 | active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deliberate_panic` is never used [INFO] [stdout] --> src/panic_exc.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn deliberate_panic(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `accident_panic` is never used [INFO] [stdout] --> src/panic_exc.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn accident_panic(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `version` and `announce_no_lifetime` are never used [INFO] [stdout] --> src/main.rs:653:5 [INFO] [stdout] | [INFO] [stdout] 652 | impl<'a> ImportantExcerpt<'a>{ [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] 653 | fn version(&self)->i32{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 668 | fn announce_no_lifetime(&self, ann: &str) -> &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: field `content` is never read [INFO] [stdout] --> src/main.rs:755:2 [INFO] [stdout] | [INFO] [stdout] 753 | struct NewsArticle{ [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 754 | author: String, [INFO] [stdout] 755 | content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `username` is never read [INFO] [stdout] --> src/main.rs:761:2 [INFO] [stdout] | [INFO] [stdout] 760 | struct Tweet{ [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 761 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:809:6 [INFO] [stdout] | [INFO] [stdout] 809 | Int(i32), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpreadsheetCell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 809 - Int(i32), [INFO] [stdout] 809 + Int(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:810:8 [INFO] [stdout] | [INFO] [stdout] 810 | Float(f64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpreadsheetCell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 810 - Float(f64), [INFO] [stdout] 810 + Float(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:811:7 [INFO] [stdout] | [INFO] [stdout] 811 | Text(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpreadsheetCell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 811 - Text(String), [INFO] [stdout] 811 + Text(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NewYork` is never constructed [INFO] [stdout] --> src/main.rs:846:2 [INFO] [stdout] | [INFO] [stdout] 844 | enum USState{ [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 845 | California, [INFO] [stdout] 846 | NewYork, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `USState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Penny`, `Nickel`, and `Dime` are never constructed [INFO] [stdout] --> src/main.rs:851:2 [INFO] [stdout] | [INFO] [stdout] 850 | enum Coin{ [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 851 | Penny, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 852 | Nickel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 853 | Dime, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Coin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> src/main.rs:891:5 [INFO] [stdout] | [INFO] [stdout] 891 | V4(u8, u8, u8, u8), [INFO] [stdout] | -- ^^ ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StrictIpAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 891 - V4(u8, u8, u8, u8), [INFO] [stdout] 891 + V4((), (), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `idPrint` should have a snake case name [INFO] [stdout] --> src/main.rs:930:5 [INFO] [stdout] | [INFO] [stdout] 930 | fn idPrint(&self){ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `id_print` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:892:5 [INFO] [stdout] | [INFO] [stdout] 892 | V6(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StrictIpAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 892 - V6(String), [INFO] [stdout] 892 + V6(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `formatted` is never used [INFO] [stdout] --> src/main.rs:896:5 [INFO] [stdout] | [INFO] [stdout] 895 | impl StrictIpAddr { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 896 | fn formatted(&self){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getMaxSigninAttempts` should have a snake case name [INFO] [stdout] --> src/main.rs:937:5 [INFO] [stdout] | [INFO] [stdout] 937 | fn getMaxSigninAttempts()->u32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_max_signin_attempts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/main.rs:903:8 [INFO] [stdout] | [INFO] [stdout] 903 | Move {x: i32, y: i32}, [INFO] [stdout] | ---- ^ ^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:904:14 [INFO] [stdout] | [INFO] [stdout] 904 | ChangeColor(RGBtup), [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 904 - ChangeColor(RGBtup), [INFO] [stdout] 904 + ChangeColor(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sign_in_count` and `active` are never read [INFO] [stdout] --> src/main.rs:924:2 [INFO] [stdout] | [INFO] [stdout] 921 | struct User{ [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 924 | sign_in_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 925 | active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deliberate_panic` is never used [INFO] [stdout] --> src/panic_exc.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn deliberate_panic(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `accident_panic` is never used [INFO] [stdout] --> src/panic_exc.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn accident_panic(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/panic_exc.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | ... panic!(e2); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 37 | panic!("{}", e2); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 37 - panic!(e2); [INFO] [stdout] 37 + std::panic::panic_any(e2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/panic_exc.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | panic!(e); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 43 | panic!("{}", e); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 43 - panic!(e); [INFO] [stdout] 43 + std::panic::panic_any(e); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/panic_exc.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | panic!(err); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 57 | panic!("{}", err); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 57 - panic!(err); [INFO] [stdout] 57 + std::panic::panic_any(err); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/panic_exc.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | panic!(err); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 61 | panic!("{}", err); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 61 - panic!(err); [INFO] [stdout] 61 + std::panic::panic_any(err); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/panic_exc.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | panic!(err); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 73 | panic!("{}", err); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 73 - panic!(err); [INFO] [stdout] 73 + std::panic::panic_any(err); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/panic_exc.rs:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | Err(e) => panic!(e) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 84 | Err(e) => panic!("{}", e) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 84 - Err(e) => panic!(e) [INFO] [stdout] 84 + Err(e) => std::panic::panic_any(e) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `idPrint` should have a snake case name [INFO] [stdout] --> src/main.rs:930:5 [INFO] [stdout] | [INFO] [stdout] 930 | fn idPrint(&self){ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `id_print` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getMaxSigninAttempts` should have a snake case name [INFO] [stdout] --> src/main.rs:937:5 [INFO] [stdout] | [INFO] [stdout] 937 | fn getMaxSigninAttempts()->u32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_max_signin_attempts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/panic_exc.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | ... panic!(e2); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 37 | panic!("{}", e2); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 37 - panic!(e2); [INFO] [stdout] 37 + std::panic::panic_any(e2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/panic_exc.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | panic!(e); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 43 | panic!("{}", e); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 43 - panic!(e); [INFO] [stdout] 43 + std::panic::panic_any(e); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/panic_exc.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | panic!(err); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 57 | panic!("{}", err); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 57 - panic!(err); [INFO] [stdout] 57 + std::panic::panic_any(err); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/panic_exc.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | panic!(err); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 61 | panic!("{}", err); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 61 - panic!(err); [INFO] [stdout] 61 + std::panic::panic_any(err); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/panic_exc.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | panic!(err); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 73 | panic!("{}", err); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 73 - panic!(err); [INFO] [stdout] 73 + std::panic::panic_any(err); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/panic_exc.rs:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | Err(e) => panic!(e) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 84 | Err(e) => panic!("{}", e) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 84 - Err(e) => panic!(e) [INFO] [stdout] 84 + Err(e) => std::panic::panic_any(e) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.90s [INFO] running `Command { std: "docker" "inspect" "f5a027d7a1c6366d002c63819b2bba6845926fe12316cf6e47008fe215d1dc2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5a027d7a1c6366d002c63819b2bba6845926fe12316cf6e47008fe215d1dc2c", kill_on_drop: false }` [INFO] [stdout] f5a027d7a1c6366d002c63819b2bba6845926fe12316cf6e47008fe215d1dc2c