[INFO] cloning repository https://github.com/Rosteelton/rust-book-study
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Rosteelton/rust-book-study" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRosteelton%2Frust-book-study", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRosteelton%2Frust-book-study'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c79578eeceabf6bd437f925387471b51900067c3
[INFO] checking Rosteelton/rust-book-study against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRosteelton%2Frust-book-study" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Rosteelton/rust-book-study
[INFO] finished tweaking git repo https://github.com/Rosteelton/rust-book-study
[INFO] tweaked toml for git repo https://github.com/Rosteelton/rust-book-study written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Rosteelton/rust-book-study on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Rosteelton/rust-book-study 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /workspace/builds/worker-7-tc2/source/chapters/Cargo.toml
[INFO] [stderr] workspace: /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 415492a5ce2f7b44ba7bea3246ff5dcdddd7520fb43683b60448b379ed9ea8f3
[INFO] running `Command { std: "docker" "start" "-a" "415492a5ce2f7b44ba7bea3246ff5dcdddd7520fb43683b60448b379ed9ea8f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "415492a5ce2f7b44ba7bea3246ff5dcdddd7520fb43683b60448b379ed9ea8f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "415492a5ce2f7b44ba7bea3246ff5dcdddd7520fb43683b60448b379ed9ea8f3", kill_on_drop: false }`
[INFO] [stdout] 415492a5ce2f7b44ba7bea3246ff5dcdddd7520fb43683b60448b379ed9ea8f3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3ca12cfd11eeb91f44d77ab9f8194d9e6750a3c0c75861cc8726a25d56e789eb
[INFO] running `Command { std: "docker" "start" "-a" "3ca12cfd11eeb91f44d77ab9f8194d9e6750a3c0c75861cc8726a25d56e789eb", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /opt/rustwide/workdir/chapters/Cargo.toml
[INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling zerocopy v0.8.0-alpha.6
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling proc-macro2 v1.0.85
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]     Checking pin-project-lite v0.2.14
[INFO] [stderr]     Checking mini_grep v0.1.0 (/opt/rustwide/workdir/mini_grep)
[INFO] [stderr]     Checking oop_state_pattern v0.1.0 (/opt/rustwide/workdir/oop_state_pattern)
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking rand_core v0.9.0-alpha.1
[INFO] [stderr]     Checking rand_chacha v0.9.0-alpha.1
[INFO] [stderr]     Checking rand v0.9.0-alpha.1
[INFO] [stderr]     Checking chapters v0.1.0 (/opt/rustwide/workdir/chapters)
[INFO] [stdout] warning: unused variable: `item1`
[INFO] [stdout]   --> chapters/src/bin/chapter_10_generics.rs:22:18
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn some_func(item1: &impl PartialOrd) {}
[INFO] [stdout]    |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_item1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> chapters/src/bin/chapter_10_generics.rs:30:24
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn some_function<T, U>(t: &T, u: &U) -> i32
[INFO] [stdout]    |                        ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]   --> chapters/src/bin/chapter_10_generics.rs:30:31
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn some_function<T, U>(t: &T, u: &U) -> i32
[INFO] [stdout]    |                               ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `some_function` is never used
[INFO] [stdout]   --> chapters/src/bin/chapter_10_generics.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | 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: `b`
[INFO] [stdout]   --> chapters/src/bin/chapter_15_rc.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let b = Cons(3, Rc::clone(&a)); //only increase reference counter, not a deep copy
[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: unused variable: `c`
[INFO] [stdout]   --> chapters/src/bin/chapter_15_rc.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     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: fields `0` and `1` are never read
[INFO] [stdout]   --> chapters/src/bin/chapter_15_rc.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 |     Cons(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] 17 -     Cons(i32, Rc<List>),
[INFO] [stdout] 17 +     Cons((), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> chapters/src/bin/chapter_15_rc.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let b = Cons(3, Rc::clone(&a)); //only increase reference counter, not a deep copy
[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: unused variable: `c`
[INFO] [stdout]   --> chapters/src/bin/chapter_15_rc.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     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: fields `0` and `1` are never read
[INFO] [stdout]   --> chapters/src/bin/chapter_15_rc.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 |     Cons(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] 17 -     Cons(i32, Rc<List>),
[INFO] [stdout] 17 +     Cons((), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> chapters/src/bin/chapter_9_error.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs;
[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::fs`
[INFO] [stdout]  --> chapters/src/bin/chapter_9_error.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs;
[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]   --> chapters/src/bin/chapter_10_1_lifetime.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let s: &'static str = "I have a static lifetime.";
[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: `file`
[INFO] [stdout]  --> chapters/src/bin/chapter_9_error.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let file = File::open("text.txt").unwrap_or_else(|error| {
[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: function `read_username_from_file` is never used
[INFO] [stdout]   --> chapters/src/bin/chapter_9_error.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn read_username_from_file() -> Result<String, Error> {
[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: `s2`
[INFO] [stdout]  --> chapters/src/bin/chapter_4_borrowing.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let s2 = s1;
[INFO] [stdout]   |         ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a2`
[INFO] [stdout]   --> chapters/src/bin/chapter_4_borrowing.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let a2 = get_ownership_2(a1); //a1 is not usable anymore
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_a2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b2`
[INFO] [stdout]   --> chapters/src/bin/chapter_4_borrowing.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let b2 = work_with_value(&b1); //BORROWING - we borrow value for the function work
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_b2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> chapters/src/bin/chapter_4_borrowing.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |     let s: &str = "Hello, world!"; //&str = slice for String - immutable reference
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice`
[INFO] [stdout]   --> chapters/src/bin/chapter_4_borrowing.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 |     let slice = &a[1..3];
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Point` is never constructed
[INFO] [stdout]   --> chapters/src/bin/chapter_17_oop.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Point {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Button` is never constructed
[INFO] [stdout]   --> chapters/src/bin/chapter_17_oop.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct Button {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `run_draw` is never used
[INFO] [stdout]   --> chapters/src/bin/chapter_17_oop.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Screen {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] 18 |     fn run_draw(&self) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> chapters/src/bin/chapter_17_oop.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Point {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 26 |     x: u32,
[INFO] [stdout]    |     ^
[INFO] [stdout] 27 |     y: u32,
[INFO] [stdout]    |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `place_holder` is never read
[INFO] [stdout]   --> chapters/src/bin/chapter_17_oop.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct Button {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 31 |     place_holder: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chapters` (bin "chapter_17_oop") due to 2 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> chapters/src/bin/chapter_10_1_lifetime.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let s: &'static str = "I have a static lifetime.";
[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: `file`
[INFO] [stdout]  --> chapters/src/bin/chapter_9_error.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let file = File::open("text.txt").unwrap_or_else(|error| {
[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: function `longest_with_an_announcement` is never used
[INFO] [stdout]   --> chapters/src/bin/chapter_10_1_lifetime.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn longest_with_an_announcement<'a, T>(
[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: `b1`
[INFO] [stdout]   --> chapters/src/bin/chapter_8_collections.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let b1 = b.get(2);
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_b1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b2`
[INFO] [stdout]   --> chapters/src/bin/chapter_8_collections.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let b2 = b[2];
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_b2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `split_at_mut` is never used
[INFO] [stdout]   --> chapters/src/bin/chapter_19_super_features.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn split_at_mut(values: &mut [i32], mid: usize) -> (&mut [i32], &mut [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: function `associated_types` is never used
[INFO] [stdout]   --> chapters/src/bin/chapter_19_super_features.rs:53:4
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn associated_types() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `trait_ex` is never used
[INFO] [stdout]   --> chapters/src/bin/chapter_19_super_features.rs:66:4
[INFO] [stdout]    |
[INFO] [stdout] 66 | fn trait_ex() {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> chapters/src/bin/chapter_19_super_features.rs:49:29
[INFO] [stdout]    |
[INFO] [stdout] 49 |         println!("COUNTER: {COUNTER}");
[INFO] [stdout]    |                             ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: `s2`
[INFO] [stdout]  --> chapters/src/bin/chapter_4_borrowing.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let s2 = s1;
[INFO] [stdout]   |         ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a2`
[INFO] [stdout]   --> chapters/src/bin/chapter_4_borrowing.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let a2 = get_ownership_2(a1); //a1 is not usable anymore
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_a2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b2`
[INFO] [stdout]   --> chapters/src/bin/chapter_4_borrowing.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let b2 = work_with_value(&b1); //BORROWING - we borrow value for the function work
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_b2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> chapters/src/bin/chapter_4_borrowing.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |     let s: &str = "Hello, world!"; //&str = slice for String - immutable reference
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice`
[INFO] [stdout]   --> chapters/src/bin/chapter_4_borrowing.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 |     let slice = &a[1..3];
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_ownership` is never used
[INFO] [stdout]   --> chapters/src/bin/chapter_4_borrowing.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn get_ownership(x: String) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b1`
[INFO] [stdout]   --> chapters/src/bin/chapter_8_collections.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let b1 = b.get(2);
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_b1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b2`
[INFO] [stdout]   --> chapters/src/bin/chapter_8_collections.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let b2 = b[2];
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_b2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "3ca12cfd11eeb91f44d77ab9f8194d9e6750a3c0c75861cc8726a25d56e789eb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3ca12cfd11eeb91f44d77ab9f8194d9e6750a3c0c75861cc8726a25d56e789eb", kill_on_drop: false }`
[INFO] [stdout] 3ca12cfd11eeb91f44d77ab9f8194d9e6750a3c0c75861cc8726a25d56e789eb
