[INFO] cloning repository https://github.com/ICimpoes/rusty-train [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ICimpoes/rusty-train" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FICimpoes%2Frusty-train", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FICimpoes%2Frusty-train'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f5849823762ca3e361642003d886bc612bb14d8c [INFO] testing ICimpoes/rusty-train against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FICimpoes%2Frusty-train" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ICimpoes/rusty-train on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ICimpoes/rusty-train [INFO] finished tweaking git repo https://github.com/ICimpoes/rusty-train [INFO] tweaked toml for git repo https://github.com/ICimpoes/rusty-train written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/ICimpoes/rusty-train already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 203c1f1051684fde50c60d7988ad6e869293e108d413109678b1bcfcaf8f02cd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "203c1f1051684fde50c60d7988ad6e869293e108d413109678b1bcfcaf8f02cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "203c1f1051684fde50c60d7988ad6e869293e108d413109678b1bcfcaf8f02cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "203c1f1051684fde50c60d7988ad6e869293e108d413109678b1bcfcaf8f02cd", kill_on_drop: false }` [INFO] [stdout] 203c1f1051684fde50c60d7988ad6e869293e108d413109678b1bcfcaf8f02cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40adc1946156a3e8ff09afb63165673986b9a599ea4a6f943ddfa86b7df22751 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "40adc1946156a3e8ff09afb63165673986b9a599ea4a6f943ddfa86b7df22751", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.40 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling rusty-train v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `try_me` [INFO] [stdout] --> src/communicator/lib/mod.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn try_me() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `prints_and_returns_10` [INFO] [stdout] --> src/communicator/lib/mod.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn prints_and_returns_10(a: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `middle_function` [INFO] [stdout] --> src/communicator/lib/mod.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn middle_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `middle_secret_function` [INFO] [stdout] --> src/communicator/lib/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn middle_secret_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `inner_function` [INFO] [stdout] --> src/communicator/lib/mod.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn inner_function() {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `secret_function` [INFO] [stdout] --> src/communicator/lib/mod.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | fn secret_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `inner_function` [INFO] [stdout] --> src/communicator/lib/mod.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn inner_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip_type` [INFO] [stdout] --> src/chapter6/bin/main.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | fn route(ip_type: IpAddrKind) { } [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ip_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/chapter6/bin/main.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | let x = some_string.and_then(|x: &str| Some("sf")); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `six` [INFO] [stdout] --> src/chapter6/bin/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let six = IpAddrKind::V6; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_six` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `home` [INFO] [stdout] --> src/chapter6/bin/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let home = IpAddr::V4(String::from("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: `loopback` [INFO] [stdout] --> src/chapter6/bin/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let loopback = IpAddr::V6(String::from("::1")); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loopback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `home` [INFO] [stdout] --> src/chapter6/bin/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let home = IpAddr2::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: `loopback` [INFO] [stdout] --> src/chapter6/bin/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let loopback = IpAddr2::V6(String::from("::1")); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loopback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `count` is assigned to, but never used [INFO] [stdout] --> src/chapter6/bin/main.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let mut count = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `count` is never read [INFO] [stdout] --> src/chapter6/bin/main.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | count += 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Quit` [INFO] [stdout] --> src/chapter6/bin/main.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Move` [INFO] [stdout] --> src/chapter6/bin/main.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | Move { x: i32, y: i32 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ChangeColor` [INFO] [stdout] --> src/chapter6/bin/main.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | ChangeColor(i32, i32, i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Alaska` [INFO] [stdout] --> src/chapter6/bin/main.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | Alaska, [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] --> src/chapter6/bin/main.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Nickel` [INFO] [stdout] --> src/chapter6/bin/main.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | Nickel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `black` [INFO] [stdout] --> src/chapter5/bin/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let black = Color(0, 0, 0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_black` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> src/chapter5/bin/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let origin = Point(0, 0, 0); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Red`, `Yellow` [INFO] [stdout] --> src/chapter7/bin/main.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use communicator::TrafficLight::{Red, Yellow}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `red` [INFO] [stdout] --> src/chapter7/bin/main.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let red = Red; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_red` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yellow` [INFO] [stdout] --> src/chapter7/bin/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let yellow = Yellow; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_yellow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `green` [INFO] [stdout] --> src/chapter7/bin/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let green = communicator::TrafficLight::Green; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_green` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `green` [INFO] [stdout] --> src/chapter7/bin/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let green = Green; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_green` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/collections/bin/main.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ------------------------- the item `HashMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 122 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/collections/bin/main.rs:181:14 [INFO] [stdout] | [INFO] [stdout] 181 | t += (*i as f32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 181 - t += (*i as f32); [INFO] [stdout] 181 + t += *i as f32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/lifetimes/bin/main.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | let s: &'static str = "asdsa"; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/lifetimes/bin/main.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | fn longest2<'a>(x: &'a str, y: &str) -> &'a str { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/lifetimes/bin/main.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | fn longest3<'a>(x: &'a str, y: &str) -> &'a str { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `username` [INFO] [stdout] --> src/chapter5/bin/main.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | username: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chapter5/bin/main.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `email` [INFO] [stdout] --> src/chapter5/bin/main.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | email: String, [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] --> src/chapter5/bin/main.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sign_in_count` [INFO] [stdout] --> src/chapter5/bin/main.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | sign_in_count: u64, [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] --> src/chapter5/bin/main.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `active` [INFO] [stdout] --> src/chapter5/bin/main.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | 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] --> src/chapter5/bin/main.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_user` [INFO] [stdout] --> src/chapter5/bin/main.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | fn build_user(email: String, username: String) -> User { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `longest3` [INFO] [stdout] --> src/lifetimes/bin/main.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn longest3<'a>(x: &'a str, y: &str) -> &'a str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `a` [INFO] [stdout] --> src/lifetimes/bin/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | a: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `level` [INFO] [stdout] --> src/lifetimes/bin/main.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | fn level(&self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `a` [INFO] [stdout] --> src/lifetimes/bin/main.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn a(&self) -> &str { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `longest_with_an_announcement` [INFO] [stdout] --> src/lifetimes/bin/main.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn longest_with_an_announcement<'a, T>(x: &'a str, y: &'a str, ann: T) -> &'a str [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `black` [INFO] [stdout] --> src/chapter3/bin/main.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let black = Color(0, 0, 0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_black` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> src/chapter3/bin/main.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | let origin = Point(0, 0, 0); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gives_ownership` [INFO] [stdout] --> src/chapter3/bin/main.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn gives_ownership() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `takes_and_gives_back` [INFO] [stdout] --> src/chapter3/bin/main.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn takes_and_gives_back(a_string: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `no_dangle` [INFO] [stdout] --> src/chapter3/bin/main.rs:149:4 [INFO] [stdout] | [INFO] [stdout] 149 | fn no_dangle() -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `username` [INFO] [stdout] --> src/chapter3/bin/main.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | username: String, [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] --> src/chapter3/bin/main.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/errors/bin/main.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let v = vec![1, 2, 3]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/errors/bin/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let f = match f { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `email` [INFO] [stdout] --> src/chapter3/bin/main.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | email: String, [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] --> src/chapter3/bin/main.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sign_in_count` [INFO] [stdout] --> src/chapter3/bin/main.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | sign_in_count: u64, [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] --> src/chapter3/bin/main.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `active` [INFO] [stdout] --> src/chapter3/bin/main.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | 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] --> src/chapter3/bin/main.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_user` [INFO] [stdout] --> src/chapter3/bin/main.rs:187:4 [INFO] [stdout] | [INFO] [stdout] 187 | fn build_user(email: String, username: String) -> User { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_username_from_file` [INFO] [stdout] --> src/errors/bin/main.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn read_username_from_file() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_username_from_file2` [INFO] [stdout] --> src/errors/bin/main.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn read_username_from_file2() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `openFile` should have a snake case name [INFO] [stdout] --> src/errors/bin/main.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn openFile() { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `open_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/traits/bin/main.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | fn some_function(t: T, u: U) -> i32 [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/traits/bin/main.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | fn some_function(t: T, u: U) -> i32 [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> src/collections/bin/main.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let s1 = String::from("hello"); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `some_function` [INFO] [stdout] --> src/traits/bin/main.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn some_function(t: T, u: U) -> i32 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scores` [INFO] [stdout] --> src/collections/bin/main.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | let scores: HashMap<_, _> = zipped.collect(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_scores` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Pair` [INFO] [stdout] --> src/traits/bin/main.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | struct Pair { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/traits/bin/main.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | fn new(x: T, y: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cmp_display` [INFO] [stdout] --> src/traits/bin/main.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | fn cmp_display(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `max_ch` [INFO] [stdout] --> src/generics/bin/main.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn max_ch(list: &[char]) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/generics/bin/main.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | x: T, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Point2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/generics/bin/main.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/generics/bin/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | y: U, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Point2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/generics/bin/main.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collections/bin/main.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let mut s = String::new(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.44s [INFO] running `Command { std: "docker" "inspect" "40adc1946156a3e8ff09afb63165673986b9a599ea4a6f943ddfa86b7df22751", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40adc1946156a3e8ff09afb63165673986b9a599ea4a6f943ddfa86b7df22751", kill_on_drop: false }` [INFO] [stdout] 40adc1946156a3e8ff09afb63165673986b9a599ea4a6f943ddfa86b7df22751 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1d6f89c82a5b1c06f58db82fe8d63f3f932accfbff9067fc9b6b4edbcf1435d6 [INFO] running `Command { std: "docker" "start" "-a" "1d6f89c82a5b1c06f58db82fe8d63f3f932accfbff9067fc9b6b4edbcf1435d6", kill_on_drop: false }` [INFO] [stderr] Compiling rusty-train v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `try_me` [INFO] [stdout] --> src/communicator/lib/mod.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn try_me() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `prints_and_returns_10` [INFO] [stdout] --> src/communicator/lib/mod.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn prints_and_returns_10(a: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `middle_function` [INFO] [stdout] --> src/communicator/lib/mod.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn middle_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `middle_secret_function` [INFO] [stdout] --> src/communicator/lib/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn middle_secret_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `inner_function` [INFO] [stdout] --> src/communicator/lib/mod.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn inner_function() {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `secret_function` [INFO] [stdout] --> src/communicator/lib/mod.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | fn secret_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `inner_function` [INFO] [stdout] --> src/communicator/lib/mod.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn inner_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/lifetimes/bin/main.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | let s: &'static str = "asdsa"; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/lifetimes/bin/main.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | fn longest2<'a>(x: &'a str, y: &str) -> &'a str { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/lifetimes/bin/main.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | fn longest3<'a>(x: &'a str, y: &str) -> &'a str { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `longest3` [INFO] [stdout] --> src/lifetimes/bin/main.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn longest3<'a>(x: &'a str, y: &str) -> &'a str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `a` [INFO] [stdout] --> src/lifetimes/bin/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | a: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `level` [INFO] [stdout] --> src/lifetimes/bin/main.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | fn level(&self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `a` [INFO] [stdout] --> src/lifetimes/bin/main.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn a(&self) -> &str { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `longest_with_an_announcement` [INFO] [stdout] --> src/lifetimes/bin/main.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn longest_with_an_announcement<'a, T>(x: &'a str, y: &'a str, ann: T) -> &'a str [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Red`, `Yellow` [INFO] [stdout] --> src/chapter7/bin/main.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use communicator::TrafficLight::{Red, Yellow}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `red` [INFO] [stdout] --> src/chapter7/bin/main.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let red = Red; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_red` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yellow` [INFO] [stdout] --> src/chapter7/bin/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let yellow = Yellow; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_yellow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `green` [INFO] [stdout] --> src/chapter7/bin/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let green = communicator::TrafficLight::Green; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_green` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `green` [INFO] [stdout] --> src/chapter7/bin/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let green = Green; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_green` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip_type` [INFO] [stdout] --> src/chapter6/bin/main.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | fn route(ip_type: IpAddrKind) { } [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ip_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/chapter6/bin/main.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | let x = some_string.and_then(|x: &str| Some("sf")); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `six` [INFO] [stdout] --> src/chapter6/bin/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let six = IpAddrKind::V6; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_six` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `home` [INFO] [stdout] --> src/chapter6/bin/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let home = IpAddr::V4(String::from("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: `loopback` [INFO] [stdout] --> src/chapter6/bin/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let loopback = IpAddr::V6(String::from("::1")); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loopback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `home` [INFO] [stdout] --> src/chapter6/bin/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let home = IpAddr2::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: `loopback` [INFO] [stdout] --> src/chapter6/bin/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let loopback = IpAddr2::V6(String::from("::1")); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loopback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `count` is assigned to, but never used [INFO] [stdout] --> src/chapter6/bin/main.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let mut count = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `count` is never read [INFO] [stdout] --> src/chapter6/bin/main.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | count += 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Quit` [INFO] [stdout] --> src/chapter6/bin/main.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Move` [INFO] [stdout] --> src/chapter6/bin/main.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | Move { x: i32, y: i32 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ChangeColor` [INFO] [stdout] --> src/chapter6/bin/main.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | ChangeColor(i32, i32, i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Alaska` [INFO] [stdout] --> src/chapter6/bin/main.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | Alaska, [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] --> src/chapter6/bin/main.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Nickel` [INFO] [stdout] --> src/chapter6/bin/main.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | Nickel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `black` [INFO] [stdout] --> src/chapter5/bin/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let black = Color(0, 0, 0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_black` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> src/chapter5/bin/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let origin = Point(0, 0, 0); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `username` [INFO] [stdout] --> src/chapter5/bin/main.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | username: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chapter5/bin/main.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `email` [INFO] [stdout] --> src/chapter5/bin/main.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | email: String, [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] --> src/chapter5/bin/main.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sign_in_count` [INFO] [stdout] --> src/chapter5/bin/main.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | sign_in_count: u64, [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] --> src/chapter5/bin/main.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `active` [INFO] [stdout] --> src/chapter5/bin/main.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | 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] --> src/chapter5/bin/main.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_user` [INFO] [stdout] --> src/chapter5/bin/main.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | fn build_user(email: String, username: String) -> User { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/traits/bin/main.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | fn some_function(t: T, u: U) -> i32 [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/traits/bin/main.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | fn some_function(t: T, u: U) -> i32 [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `some_function` [INFO] [stdout] --> src/traits/bin/main.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn some_function(t: T, u: U) -> i32 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Pair` [INFO] [stdout] --> src/traits/bin/main.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | struct Pair { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/traits/bin/main.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | fn new(x: T, y: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cmp_display` [INFO] [stdout] --> src/traits/bin/main.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | fn cmp_display(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `max_ch` [INFO] [stdout] --> src/generics/bin/main.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn max_ch(list: &[char]) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/generics/bin/main.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | x: T, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Point2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/generics/bin/main.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/generics/bin/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | y: U, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Point2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/generics/bin/main.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/errors/bin/main.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let v = vec![1, 2, 3]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/errors/bin/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let f = match f { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_username_from_file` [INFO] [stdout] --> src/errors/bin/main.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn read_username_from_file() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_username_from_file2` [INFO] [stdout] --> src/errors/bin/main.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn read_username_from_file2() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `openFile` should have a snake case name [INFO] [stdout] --> src/errors/bin/main.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn openFile() { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `open_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/collections/bin/main.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ------------------------- the item `HashMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 122 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/collections/bin/main.rs:181:14 [INFO] [stdout] | [INFO] [stdout] 181 | t += (*i as f32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 181 - t += (*i as f32); [INFO] [stdout] 181 + t += *i as f32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> src/collections/bin/main.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let s1 = String::from("hello"); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scores` [INFO] [stdout] --> src/collections/bin/main.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | let scores: HashMap<_, _> = zipped.collect(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_scores` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collections/bin/main.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let mut s = String::new(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `black` [INFO] [stdout] --> src/chapter3/bin/main.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let black = Color(0, 0, 0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_black` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> src/chapter3/bin/main.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | let origin = Point(0, 0, 0); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gives_ownership` [INFO] [stdout] --> src/chapter3/bin/main.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn gives_ownership() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `takes_and_gives_back` [INFO] [stdout] --> src/chapter3/bin/main.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn takes_and_gives_back(a_string: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `no_dangle` [INFO] [stdout] --> src/chapter3/bin/main.rs:149:4 [INFO] [stdout] | [INFO] [stdout] 149 | fn no_dangle() -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `username` [INFO] [stdout] --> src/chapter3/bin/main.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | username: String, [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] --> src/chapter3/bin/main.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `email` [INFO] [stdout] --> src/chapter3/bin/main.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | email: String, [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] --> src/chapter3/bin/main.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sign_in_count` [INFO] [stdout] --> src/chapter3/bin/main.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | sign_in_count: u64, [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] --> src/chapter3/bin/main.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `active` [INFO] [stdout] --> src/chapter3/bin/main.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | 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] --> src/chapter3/bin/main.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_user` [INFO] [stdout] --> src/chapter3/bin/main.rs:187:4 [INFO] [stdout] | [INFO] [stdout] 187 | fn build_user(email: String, username: String) -> User { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/errors/bin/main.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let v = vec![1, 2, 3]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/errors/bin/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let f = match f { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip_type` [INFO] [stdout] --> src/chapter6/bin/main.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | fn route(ip_type: IpAddrKind) { } [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ip_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/chapter6/bin/main.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | let x = some_string.and_then(|x: &str| Some("sf")); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `six` [INFO] [stdout] --> src/chapter6/bin/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let six = IpAddrKind::V6; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_six` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `home` [INFO] [stdout] --> src/chapter6/bin/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let home = IpAddr::V4(String::from("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: `loopback` [INFO] [stdout] --> src/chapter6/bin/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let loopback = IpAddr::V6(String::from("::1")); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loopback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `home` [INFO] [stdout] --> src/chapter6/bin/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let home = IpAddr2::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: `loopback` [INFO] [stdout] --> src/chapter6/bin/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let loopback = IpAddr2::V6(String::from("::1")); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loopback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `count` is assigned to, but never used [INFO] [stdout] --> src/chapter6/bin/main.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let mut count = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `count` is never read [INFO] [stdout] --> src/chapter6/bin/main.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | count += 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_username_from_file` [INFO] [stdout] --> src/errors/bin/main.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn read_username_from_file() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_username_from_file2` [INFO] [stdout] --> src/errors/bin/main.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn read_username_from_file2() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `openFile` should have a snake case name [INFO] [stdout] --> src/errors/bin/main.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn openFile() { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `open_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Quit` [INFO] [stdout] --> src/chapter6/bin/main.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Move` [INFO] [stdout] --> src/chapter6/bin/main.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | Move { x: i32, y: i32 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ChangeColor` [INFO] [stdout] --> src/chapter6/bin/main.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | ChangeColor(i32, i32, i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Alaska` [INFO] [stdout] --> src/chapter6/bin/main.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | Alaska, [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] --> src/chapter6/bin/main.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Nickel` [INFO] [stdout] --> src/chapter6/bin/main.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | Nickel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `black` [INFO] [stdout] --> src/chapter3/bin/main.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let black = Color(0, 0, 0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_black` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> src/chapter3/bin/main.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | let origin = Point(0, 0, 0); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/collections/bin/main.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ------------------------- the item `HashMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 122 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/traits/bin/main.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | fn some_function(t: T, u: U) -> i32 [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/collections/bin/main.rs:181:14 [INFO] [stdout] | [INFO] [stdout] 181 | t += (*i as f32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 181 - t += (*i as f32); [INFO] [stdout] 181 + t += *i as f32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/traits/bin/main.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | fn some_function(t: T, u: U) -> i32 [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `some_function` [INFO] [stdout] --> src/traits/bin/main.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn some_function(t: T, u: U) -> i32 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `max_ch` [INFO] [stdout] --> src/generics/bin/main.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn max_ch(list: &[char]) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gives_ownership` [INFO] [stdout] --> src/chapter3/bin/main.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn gives_ownership() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/generics/bin/main.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | x: T, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Point2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/generics/bin/main.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/generics/bin/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | y: U, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Point2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/generics/bin/main.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `takes_and_gives_back` [INFO] [stdout] --> src/chapter3/bin/main.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn takes_and_gives_back(a_string: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `no_dangle` [INFO] [stdout] --> src/chapter3/bin/main.rs:149:4 [INFO] [stdout] | [INFO] [stdout] 149 | fn no_dangle() -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `username` [INFO] [stdout] --> src/chapter3/bin/main.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | username: String, [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] --> src/chapter3/bin/main.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `email` [INFO] [stdout] --> src/chapter3/bin/main.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | email: String, [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] --> src/chapter3/bin/main.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sign_in_count` [INFO] [stdout] --> src/chapter3/bin/main.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | sign_in_count: u64, [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] --> src/chapter3/bin/main.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `active` [INFO] [stdout] --> src/chapter3/bin/main.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | 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] --> src/chapter3/bin/main.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_user` [INFO] [stdout] --> src/chapter3/bin/main.rs:187:4 [INFO] [stdout] | [INFO] [stdout] 187 | fn build_user(email: String, username: String) -> User { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Pair` [INFO] [stdout] --> src/traits/bin/main.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | struct Pair { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/traits/bin/main.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | fn new(x: T, y: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cmp_display` [INFO] [stdout] --> src/traits/bin/main.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | fn cmp_display(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `try_me` [INFO] [stdout] --> src/communicator/lib/mod.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn try_me() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `middle_function` [INFO] [stdout] --> src/communicator/lib/mod.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn middle_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `middle_secret_function` [INFO] [stdout] --> src/communicator/lib/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn middle_secret_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `inner_function` [INFO] [stdout] --> src/communicator/lib/mod.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn inner_function() {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `secret_function` [INFO] [stdout] --> src/communicator/lib/mod.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | fn secret_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `inner_function` [INFO] [stdout] --> src/communicator/lib/mod.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn inner_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Red`, `Yellow` [INFO] [stdout] --> src/chapter7/bin/main.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use communicator::TrafficLight::{Red, Yellow}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `red` [INFO] [stdout] --> src/chapter7/bin/main.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let red = Red; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_red` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yellow` [INFO] [stdout] --> src/chapter7/bin/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let yellow = Yellow; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_yellow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `green` [INFO] [stdout] --> src/chapter7/bin/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let green = communicator::TrafficLight::Green; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_green` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `green` [INFO] [stdout] --> src/chapter7/bin/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let green = Green; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_green` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/lifetimes/bin/main.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | let s: &'static str = "asdsa"; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/lifetimes/bin/main.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | fn longest2<'a>(x: &'a str, y: &str) -> &'a str { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/lifetimes/bin/main.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | fn longest3<'a>(x: &'a str, y: &str) -> &'a str { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `longest3` [INFO] [stdout] --> src/lifetimes/bin/main.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn longest3<'a>(x: &'a str, y: &str) -> &'a str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `a` [INFO] [stdout] --> src/lifetimes/bin/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | a: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `level` [INFO] [stdout] --> src/lifetimes/bin/main.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | fn level(&self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `a` [INFO] [stdout] --> src/lifetimes/bin/main.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn a(&self) -> &str { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `longest_with_an_announcement` [INFO] [stdout] --> src/lifetimes/bin/main.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn longest_with_an_announcement<'a, T>(x: &'a str, y: &'a str, ann: T) -> &'a str [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> src/collections/bin/main.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let s1 = String::from("hello"); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scores` [INFO] [stdout] --> src/collections/bin/main.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | let scores: HashMap<_, _> = zipped.collect(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_scores` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `black` [INFO] [stdout] --> src/chapter5/bin/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let black = Color(0, 0, 0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_black` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> src/chapter5/bin/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let origin = Point(0, 0, 0); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `username` [INFO] [stdout] --> src/chapter5/bin/main.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | username: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chapter5/bin/main.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `email` [INFO] [stdout] --> src/chapter5/bin/main.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | email: String, [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] --> src/chapter5/bin/main.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sign_in_count` [INFO] [stdout] --> src/chapter5/bin/main.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | sign_in_count: u64, [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] --> src/chapter5/bin/main.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `active` [INFO] [stdout] --> src/chapter5/bin/main.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | 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] --> src/chapter5/bin/main.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_user` [INFO] [stdout] --> src/chapter5/bin/main.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | fn build_user(email: String, username: String) -> User { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collections/bin/main.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let mut s = String::new(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.94s [INFO] running `Command { std: "docker" "inspect" "1d6f89c82a5b1c06f58db82fe8d63f3f932accfbff9067fc9b6b4edbcf1435d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d6f89c82a5b1c06f58db82fe8d63f3f932accfbff9067fc9b6b4edbcf1435d6", kill_on_drop: false }` [INFO] [stdout] 1d6f89c82a5b1c06f58db82fe8d63f3f932accfbff9067fc9b6b4edbcf1435d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fa38e605b0bca275631dac7ec98d4af6760a2fcaebebf1bc2428ce7a132c22b5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fa38e605b0bca275631dac7ec98d4af6760a2fcaebebf1bc2428ce7a132c22b5", kill_on_drop: false }` [INFO] [stderr] warning: function is never used: `try_me` [INFO] [stderr] --> src/communicator/lib/mod.rs:56:4 [INFO] [stderr] | [INFO] [stderr] 56 | fn try_me() { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `prints_and_returns_10` [INFO] [stderr] --> src/communicator/lib/mod.rs:89:4 [INFO] [stderr] | [INFO] [stderr] 89 | fn prints_and_returns_10(a: i32) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `middle_function` [INFO] [stderr] --> src/communicator/lib/mod.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn middle_function() { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `middle_secret_function` [INFO] [stderr] --> src/communicator/lib/mod.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | fn middle_secret_function() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `inner_function` [INFO] [stderr] --> src/communicator/lib/mod.rs:17:16 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn inner_function() {} [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `secret_function` [INFO] [stderr] --> src/communicator/lib/mod.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | fn secret_function() { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `inner_function` [INFO] [stderr] --> src/communicator/lib/mod.rs:26:20 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn inner_function() { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rusty-train` (lib) generated 7 warnings [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/errors/bin/main.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | let v = vec![1, 2, 3]; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `f` [INFO] [stderr] --> src/errors/bin/main.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | let f = match f { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `read_username_from_file` [INFO] [stderr] --> src/errors/bin/main.rs:44:4 [INFO] [stderr] | [INFO] [stderr] 44 | fn read_username_from_file() -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `read_username_from_file2` [INFO] [stderr] --> src/errors/bin/main.rs:60:4 [INFO] [stderr] | [INFO] [stderr] 60 | fn read_username_from_file2() -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `openFile` should have a snake case name [INFO] [stderr] --> src/errors/bin/main.rs:20:4 [INFO] [stderr] | [INFO] [stderr] 20 | fn openFile() { [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `open_file` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rusty-train` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] warning: `rusty-train` (bin "errors") generated 5 warnings [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/lifetimes/bin/main.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | let s: &'static str = "asdsa"; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/lifetimes/bin/main.rs:40:29 [INFO] [stderr] | [INFO] [stderr] 40 | fn longest2<'a>(x: &'a str, y: &str) -> &'a str { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/lifetimes/bin/main.rs:44:29 [INFO] [stderr] | [INFO] [stderr] 44 | fn longest3<'a>(x: &'a str, y: &str) -> &'a str { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `longest3` [INFO] [stderr] --> src/lifetimes/bin/main.rs:44:4 [INFO] [stderr] | [INFO] [stderr] 44 | fn longest3<'a>(x: &'a str, y: &str) -> &'a str { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `a` [INFO] [stderr] --> src/lifetimes/bin/main.rs:50:5 [INFO] [stderr] | [INFO] [stderr] 50 | a: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `level` [INFO] [stderr] --> src/lifetimes/bin/main.rs:54:8 [INFO] [stderr] | [INFO] [stderr] 54 | fn level(&self) -> i32 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `a` [INFO] [stderr] --> src/lifetimes/bin/main.rs:60:8 [INFO] [stderr] | [INFO] [stderr] 60 | fn a(&self) -> &str { [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `longest_with_an_announcement` [INFO] [stderr] --> src/lifetimes/bin/main.rs:67:4 [INFO] [stderr] | [INFO] [stderr] 67 | fn longest_with_an_announcement<'a, T>(x: &'a str, y: &'a str, ann: T) -> &'a str [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `max_ch` [INFO] [stderr] --> src/generics/bin/main.rs:51:4 [INFO] [stderr] | [INFO] [stderr] 51 | fn max_ch(list: &[char]) -> Option { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `x` [INFO] [stderr] --> src/generics/bin/main.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 65 | x: T, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Point2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/generics/bin/main.rs:63:10 [INFO] [stderr] | [INFO] [stderr] 63 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `y` [INFO] [stderr] --> src/generics/bin/main.rs:66:5 [INFO] [stderr] | [INFO] [stderr] 66 | y: U, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Point2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/generics/bin/main.rs:63:10 [INFO] [stderr] | [INFO] [stderr] 63 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the item `HashMap` is imported redundantly [INFO] [stderr] --> src/collections/bin/main.rs:122:9 [INFO] [stderr] | [INFO] [stderr] 1 | use std::collections::HashMap; [INFO] [stderr] | ------------------------- the item `HashMap` is already imported here [INFO] [stderr] ... [INFO] [stderr] 122 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/collections/bin/main.rs:181:14 [INFO] [stderr] | [INFO] [stderr] 181 | t += (*i as f32); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 181 - t += (*i as f32); [INFO] [stderr] 181 + t += *i as f32; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s1` [INFO] [stderr] --> src/collections/bin/main.rs:99:9 [INFO] [stderr] | [INFO] [stderr] 99 | let s1 = String::from("hello"); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scores` [INFO] [stderr] --> src/collections/bin/main.rs:143:9 [INFO] [stderr] | [INFO] [stderr] 143 | let scores: HashMap<_, _> = zipped.collect(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_scores` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/collections/bin/main.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 56 | let mut s = String::new(); [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `black` [INFO] [stderr] --> src/chapter5/bin/main.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | let black = Color(0, 0, 0); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_black` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `origin` [INFO] [stderr] --> src/chapter5/bin/main.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | let origin = Point(0, 0, 0); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `username` [INFO] [stderr] --> src/chapter5/bin/main.rs:97:5 [INFO] [stderr] | [INFO] [stderr] 97 | username: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/chapter5/bin/main.rs:95:10 [INFO] [stderr] | [INFO] [stderr] 95 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `email` [INFO] [stderr] --> src/chapter5/bin/main.rs:98:5 [INFO] [stderr] | [INFO] [stderr] 98 | email: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/chapter5/bin/main.rs:95:10 [INFO] [stderr] | [INFO] [stderr] 95 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `sign_in_count` [INFO] [stderr] --> src/chapter5/bin/main.rs:99:5 [INFO] [stderr] | [INFO] [stderr] 99 | sign_in_count: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/chapter5/bin/main.rs:95:10 [INFO] [stderr] | [INFO] [stderr] 95 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `active` [INFO] [stderr] --> src/chapter5/bin/main.rs:100:5 [INFO] [stderr] | [INFO] [stderr] 100 | active: bool, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/chapter5/bin/main.rs:95:10 [INFO] [stderr] | [INFO] [stderr] 95 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `build_user` [INFO] [stderr] --> src/chapter5/bin/main.rs:103:4 [INFO] [stderr] | [INFO] [stderr] 103 | fn build_user(email: String, username: String) -> User { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Red`, `Yellow` [INFO] [stderr] --> src/chapter7/bin/main.rs:3:34 [INFO] [stderr] | [INFO] [stderr] 3 | use communicator::TrafficLight::{Red, Yellow}; [INFO] [stderr] | ^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `red` [INFO] [stderr] --> src/chapter7/bin/main.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | let red = Red; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_red` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `yellow` [INFO] [stderr] --> src/chapter7/bin/main.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | let yellow = Yellow; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_yellow` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `green` [INFO] [stderr] --> src/chapter7/bin/main.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | let green = communicator::TrafficLight::Green; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_green` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `green` [INFO] [stderr] --> src/chapter7/bin/main.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | let green = Green; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_green` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `black` [INFO] [stderr] --> src/chapter3/bin/main.rs:107:9 [INFO] [stderr] | [INFO] [stderr] 107 | let black = Color(0, 0, 0); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_black` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `origin` [INFO] [stderr] --> src/chapter3/bin/main.rs:108:9 [INFO] [stderr] | [INFO] [stderr] 108 | let origin = Point(0, 0, 0); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `gives_ownership` [INFO] [stderr] --> src/chapter3/bin/main.rs:119:4 [INFO] [stderr] | [INFO] [stderr] 119 | fn gives_ownership() -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `takes_and_gives_back` [INFO] [stderr] --> src/chapter3/bin/main.rs:124:4 [INFO] [stderr] | [INFO] [stderr] 124 | fn takes_and_gives_back(a_string: String) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `no_dangle` [INFO] [stderr] --> src/chapter3/bin/main.rs:149:4 [INFO] [stderr] | [INFO] [stderr] 149 | fn no_dangle() -> String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `username` [INFO] [stderr] --> src/chapter3/bin/main.rs:181:5 [INFO] [stderr] | [INFO] [stderr] 181 | username: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/chapter3/bin/main.rs:179:10 [INFO] [stderr] | [INFO] [stderr] 179 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `email` [INFO] [stderr] --> src/chapter3/bin/main.rs:182:5 [INFO] [stderr] | [INFO] [stderr] 182 | email: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/chapter3/bin/main.rs:179:10 [INFO] [stderr] | [INFO] [stderr] 179 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `sign_in_count` [INFO] [stderr] --> src/chapter3/bin/main.rs:183:5 [INFO] [stderr] | [INFO] [stderr] 183 | sign_in_count: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/chapter3/bin/main.rs:179:10 [INFO] [stderr] | [INFO] [stderr] 179 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `active` [INFO] [stderr] --> src/chapter3/bin/main.rs:184:5 [INFO] [stderr] | [INFO] [stderr] 184 | active: bool, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/chapter3/bin/main.rs:179:10 [INFO] [stderr] | [INFO] [stderr] 179 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `build_user` [INFO] [stderr] --> src/chapter3/bin/main.rs:187:4 [INFO] [stderr] | [INFO] [stderr] 187 | fn build_user(email: String, username: String) -> User { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t` [INFO] [stderr] --> src/traits/bin/main.rs:83:24 [INFO] [stderr] | [INFO] [stderr] 83 | fn some_function(t: T, u: U) -> i32 [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `u` [INFO] [stderr] --> src/traits/bin/main.rs:83:30 [INFO] [stderr] | [INFO] [stderr] 83 | fn some_function(t: T, u: U) -> i32 [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `some_function` [INFO] [stderr] --> src/traits/bin/main.rs:83:4 [INFO] [stderr] | [INFO] [stderr] 83 | fn some_function(t: T, u: U) -> i32 [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Pair` [INFO] [stderr] --> src/traits/bin/main.rs:92:8 [INFO] [stderr] | [INFO] [stderr] 92 | struct Pair { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/traits/bin/main.rs:98:8 [INFO] [stderr] | [INFO] [stderr] 98 | fn new(x: T, y: T) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `cmp_display` [INFO] [stderr] --> src/traits/bin/main.rs:107:8 [INFO] [stderr] | [INFO] [stderr] 107 | fn cmp_display(&self) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ip_type` [INFO] [stderr] --> src/chapter6/bin/main.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | fn route(ip_type: IpAddrKind) { } [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ip_type` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/chapter6/bin/main.rs:32:35 [INFO] [stderr] | [INFO] [stderr] 32 | let x = some_string.and_then(|x: &str| Some("sf")); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `six` [INFO] [stderr] --> src/chapter6/bin/main.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | let six = IpAddrKind::V6; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_six` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `home` [INFO] [stderr] --> src/chapter6/bin/main.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | let home = IpAddr::V4(String::from("127.0.0.1")); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_home` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `loopback` [INFO] [stderr] --> src/chapter6/bin/main.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | let loopback = IpAddr::V6(String::from("::1")); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loopback` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `home` [INFO] [stderr] --> src/chapter6/bin/main.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | let home = IpAddr2::V4(127, 0, 0, 1); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_home` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `loopback` [INFO] [stderr] --> src/chapter6/bin/main.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | let loopback = IpAddr2::V6(String::from("::1")); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loopback` [INFO] [stderr] [INFO] [stderr] warning: variable `count` is assigned to, but never used [INFO] [stderr] --> src/chapter6/bin/main.rs:72:13 [INFO] [stderr] | [INFO] [stderr] 72 | let mut count = 0; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_count` instead [INFO] [stderr] [INFO] [stderr] warning: value assigned to `count` is never read [INFO] [stderr] --> src/chapter6/bin/main.rs:76:9 [INFO] [stderr] | [INFO] [stderr] 76 | count += 1; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Quit` [INFO] [stderr] --> src/chapter6/bin/main.rs:94:5 [INFO] [stderr] | [INFO] [stderr] 94 | Quit, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Move` [INFO] [stderr] --> src/chapter6/bin/main.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 95 | Move { x: i32, y: i32 }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ChangeColor` [INFO] [stderr] --> src/chapter6/bin/main.rs:97:5 [INFO] [stderr] | [INFO] [stderr] 97 | ChangeColor(i32, i32, i32), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Alaska` [INFO] [stderr] --> src/chapter6/bin/main.rs:115:5 [INFO] [stderr] | [INFO] [stderr] 115 | Alaska, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `UsState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/chapter6/bin/main.rs:112:10 [INFO] [stderr] | [INFO] [stderr] 112 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Nickel` [INFO] [stderr] --> src/chapter6/bin/main.rs:121:5 [INFO] [stderr] | [INFO] [stderr] 121 | Nickel, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rusty-train` (bin "lifetimes") generated 8 warnings [INFO] [stderr] warning: `rusty-train` (bin "generics") generated 3 warnings [INFO] [stderr] warning: `rusty-train` (bin "collections") generated 5 warnings [INFO] [stderr] warning: `rusty-train` (bin "chapter5" test) generated 7 warnings [INFO] [stderr] warning: `rusty-train` (bin "generics" test) generated 3 warnings (3 duplicates) [INFO] [stderr] warning: `rusty-train` (bin "chapter5") generated 7 warnings (7 duplicates) [INFO] [stderr] warning: `rusty-train` (bin "chapter7") generated 5 warnings [INFO] [stderr] warning: `rusty-train` (bin "chapter3" test) generated 10 warnings [INFO] [stderr] warning: `rusty-train` (bin "traits" test) generated 6 warnings [INFO] [stderr] warning: `rusty-train` (bin "chapter6") generated 14 warnings [INFO] [stderr] warning: `rusty-train` (bin "chapter6" test) generated 14 warnings (14 duplicates) [INFO] [stderr] warning: `rusty-train` (bin "chapter7" test) generated 5 warnings (5 duplicates) [INFO] [stderr] warning: `rusty-train` (bin "lifetimes" test) generated 8 warnings (8 duplicates) [INFO] [stderr] warning: `rusty-train` (bin "collections" test) generated 5 warnings (5 duplicates) [INFO] [stderr] warning: `rusty-train` (bin "chapter3") generated 10 warnings (10 duplicates) [INFO] [stderr] warning: `rusty-train` (bin "traits") generated 6 warnings (6 duplicates) [INFO] [stderr] warning: `rusty-train` (bin "errors" test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/communicator-ded600d00029913c) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test tests::expensive_test ... ignored [INFO] [stdout] test tests::add_three_and_two ... ok [INFO] [stdout] test tests::add_two_and_two ... ok [INFO] [stdout] test tests::exploration ... ok [INFO] [stdout] test tests::it_adds_two ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/chapter3-e2df4f2f2f03b194) [INFO] [stdout] test tests::this_test_will_pass ... ok [INFO] [stdout] test tests::larger_can_hold_smaller ... ok [INFO] [stdout] test tests::one_hundred ... ok [INFO] [stdout] test tests::smaller_cannot_hold_larger ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/chapter5-721c2757d81c9db7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/chapter6-a22bd0d0a20b6e22) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/chapter7-0b574e81ab38fa65) [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/collections-c0fe931cf24a1f58) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/errors-df067a60e55d220b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/generics-289191303f213d76) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/lifetimes-6f0b1c90df340e7c) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/minigrep-62e5e54a9d757b20) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/traits-5266184427451aa6) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-a360c07fe35e5a92) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test it_adds_two_ingrt ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests communicator [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fa38e605b0bca275631dac7ec98d4af6760a2fcaebebf1bc2428ce7a132c22b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa38e605b0bca275631dac7ec98d4af6760a2fcaebebf1bc2428ce7a132c22b5", kill_on_drop: false }` [INFO] [stdout] fa38e605b0bca275631dac7ec98d4af6760a2fcaebebf1bc2428ce7a132c22b5