[INFO] cloning repository https://github.com/latisaron/segdewick
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/latisaron/segdewick" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flatisaron%2Fsegdewick", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flatisaron%2Fsegdewick'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1a06143bb1449eded599bbc4541d058d8aeb040e
[INFO] checking latisaron/segdewick/1a06143bb1449eded599bbc4541d058d8aeb040e against eff8269f797067c30555e77f160ec84c0ed15cd9 for pr-159356
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flatisaron%2Fsegdewick" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/latisaron/segdewick
[INFO] finished tweaking git repo https://github.com/latisaron/segdewick
[INFO] tweaked toml for git repo https://github.com/latisaron/segdewick written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/latisaron/segdewick on toolchain eff8269f797067c30555e77f160ec84c0ed15cd9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eff8269f797067c30555e77f160ec84c0ed15cd9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/latisaron/segdewick 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" "+eff8269f797067c30555e77f160ec84c0ed15cd9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c36f533e8924a726b63f9d01e781fa8c8c28c96d1d595403829afb31452ee0f5" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 45cfbf3f66db160e6975e7f422d0005a690f272619c159f799fa54e3982179f1
[INFO] running `Command { std: "docker" "start" "45cfbf3f66db160e6975e7f422d0005a690f272619c159f799fa54e3982179f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "45cfbf3f66db160e6975e7f422d0005a690f272619c159f799fa54e3982179f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "45cfbf3f66db160e6975e7f422d0005a690f272619c159f799fa54e3982179f1" "/opt/rustwide/cargo-home/bin/cargo" "+eff8269f797067c30555e77f160ec84c0ed15cd9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "45cfbf3f66db160e6975e7f422d0005a690f272619c159f799fa54e3982179f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "45cfbf3f66db160e6975e7f422d0005a690f272619c159f799fa54e3982179f1" "/opt/rustwide/cargo-home/bin/cargo" "+eff8269f797067c30555e77f160ec84c0ed15cd9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking segdewick v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::f32::consts::LOG2_E`
[INFO] [stdout]  --> src/chapter_one/ex_1_1_20.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::f32::consts::LOG2_E;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Write` and `stdout`
[INFO] [stdout]  --> src/chapter_one/ex_1_1_21.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{stdin, stdout, Write};
[INFO] [stdout]   |                      ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Alignment::Left`
[INFO] [stdout]  --> src/chapter_one/ex_1_1_22.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::Alignment::Left;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]  --> src/chapter_one/chapter_one.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 |     while ((t - 9.0).abs() / t > 0.001) {
[INFO] [stdout]   |           ^                           ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 6 -     while ((t - 9.0).abs() / t > 0.001) {
[INFO] [stdout] 6 +     while (t - 9.0).abs() / t > 0.001 {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Weak` and `fmt::Display`
[INFO] [stdout]  --> src/common/b_tree.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 |     cell::RefCell, fmt::Display, rc::{
[INFO] [stdout]   |                    ^^^^^^^^^^^^
[INFO] [stdout] 3 |         Rc,
[INFO] [stdout] 4 |         Weak,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thread::current`
[INFO] [stdout]  --> src/common/heap_priority_queue.rs:1:46
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::VecDeque, fmt::Debug, thread::current};
[INFO] [stdout]   |                                              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Alignment::Right` and `Ref`
[INFO] [stdout]  --> src/common/tt_tree.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{cell::{Ref, RefCell}, fmt::{Alignment::Right, Debug}, rc::{Rc, Weak}};
[INFO] [stdout]   |                  ^^^                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chapter_one::{}`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chapter_one::{};
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::chapter_one::ex_1_1_12`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::chapter_one::ex_1_1_12;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::chapter_one::ex_1_1_11`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::chapter_one::ex_1_1_11;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::chapter_one::ex_1_1_13`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::chapter_one::ex_1_1_13;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::chapter_one::ex_1_1_14`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::chapter_one::ex_1_1_14;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::chapter_one::ex_1_1_20`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::chapter_one::ex_1_1_20;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::chapter_one::ex_1_1_21`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::chapter_one::ex_1_1_21;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::chapter_one::ex_1_1_22`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::chapter_one::ex_1_1_22;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f32::consts::LOG2_E`
[INFO] [stdout]  --> src/chapter_one/ex_1_1_20.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::f32::consts::LOG2_E;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Write` and `stdout`
[INFO] [stdout]  --> src/chapter_one/ex_1_1_21.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{stdin, stdout, Write};
[INFO] [stdout]   |                      ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Alignment::Left`
[INFO] [stdout]  --> src/chapter_one/ex_1_1_22.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::Alignment::Left;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]  --> src/chapter_one/chapter_one.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 |     while ((t - 9.0).abs() / t > 0.001) {
[INFO] [stdout]   |           ^                           ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 6 -     while ((t - 9.0).abs() / t > 0.001) {
[INFO] [stdout] 6 +     while (t - 9.0).abs() / t > 0.001 {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Weak` and `fmt::Display`
[INFO] [stdout]  --> src/common/b_tree.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 |     cell::RefCell, fmt::Display, rc::{
[INFO] [stdout]   |                    ^^^^^^^^^^^^
[INFO] [stdout] 3 |         Rc,
[INFO] [stdout] 4 |         Weak,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thread::current`
[INFO] [stdout]  --> src/common/heap_priority_queue.rs:1:46
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::VecDeque, fmt::Debug, thread::current};
[INFO] [stdout]   |                                              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Alignment::Right` and `Ref`
[INFO] [stdout]  --> src/common/tt_tree.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{cell::{Ref, RefCell}, fmt::{Alignment::Right, Debug}, rc::{Rc, Weak}};
[INFO] [stdout]   |                  ^^^                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chapter_one::{}`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chapter_one::{};
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::chapter_one::ex_1_1_12`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::chapter_one::ex_1_1_12;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::chapter_one::ex_1_1_11`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::chapter_one::ex_1_1_11;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::chapter_one::ex_1_1_13`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::chapter_one::ex_1_1_13;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::chapter_one::ex_1_1_14`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::chapter_one::ex_1_1_14;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::chapter_one::ex_1_1_20`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::chapter_one::ex_1_1_20;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::chapter_one::ex_1_1_21`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::chapter_one::ex_1_1_21;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::chapter_one::ex_1_1_22`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::chapter_one::ex_1_1_22;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `j`
[INFO] [stdout]   --> src/chapter_one/chapter_one.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |         for j in 0..i {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_j`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `j`
[INFO] [stdout]   --> src/chapter_one/chapter_one.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         for j in 1..i {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_j`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/common/avl_tree.rs:130:13
[INFO] [stdout]     |
[INFO] [stdout] 130 |         let mut left_child = current.borrow().left_child.clone().unwrap();
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/common/avl_tree.rs:136:13
[INFO] [stdout]     |
[INFO] [stdout] 136 |         let mut right_child = current.borrow().right_child.clone().unwrap();
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `flag` is never read
[INFO] [stdout]    --> src/common/avl_tree.rs:142:24
[INFO] [stdout]     |
[INFO] [stdout] 142 |         let mut flag = 0;
[INFO] [stdout]     |                        ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 164 |                         flag = -1;
[INFO] [stdout]     |                         --------- `flag` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sol` is never used
[INFO] [stdout]  --> src/chapter_one/ex_1_1_11.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn sol() {
[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 `sol` is never used
[INFO] [stdout]  --> src/chapter_one/ex_1_1_12.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn sol() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sol` is never used
[INFO] [stdout]  --> src/chapter_one/ex_1_1_13.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn sol() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `tranpose_sol` is never used
[INFO] [stdout]   --> src/chapter_one/ex_1_1_13.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn tranpose_sol() {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sol` is never used
[INFO] [stdout]  --> src/chapter_one/ex_1_1_14.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn sol() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sol` is never used
[INFO] [stdout]  --> src/chapter_one/ex_1_1_20.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn sol() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `recursive` is never used
[INFO] [stdout]  --> src/chapter_one/ex_1_1_20.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn recursive(n: i32) -> f32 {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sol` is never used
[INFO] [stdout]  --> src/chapter_one/ex_1_1_21.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn sol() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sol` is never used
[INFO] [stdout]  --> src/chapter_one/ex_1_1_22.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn sol() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `insert_into_nbst` is never used
[INFO] [stdout]   --> src/chapter_one/ex_1_1_22.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn insert_into_nbst(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cache_line_optimized_sol` is never used
[INFO] [stdout]   --> src/chapter_one/ex_1_1_22.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn cache_line_optimized_sol() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `one` is never used
[INFO] [stdout]  --> src/chapter_one/chapter_one.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn one() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `two` is never used
[INFO] [stdout]   --> src/chapter_one/chapter_one.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn two() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `three` is never used
[INFO] [stdout]   --> src/chapter_one/chapter_one.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn three() {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `four` is never used
[INFO] [stdout]   --> src/chapter_one/chapter_one.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn four() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NaiveBinarySearchTree` is never constructed
[INFO] [stdout]  --> src/common/naive_binary_search_tree.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct NaiveBinarySearchTree {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]  --> src/common/naive_binary_search_tree.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Node {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `traverse_pre_order`, `traverse_in_order`, `traverse_post_order`, and `find_item` are never used
[INFO] [stdout]   --> src/common/naive_binary_search_tree.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Node {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 16 |     pub fn new(value: i32, parent: Option<Weak<RefCell<Node>>>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn traverse_pre_order(&self, buf: &mut Vec<i32>) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn traverse_in_order(&self, buf: &mut Vec<i32>) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn traverse_post_order(&self, buf: &mut Vec<i32>) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn find_item(&self, value: i32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/common/naive_binary_search_tree.rs:72:12
[INFO] [stdout]     |
[INFO] [stdout]  71 | impl NaiveBinarySearchTree {
[INFO] [stdout]     | -------------------------- associated items in this implementation
[INFO] [stdout]  72 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  76 |     pub fn insert(&mut self, value: i32) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     pub fn traverse_pre_order(&self) -> Vec<i32> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     pub fn traverse_in_order(&self) -> Vec<i32> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     pub fn traverse_post_order(&self) -> Vec<i32> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 138 |     pub fn traverse_bfs(&self) -> Vec<i32> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 156 |     pub fn traverse_bfs_complete(&self) -> Vec<i32> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |     pub fn find_item(&self, value: i32) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_tree` is never used
[INFO] [stdout]    --> src/common/naive_binary_search_tree.rs:189:4
[INFO] [stdout]     |
[INFO] [stdout] 189 | fn create_tree() -> NaiveBinarySearchTree {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AVLTree` is never constructed
[INFO] [stdout]   --> src/common/avl_tree.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct AVLTree<T>
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/common/avl_tree.rs:26:12
[INFO] [stdout]     |
[INFO] [stdout]  19 | / impl<T> AVLTree<T>
[INFO] [stdout]  20 | | where 
[INFO] [stdout]  21 | |     T: PartialEq,
[INFO] [stdout]  22 | |     T: PartialOrd,
[INFO] [stdout]  23 | |     T: Copy,
[INFO] [stdout]  24 | |     T: Display
[INFO] [stdout]     | |______________- associated items in this implementation
[INFO] [stdout]  25 |   {
[INFO] [stdout]  26 |       pub fn new() -> Self {
[INFO] [stdout]     |              ^^^
[INFO] [stdout] ...
[INFO] [stdout]  30 |       fn compute_rating(node: &Rc<RefCell<Node<T>>>) -> i32 {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  36 |       fn height(node: &Option<Rc<RefCell<Node<T>>>>) -> i32 {
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  44 |       fn left_left_rotation(&mut self, current: Rc<RefCell<Node<T>>>) {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  88 |       fn right_right_rotation(&mut self, current: Rc<RefCell<Node<T>>>) {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 129 |       pub fn left_right_rotation(&mut self, current: Rc<RefCell<Node<T>>>) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 135 |       pub fn right_left_rotation(&mut self, current: Rc<RefCell<Node<T>>>) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |       pub fn insert(&mut self, value: T) {
[INFO] [stdout]     |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]    --> src/common/avl_tree.rs:228:12
[INFO] [stdout]     |
[INFO] [stdout] 228 | pub struct Node<T> where T: PartialEq, T: PartialOrd {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `child_direction` are never used
[INFO] [stdout]    --> src/common/avl_tree.rs:237:8
[INFO] [stdout]     |
[INFO] [stdout] 236 | impl<T> Node<T> where T: PartialEq, T: PartialOrd {
[INFO] [stdout]     | ------------------------------------------------- associated items in this implementation
[INFO] [stdout] 237 |     fn new(value: T) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 247 |     fn child_direction(&self, child: &Rc<RefCell<Node<T>>>) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BTree` is never constructed
[INFO] [stdout]   --> src/common/b_tree.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct BTree<T>
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/common/b_tree.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | / impl<T> BTree<T>
[INFO] [stdout] 23 | | where
[INFO] [stdout] 24 | |     T: Eq,
[INFO] [stdout] 25 | |     T: PartialEq,
[INFO] [stdout] 26 | |     T: Ord,
[INFO] [stdout] 27 | |     T: PartialOrd,
[INFO] [stdout] 28 | |     T: Copy,
[INFO] [stdout]    | |____________- associated function in this implementation
[INFO] [stdout] 29 |   {
[INFO] [stdout] 30 |       pub fn new() -> Self {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]   --> src/common/b_tree.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct Node<T>
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HeapPriorityQueue` is never constructed
[INFO] [stdout]  --> src/common/heap_priority_queue.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct HeapPriorityQueue<T>
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `insert`, and `pop` are never used
[INFO] [stdout]   --> src/common/heap_priority_queue.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | / impl<T> HeapPriorityQueue<T>
[INFO] [stdout] 14 | | where
[INFO] [stdout] 15 | | T: Ord,
[INFO] [stdout] 16 | | T: PartialOrd,
[INFO] [stdout] 17 | | T: Eq,
[INFO] [stdout] 18 | | T: PartialEq,
[INFO] [stdout] 19 | | T: Debug
[INFO] [stdout]    | |________- associated items in this implementation
[INFO] [stdout] 20 |   {
[INFO] [stdout] 21 |       pub fn new() -> Self {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |       pub fn insert(&mut self, item: T) {
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |       pub fn pop(&mut self) -> Option<T> {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]  --> src/common/tt_tree.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Node<T>
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `new_value_position`, and `child_position` are never used
[INFO] [stdout]   --> src/common/tt_tree.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | / impl<T> Node<T>
[INFO] [stdout] 20 | | where
[INFO] [stdout] 21 | |     T: Ord,
[INFO] [stdout] 22 | |     T: PartialOrd,
[INFO] [stdout] 23 | |     T: Eq,
[INFO] [stdout] 24 | |     T: PartialEq,
[INFO] [stdout] 25 | |     T: Debug,
[INFO] [stdout]    | |_____________- associated items in this implementation
[INFO] [stdout] 26 |   {
[INFO] [stdout] 27 |       pub fn new(value: Vec<T>) -> Self {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |       pub fn new_value_position(&self, value: &T) -> usize {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |       pub fn child_position(&self, node: &Rc<RefCell<Node<T>>>) -> usize {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BTree` is never constructed
[INFO] [stdout]   --> src/common/tt_tree.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct BTree<T>
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `insert`, `is_node_full`, and `bubble_split` are never used
[INFO] [stdout]    --> src/common/tt_tree.rs:75:12
[INFO] [stdout]     |
[INFO] [stdout]  67 | / impl<T> BTree<T>
[INFO] [stdout]  68 | | where
[INFO] [stdout]  69 | |     T: Ord,
[INFO] [stdout]  70 | |     T: PartialOrd,
[INFO] [stdout]  71 | |     T: Eq,
[INFO] [stdout]  72 | |     T: PartialEq,
[INFO] [stdout]  73 | |     T: Debug,
[INFO] [stdout]     | |_____________- associated items in this implementation
[INFO] [stdout]  74 |   {
[INFO] [stdout]  75 |       pub fn new(k: usize) -> Self {
[INFO] [stdout]     |              ^^^
[INFO] [stdout] ...
[INFO] [stdout]  82 |       pub fn insert(&mut self, value: T) {
[INFO] [stdout]     |              ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |       fn is_node_full(&mut self, node: &Rc<RefCell<Node<T>>>) -> bool {
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |       fn bubble_split(&mut self, node: Rc<RefCell<Node<T>>>) {
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `j`
[INFO] [stdout]   --> src/chapter_one/chapter_one.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |         for j in 0..i {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_j`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `j`
[INFO] [stdout]   --> src/chapter_one/chapter_one.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         for j in 1..i {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_j`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/common/avl_tree.rs:130:13
[INFO] [stdout]     |
[INFO] [stdout] 130 |         let mut left_child = current.borrow().left_child.clone().unwrap();
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/common/avl_tree.rs:136:13
[INFO] [stdout]     |
[INFO] [stdout] 136 |         let mut right_child = current.borrow().right_child.clone().unwrap();
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `flag` is never read
[INFO] [stdout]    --> src/common/avl_tree.rs:142:24
[INFO] [stdout]     |
[INFO] [stdout] 142 |         let mut flag = 0;
[INFO] [stdout]     |                        ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 164 |                         flag = -1;
[INFO] [stdout]     |                         --------- `flag` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sol` is never used
[INFO] [stdout]  --> src/chapter_one/ex_1_1_11.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn sol() {
[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 `sol` is never used
[INFO] [stdout]  --> src/chapter_one/ex_1_1_12.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn sol() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sol` is never used
[INFO] [stdout]  --> src/chapter_one/ex_1_1_13.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn sol() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `tranpose_sol` is never used
[INFO] [stdout]   --> src/chapter_one/ex_1_1_13.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn tranpose_sol() {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sol` is never used
[INFO] [stdout]  --> src/chapter_one/ex_1_1_14.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn sol() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sol` is never used
[INFO] [stdout]  --> src/chapter_one/ex_1_1_20.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn sol() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `recursive` is never used
[INFO] [stdout]  --> src/chapter_one/ex_1_1_20.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn recursive(n: i32) -> f32 {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sol` is never used
[INFO] [stdout]  --> src/chapter_one/ex_1_1_21.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn sol() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sol` is never used
[INFO] [stdout]  --> src/chapter_one/ex_1_1_22.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn sol() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `insert_into_nbst` is never used
[INFO] [stdout]   --> src/chapter_one/ex_1_1_22.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn insert_into_nbst(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cache_line_optimized_sol` is never used
[INFO] [stdout]   --> src/chapter_one/ex_1_1_22.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn cache_line_optimized_sol() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `one` is never used
[INFO] [stdout]  --> src/chapter_one/chapter_one.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn one() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `two` is never used
[INFO] [stdout]   --> src/chapter_one/chapter_one.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn two() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `three` is never used
[INFO] [stdout]   --> src/chapter_one/chapter_one.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn three() {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `four` is never used
[INFO] [stdout]   --> src/chapter_one/chapter_one.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn four() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `parent` is never read
[INFO] [stdout]   --> src/common/naive_binary_search_tree.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct Node {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub parent: Option<Weak<RefCell<Node>>>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `traverse_bfs` and `traverse_bfs_complete` are never used
[INFO] [stdout]    --> src/common/naive_binary_search_tree.rs:138:12
[INFO] [stdout]     |
[INFO] [stdout]  71 | impl NaiveBinarySearchTree {
[INFO] [stdout]     | -------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 138 |     pub fn traverse_bfs(&self) -> Vec<i32> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 156 |     pub fn traverse_bfs_complete(&self) -> Vec<i32> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BTree` is never constructed
[INFO] [stdout]   --> src/common/b_tree.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct BTree<T>
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/common/b_tree.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | / impl<T> BTree<T>
[INFO] [stdout] 23 | | where
[INFO] [stdout] 24 | |     T: Eq,
[INFO] [stdout] 25 | |     T: PartialEq,
[INFO] [stdout] 26 | |     T: Ord,
[INFO] [stdout] 27 | |     T: PartialOrd,
[INFO] [stdout] 28 | |     T: Copy,
[INFO] [stdout]    | |____________- associated function in this implementation
[INFO] [stdout] 29 |   {
[INFO] [stdout] 30 |       pub fn new() -> Self {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]   --> src/common/b_tree.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct Node<T>
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.35s
[INFO] running `Command { std: "docker" "inspect" "45cfbf3f66db160e6975e7f422d0005a690f272619c159f799fa54e3982179f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "45cfbf3f66db160e6975e7f422d0005a690f272619c159f799fa54e3982179f1", kill_on_drop: false }`
[INFO] [stdout] 45cfbf3f66db160e6975e7f422d0005a690f272619c159f799fa54e3982179f1
