[INFO] cloning repository https://github.com/jayesh6442/rusting
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jayesh6442/rusting" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjayesh6442%2Frusting", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjayesh6442%2Frusting'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 99087b6d1d7d86ca76abd58e25cc1a62fbcbe32a
[INFO] checking jayesh6442/rusting against master#ab26b175979ee7b2cb3302dce204b99df96f7efb for pr-157696
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjayesh6442%2Frusting" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jayesh6442/rusting
[INFO] finished tweaking git repo https://github.com/jayesh6442/rusting
[INFO] tweaked toml for git repo https://github.com/jayesh6442/rusting written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jayesh6442/rusting on toolchain ab26b175979ee7b2cb3302dce204b99df96f7efb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jayesh6442/rusting already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded diff v0.1.13
[INFO] [stderr]   Downloaded pretty_assertions v1.4.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 57b85105ae6cfd1f04dbb073ee5bdf2eeeb922aa4150bb4ea3e2737857606381
[INFO] running `Command { std: "docker" "start" "57b85105ae6cfd1f04dbb073ee5bdf2eeeb922aa4150bb4ea3e2737857606381", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "57b85105ae6cfd1f04dbb073ee5bdf2eeeb922aa4150bb4ea3e2737857606381" "/opt/rustwide/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "57b85105ae6cfd1f04dbb073ee5bdf2eeeb922aa4150bb4ea3e2737857606381", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "57b85105ae6cfd1f04dbb073ee5bdf2eeeb922aa4150bb4ea3e2737857606381" "/opt/rustwide/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.184
[INFO] [stderr]     Checking diff v0.1.13
[INFO] [stderr]     Checking yansi v1.0.1
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking crossbeam-channel v0.5.15
[INFO] [stderr]     Checking crossbeam-queue v0.3.12
[INFO] [stderr]     Checking pretty_assertions v1.4.1
[INFO] [stderr]     Checking crossbeam-deque v0.8.6
[INFO] [stderr]     Checking crossbeam v0.8.4
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking final_code_base v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variant `Cash` is never constructed
[INFO] [stdout]   --> src/bin/001_proj_1.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | enum PaymentMethod {
[INFO] [stdout]    |      ------------- variant in this enum
[INFO] [stdout] 24 |     Cash,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PaymentMethod` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `amount` is never read
[INFO] [stdout]   --> src/bin/001_proj_1.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 |     Paid { amount: f64 },
[INFO] [stdout]    |     ----   ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OrderState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `reason` is never read
[INFO] [stdout]   --> src/bin/001_proj_1.rs:40:14
[INFO] [stdout]    |
[INFO] [stdout] 40 |     Failed { reason: String },
[INFO] [stdout]    |     ------   ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OrderState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/bin/001_proj_1.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct User {
[INFO] [stdout]    |        ---- field in this struct
[INFO] [stdout] 47 |     id: u32,
[INFO] [stdout] 48 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `User` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `user_id` are never read
[INFO] [stdout]   --> src/bin/001_proj_1.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | struct Order {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 55 |     id: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 56 |     user_id: u32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Order` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `testing` is never used
[INFO] [stdout]  --> src/bin/16_lifetimes.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn testing<'a>(item: &'a [String]) -> &'a [String] {
[INFO] [stdout]   |    ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::dangling`
[INFO] [stdout]  --> src/bin/002_testing.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ptr::dangling;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::dangling`
[INFO] [stdout]  --> src/bin/002_testing.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ptr::dangling;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Mutex`
[INFO] [stdout]  --> src/bin/14_result.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::Mutex;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `intrinsics::copy`
[INFO] [stdout]  --> src/bin/0003_raw_pointer.rs:1:32
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{env::args, fs::File, intrinsics::copy, io::BufReader, time::Instant};
[INFO] [stdout]   |                                ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Compression` and `bufread::GzEncoder`
[INFO] [stdout]  --> src/bin/0003_raw_pointer.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use flate2::{Compression, bufread::GzEncoder};
[INFO] [stdout]   |              ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg2`
[INFO] [stdout]   --> src/bin/04_enum.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 93 |     let msg2: Message = Message::Number(23);
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_msg2`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Busy` is never constructed
[INFO] [stdout]   --> src/bin/04_enum.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | enum Status {
[INFO] [stdout]    |      ------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 10 |     Busy,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tracking_id` is never read
[INFO] [stdout]   --> src/bin/04_enum.rs:53:15
[INFO] [stdout]    |
[INFO] [stdout] 53 |     Shipped { tracking_id: String },
[INFO] [stdout]    |     -------   ^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OrderState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Cancelled` is never constructed
[INFO] [stdout]   --> src/bin/04_enum.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | enum OrderState {
[INFO] [stdout]    |      ---------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 54 |     Cancelled { reason: String },
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OrderState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead
[INFO] [stdout]  --> src/bin/0003_raw_pointer.rs:1:44
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{env::args, fs::File, intrinsics::copy, io::BufReader, time::Instant};
[INFO] [stdout]   |                                            ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/0003_raw_pointer.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let mut input = BufReader::new(File::open(args().nth(1).unwrap()).unwrap());
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/0003_raw_pointer.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut output = File::create(args().nth(1).unwrap()).unwrap();
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/bin/0003_raw_pointer.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let mut input = BufReader::new(File::open(args().nth(1).unwrap()).unwrap());
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]   --> src/bin/0003_raw_pointer.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut output = File::create(args().nth(1).unwrap()).unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]   --> src/bin/0003_raw_pointer.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let start = Instant::now();
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg2`
[INFO] [stdout]   --> src/bin/04_enum.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 93 |     let msg2: Message = Message::Number(23);
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_msg2`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Busy` is never constructed
[INFO] [stdout]   --> src/bin/04_enum.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | enum Status {
[INFO] [stdout]    |      ------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 10 |     Busy,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tracking_id` is never read
[INFO] [stdout]   --> src/bin/04_enum.rs:53:15
[INFO] [stdout]    |
[INFO] [stdout] 53 |     Shipped { tracking_id: String },
[INFO] [stdout]    |     -------   ^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OrderState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Cancelled` is never constructed
[INFO] [stdout]   --> src/bin/04_enum.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | enum OrderState {
[INFO] [stdout]    |      ---------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 54 |     Cancelled { reason: String },
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OrderState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `payload` is never read
[INFO] [stdout]  --> src/bin/0003_test.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Job {
[INFO] [stdout]   |        --- field in this struct
[INFO] [stdout] 7 |     id: u64,
[INFO] [stdout] 8 |     payload: String,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Job` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stream`
[INFO] [stdout]  --> src/bin/008_TCP.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |         let stream = stream.unwrap();
[INFO] [stdout]   |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Mutex`
[INFO] [stdout]  --> src/bin/14_result.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::Mutex;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `payload` is never read
[INFO] [stdout]  --> src/bin/0003_test.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Job {
[INFO] [stdout]   |        --- field in this struct
[INFO] [stdout] 7 |     id: u64,
[INFO] [stdout] 8 |     payload: String,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Job` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Testtrait` is never used
[INFO] [stdout]  --> src/bin/15_trait.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | trait Testtrait {
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Hotel` is never constructed
[INFO] [stdout]  --> src/bin/15_trait.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct Hotel {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bin/15_trait.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Hotel {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 14 |     fn new(name: String) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stream`
[INFO] [stdout]  --> src/bin/008_TCP.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |         let stream = stream.unwrap();
[INFO] [stdout]   |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `take_owner` is never used
[INFO] [stdout]   --> src/bin/07_ownership.rs:60:4
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn take_owner(value: String) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Cash` is never constructed
[INFO] [stdout]   --> src/bin/001_proj_1.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | enum PaymentMethod {
[INFO] [stdout]    |      ------------- variant in this enum
[INFO] [stdout] 24 |     Cash,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PaymentMethod` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `amount` is never read
[INFO] [stdout]   --> src/bin/001_proj_1.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 |     Paid { amount: f64 },
[INFO] [stdout]    |     ----   ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OrderState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `reason` is never read
[INFO] [stdout]   --> src/bin/001_proj_1.rs:40:14
[INFO] [stdout]    |
[INFO] [stdout] 40 |     Failed { reason: String },
[INFO] [stdout]    |     ------   ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OrderState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/bin/001_proj_1.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct User {
[INFO] [stdout]    |        ---- field in this struct
[INFO] [stdout] 47 |     id: u32,
[INFO] [stdout] 48 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `User` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `user_id` are never read
[INFO] [stdout]   --> src/bin/001_proj_1.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | struct Order {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 55 |     id: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 56 |     user_id: u32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Order` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `intrinsics::copy`
[INFO] [stdout]  --> src/bin/0003_raw_pointer.rs:1:32
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{env::args, fs::File, intrinsics::copy, io::BufReader, time::Instant};
[INFO] [stdout]   |                                ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Compression` and `bufread::GzEncoder`
[INFO] [stdout]  --> src/bin/0003_raw_pointer.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use flate2::{Compression, bufread::GzEncoder};
[INFO] [stdout]   |              ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead
[INFO] [stdout]  --> src/bin/0003_raw_pointer.rs:1:44
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{env::args, fs::File, intrinsics::copy, io::BufReader, time::Instant};
[INFO] [stdout]   |                                            ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/0003_raw_pointer.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let mut input = BufReader::new(File::open(args().nth(1).unwrap()).unwrap());
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/0003_raw_pointer.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut output = File::create(args().nth(1).unwrap()).unwrap();
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/bin/0003_raw_pointer.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let mut input = BufReader::new(File::open(args().nth(1).unwrap()).unwrap());
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]   --> src/bin/0003_raw_pointer.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut output = File::create(args().nth(1).unwrap()).unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]   --> src/bin/0003_raw_pointer.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let start = Instant::now();
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `take_owner` is never used
[INFO] [stdout]   --> src/bin/07_ownership.rs:60:4
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn take_owner(value: String) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `testing` is never used
[INFO] [stdout]  --> src/bin/16_lifetimes.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn testing<'a>(item: &'a [String]) -> &'a [String] {
[INFO] [stdout]   |    ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Testtrait` is never used
[INFO] [stdout]  --> src/bin/15_trait.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | trait Testtrait {
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Hotel` is never constructed
[INFO] [stdout]  --> src/bin/15_trait.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct Hotel {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bin/15_trait.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Hotel {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 14 |     fn new(name: String) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.16s
[INFO] running `Command { std: "docker" "inspect" "57b85105ae6cfd1f04dbb073ee5bdf2eeeb922aa4150bb4ea3e2737857606381", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "57b85105ae6cfd1f04dbb073ee5bdf2eeeb922aa4150bb4ea3e2737857606381", kill_on_drop: false }`
[INFO] [stdout] 57b85105ae6cfd1f04dbb073ee5bdf2eeeb922aa4150bb4ea3e2737857606381
