[INFO] cloning repository https://github.com/htoopyaelinn56/rust_book_practice
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/htoopyaelinn56/rust_book_practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhtoopyaelinn56%2Frust_book_practice", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhtoopyaelinn56%2Frust_book_practice'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 04c9f4661fa2984ae690a51696e0ba58930194d2
[INFO] testing htoopyaelinn56/rust_book_practice against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhtoopyaelinn56%2Frust_book_practice" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/htoopyaelinn56/rust_book_practice
[INFO] finished tweaking git repo https://github.com/htoopyaelinn56/rust_book_practice
[INFO] tweaked toml for git repo https://github.com/htoopyaelinn56/rust_book_practice written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/htoopyaelinn56/rust_book_practice on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/htoopyaelinn56/rust_book_practice 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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 43022d843e31645cd8de04272ebcdbc09157a673847f7c405a4af520b12920fd
[INFO] running `Command { std: "docker" "start" "-a" "43022d843e31645cd8de04272ebcdbc09157a673847f7c405a4af520b12920fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "43022d843e31645cd8de04272ebcdbc09157a673847f7c405a4af520b12920fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "43022d843e31645cd8de04272ebcdbc09157a673847f7c405a4af520b12920fd", kill_on_drop: false }`
[INFO] [stdout] 43022d843e31645cd8de04272ebcdbc09157a673847f7c405a4af520b12920fd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 401818d05804ffea4ee338c63157f6d555a307192f37d06c8835458c590da627
[INFO] running `Command { std: "docker" "start" "-a" "401818d05804ffea4ee338c63157f6d555a307192f37d06c8835458c590da627", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling zerocopy v0.8.25
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling siphasher v1.0.1
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling cc v1.2.25
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling hashbrown v0.15.3
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling mac v0.1.1
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling futf v0.1.5
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling dtoa v1.0.10
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling tendril v0.4.3
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling dtoa-short v0.3.5
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling tokio v1.45.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling phf v0.10.1
[INFO] [stderr]    Compiling servo_arc v0.3.0
[INFO] [stderr]    Compiling iri-string v0.7.8
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling getopts v0.2.21
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling ego-tree v0.6.3
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling string_cache v0.8.9
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling phf_generator v0.11.3
[INFO] [stderr]    Compiling phf_generator v0.10.0
[INFO] [stderr]    Compiling phf_codegen v0.10.0
[INFO] [stderr]    Compiling phf_codegen v0.11.3
[INFO] [stderr]    Compiling string_cache_codegen v0.5.4
[INFO] [stderr]    Compiling selectors v0.25.0
[INFO] [stderr]    Compiling markup5ever v0.12.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling phf_macros v0.11.3
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling cssparser-macros v0.6.1
[INFO] [stderr]    Compiling html5ever v0.27.0
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling phf v0.11.3
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling cssparser v0.31.2
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling h2 v0.4.10
[INFO] [stderr]    Compiling scraper v0.20.0
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling tower-http v0.6.4
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling hyper-util v0.1.13
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.18
[INFO] [stderr]    Compiling trpl v0.2.0
[INFO] [stderr]    Compiling rust_test v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/vector_test.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | /     /// println!("{borrowed}"); <- occurs compile time error
[INFO] [stdout] 19 | |
[INFO] [stdout] 20 | |     /// mutable iteration
[INFO] [stdout]    | |_________________________^
[INFO] [stdout] 21 | /     for i in v.iter_mut() {
[INFO] [stdout] 22 | |         *i *= -1;
[INFO] [stdout] 23 | |     }
[INFO] [stdout]    | |_____- rustdoc does not generate documentation for expressions
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]   --> src/error_handling_test.rs:4:26
[INFO] [stdout]    |
[INFO] [stdout]  4 | use std::io::{ErrorKind, Read};
[INFO] [stdout]    |                          ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/main.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | mod error_handling_test;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Formatter`
[INFO] [stdout]   --> src/trait_test.rs:1:25
[INFO] [stdout]    |
[INFO] [stdout]  1 | use std::fmt::{Display, Formatter};
[INFO] [stdout]    |                         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/main.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | mod trait_test;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Display` and `Formatter`
[INFO] [stdout]   --> src/deref_drop_trait_test.rs:1:16
[INFO] [stdout]    |
[INFO] [stdout]  1 | use std::fmt::{Display, Formatter};
[INFO] [stdout]    |                ^^^^^^^  ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/main.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | mod deref_drop_trait_test;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::pin::pin`
[INFO] [stdout]   --> src/pin_test.rs:1:5
[INFO] [stdout]    |
[INFO] [stdout]  1 | use std::pin::pin;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/main.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | mod pin_test;
[INFO] [stdout]    | ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]  --> src/tuple_test.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let x = {
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/ownership_test.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let mut text  = String::from("hello world");
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `square`
[INFO] [stdout]   --> src/struct_test_2.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let square = Rectangle::square(30);
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_square`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `home`
[INFO] [stdout]  --> src/enum_test.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let home = IpAddr::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/enum_test.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     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: `m`
[INFO] [stdout]   --> src/enum_test.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let m = Message::Move { x: 1, y: 2 };
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `some_number`
[INFO] [stdout]   --> src/enum_test.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let some_number = Some(5);
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `some_char`
[INFO] [stdout]   --> src/enum_test.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let some_char = Some('e');
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_char`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `absent_number`
[INFO] [stdout]   --> src/enum_test.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let absent_number: Option<i32> = None;
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absent_number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `six`
[INFO] [stdout]   --> src/enum_test.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let six = plus_one(five);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_six`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `none`
[INFO] [stdout]   --> src/enum_test.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let none = plus_one(None);
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `None`
[INFO] [stdout]    |
[INFO] [stdout] 42 -     let none = plus_one(None);
[INFO] [stdout] 42 +     let std::prelude::v1::None = plus_one(None);
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let _none = plus_one(None);
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num_spaces`
[INFO] [stdout]   --> src/enum_test.rs:53:20
[INFO] [stdout]    |
[INFO] [stdout] 53 |     fn move_player(num_spaces: u8) {}
[INFO] [stdout]    |                    ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_spaces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `borrowed`
[INFO] [stdout]   --> src/vector_test.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let borrowed = &v[0];
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_borrowed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row`
[INFO] [stdout]   --> src/vector_test.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let row = vec![
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s3`
[INFO] [stdout]  --> src/string_test.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let s3 = s1 + &s2;
[INFO] [stdout]   |         ^^ help: if this is intentional, prefix it with an underscore: `_s3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `score`
[INFO] [stdout]   --> src/hashmap_test.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let score = scores.get(&team_name).copied().unwrap_or(0);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_score`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `greeting_file_result`
[INFO] [stdout]  --> src/error_handling_test.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let greeting_file_result = File::open("hello.txt");
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_greeting_file_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `greeting_file`
[INFO] [stdout]  --> src/error_handling_test.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let greeting_file = File::open("hello.txt").unwrap_or_else(|error| {
[INFO] [stdout]   |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_greeting_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pinned_struct`
[INFO] [stdout]   --> src/pin_test.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let pinned_struct = Pin::new(&mut my_struct);
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pinned_struct`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/variable_test.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn main() {
[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 `main` is never used
[INFO] [stdout]  --> src/tuple_test.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn main(){
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `condition_fn` is never used
[INFO] [stdout]   --> src/tuple_test.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn condition_fn() -> () {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/loop_test.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn main() {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/ownership_test.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn main() {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `takes_ownership` is never used
[INFO] [stdout]   --> src/ownership_test.rs:26:4
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn takes_ownership(some_string: String) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `borrow_ownership` is never used
[INFO] [stdout]   --> src/ownership_test.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn borrow_ownership(some_string: &mut String) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `no_dangle` is never used
[INFO] [stdout]   --> src/ownership_test.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn no_dangle() -> String {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `first_word` is never used
[INFO] [stdout]   --> src/ownership_test.rs:40:4
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn first_word(s: &String) -> &str {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]  --> src/struct_test.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct User {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Color` is never constructed
[INFO] [stdout]  --> src/struct_test.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | struct Color(i32, i32, i32);
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Point` is never constructed
[INFO] [stdout]   --> src/struct_test.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Point(i32, i32, i32);
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlwaysEqual` is never constructed
[INFO] [stdout]   --> src/struct_test.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct AlwaysEqual;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/struct_test.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_user` is never used
[INFO] [stdout]   --> src/struct_test.rs:34:4
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn build_user(username: String, email: String) -> User {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]  --> src/struct_test_2.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Rectangle {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `area`, `can_hold`, and `square` are never used
[INFO] [stdout]   --> src/struct_test_2.rs:8:8
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl Rectangle {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout]  8 |     fn area(&self) -> u32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     fn can_hold(&self, other: &Rectangle) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     fn square(size: u32) -> Self {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/struct_test_2.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/enum_test.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn main() {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `call` is never used
[INFO] [stdout]   --> src/enum_test.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |     impl Message {
[INFO] [stdout]    |     ------------ method in this implementation
[INFO] [stdout] 21 |         fn call(&self) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `UsState` is never used
[INFO] [stdout]   --> src/enum_test.rs:74:6
[INFO] [stdout]    |
[INFO] [stdout] 74 | enum UsState {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `existed_in` is never used
[INFO] [stdout]   --> src/enum_test.rs:80:8
[INFO] [stdout]    |
[INFO] [stdout] 79 | impl UsState {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] 80 |     fn existed_in(&self, year: u16) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Coin` is never used
[INFO] [stdout]   --> src/enum_test.rs:89:6
[INFO] [stdout]    |
[INFO] [stdout] 89 | enum Coin {
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `value_in_cents` is never used
[INFO] [stdout]   --> src/enum_test.rs:96:4
[INFO] [stdout]    |
[INFO] [stdout] 96 | fn value_in_cents(coin: Coin) -> u8 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `call` is never used
[INFO] [stdout]  --> src/module_test.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn call() {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `seat_at_table` is never used
[INFO] [stdout]   --> src/module_test_2.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn seat_at_table() {}
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `take_order` is never used
[INFO] [stdout]   --> src/module_test_2.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn take_order() {}
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serve_order` is never used
[INFO] [stdout]   --> src/module_test_2.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn serve_order() {}
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `take_payment` is never used
[INFO] [stdout]   --> src/module_test_2.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn take_payment() {}
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/vector_test.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn main(){
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/string_test.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn main(){
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/hashmap_test.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn main() {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/error_handling_test.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn main() -> Result<(), Box<dyn Error>> {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_username_from_file` is never used
[INFO] [stdout]   --> src/error_handling_test.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn read_username_from_file() -> Result<String, io::Error> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `last_char_of_first_line` is never used
[INFO] [stdout]   --> src/error_handling_test.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn last_char_of_first_line(text: &str) -> Option<char> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Point` is never constructed
[INFO] [stdout]  --> src/generics_test.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Point<X1, Y1> {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `mix_up` is never used
[INFO] [stdout]  --> src/generics_test.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl<X1, Y1> Point<X1, Y1> {
[INFO] [stdout]   | -------------------------- method in this implementation
[INFO] [stdout] 9 |     fn mix_up<X2, Y2>(self, other: Point<X2, Y2>) -> Point<X1, Y2> {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `sum` is never used
[INFO] [stdout]   --> src/generics_test.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Point<i32, i32> {
[INFO] [stdout]    | -------------------- method in this implementation
[INFO] [stdout] 18 |     fn sum(&self) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pair` is never constructed
[INFO] [stdout]   --> src/generics_test.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct Pair<T> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/generics_test.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl<T> Pair<T> {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 29 |     fn new(x: T, y: T) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cmp_display` is never used
[INFO] [stdout]   --> src/generics_test.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | / impl<T> Pair<T>
[INFO] [stdout] 35 | | where
[INFO] [stdout] 36 | |     T: Display + PartialOrd,
[INFO] [stdout]    | |____________________________- method in this implementation
[INFO] [stdout] 37 |   {
[INFO] [stdout] 38 |       fn cmp_display(&self) {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/generics_test.rs:47:4
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Summary` is never used
[INFO] [stdout]  --> src/trait_test.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait Summary {
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NewsArticle` is never constructed
[INFO] [stdout]   --> src/trait_test.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct NewsArticle {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Tweet` is never constructed
[INFO] [stdout]   --> src/trait_test.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct Tweet {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `returns_summarizable` is never used
[INFO] [stdout]   --> src/trait_test.rs:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn returns_summarizable() -> impl Summary {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `notify` is never used
[INFO] [stdout]   --> src/trait_test.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn notify<T>(item: &T)
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/trait_test.rs:58:4
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/lifetime_test.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn main() {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `longest` is never used
[INFO] [stdout]   --> src/lifetime_test.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn longest<'a>(x: &'a str, y: &'a str) -> &'a str {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add` is never used
[INFO] [stdout]  --> src/test_cases.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn add(left: u64, right: u64) -> u64 {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]  --> src/test_cases.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Rectangle {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_hold` is never used
[INFO] [stdout]   --> src/test_cases.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Rectangle {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] 12 |     fn can_hold(&self, other: &Rectangle) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `greeting` is never used
[INFO] [stdout]   --> src/test_cases.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn greeting(name: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `panic_fn` is never used
[INFO] [stdout]   --> src/test_cases.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn panic_fn(num: u64) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_duplicates` is never used
[INFO] [stdout]  --> src/two_pointer_remove_duplicates.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn remove_duplicates(nums: &mut Vec<i32>) -> usize {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/two_pointer_remove_duplicates.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]  --> src/closure_test.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Rectangle {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/closure_test.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn main() {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/iterator_test.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Shoe` is never constructed
[INFO] [stdout]   --> src/iterator_test.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct Shoe {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shoes_in_size` is never used
[INFO] [stdout]   --> src/iterator_test.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn shoes_in_size(shoes: Vec<Shoe>, shoe_size: u32) -> Vec<Shoe> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]  --> src/linked_list.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Node {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/linked_list.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn main() {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyBox` is never constructed
[INFO] [stdout]  --> src/deref_drop_trait_test.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct MyBox<T>(T);
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/deref_drop_trait_test.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl<T> MyBox<T> {
[INFO] [stdout]   | ---------------- associated function in this implementation
[INFO] [stdout] 7 |     fn new(x: T) -> MyBox<T> {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/deref_drop_trait_test.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/reference_counting_test.rs:4:4
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `perform` is never used
[INFO] [stdout]   --> src/reference_counting_test.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn perform(arg : &Rc<i32>) {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `perform_by_ref_cell` is never used
[INFO] [stdout]   --> src/reference_counting_test.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn perform_by_ref_cell(arg : &Rc<RefCell<i32>>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/ref_cell_test.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main(){
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]  --> src/memory_leak_test.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Node {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/memory_leak_test.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Node {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 12 |     fn new(value: i32) -> Rc<RefCell<Node>> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NodeWithWeakRef` is never constructed
[INFO] [stdout]   --> src/memory_leak_test.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct NodeWithWeakRef {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/memory_leak_test.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl NodeWithWeakRef {
[INFO] [stdout]    | -------------------- associated function in this implementation
[INFO] [stdout] 29 |     fn new(value: i32) -> Rc<RefCell<NodeWithWeakRef>> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/memory_leak_test.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `memory_leak` is never used
[INFO] [stdout]   --> src/memory_leak_test.rs:44:4
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn memory_leak() {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `prevent_memory_leak` is never used
[INFO] [stdout]   --> src/memory_leak_test.rs:64:4
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn prevent_memory_leak() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/thread_test.rs:4:4
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/message_passing.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn main(){
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/shared_state_concurrency_test.rs:4:4
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyStruct` is never constructed
[INFO] [stdout]  --> src/pin_test.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct MyStruct {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example_without_pin` is never used
[INFO] [stdout]  --> src/pin_test.rs:8:4
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn example_without_pin() {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example_with_pin` is never used
[INFO] [stdout]   --> src/pin_test.rs:26:4
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn example_with_pin() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `move_data` is never used
[INFO] [stdout]   --> src/pin_test.rs:49:4
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn move_data(my_data: String)  {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.91s
[INFO] running `Command { std: "docker" "inspect" "401818d05804ffea4ee338c63157f6d555a307192f37d06c8835458c590da627", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "401818d05804ffea4ee338c63157f6d555a307192f37d06c8835458c590da627", kill_on_drop: false }`
[INFO] [stdout] 401818d05804ffea4ee338c63157f6d555a307192f37d06c8835458c590da627
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] da3222c3ce77e886df7e3723c62a5e9a59f447b23f303377588090566cb8b106
[INFO] running `Command { std: "docker" "start" "-a" "da3222c3ce77e886df7e3723c62a5e9a59f447b23f303377588090566cb8b106", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust_test v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/vector_test.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | /     /// println!("{borrowed}"); <- occurs compile time error
[INFO] [stdout] 19 | |
[INFO] [stdout] 20 | |     /// mutable iteration
[INFO] [stdout]    | |_________________________^
[INFO] [stdout] 21 | /     for i in v.iter_mut() {
[INFO] [stdout] 22 | |         *i *= -1;
[INFO] [stdout] 23 | |     }
[INFO] [stdout]    | |_____- rustdoc does not generate documentation for expressions
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> src/error_handling_test.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::{ErrorKind, Read};
[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: `Formatter`
[INFO] [stdout]  --> src/trait_test.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{Display, Formatter};
[INFO] [stdout]   |                         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Display` and `Formatter`
[INFO] [stdout]  --> src/deref_drop_trait_test.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{Display, Formatter};
[INFO] [stdout]   |                ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::pin::pin`
[INFO] [stdout]  --> src/pin_test.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::pin::pin;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]  --> src/tuple_test.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let x = {
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/ownership_test.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let mut text  = String::from("hello world");
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `square`
[INFO] [stdout]   --> src/struct_test_2.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let square = Rectangle::square(30);
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_square`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `home`
[INFO] [stdout]  --> src/enum_test.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let home = IpAddr::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/enum_test.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     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: `m`
[INFO] [stdout]   --> src/enum_test.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let m = Message::Move { x: 1, y: 2 };
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `some_number`
[INFO] [stdout]   --> src/enum_test.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let some_number = Some(5);
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `some_char`
[INFO] [stdout]   --> src/enum_test.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let some_char = Some('e');
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_char`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `absent_number`
[INFO] [stdout]   --> src/enum_test.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let absent_number: Option<i32> = None;
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absent_number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `six`
[INFO] [stdout]   --> src/enum_test.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let six = plus_one(five);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_six`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `none`
[INFO] [stdout]   --> src/enum_test.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let none = plus_one(None);
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `None`
[INFO] [stdout]    |
[INFO] [stdout] 42 -     let none = plus_one(None);
[INFO] [stdout] 42 +     let std::prelude::v1::None = plus_one(None);
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let _none = plus_one(None);
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num_spaces`
[INFO] [stdout]   --> src/enum_test.rs:53:20
[INFO] [stdout]    |
[INFO] [stdout] 53 |     fn move_player(num_spaces: u8) {}
[INFO] [stdout]    |                    ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_spaces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `borrowed`
[INFO] [stdout]   --> src/vector_test.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let borrowed = &v[0];
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_borrowed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row`
[INFO] [stdout]   --> src/vector_test.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let row = vec![
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s3`
[INFO] [stdout]  --> src/string_test.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let s3 = s1 + &s2;
[INFO] [stdout]   |         ^^ help: if this is intentional, prefix it with an underscore: `_s3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `score`
[INFO] [stdout]   --> src/hashmap_test.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let score = scores.get(&team_name).copied().unwrap_or(0);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_score`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `greeting_file_result`
[INFO] [stdout]  --> src/error_handling_test.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let greeting_file_result = File::open("hello.txt");
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_greeting_file_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `greeting_file`
[INFO] [stdout]  --> src/error_handling_test.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let greeting_file = File::open("hello.txt").unwrap_or_else(|error| {
[INFO] [stdout]   |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_greeting_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pinned_struct`
[INFO] [stdout]   --> src/pin_test.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let pinned_struct = Pin::new(&mut my_struct);
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pinned_struct`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/variable_test.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn main() {
[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 `main` is never used
[INFO] [stdout]  --> src/tuple_test.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn main(){
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `condition_fn` is never used
[INFO] [stdout]   --> src/tuple_test.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn condition_fn() -> () {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/loop_test.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn main() {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/ownership_test.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn main() {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `takes_ownership` is never used
[INFO] [stdout]   --> src/ownership_test.rs:26:4
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn takes_ownership(some_string: String) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `borrow_ownership` is never used
[INFO] [stdout]   --> src/ownership_test.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn borrow_ownership(some_string: &mut String) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `no_dangle` is never used
[INFO] [stdout]   --> src/ownership_test.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn no_dangle() -> String {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `first_word` is never used
[INFO] [stdout]   --> src/ownership_test.rs:40:4
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn first_word(s: &String) -> &str {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]  --> src/struct_test.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct User {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Color` is never constructed
[INFO] [stdout]  --> src/struct_test.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | struct Color(i32, i32, i32);
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Point` is never constructed
[INFO] [stdout]   --> src/struct_test.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Point(i32, i32, i32);
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlwaysEqual` is never constructed
[INFO] [stdout]   --> src/struct_test.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct AlwaysEqual;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/struct_test.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_user` is never used
[INFO] [stdout]   --> src/struct_test.rs:34:4
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn build_user(username: String, email: String) -> User {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]  --> src/struct_test_2.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Rectangle {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `area`, `can_hold`, and `square` are never used
[INFO] [stdout]   --> src/struct_test_2.rs:8:8
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl Rectangle {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout]  8 |     fn area(&self) -> u32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     fn can_hold(&self, other: &Rectangle) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     fn square(size: u32) -> Self {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/struct_test_2.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/enum_test.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn main() {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `call` is never used
[INFO] [stdout]   --> src/enum_test.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |     impl Message {
[INFO] [stdout]    |     ------------ method in this implementation
[INFO] [stdout] 21 |         fn call(&self) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `UsState` is never used
[INFO] [stdout]   --> src/enum_test.rs:74:6
[INFO] [stdout]    |
[INFO] [stdout] 74 | enum UsState {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `existed_in` is never used
[INFO] [stdout]   --> src/enum_test.rs:80:8
[INFO] [stdout]    |
[INFO] [stdout] 79 | impl UsState {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] 80 |     fn existed_in(&self, year: u16) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Coin` is never used
[INFO] [stdout]   --> src/enum_test.rs:89:6
[INFO] [stdout]    |
[INFO] [stdout] 89 | enum Coin {
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `value_in_cents` is never used
[INFO] [stdout]   --> src/enum_test.rs:96:4
[INFO] [stdout]    |
[INFO] [stdout] 96 | fn value_in_cents(coin: Coin) -> u8 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `call` is never used
[INFO] [stdout]  --> src/module_test.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn call() {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `seat_at_table` is never used
[INFO] [stdout]   --> src/module_test_2.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn seat_at_table() {}
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `take_order` is never used
[INFO] [stdout]   --> src/module_test_2.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn take_order() {}
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serve_order` is never used
[INFO] [stdout]   --> src/module_test_2.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn serve_order() {}
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `take_payment` is never used
[INFO] [stdout]   --> src/module_test_2.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn take_payment() {}
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/vector_test.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn main(){
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/string_test.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn main(){
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/hashmap_test.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn main() {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/error_handling_test.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn main() -> Result<(), Box<dyn Error>> {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_username_from_file` is never used
[INFO] [stdout]   --> src/error_handling_test.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn read_username_from_file() -> Result<String, io::Error> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `last_char_of_first_line` is never used
[INFO] [stdout]   --> src/error_handling_test.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn last_char_of_first_line(text: &str) -> Option<char> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Point` is never constructed
[INFO] [stdout]  --> src/generics_test.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Point<X1, Y1> {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `mix_up` is never used
[INFO] [stdout]  --> src/generics_test.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl<X1, Y1> Point<X1, Y1> {
[INFO] [stdout]   | -------------------------- method in this implementation
[INFO] [stdout] 9 |     fn mix_up<X2, Y2>(self, other: Point<X2, Y2>) -> Point<X1, Y2> {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `sum` is never used
[INFO] [stdout]   --> src/generics_test.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Point<i32, i32> {
[INFO] [stdout]    | -------------------- method in this implementation
[INFO] [stdout] 18 |     fn sum(&self) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pair` is never constructed
[INFO] [stdout]   --> src/generics_test.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct Pair<T> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/generics_test.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl<T> Pair<T> {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 29 |     fn new(x: T, y: T) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cmp_display` is never used
[INFO] [stdout]   --> src/generics_test.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | / impl<T> Pair<T>
[INFO] [stdout] 35 | | where
[INFO] [stdout] 36 | |     T: Display + PartialOrd,
[INFO] [stdout]    | |____________________________- method in this implementation
[INFO] [stdout] 37 |   {
[INFO] [stdout] 38 |       fn cmp_display(&self) {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/generics_test.rs:47:4
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Summary` is never used
[INFO] [stdout]  --> src/trait_test.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait Summary {
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NewsArticle` is never constructed
[INFO] [stdout]   --> src/trait_test.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct NewsArticle {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Tweet` is never constructed
[INFO] [stdout]   --> src/trait_test.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct Tweet {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `returns_summarizable` is never used
[INFO] [stdout]   --> src/trait_test.rs:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn returns_summarizable() -> impl Summary {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `notify` is never used
[INFO] [stdout]   --> src/trait_test.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn notify<T>(item: &T)
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/trait_test.rs:58:4
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/lifetime_test.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn main() {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `longest` is never used
[INFO] [stdout]   --> src/lifetime_test.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn longest<'a>(x: &'a str, y: &'a str) -> &'a str {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_duplicates` is never used
[INFO] [stdout]  --> src/two_pointer_remove_duplicates.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn remove_duplicates(nums: &mut Vec<i32>) -> usize {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/two_pointer_remove_duplicates.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]  --> src/closure_test.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Rectangle {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/closure_test.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn main() {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/iterator_test.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]  --> src/linked_list.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Node {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/linked_list.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn main() {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyBox` is never constructed
[INFO] [stdout]  --> src/deref_drop_trait_test.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct MyBox<T>(T);
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/deref_drop_trait_test.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl<T> MyBox<T> {
[INFO] [stdout]   | ---------------- associated function in this implementation
[INFO] [stdout] 7 |     fn new(x: T) -> MyBox<T> {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/deref_drop_trait_test.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/reference_counting_test.rs:4:4
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `perform` is never used
[INFO] [stdout]   --> src/reference_counting_test.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn perform(arg : &Rc<i32>) {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `perform_by_ref_cell` is never used
[INFO] [stdout]   --> src/reference_counting_test.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn perform_by_ref_cell(arg : &Rc<RefCell<i32>>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/ref_cell_test.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main(){
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]  --> src/memory_leak_test.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Node {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/memory_leak_test.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Node {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 12 |     fn new(value: i32) -> Rc<RefCell<Node>> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NodeWithWeakRef` is never constructed
[INFO] [stdout]   --> src/memory_leak_test.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct NodeWithWeakRef {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/memory_leak_test.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl NodeWithWeakRef {
[INFO] [stdout]    | -------------------- associated function in this implementation
[INFO] [stdout] 29 |     fn new(value: i32) -> Rc<RefCell<NodeWithWeakRef>> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/memory_leak_test.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `memory_leak` is never used
[INFO] [stdout]   --> src/memory_leak_test.rs:44:4
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn memory_leak() {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `prevent_memory_leak` is never used
[INFO] [stdout]   --> src/memory_leak_test.rs:64:4
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn prevent_memory_leak() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/thread_test.rs:4:4
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/message_passing.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn main(){
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/shared_state_concurrency_test.rs:4:4
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example_with_pin` is never used
[INFO] [stdout]   --> src/pin_test.rs:26:4
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn example_with_pin() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.57s
[INFO] running `Command { std: "docker" "inspect" "da3222c3ce77e886df7e3723c62a5e9a59f447b23f303377588090566cb8b106", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "da3222c3ce77e886df7e3723c62a5e9a59f447b23f303377588090566cb8b106", kill_on_drop: false }`
[INFO] [stdout] da3222c3ce77e886df7e3723c62a5e9a59f447b23f303377588090566cb8b106
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 86ea315b5bc0cb0e7d4f1bbd96668422af340195aca159e3611eedf94761bff2
[INFO] running `Command { std: "docker" "start" "-a" "86ea315b5bc0cb0e7d4f1bbd96668422af340195aca159e3611eedf94761bff2", kill_on_drop: false }`
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]   --> src/vector_test.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | /     /// println!("{borrowed}"); <- occurs compile time error
[INFO] [stderr] 19 | |
[INFO] [stderr] 20 | |     /// mutable iteration
[INFO] [stderr]    | |_________________________^
[INFO] [stderr] 21 | /     for i in v.iter_mut() {
[INFO] [stderr] 22 | |         *i *= -1;
[INFO] [stderr] 23 | |     }
[INFO] [stderr]    | |_____- rustdoc does not generate documentation for expressions
[INFO] [stderr]    |
[INFO] [stderr]    = help: use `//` for a plain comment
[INFO] [stderr]    = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Read`
[INFO] [stderr]  --> src/error_handling_test.rs:4:26
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::io::{ErrorKind, Read};
[INFO] [stderr]   |                          ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Formatter`
[INFO] [stderr]  --> src/trait_test.rs:1:25
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::fmt::{Display, Formatter};
[INFO] [stderr]   |                         ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Display` and `Formatter`
[INFO] [stderr]  --> src/deref_drop_trait_test.rs:1:16
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::fmt::{Display, Formatter};
[INFO] [stderr]   |                ^^^^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::pin::pin`
[INFO] [stderr]  --> src/pin_test.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::pin::pin;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]  --> src/tuple_test.rs:5:9
[INFO] [stderr]   |
[INFO] [stderr] 5 |     let x = {
[INFO] [stderr]   |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/ownership_test.rs:20:9
[INFO] [stderr]    |
[INFO] [stderr] 20 |     let mut text  = String::from("hello world");
[INFO] [stderr]    |         ----^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `square`
[INFO] [stderr]   --> src/struct_test_2.rs:47:9
[INFO] [stderr]    |
[INFO] [stderr] 47 |     let square = Rectangle::square(30);
[INFO] [stderr]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_square`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `home`
[INFO] [stderr]  --> src/enum_test.rs:7:9
[INFO] [stderr]   |
[INFO] [stderr] 7 |     let home = IpAddr::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/enum_test.rs:9:9
[INFO] [stderr]   |
[INFO] [stderr] 9 |     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: `m`
[INFO] [stderr]   --> src/enum_test.rs:18:9
[INFO] [stderr]    |
[INFO] [stderr] 18 |     let m = Message::Move { x: 1, y: 2 };
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `some_number`
[INFO] [stderr]   --> src/enum_test.rs:28:9
[INFO] [stderr]    |
[INFO] [stderr] 28 |     let some_number = Some(5);
[INFO] [stderr]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_number`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `some_char`
[INFO] [stderr]   --> src/enum_test.rs:29:9
[INFO] [stderr]    |
[INFO] [stderr] 29 |     let some_char = Some('e');
[INFO] [stderr]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_char`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `absent_number`
[INFO] [stderr]   --> src/enum_test.rs:31:9
[INFO] [stderr]    |
[INFO] [stderr] 31 |     let absent_number: Option<i32> = None;
[INFO] [stderr]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absent_number`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `six`
[INFO] [stderr]   --> src/enum_test.rs:41:9
[INFO] [stderr]    |
[INFO] [stderr] 41 |     let six = plus_one(five);
[INFO] [stderr]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_six`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `none`
[INFO] [stderr]   --> src/enum_test.rs:42:9
[INFO] [stderr]    |
[INFO] [stderr] 42 |     let none = plus_one(None);
[INFO] [stderr]    |         ^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: you might have meant to pattern match on the similarly named variant `None`
[INFO] [stderr]    |
[INFO] [stderr] 42 -     let none = plus_one(None);
[INFO] [stderr] 42 +     let std::prelude::v1::None = plus_one(None);
[INFO] [stderr]    |
[INFO] [stderr] help: if this is intentional, prefix it with an underscore
[INFO] [stderr]    |
[INFO] [stderr] 42 |     let _none = plus_one(None);
[INFO] [stderr]    |         +
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `num_spaces`
[INFO] [stderr]   --> src/enum_test.rs:53:20
[INFO] [stderr]    |
[INFO] [stderr] 53 |     fn move_player(num_spaces: u8) {}
[INFO] [stderr]    |                    ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_spaces`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `borrowed`
[INFO] [stderr]   --> src/vector_test.rs:15:9
[INFO] [stderr]    |
[INFO] [stderr] 15 |     let borrowed = &v[0];
[INFO] [stderr]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_borrowed`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `row`
[INFO] [stderr]   --> src/vector_test.rs:38:9
[INFO] [stderr]    |
[INFO] [stderr] 38 |     let row = vec![
[INFO] [stderr]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_row`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s3`
[INFO] [stderr]  --> src/string_test.rs:8:9
[INFO] [stderr]   |
[INFO] [stderr] 8 |     let s3 = s1 + &s2;
[INFO] [stderr]   |         ^^ help: if this is intentional, prefix it with an underscore: `_s3`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `score`
[INFO] [stderr]   --> src/hashmap_test.rs:10:9
[INFO] [stderr]    |
[INFO] [stderr] 10 |     let score = scores.get(&team_name).copied().unwrap_or(0);
[INFO] [stderr]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_score`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `greeting_file_result`
[INFO] [stderr]  --> src/error_handling_test.rs:7:9
[INFO] [stderr]   |
[INFO] [stderr] 7 |     let greeting_file_result = File::open("hello.txt");
[INFO] [stderr]   |         ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_greeting_file_result`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `greeting_file`
[INFO] [stderr]  --> src/error_handling_test.rs:9:9
[INFO] [stderr]   |
[INFO] [stderr] 9 |     let greeting_file = File::open("hello.txt").unwrap_or_else(|error| {
[INFO] [stderr]   |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_greeting_file`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pinned_struct`
[INFO] [stderr]   --> src/pin_test.rs:43:9
[INFO] [stderr]    |
[INFO] [stderr] 43 |     let pinned_struct = Pin::new(&mut my_struct);
[INFO] [stderr]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pinned_struct`
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]  --> src/variable_test.rs:1:4
[INFO] [stderr]   |
[INFO] [stderr] 1 | fn main() {
[INFO] [stderr]   |    ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]  --> src/tuple_test.rs:1:4
[INFO] [stderr]   |
[INFO] [stderr] 1 | fn main(){
[INFO] [stderr]   |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `condition_fn` is never used
[INFO] [stderr]   --> src/tuple_test.rs:10:4
[INFO] [stderr]    |
[INFO] [stderr] 10 | fn condition_fn() -> () {
[INFO] [stderr]    |    ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]  --> src/loop_test.rs:1:4
[INFO] [stderr]   |
[INFO] [stderr] 1 | fn main() {
[INFO] [stderr]   |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]  --> src/ownership_test.rs:1:4
[INFO] [stderr]   |
[INFO] [stderr] 1 | fn main() {
[INFO] [stderr]   |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `takes_ownership` is never used
[INFO] [stderr]   --> src/ownership_test.rs:26:4
[INFO] [stderr]    |
[INFO] [stderr] 26 | fn takes_ownership(some_string: String) -> String {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `borrow_ownership` is never used
[INFO] [stderr]   --> src/ownership_test.rs:31:4
[INFO] [stderr]    |
[INFO] [stderr] 31 | fn borrow_ownership(some_string: &mut String) {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `no_dangle` is never used
[INFO] [stderr]   --> src/ownership_test.rs:35:4
[INFO] [stderr]    |
[INFO] [stderr] 35 | fn no_dangle() -> String {
[INFO] [stderr]    |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `first_word` is never used
[INFO] [stderr]   --> src/ownership_test.rs:40:4
[INFO] [stderr]    |
[INFO] [stderr] 40 | fn first_word(s: &String) -> &str {
[INFO] [stderr]    |    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `User` is never constructed
[INFO] [stderr]  --> src/struct_test.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | struct User {
[INFO] [stderr]   |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Color` is never constructed
[INFO] [stderr]  --> src/struct_test.rs:9:8
[INFO] [stderr]   |
[INFO] [stderr] 9 | struct Color(i32, i32, i32);
[INFO] [stderr]   |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Point` is never constructed
[INFO] [stderr]   --> src/struct_test.rs:10:8
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct Point(i32, i32, i32);
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AlwaysEqual` is never constructed
[INFO] [stderr]   --> src/struct_test.rs:12:8
[INFO] [stderr]    |
[INFO] [stderr] 12 | struct AlwaysEqual;
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]   --> src/struct_test.rs:15:4
[INFO] [stderr]    |
[INFO] [stderr] 15 | fn main() {
[INFO] [stderr]    |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `build_user` is never used
[INFO] [stderr]   --> src/struct_test.rs:34:4
[INFO] [stderr]    |
[INFO] [stderr] 34 | fn build_user(username: String, email: String) -> User {
[INFO] [stderr]    |    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Rectangle` is never constructed
[INFO] [stderr]  --> src/struct_test_2.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Rectangle {
[INFO] [stderr]   |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `area`, `can_hold`, and `square` are never used
[INFO] [stderr]   --> src/struct_test_2.rs:8:8
[INFO] [stderr]    |
[INFO] [stderr]  7 | impl Rectangle {
[INFO] [stderr]    | -------------- associated items in this implementation
[INFO] [stderr]  8 |     fn area(&self) -> u32 {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 12 |     fn can_hold(&self, other: &Rectangle) -> bool {
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 16 |     fn square(size: u32) -> Self {
[INFO] [stderr]    |        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]   --> src/struct_test_2.rs:24:4
[INFO] [stderr]    |
[INFO] [stderr] 24 | fn main() {
[INFO] [stderr]    |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]  --> src/enum_test.rs:1:4
[INFO] [stderr]   |
[INFO] [stderr] 1 | fn main() {
[INFO] [stderr]   |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `call` is never used
[INFO] [stderr]   --> src/enum_test.rs:21:12
[INFO] [stderr]    |
[INFO] [stderr] 20 |     impl Message {
[INFO] [stderr]    |     ------------ method in this implementation
[INFO] [stderr] 21 |         fn call(&self) {
[INFO] [stderr]    |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `UsState` is never used
[INFO] [stderr]   --> src/enum_test.rs:74:6
[INFO] [stderr]    |
[INFO] [stderr] 74 | enum UsState {
[INFO] [stderr]    |      ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `existed_in` is never used
[INFO] [stderr]   --> src/enum_test.rs:80:8
[INFO] [stderr]    |
[INFO] [stderr] 79 | impl UsState {
[INFO] [stderr]    | ------------ method in this implementation
[INFO] [stderr] 80 |     fn existed_in(&self, year: u16) -> bool {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `Coin` is never used
[INFO] [stderr]   --> src/enum_test.rs:89:6
[INFO] [stderr]    |
[INFO] [stderr] 89 | enum Coin {
[INFO] [stderr]    |      ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `value_in_cents` is never used
[INFO] [stderr]   --> src/enum_test.rs:96:4
[INFO] [stderr]    |
[INFO] [stderr] 96 | fn value_in_cents(coin: Coin) -> u8 {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `call` is never used
[INFO] [stderr]  --> src/module_test.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | pub fn call() {
[INFO] [stderr]   |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `seat_at_table` is never used
[INFO] [stderr]   --> src/module_test_2.rs:18:8
[INFO] [stderr]    |
[INFO] [stderr] 18 |     fn seat_at_table() {}
[INFO] [stderr]    |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `take_order` is never used
[INFO] [stderr]   --> src/module_test_2.rs:22:8
[INFO] [stderr]    |
[INFO] [stderr] 22 |     fn take_order() {}
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `serve_order` is never used
[INFO] [stderr]   --> src/module_test_2.rs:24:8
[INFO] [stderr]    |
[INFO] [stderr] 24 |     fn serve_order() {}
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `take_payment` is never used
[INFO] [stderr]   --> src/module_test_2.rs:26:8
[INFO] [stderr]    |
[INFO] [stderr] 26 |     fn take_payment() {}
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]  --> src/vector_test.rs:1:4
[INFO] [stderr]   |
[INFO] [stderr] 1 | fn main(){
[INFO] [stderr]   |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]  --> src/string_test.rs:1:4
[INFO] [stderr]   |
[INFO] [stderr] 1 | fn main(){
[INFO] [stderr]   |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]  --> src/hashmap_test.rs:1:4
[INFO] [stderr]   |
[INFO] [stderr] 1 | fn main() {
[INFO] [stderr]   |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]  --> src/error_handling_test.rs:6:4
[INFO] [stderr]   |
[INFO] [stderr] 6 | fn main() -> Result<(), Box<dyn Error>> {
[INFO] [stderr]   |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `read_username_from_file` is never used
[INFO] [stderr]   --> src/error_handling_test.rs:23:4
[INFO] [stderr]    |
[INFO] [stderr] 23 | fn read_username_from_file() -> Result<String, io::Error> {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `last_char_of_first_line` is never used
[INFO] [stderr]   --> src/error_handling_test.rs:27:4
[INFO] [stderr]    |
[INFO] [stderr] 27 | fn last_char_of_first_line(text: &str) -> Option<char> {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Point` is never constructed
[INFO] [stderr]  --> src/generics_test.rs:3:8
[INFO] [stderr]   |
[INFO] [stderr] 3 | struct Point<X1, Y1> {
[INFO] [stderr]   |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `mix_up` is never used
[INFO] [stderr]  --> src/generics_test.rs:9:8
[INFO] [stderr]   |
[INFO] [stderr] 8 | impl<X1, Y1> Point<X1, Y1> {
[INFO] [stderr]   | -------------------------- method in this implementation
[INFO] [stderr] 9 |     fn mix_up<X2, Y2>(self, other: Point<X2, Y2>) -> Point<X1, Y2> {
[INFO] [stderr]   |        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `sum` is never used
[INFO] [stderr]   --> src/generics_test.rs:18:8
[INFO] [stderr]    |
[INFO] [stderr] 17 | impl Point<i32, i32> {
[INFO] [stderr]    | -------------------- method in this implementation
[INFO] [stderr] 18 |     fn sum(&self) -> i32 {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Pair` is never constructed
[INFO] [stderr]   --> src/generics_test.rs:23:8
[INFO] [stderr]    |
[INFO] [stderr] 23 | struct Pair<T> {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/generics_test.rs:29:8
[INFO] [stderr]    |
[INFO] [stderr] 28 | impl<T> Pair<T> {
[INFO] [stderr]    | --------------- associated function in this implementation
[INFO] [stderr] 29 |     fn new(x: T, y: T) -> Self {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `cmp_display` is never used
[INFO] [stderr]   --> src/generics_test.rs:38:8
[INFO] [stderr]    |
[INFO] [stderr] 34 | / impl<T> Pair<T>
[INFO] [stderr] 35 | | where
[INFO] [stderr] 36 | |     T: Display + PartialOrd,
[INFO] [stderr]    | |____________________________- method in this implementation
[INFO] [stderr] 37 |   {
[INFO] [stderr] 38 |       fn cmp_display(&self) {
[INFO] [stderr]    |          ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]   --> src/generics_test.rs:47:4
[INFO] [stderr]    |
[INFO] [stderr] 47 | fn main() {
[INFO] [stderr]    |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Summary` is never used
[INFO] [stderr]  --> src/trait_test.rs:3:11
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub trait Summary {
[INFO] [stderr]   |           ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `NewsArticle` is never constructed
[INFO] [stderr]   --> src/trait_test.rs:11:12
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub struct NewsArticle {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Tweet` is never constructed
[INFO] [stderr]   --> src/trait_test.rs:24:12
[INFO] [stderr]    |
[INFO] [stderr] 24 | pub struct Tweet {
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `returns_summarizable` is never used
[INFO] [stderr]   --> src/trait_test.rs:43:4
[INFO] [stderr]    |
[INFO] [stderr] 43 | fn returns_summarizable() -> impl Summary {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `notify` is never used
[INFO] [stderr]   --> src/trait_test.rs:51:8
[INFO] [stderr]    |
[INFO] [stderr] 51 | pub fn notify<T>(item: &T)
[INFO] [stderr]    |        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]   --> src/trait_test.rs:58:4
[INFO] [stderr]    |
[INFO] [stderr] 58 | fn main() {
[INFO] [stderr]    |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]  --> src/lifetime_test.rs:1:4
[INFO] [stderr]   |
[INFO] [stderr] 1 | fn main() {
[INFO] [stderr]   |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `longest` is never used
[INFO] [stderr]   --> src/lifetime_test.rs:14:4
[INFO] [stderr]    |
[INFO] [stderr] 14 | fn longest<'a>(x: &'a str, y: &'a str) -> &'a str {
[INFO] [stderr]    |    ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `remove_duplicates` is never used
[INFO] [stderr]  --> src/two_pointer_remove_duplicates.rs:1:4
[INFO] [stderr]   |
[INFO] [stderr] 1 | fn remove_duplicates(nums: &mut Vec<i32>) -> usize {
[INFO] [stderr]   |    ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]   --> src/two_pointer_remove_duplicates.rs:28:4
[INFO] [stderr]    |
[INFO] [stderr] 28 | fn main() {
[INFO] [stderr]    |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Rectangle` is never constructed
[INFO] [stderr]  --> src/closure_test.rs:4:8
[INFO] [stderr]   |
[INFO] [stderr] 4 | struct Rectangle {
[INFO] [stderr]   |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]  --> src/closure_test.rs:9:4
[INFO] [stderr]   |
[INFO] [stderr] 9 | fn main() {
[INFO] [stderr]   |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]   --> src/iterator_test.rs:13:4
[INFO] [stderr]    |
[INFO] [stderr] 13 | fn main() {
[INFO] [stderr]    |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Node` is never constructed
[INFO] [stderr]  --> src/linked_list.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Node {
[INFO] [stderr]   |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]  --> src/linked_list.rs:7:4
[INFO] [stderr]   |
[INFO] [stderr] 7 | fn main() {
[INFO] [stderr]   |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `MyBox` is never constructed
[INFO] [stderr]  --> src/deref_drop_trait_test.rs:4:8
[INFO] [stderr]   |
[INFO] [stderr] 4 | struct MyBox<T>(T);
[INFO] [stderr]   |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]  --> src/deref_drop_trait_test.rs:7:8
[INFO] [stderr]   |
[INFO] [stderr] 6 | impl<T> MyBox<T> {
[INFO] [stderr]   | ---------------- associated function in this implementation
[INFO] [stderr] 7 |     fn new(x: T) -> MyBox<T> {
[INFO] [stderr]   |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]   --> src/deref_drop_trait_test.rs:25:4
[INFO] [stderr]    |
[INFO] [stderr] 25 | fn main() {
[INFO] [stderr]    |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]  --> src/reference_counting_test.rs:4:4
[INFO] [stderr]   |
[INFO] [stderr] 4 | fn main() {
[INFO] [stderr]   |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `perform` is never used
[INFO] [stderr]   --> src/reference_counting_test.rs:22:4
[INFO] [stderr]    |
[INFO] [stderr] 22 | fn perform(arg : &Rc<i32>) {
[INFO] [stderr]    |    ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `perform_by_ref_cell` is never used
[INFO] [stderr]   --> src/reference_counting_test.rs:29:4
[INFO] [stderr]    |
[INFO] [stderr] 29 | fn perform_by_ref_cell(arg : &Rc<RefCell<i32>>) {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]  --> src/ref_cell_test.rs:3:4
[INFO] [stderr]   |
[INFO] [stderr] 3 | fn main(){
[INFO] [stderr]   |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Node` is never constructed
[INFO] [stderr]  --> src/memory_leak_test.rs:5:8
[INFO] [stderr]   |
[INFO] [stderr] 5 | struct Node {
[INFO] [stderr]   |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/memory_leak_test.rs:12:8
[INFO] [stderr]    |
[INFO] [stderr] 11 | impl Node {
[INFO] [stderr]    | --------- associated function in this implementation
[INFO] [stderr] 12 |     fn new(value: i32) -> Rc<RefCell<Node>> {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `NodeWithWeakRef` is never constructed
[INFO] [stderr]   --> src/memory_leak_test.rs:22:8
[INFO] [stderr]    |
[INFO] [stderr] 22 | struct NodeWithWeakRef {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/memory_leak_test.rs:29:8
[INFO] [stderr]    |
[INFO] [stderr] 28 | impl NodeWithWeakRef {
[INFO] [stderr]    | -------------------- associated function in this implementation
[INFO] [stderr] 29 |     fn new(value: i32) -> Rc<RefCell<NodeWithWeakRef>> {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]   --> src/memory_leak_test.rs:38:4
[INFO] [stderr]    |
[INFO] [stderr] 38 | fn main() {
[INFO] [stderr]    |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `memory_leak` is never used
[INFO] [stderr]   --> src/memory_leak_test.rs:44:4
[INFO] [stderr]    |
[INFO] [stderr] 44 | fn memory_leak() {
[INFO] [stderr]    |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `prevent_memory_leak` is never used
[INFO] [stderr]   --> src/memory_leak_test.rs:64:4
[INFO] [stderr]    |
[INFO] [stderr] 64 | fn prevent_memory_leak() {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]  --> src/thread_test.rs:4:4
[INFO] [stderr]   |
[INFO] [stderr] 4 | fn main() {
[INFO] [stderr]   |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]  --> src/message_passing.rs:5:4
[INFO] [stderr]   |
[INFO] [stderr] 5 | fn main(){
[INFO] [stderr]   |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]  --> src/shared_state_concurrency_test.rs:4:4
[INFO] [stderr]   |
[INFO] [stderr] 4 | fn main() {
[INFO] [stderr]   |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `example_with_pin` is never used
[INFO] [stderr]   --> src/pin_test.rs:26:4
[INFO] [stderr]    |
[INFO] [stderr] 26 | fn example_with_pin() {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rust_test` (bin "rust_test" test) generated 99 warnings (run `cargo fix --bin "rust_test" -p rust_test --tests` to apply 23 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_test-e9a210ce09857ac0)
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test iterator_test::tests::filters_by_size ... ok
[INFO] [stdout] test iterator_test::iterator_demonstration ... ok
[INFO] [stdout] test test_cases::tests::greeting_contains_name ... ok
[INFO] [stdout] test pin_test::tests::test_self_referential ... ok
[INFO] [stdout] test test_cases::tests::smaller_cannot_hold_larger ... ok
[INFO] [stdout] test test_cases::tests::larger_can_hold_smaller ... ok
[INFO] [stdout] test test_cases::tests::exploration ... ok
[INFO] [stdout] test test_cases::tests::panics_1_should_panic_1 - should panic ... ok
[INFO] [stdout] test test_cases::tests::panics_2_should_panic_2 - should panic ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "86ea315b5bc0cb0e7d4f1bbd96668422af340195aca159e3611eedf94761bff2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "86ea315b5bc0cb0e7d4f1bbd96668422af340195aca159e3611eedf94761bff2", kill_on_drop: false }`
[INFO] [stdout] 86ea315b5bc0cb0e7d4f1bbd96668422af340195aca159e3611eedf94761bff2
