[INFO] cloning repository https://github.com/radumarias/rust_examples_from_book
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/radumarias/rust_examples_from_book" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradumarias%2Frust_examples_from_book", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradumarias%2Frust_examples_from_book'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 329c06c844c11f77e8ae8c8cc2b64093848e3c29
[INFO] checking radumarias/rust_examples_from_book against try#54e27f559f23913c1d5afb1a0f0114e9e61b81b8 for pr-147589
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradumarias%2Frust_examples_from_book" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/radumarias/rust_examples_from_book
[INFO] finished tweaking git repo https://github.com/radumarias/rust_examples_from_book
[INFO] tweaked toml for git repo https://github.com/radumarias/rust_examples_from_book written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/radumarias/rust_examples_from_book on toolchain 54e27f559f23913c1d5afb1a0f0114e9e61b81b8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/radumarias/rust_examples_from_book 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" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking radumarias/rust_examples_from_book against try#54e27f559f23913c1d5afb1a0f0114e9e61b81b8 for pr-147589
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradumarias%2Frust_examples_from_book" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/radumarias/rust_examples_from_book
[INFO] finished tweaking git repo https://github.com/radumarias/rust_examples_from_book
[INFO] tweaked toml for git repo https://github.com/radumarias/rust_examples_from_book written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/radumarias/rust_examples_from_book on toolchain 54e27f559f23913c1d5afb1a0f0114e9e61b81b8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/radumarias/rust_examples_from_book 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" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0507d647b9f3ee818a6a3d4bf0b5652e64fe2974ec7a5ca2588252b2f7df4c13
[INFO] running `Command { std: "docker" "start" "-a" "0507d647b9f3ee818a6a3d4bf0b5652e64fe2974ec7a5ca2588252b2f7df4c13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0507d647b9f3ee818a6a3d4bf0b5652e64fe2974ec7a5ca2588252b2f7df4c13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0507d647b9f3ee818a6a3d4bf0b5652e64fe2974ec7a5ca2588252b2f7df4c13", kill_on_drop: false }`
[INFO] [stdout] 0507d647b9f3ee818a6a3d4bf0b5652e64fe2974ec7a5ca2588252b2f7df4c13
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 89043417bf02e55e8752b775fc426d927da25b319eb3d9939494c476e4c12423
[INFO] running `Command { std: "docker" "start" "-a" "89043417bf02e55e8752b775fc426d927da25b319eb3d9939494c476e4c12423", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking hello_world v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> examples/closures_advanced.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::unix::fs::chroot`
[INFO] [stdout]   --> examples/box.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::os::unix::fs::chroot;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> examples/enums.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let s = match m {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> examples/enums.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let x = match m2 {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> examples/enums.rs:24:28
[INFO] [stdout]    |
[INFO] [stdout] 24 |         Message::Move { x, y } => x,
[INFO] [stdout]    |                            ^ help: try ignoring the field: `y: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> examples/enums.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let y = if let Message::Move { x, y } = m2 {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> examples/enums.rs:27:36
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let y = if let Message::Move { x, y } = m2 {
[INFO] [stdout]    |                                    ^ help: try ignoring the field: `x: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Quit` and `ChangeColor` are never constructed
[INFO] [stdout]  --> examples/enums.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     enum Message {
[INFO] [stdout]   |          ------- variants in this enum
[INFO] [stdout] 3 |         Quit,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 6 |         ChangeColor(i32, i32, i32),
[INFO] [stdout]   |         ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Test` is never used
[INFO] [stdout]   --> examples/enums.rs:33:10
[INFO] [stdout]    |
[INFO] [stdout] 33 |     enum Test {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `list_of_strings`
[INFO] [stdout]   --> examples/closures_advanced.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let list_of_strings: Vec<String> =
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_list_of_strings`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `list_of_statuses`
[INFO] [stdout]   --> examples/closures_advanced.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let list_of_statuses: Vec<Status> = (0u32..20).map(Status::Value).collect();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_list_of_statuses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> examples/closures_advanced.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let f = returns_closure();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> examples/cycles.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Cons(i32, RefCell<Rc<List>>),
[INFO] [stdout]   |     ---- ^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 7 -     Cons(i32, RefCell<Rc<List>>),
[INFO] [stdout] 7 +     Cons((), RefCell<Rc<List>>),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> examples/lifetimes.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn longest2(x: &S1, y: &S1) -> S1 {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> examples/lifetimes.rs:14:21
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn longest2(x: &S1, y: &S1) -> S1 {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `F` is never constructed
[INFO] [stdout]  --> examples/closures_advanced.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct F {
[INFO] [stdout]   |        ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> examples/lifetimes.rs:20:22
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn longest3(x: &i32, y: &i32) -> i32 {
[INFO] [stdout]    |                      ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> examples/closures_advanced.rs:24:15
[INFO] [stdout]    |
[INFO] [stdout] 24 |         Value(u32),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 24 -         Value(u32),
[INFO] [stdout] 24 +         Value(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Stop` is never constructed
[INFO] [stdout]   --> examples/closures_advanced.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     enum Status {
[INFO] [stdout]    |          ------ variant in this enum
[INFO] [stdout] 24 |         Value(u32),
[INFO] [stdout] 25 |         Stop,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> examples/lifetimes.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let i = ImportantExcerpt {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `S1` is never constructed
[INFO] [stdout]   --> examples/lifetimes.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct S1{
[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 `longest2` is never used
[INFO] [stdout]   --> examples/lifetimes.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn longest2(x: &S1, y: &S1) -> S1 {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `longest3` is never used
[INFO] [stdout]   --> examples/lifetimes.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn longest3(x: &i32, y: &i32) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `part` is never read
[INFO] [stdout]   --> examples/lifetimes.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct ImportantExcerpt<'a> {
[INFO] [stdout]    |        ---------------- field in this struct
[INFO] [stdout] 25 |     part: &'a str,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `first_word` is never used
[INFO] [stdout]   --> examples/lifetimes.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn first_word(s: &str) -> &str {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> examples/rc.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let b = Cons(3, Rc::clone(&a));
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `navigate_cons_rec` is never used
[INFO] [stdout]   --> examples/box.rs:55:4
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn navigate_cons_rec(root: List) {
[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 `navigate_cons_iter` is never used
[INFO] [stdout]   --> examples/box.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn navigate_cons_iter(root: List) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]  --> examples/box.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn iter(&self) -> ListIter {
[INFO] [stdout]   |             ^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]   |             |
[INFO] [stdout]   |             the lifetime is elided here
[INFO] [stdout]   |
[INFO] [stdout]   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn iter(&self) -> ListIter<'_> {
[INFO] [stdout]   |                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> examples/rc.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let c = Cons(4, Rc::clone(&a));
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> examples/deref.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> examples/rc.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let b = Cons(3, Rc::clone(&a));
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> examples/rc.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let c = Cons(4, Rc::clone(&a));
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> examples/errors.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{self, 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: fields `0` and `1` are never read
[INFO] [stdout]  --> examples/rc.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 |     Cons(i32, Rc<List>),
[INFO] [stdout]   |     ---- ^^^  ^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     fields in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]   |
[INFO] [stdout] 2 -     Cons(i32, Rc<List>),
[INFO] [stdout] 2 +     Cons((), ()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s1`
[INFO] [stdout]   --> examples/traits.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let s1 = f1(1).f1();
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> examples/traits.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let s = 3.to_string();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `some_function` is never used
[INFO] [stdout]  --> examples/traits.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn some_function<T, U>(_t: &T, _u: &U) -> i32
[INFO] [stdout]   |    ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]  --> examples/errors.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let mut file = file_r.unwrap_or_else(|error| match error.kind() {
[INFO] [stdout]   |             ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `username`
[INFO] [stdout]   --> examples/errors.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let username = fs::read_to_string("hello.txt")?;
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Shoe` is never constructed
[INFO] [stdout]   --> examples/iterators.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 |     struct Shoe {
[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 `shoes_in_size` is never used
[INFO] [stdout]   --> examples/iterators.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn shoes_in_size(shoes: Vec<Shoe>, shoe_size: u32) -> Vec<Shoe> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> examples/errors.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let mut file = file_r.unwrap_or_else(|error| match error.kind() {
[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: function `last_char_of_first_line` is never used
[INFO] [stdout]   --> examples/errors.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn last_char_of_first_line(s: &str) -> Option<char> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> examples/patterns.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let v = vec![1, 2, 3];
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `feet`
[INFO] [stdout]    --> examples/patterns.rs:111:11
[INFO] [stdout]     |
[INFO] [stdout] 111 |     let ((feet, inches), Point { x, y }) = ((3, 10), Point { x: 3, y: -10 });
[INFO] [stdout]     |           ^^^^ help: if this is intentional, prefix it with an underscore: `_feet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inches`
[INFO] [stdout]    --> examples/patterns.rs:111:17
[INFO] [stdout]     |
[INFO] [stdout] 111 |     let ((feet, inches), Point { x, y }) = ((3, 10), Point { x: 3, y: -10 });
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> examples/patterns.rs:111:34
[INFO] [stdout]     |
[INFO] [stdout] 111 |     let ((feet, inches), Point { x, y }) = ((3, 10), Point { x: 3, y: -10 });
[INFO] [stdout]     |                                  ^ help: try ignoring the field: `x: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> examples/patterns.rs:111:37
[INFO] [stdout]     |
[INFO] [stdout] 111 |     let ((feet, inches), Point { x, y }) = ((3, 10), Point { x: 3, y: -10 });
[INFO] [stdout]     |                                     ^ help: try ignoring the field: `y: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]  --> examples/weak.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Node {
[INFO] [stdout]   |        ---- fields in this struct
[INFO] [stdout] 6 |     value: i32,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 7 |     parent: RefCell<Weak<Node>>,
[INFO] [stdout] 8 |     children: RefCell<Vec<Rc<Node>>>,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Rgb` is never constructed
[INFO] [stdout]  --> examples/patterns.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | enum Color {
[INFO] [stdout]   |      ----- variant in this enum
[INFO] [stdout] 2 |     Rgb(i32, i32, i32),
[INFO] [stdout]   |     ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> examples/drop.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let c = CustomSmartPointer {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyIter` is never constructed
[INFO] [stdout]  --> examples/patterns.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct MyIter {}
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]   --> examples/drop.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let d = CustomSmartPointer {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Quit`, `Move`, and `Write` are never constructed
[INFO] [stdout]   --> examples/patterns.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 84 |     enum Message {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout] 85 |         Quit,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 86 |         Move { x: i32, y: i32 },
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 87 |         Write(String),
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `y` and `z` are never read
[INFO] [stdout]    --> examples/patterns.rs:137:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |     struct Point3D {
[INFO] [stdout]     |            ------- fields in this struct
[INFO] [stdout] 136 |         x: i32,
[INFO] [stdout] 137 |         y: i32,
[INFO] [stdout]     |         ^
[INFO] [stdout] 138 |         z: i32,
[INFO] [stdout]     |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `a` is never used
[INFO] [stdout]    --> examples/patterns.rs:200:4
[INFO] [stdout]     |
[INFO] [stdout] 200 | fn a(_: Option<i32>) {
[INFO] [stdout]     |    ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add` is never used
[INFO] [stdout]  --> examples/tests.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn add(x: i32, y: i32) -> i32 {
[INFO] [stdout]   |    ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]  --> examples/tests.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Guess {
[INFO] [stdout]   |            ----- field in this struct
[INFO] [stdout] 7 |     value: i32,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> examples/macros.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `More` is never constructed
[INFO] [stdout]   --> examples/stack_enum.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | enum Link {
[INFO] [stdout]    |      ---- variant in this enum
[INFO] [stdout] 10 |     Empty,
[INFO] [stdout] 11 |     More(Box<Node>),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::distributions::uniform::SampleBorrow`
[INFO] [stdout]  --> examples/advanced_traits.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::distributions::uniform::SampleBorrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `IterMut<'_, T>` is more private than the item `LinkedList::<T>::iter_mut`
[INFO] [stdout]    --> examples/linked_list.rs:361:5
[INFO] [stdout]     |
[INFO] [stdout] 361 |     pub fn iter_mut(&self) -> IterMut<T> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `LinkedList::<T>::iter_mut` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `IterMut<'_, T>` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> examples/linked_list.rs:313:1
[INFO] [stdout]     |
[INFO] [stdout] 313 | struct IterMut<'a, T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> examples/linked_list.rs:303:17
[INFO] [stdout]     |
[INFO] [stdout] 303 |     pub fn iter(&self) -> Iter<T> {
[INFO] [stdout]     |                 ^^^^^     ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 303 |     pub fn iter(&self) -> Iter<'_, T> {
[INFO] [stdout]     |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> examples/ref_cel.rs:76:10
[INFO] [stdout]    |
[INFO] [stdout] 76 |     Cons(Rc<RefCell<i32>>, Rc<List>),
[INFO] [stdout]    |     ---- ^^^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 76 -     Cons(Rc<RefCell<i32>>, Rc<List>),
[INFO] [stdout] 76 +     Cons((), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> examples/linked_list.rs:361:21
[INFO] [stdout]     |
[INFO] [stdout] 361 |     pub fn iter_mut(&self) -> IterMut<T> {
[INFO] [stdout]     |                     ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 361 |     pub fn iter_mut(&self) -> IterMut<'_, T> {
[INFO] [stdout]     |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> examples/unsafe.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let r = address as *const i32;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Foo` is never used
[INFO] [stdout]   --> examples/unsafe.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | unsafe trait Foo {
[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 `split_at_mut` is never used
[INFO] [stdout]   --> examples/unsafe.rs:57:4
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn split_at_mut(values: &mut [i32], mid: usize) -> (&mut [i32], &mut [i32]) {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/unsafe.rs:51:33
[INFO] [stdout]    |
[INFO] [stdout] 51 |         println!("COUNTER: {}", COUNTER);
[INFO] [stdout]    |                                 ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expensive_closure`
[INFO] [stdout]   --> examples/closures.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let expensive_closure = |num: u32| -> u32 {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expensive_closure`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `add_one_v2`
[INFO] [stdout]   --> examples/closures.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let add_one_v2 = |x: u32| -> u32 { x + 1 };
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_add_one_v2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> examples/closures.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let s = example_closure(String::from("hello"));
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0392]: type parameter `T` is never used
[INFO] [stdout]   --> examples/main2.rs:53:22
[INFO] [stdout]    |
[INFO] [stdout] 53 |     struct Rectangle<T> {
[INFO] [stdout]    |                      ^ unused type parameter
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`
[INFO] [stdout]    = help: if you intended `T` to be a const parameter, use `const T: /* Type */` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `PendingReviewPost` is more private than the item `DraftPost::request_review`
[INFO] [stdout]   --> examples/state_pattern.rs:62:5
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn request_review(self) -> PendingReviewPost {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `DraftPost::request_review` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `PendingReviewPost` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> examples/state_pattern.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct PendingReviewPost {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `reject` is never used
[INFO] [stdout]   --> examples/state_pattern.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl PreApprovedPost {
[INFO] [stdout]    | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     fn reject(self) -> DraftPost {
[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 `add_one_v1` is never used
[INFO] [stdout]   --> examples/closures.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 60 |     fn add_one_v1(x: u32) -> u32 { x + 1 }
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `mod1`
[INFO] [stdout]  --> examples/collections.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub mod mod1;
[INFO] [stdout]   | ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `mod1`, create file "examples/mod1.rs" or "examples/mod1/mod.rs"
[INFO] [stdout]   = note: if there is a `mod mod1` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for struct `Rectangle`
[INFO] [stdout]   --> examples/main2.rs:58:10
[INFO] [stdout]    |
[INFO] [stdout] 58 |     impl Rectangle {
[INFO] [stdout]    |          ^^^^^^^^^ expected 1 generic argument
[INFO] [stdout]    |
[INFO] [stdout] note: struct defined here, with 1 generic parameter: `T`
[INFO] [stdout]   --> examples/main2.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 |     struct Rectangle<T> {
[INFO] [stdout]    |            ^^^^^^^^^ -
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 58 |     impl Rectangle<T> {
[INFO] [stdout]    |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `baby_name` is never used
[INFO] [stdout]   --> examples/advanced_traits.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl Dog {
[INFO] [stdout]    | -------- associated function in this implementation
[INFO] [stdout] 29 |     fn baby_name() -> String {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `List` is never constructed
[INFO] [stdout]   --> examples/advanced_traits.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 | struct List<T> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0392.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BTreeSet`
[INFO] [stdout]  --> examples/collections.rs:2:34
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::{BTreeMap, BTreeSet, HashMap};
[INFO] [stdout]   |                                  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::hash::Hash`
[INFO] [stdout]  --> examples/collections.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::hash::Hash;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hello_world` (example "main2") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0583`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hello_world` (example "collections") due to 1 previous error; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "89043417bf02e55e8752b775fc426d927da25b319eb3d9939494c476e4c12423", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "89043417bf02e55e8752b775fc426d927da25b319eb3d9939494c476e4c12423", kill_on_drop: false }`
[INFO] [stdout] 89043417bf02e55e8752b775fc426d927da25b319eb3d9939494c476e4c12423
