[INFO] fetching crate myest 0.1.0...
[INFO] building myest-0.1.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1
[INFO] extracting crate myest 0.1.0 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate myest 0.1.0
[INFO] finished tweaking crates.io crate myest 0.1.0
[INFO] tweaked toml for crates.io crate myest 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate myest 0.1.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate myest 0.1.0 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 42a9b39694d17af88b644be3c6a4719a9e000915616d30a3286866edf6bf188f
[INFO] running `Command { std: "docker" "start" "-a" "42a9b39694d17af88b644be3c6a4719a9e000915616d30a3286866edf6bf188f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "42a9b39694d17af88b644be3c6a4719a9e000915616d30a3286866edf6bf188f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "42a9b39694d17af88b644be3c6a4719a9e000915616d30a3286866edf6bf188f", kill_on_drop: false }`
[INFO] [stdout] 42a9b39694d17af88b644be3c6a4719a9e000915616d30a3286866edf6bf188f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2425e121579d81449c14e17fcbb145924ba9d71016f5b3dfc8510dc2608bfb24
[INFO] running `Command { std: "docker" "start" "-a" "2425e121579d81449c14e17fcbb145924ba9d71016f5b3dfc8510dc2608bfb24", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling myest v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::mod_clouser::simulated_expensive_calculation`
[INFO] [stdout]   --> src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::mod_clouser::simulated_expensive_calculation;
[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 variable: `f`
[INFO] [stdout]  --> src/mod_error_deal.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let f = match f{
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/mod_template.rs:27:23
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn old(&self, value: &T){
[INFO] [stdout]    |                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `first_sentence`
[INFO] [stdout]   --> src/mod_template.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let first_sentence = novel.split('.').next().expect("no .");
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_sentence`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `announcement`
[INFO] [stdout]   --> src/mod_template.rs:58:40
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn announce_and_return_part(&self, announcement: &str) -> &str{
[INFO] [stdout]    |                                        ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_announcement`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `seasonal_fruit` is never read
[INFO] [stdout]  --> src/front_of_house/serving/back_of_house.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Breakfast{
[INFO] [stdout]   |            --------- field in this struct
[INFO] [stdout] 2 |     pub toast: String,
[INFO] [stdout] 3 |     seasonal_fruit: 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: struct `ImportantExcept` is never constructed
[INFO] [stdout]   --> src/mod_template.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | struct ImportantExcept<'a>{
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `take_order` is never used
[INFO] [stdout]  --> src/front_of_house/serving.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn take_order(){}
[INFO] [stdout]   |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serve_order` is never used
[INFO] [stdout]  --> src/front_of_house/serving.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn serve_order(){}
[INFO] [stdout]   |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `seat_at_table` is never used
[INFO] [stdout]  --> src/front_of_house/hosting.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn seat_at_table(){}
[INFO] [stdout]   |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `announce_and_return_part` is never used
[INFO] [stdout]   --> src/mod_template.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | impl<'a> ImportantExcept<'a>{
[INFO] [stdout]    | ---------------------------- method in this implementation
[INFO] [stdout] 58 |     fn announce_and_return_part(&self, announcement: &str) -> &str{
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `take_payment` is never used
[INFO] [stdout]  --> src/front_of_house/serving.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn take_payment(){}
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_username_from_file_new` is never used
[INFO] [stdout]   --> src/mod_error_deal.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn read_username_from_file_new() -> Result<String, io::Error>{
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Guess` is never constructed
[INFO] [stdout]   --> src/mod_error_deal.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct Guess{
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fix_incorrect_order` is never used
[INFO] [stdout]   --> src/front_of_house/serving/back_of_house.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn fix_incorrect_order(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cook_order` is never used
[INFO] [stdout]   --> src/front_of_house/serving/back_of_house.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn cook_order(){}
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `value` are never used
[INFO] [stdout]   --> src/mod_error_deal.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl Guess{
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 48 |     pub fn new(value: i32) -> Guess{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn value(&self) -> i32{
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `simulated_expensive_calculation` is never used
[INFO] [stdout]  --> src/mod_clouser.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn simulated_expensive_calculation(intensity: u32) -> u32{
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Shoe` is never constructed
[INFO] [stdout]   --> src/mod_clouser.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct Shoe{
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/mod_clouser.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl Shoe{
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 42 |     pub fn new(size: u32, style: String) -> Shoe{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shoes_in_my_size` is never used
[INFO] [stdout]   --> src/mod_clouser.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub fn shoes_in_my_size(shoes: Vec<Shoe>, shoe_size: u32) -> Vec<Shoe>{
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Counter` is never constructed
[INFO] [stdout]   --> src/mod_clouser.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct Counter{
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/mod_clouser.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | impl Counter{
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 56 |     pub fn new() -> Counter{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/bin/main.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self};
[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: `myest::mod_trait::Summary`
[INFO] [stdout]  --> src/bin/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use myest::mod_trait::Summary;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/bin/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::Ordering`
[INFO] [stdout]  --> src/bin/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::cmp::Ordering;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/bin/main.rs:196:5
[INFO] [stdout]     |
[INFO] [stdout] 190 |         return n;
[INFO] [stdout]     |         -------- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 196 |     0
[INFO] [stdout]     |     ^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ip_type`
[INFO] [stdout]    --> src/bin/main.rs:149:10
[INFO] [stdout]     |
[INFO] [stdout] 149 | 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/bin/main.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let x = &mut v;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `v` is never read
[INFO] [stdout]   --> src/bin/main.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     v = 3;
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/bin/main.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let s = data.to_string();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/bin/main.rs:87:10
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let (x, y, z) = tup;
[INFO] [stdout]    |          ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]   --> src/bin/main.rs:87:16
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let (x, y, z) = tup;
[INFO] [stdout]    |                ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `number`
[INFO] [stdout]    --> src/bin/main.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |     let number = if condition{
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dihang`
[INFO] [stdout]    --> src/bin/main.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |     let dihang = loop{
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_dihang`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user1`
[INFO] [stdout]    --> src/bin/main.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |     let user1 = User{
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_user1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sq`
[INFO] [stdout]    --> src/bin/main.rs:126:9
[INFO] [stdout]     |
[INFO] [stdout] 126 |     let sq = Rectangle::square(10);
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_sq`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]    --> src/bin/main.rs:174:8
[INFO] [stdout]     |
[INFO] [stdout] 174 |     V4(String, String),
[INFO] [stdout]     |     -- ^^^^^^  ^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     fields in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]     |
[INFO] [stdout] 174 -     V4(String, String),
[INFO] [stdout] 174 +     V4((), ()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `five` is never used
[INFO] [stdout]    --> src/bin/main.rs:182:4
[INFO] [stdout]     |
[INFO] [stdout] 182 | fn five() -> i32{
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `username`, `email`, `sign_in_count`, and `active` are never read
[INFO] [stdout]    --> src/bin/main.rs:200:5
[INFO] [stdout]     |
[INFO] [stdout] 199 | struct User{
[INFO] [stdout]     |        ---- fields in this struct
[INFO] [stdout] 200 |     username: String,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 201 |     email: String,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 202 |     sign_in_count: u64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 203 |     active: bool,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.67s
[INFO] running `Command { std: "docker" "inspect" "2425e121579d81449c14e17fcbb145924ba9d71016f5b3dfc8510dc2608bfb24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2425e121579d81449c14e17fcbb145924ba9d71016f5b3dfc8510dc2608bfb24", kill_on_drop: false }`
[INFO] [stdout] 2425e121579d81449c14e17fcbb145924ba9d71016f5b3dfc8510dc2608bfb24
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7cd6031dcdff1f615201ac5ef41c789e36230dcd5a168daf9633eca86d566863
[INFO] running `Command { std: "docker" "start" "-a" "7cd6031dcdff1f615201ac5ef41c789e36230dcd5a168daf9633eca86d566863", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `crate::mod_clouser::simulated_expensive_calculation`
[INFO] [stdout]   --> src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::mod_clouser::simulated_expensive_calculation;
[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 variable: `f`
[INFO] [stdout]  --> src/mod_error_deal.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let f = match f{
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/mod_template.rs:27:23
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn old(&self, value: &T){
[INFO] [stdout]    |                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `first_sentence`
[INFO] [stdout]   --> src/mod_template.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let first_sentence = novel.split('.').next().expect("no .");
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_sentence`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `announcement`
[INFO] [stdout]   --> src/mod_template.rs:58:40
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn announce_and_return_part(&self, announcement: &str) -> &str{
[INFO] [stdout]    |                                        ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_announcement`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `seasonal_fruit` is never read
[INFO] [stdout]  --> src/front_of_house/serving/back_of_house.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Breakfast{
[INFO] [stdout]   |            --------- field in this struct
[INFO] [stdout] 2 |     pub toast: String,
[INFO] [stdout] 3 |     seasonal_fruit: 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: struct `ImportantExcept` is never constructed
[INFO] [stdout]   --> src/mod_template.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | struct ImportantExcept<'a>{
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `take_order` is never used
[INFO] [stdout]  --> src/front_of_house/serving.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn take_order(){}
[INFO] [stdout]   |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serve_order` is never used
[INFO] [stdout]  --> src/front_of_house/serving.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn serve_order(){}
[INFO] [stdout]   |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `seat_at_table` is never used
[INFO] [stdout]  --> src/front_of_house/hosting.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn seat_at_table(){}
[INFO] [stdout]   |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `announce_and_return_part` is never used
[INFO] [stdout]   --> src/mod_template.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | impl<'a> ImportantExcept<'a>{
[INFO] [stdout]    | ---------------------------- method in this implementation
[INFO] [stdout] 58 |     fn announce_and_return_part(&self, announcement: &str) -> &str{
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `take_payment` is never used
[INFO] [stdout]  --> src/front_of_house/serving.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn take_payment(){}
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_username_from_file_new` is never used
[INFO] [stdout]   --> src/mod_error_deal.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn read_username_from_file_new() -> Result<String, io::Error>{
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Guess` is never constructed
[INFO] [stdout]   --> src/mod_error_deal.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct Guess{
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fix_incorrect_order` is never used
[INFO] [stdout]   --> src/front_of_house/serving/back_of_house.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn fix_incorrect_order(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cook_order` is never used
[INFO] [stdout]   --> src/front_of_house/serving/back_of_house.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn cook_order(){}
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `value` are never used
[INFO] [stdout]   --> src/mod_error_deal.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl Guess{
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 48 |     pub fn new(value: i32) -> Guess{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn value(&self) -> i32{
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `simulated_expensive_calculation` is never used
[INFO] [stdout]  --> src/mod_clouser.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn simulated_expensive_calculation(intensity: u32) -> u32{
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Shoe` is never constructed
[INFO] [stdout]   --> src/mod_clouser.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct Shoe{
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/mod_clouser.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl Shoe{
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 42 |     pub fn new(size: u32, style: String) -> Shoe{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shoes_in_my_size` is never used
[INFO] [stdout]   --> src/mod_clouser.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub fn shoes_in_my_size(shoes: Vec<Shoe>, shoe_size: u32) -> Vec<Shoe>{
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Counter` is never constructed
[INFO] [stdout]   --> src/mod_clouser.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct Counter{
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/mod_clouser.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | impl Counter{
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 56 |     pub fn new() -> Counter{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling myest v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/bin/main.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self};
[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: `myest::mod_trait::Summary`
[INFO] [stdout]  --> src/bin/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use myest::mod_trait::Summary;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/bin/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::Ordering`
[INFO] [stdout]  --> src/bin/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::cmp::Ordering;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/bin/main.rs:196:5
[INFO] [stdout]     |
[INFO] [stdout] 190 |         return n;
[INFO] [stdout]     |         -------- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 196 |     0
[INFO] [stdout]     |     ^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ip_type`
[INFO] [stdout]    --> src/bin/main.rs:149:10
[INFO] [stdout]     |
[INFO] [stdout] 149 | 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/bin/main.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let x = &mut v;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `v` is never read
[INFO] [stdout]   --> src/bin/main.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     v = 3;
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/bin/main.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let s = data.to_string();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/bin/main.rs:87:10
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let (x, y, z) = tup;
[INFO] [stdout]    |          ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]   --> src/bin/main.rs:87:16
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let (x, y, z) = tup;
[INFO] [stdout]    |                ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `number`
[INFO] [stdout]    --> src/bin/main.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |     let number = if condition{
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dihang`
[INFO] [stdout]    --> src/bin/main.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |     let dihang = loop{
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_dihang`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user1`
[INFO] [stdout]    --> src/bin/main.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |     let user1 = User{
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_user1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sq`
[INFO] [stdout]    --> src/bin/main.rs:126:9
[INFO] [stdout]     |
[INFO] [stdout] 126 |     let sq = Rectangle::square(10);
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_sq`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]    --> src/bin/main.rs:174:8
[INFO] [stdout]     |
[INFO] [stdout] 174 |     V4(String, String),
[INFO] [stdout]     |     -- ^^^^^^  ^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     fields in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]     |
[INFO] [stdout] 174 -     V4(String, String),
[INFO] [stdout] 174 +     V4((), ()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `five` is never used
[INFO] [stdout]    --> src/bin/main.rs:182:4
[INFO] [stdout]     |
[INFO] [stdout] 182 | fn five() -> i32{
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `username`, `email`, `sign_in_count`, and `active` are never read
[INFO] [stdout]    --> src/bin/main.rs:200:5
[INFO] [stdout]     |
[INFO] [stdout] 199 | struct User{
[INFO] [stdout]     |        ---- fields in this struct
[INFO] [stdout] 200 |     username: String,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 201 |     email: String,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 202 |     sign_in_count: u64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 203 |     active: bool,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::mod_clouser::simulated_expensive_calculation`
[INFO] [stdout]   --> src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::mod_clouser::simulated_expensive_calculation;
[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: `shoes_in_my_size`
[INFO] [stdout]   --> src/lib.rs:77:30
[INFO] [stdout]    |
[INFO] [stdout] 77 |     use crate::mod_clouser::{shoes_in_my_size, Counter};
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/bin/main.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self};
[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: `myest::mod_trait::Summary`
[INFO] [stdout]  --> src/bin/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use myest::mod_trait::Summary;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/bin/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::Ordering`
[INFO] [stdout]  --> src/bin/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::cmp::Ordering;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/bin/main.rs:196:5
[INFO] [stdout]     |
[INFO] [stdout] 190 |         return n;
[INFO] [stdout]     |         -------- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 196 |     0
[INFO] [stdout]     |     ^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/bin/main.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let x = &mut v;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ip_type`
[INFO] [stdout]    --> src/bin/main.rs:149:10
[INFO] [stdout]     |
[INFO] [stdout] 149 | fn route(ip_type: IpAddrKind){
[INFO] [stdout]     |          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ip_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `v` is never read
[INFO] [stdout]   --> src/bin/main.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     v = 3;
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/bin/main.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let s = data.to_string();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/bin/main.rs:87:10
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let (x, y, z) = tup;
[INFO] [stdout]    |          ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]   --> src/bin/main.rs:87:16
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let (x, y, z) = tup;
[INFO] [stdout]    |                ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `number`
[INFO] [stdout]    --> src/bin/main.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |     let number = if condition{
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dihang`
[INFO] [stdout]    --> src/bin/main.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |     let dihang = loop{
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_dihang`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user1`
[INFO] [stdout]    --> src/bin/main.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |     let user1 = User{
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_user1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sq`
[INFO] [stdout]    --> src/bin/main.rs:126:9
[INFO] [stdout]     |
[INFO] [stdout] 126 |     let sq = Rectangle::square(10);
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_sq`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]    --> src/bin/main.rs:174:8
[INFO] [stdout]     |
[INFO] [stdout] 174 |     V4(String, String),
[INFO] [stdout]     |     -- ^^^^^^  ^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     fields in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]     |
[INFO] [stdout] 174 -     V4(String, String),
[INFO] [stdout] 174 +     V4((), ()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `five` is never used
[INFO] [stdout]    --> src/bin/main.rs:182:4
[INFO] [stdout]     |
[INFO] [stdout] 182 | fn five() -> i32{
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `username`, `email`, `sign_in_count`, and `active` are never read
[INFO] [stdout]    --> src/bin/main.rs:200:5
[INFO] [stdout]     |
[INFO] [stdout] 199 | struct User{
[INFO] [stdout]     |        ---- fields in this struct
[INFO] [stdout] 200 |     username: String,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 201 |     email: String,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 202 |     sign_in_count: u64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 203 |     active: bool,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/mod_template.rs:27:23
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn old(&self, value: &T){
[INFO] [stdout]    |                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `first_sentence`
[INFO] [stdout]   --> src/mod_template.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let first_sentence = novel.split('.').next().expect("no .");
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_sentence`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `announcement`
[INFO] [stdout]   --> src/mod_template.rs:58:40
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn announce_and_return_part(&self, announcement: &str) -> &str{
[INFO] [stdout]    |                                        ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_announcement`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/lib.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let a = private_run()?;
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]  --> src/mod_error_deal.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     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 `seat_at_table` is never used
[INFO] [stdout]  --> src/front_of_house/hosting.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn seat_at_table(){}
[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 `take_order` is never used
[INFO] [stdout]  --> src/front_of_house/serving.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn take_order(){}
[INFO] [stdout]   |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `simulated_expensive_calculation` is never used
[INFO] [stdout]  --> src/mod_clouser.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn simulated_expensive_calculation(intensity: u32) -> u32{
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ImportantExcept` is never constructed
[INFO] [stdout]   --> src/mod_template.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | struct ImportantExcept<'a>{
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `announce_and_return_part` is never used
[INFO] [stdout]   --> src/mod_template.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | impl<'a> ImportantExcept<'a>{
[INFO] [stdout]    | ---------------------------- method in this implementation
[INFO] [stdout] 58 |     fn announce_and_return_part(&self, announcement: &str) -> &str{
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serve_order` is never used
[INFO] [stdout]  --> src/front_of_house/serving.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn serve_order(){}
[INFO] [stdout]   |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `take_payment` is never used
[INFO] [stdout]  --> src/front_of_house/serving.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn take_payment(){}
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `seasonal_fruit` is never read
[INFO] [stdout]  --> src/front_of_house/serving/back_of_house.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Breakfast{
[INFO] [stdout]   |            --------- field in this struct
[INFO] [stdout] 2 |     pub toast: String,
[INFO] [stdout] 3 |     seasonal_fruit: String,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fix_incorrect_order` is never used
[INFO] [stdout]   --> src/front_of_house/serving/back_of_house.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn fix_incorrect_order(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cook_order` is never used
[INFO] [stdout]   --> src/front_of_house/serving/back_of_house.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn cook_order(){}
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_username_from_file_new` is never used
[INFO] [stdout]   --> src/mod_error_deal.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn read_username_from_file_new() -> Result<String, io::Error>{
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Guess` is never constructed
[INFO] [stdout]   --> src/mod_error_deal.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct Guess{
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `value` are never used
[INFO] [stdout]   --> src/mod_error_deal.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl Guess{
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 48 |     pub fn new(value: i32) -> Guess{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn value(&self) -> i32{
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.56s
[INFO] running `Command { std: "docker" "inspect" "7cd6031dcdff1f615201ac5ef41c789e36230dcd5a168daf9633eca86d566863", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7cd6031dcdff1f615201ac5ef41c789e36230dcd5a168daf9633eca86d566863", kill_on_drop: false }`
[INFO] [stdout] 7cd6031dcdff1f615201ac5ef41c789e36230dcd5a168daf9633eca86d566863
