[INFO] cloning repository https://github.com/AbdoOmarEg/rustlingez
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AbdoOmarEg/rustlingez" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbdoOmarEg%2Frustlingez", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbdoOmarEg%2Frustlingez'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3e1d409bd598acb06566fe5585e651ba1ea287e3
[INFO] checking AbdoOmarEg/rustlingez against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146470
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbdoOmarEg%2Frustlingez" "/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/AbdoOmarEg/rustlingez
[INFO] finished tweaking git repo https://github.com/AbdoOmarEg/rustlingez
[INFO] tweaked toml for git repo https://github.com/AbdoOmarEg/rustlingez written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AbdoOmarEg/rustlingez on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a81f1604ce31110c16934286e6df6ff7282769e20743aeeed0f7b03c14c0f586
[INFO] running `Command { std: "docker" "start" "-a" "a81f1604ce31110c16934286e6df6ff7282769e20743aeeed0f7b03c14c0f586", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a81f1604ce31110c16934286e6df6ff7282769e20743aeeed0f7b03c14c0f586", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a81f1604ce31110c16934286e6df6ff7282769e20743aeeed0f7b03c14c0f586", kill_on_drop: false }`
[INFO] [stdout] a81f1604ce31110c16934286e6df6ff7282769e20743aeeed0f7b03c14c0f586
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c23d4240a9ee2d6412351f1e93cdbf2a8a3b984e45f53e31d32706bd52e30393
[INFO] running `Command { std: "docker" "start" "-a" "c23d4240a9ee2d6412351f1e93cdbf2a8a3b984e45f53e31d32706bd52e30393", kill_on_drop: false }`
[INFO] [stderr]     Checking exercises v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `Queue` is never constructed
[INFO] [stdout]  --> exercises/20_threads/threads3.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Queue {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> exercises/20_threads/threads3.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Queue {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 10 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_tx` is never used
[INFO] [stdout]   --> exercises/20_threads/threads3.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn send_tx(q: Queue, tx: mpsc::Sender<u32>) {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `capitalize_first` is never used
[INFO] [stdout]  --> solutions/18_iterators/iterators2.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn capitalize_first(input: &str) -> 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: function `capitalize_words_vector` is never used
[INFO] [stdout]   --> solutions/18_iterators/iterators2.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn capitalize_words_vector(words: &[&str]) -> Vec<String> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `capitalize_words_string` is never used
[INFO] [stdout]   --> solutions/18_iterators/iterators2.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn capitalize_words_string(words: &[&str]) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Wrapper` is never constructed
[INFO] [stdout]  --> solutions/14_generics/generics2.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Wrapper<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: associated function `new` is never used
[INFO] [stdout]  --> solutions/14_generics/generics2.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl<T> Wrapper<T> {
[INFO] [stdout]   | ------------------ associated function in this implementation
[INFO] [stdout] 6 |     fn new(value: T) -> Self {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_price_of_apples` is never used
[INFO] [stdout]  --> solutions/quizzes/quiz1.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn calculate_price_of_apples(n_apples: u64) -> u64 {
[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 `array_and_vec` is never used
[INFO] [stdout]  --> exercises/05_vecs/vecs1.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn array_and_vec() -> ([i32; 4], Vec<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: struct `Queue` is never constructed
[INFO] [stdout]  --> solutions/20_threads/threads3.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Queue {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> solutions/20_threads/threads3.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Queue {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 10 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_tx` is never used
[INFO] [stdout]   --> solutions/20_threads/threads3.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn send_tx(q: Queue, tx: mpsc::Sender<u32>) {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `abs_all` is never used
[INFO] [stdout]  --> solutions/19_smart_pointers/cow1.rs:8:4
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn abs_all(input: &mut Cow<[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 `CreationError` is never used
[INFO] [stdout]   --> exercises/13_error_handling/errors6.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 | enum CreationError {
[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 `animal_habitat` is never used
[INFO] [stdout]  --> exercises/03_if/if3.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn animal_habitat(animal: &str) -> &str {
[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 `ParsePosNonzeroError` is never used
[INFO] [stdout]   --> exercises/13_error_handling/errors6.rs:17:6
[INFO] [stdout]    |
[INFO] [stdout] 17 | enum ParsePosNonzeroError {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `from_creation` and `from_parse_int` are never used
[INFO] [stdout]   --> exercises/13_error_handling/errors6.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl ParsePosNonzeroError {
[INFO] [stdout]    | ------------------------- associated functions in this implementation
[INFO] [stdout] 23 |     fn from_creation(err: CreationError) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     fn from_parse_int(err: ParseIntError) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PositiveNonzeroInteger` is never constructed
[INFO] [stdout]   --> exercises/13_error_handling/errors6.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | struct PositiveNonzeroInteger(u64);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `parse` are never used
[INFO] [stdout]   --> exercises/13_error_handling/errors6.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl PositiveNonzeroInteger {
[INFO] [stdout]    | --------------------------- associated functions in this implementation
[INFO] [stdout] 38 |     fn new(value: i64) -> Result<Self, CreationError> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     fn parse(s: &str) -> Result<Self, ParsePosNonzeroError> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `DivisionError` is never used
[INFO] [stdout]  --> solutions/18_iterators/iterators3.rs:2:6
[INFO] [stdout]   |
[INFO] [stdout] 2 | enum DivisionError {
[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 `divide` is never used
[INFO] [stdout]   --> solutions/18_iterators/iterators3.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn divide(a: i64, b: i64) -> Result<i64, DivisionError> {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `result_with_list` is never used
[INFO] [stdout]   --> solutions/18_iterators/iterators3.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn result_with_list() -> Result<Vec<i64>, DivisionError> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_of_results` is never used
[INFO] [stdout]   --> solutions/18_iterators/iterators3.rs:36:4
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn list_of_results() -> Vec<Result<i64, DivisionError>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fill_vec` is never used
[INFO] [stdout]  --> exercises/06_move_semantics/move_semantics1.rs:2:4
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn fill_vec(vec: Vec<i32>) -> Vec<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 `Command` is never used
[INFO] [stdout]   --> exercises/quizzes/quiz2.rs:20:6
[INFO] [stdout]    |
[INFO] [stdout] 20 | enum Command {
[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 `transformer` is never used
[INFO] [stdout]   --> exercises/quizzes/quiz2.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn transformer(input: Vec<(String, Command)>) -> Vec<String> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CreationError` is never used
[INFO] [stdout]   --> solutions/13_error_handling/errors6.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 | enum CreationError {
[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 `ParsePosNonzeroError` is never used
[INFO] [stdout]   --> solutions/13_error_handling/errors6.rs:17:6
[INFO] [stdout]    |
[INFO] [stdout] 17 | enum ParsePosNonzeroError {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `from_creation` and `from_parse_int` are never used
[INFO] [stdout]   --> solutions/13_error_handling/errors6.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl ParsePosNonzeroError {
[INFO] [stdout]    | ------------------------- associated functions in this implementation
[INFO] [stdout] 23 |     fn from_creation(err: CreationError) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn from_parse_int(err: ParseIntError) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PositiveNonzeroInteger` is never constructed
[INFO] [stdout]   --> solutions/13_error_handling/errors6.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct PositiveNonzeroInteger(u64);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `parse` are never used
[INFO] [stdout]   --> solutions/13_error_handling/errors6.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl PositiveNonzeroInteger {
[INFO] [stdout]    | --------------------------- associated functions in this implementation
[INFO] [stdout] 36 |     fn new(value: i64) -> Result<Self, CreationError> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     fn parse(s: &str) -> Result<Self, ParsePosNonzeroError> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Licensed` is never used
[INFO] [stdout]  --> exercises/15_traits/traits4.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | trait Licensed {
[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 `SomeSoftware` is never constructed
[INFO] [stdout]  --> exercises/15_traits/traits4.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct SomeSoftware;
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OtherSoftware` is never constructed
[INFO] [stdout]  --> exercises/15_traits/traits4.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct OtherSoftware;
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compare_license_types` is never used
[INFO] [stdout]   --> exercises/15_traits/traits4.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn compare_license_types(software1: impl Licensed, software2: impl Licensed) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `array_and_vec` is never used
[INFO] [stdout]  --> solutions/05_vecs/vecs1.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn array_and_vec() -> ([i32; 4], Vec<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 `vec_loop` is never used
[INFO] [stdout]  --> exercises/05_vecs/vecs2.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn vec_loop(input: &[i32]) -> Vec<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 `vec_map_example` is never used
[INFO] [stdout]   --> exercises/05_vecs/vecs2.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn vec_map_example(input: &[i32]) -> Vec<i32> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `vec_map` is never used
[INFO] [stdout]   --> exercises/05_vecs/vecs2.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn vec_map(input: &[i32]) -> Vec<i32> {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Order` is never constructed
[INFO] [stdout]  --> exercises/07_structs/structs2.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Order {
[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 `create_order_template` is never used
[INFO] [stdout]   --> exercises/07_structs/structs2.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn create_order_template() -> Order {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `power_of_2` is never used
[INFO] [stdout]  --> solutions/17_tests/tests2.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn power_of_2(n: u8) -> u64 {
[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 `calculate_price_of_apples` is never used
[INFO] [stdout]   --> exercises/quizzes/quiz1.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn calculate_price_of_apples(apples: u32) -> u32 {
[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 `is_even` is never used
[INFO] [stdout]  --> solutions/17_tests/tests1.rs:4:4
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn is_even(n: i64) -> bool {
[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 `Order` is never constructed
[INFO] [stdout]  --> solutions/07_structs/structs2.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Order {
[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 `create_order_template` is never used
[INFO] [stdout]   --> solutions/07_structs/structs2.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn create_order_template() -> Order {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Progress` is never used
[INFO] [stdout]   --> solutions/18_iterators/iterators5.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 | enum Progress {
[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 `count_for` is never used
[INFO] [stdout]   --> solutions/18_iterators/iterators5.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn count_for(map: &HashMap<String, Progress>, value: Progress) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_iterator` is never used
[INFO] [stdout]   --> solutions/18_iterators/iterators5.rs:26:4
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn count_iterator(map: &HashMap<String, Progress>, value: Progress) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_collection_for` is never used
[INFO] [stdout]   --> solutions/18_iterators/iterators5.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn count_collection_for(collection: &[HashMap<String, Progress>], value: Progress) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_collection_iterator` is never used
[INFO] [stdout]   --> solutions/18_iterators/iterators5.rs:40:4
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn count_collection_iterator(collection: &[HashMap<String, Progress>], value: Progress) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_collection_iterator_flat` is never used
[INFO] [stdout]   --> solutions/18_iterators/iterators5.rs:53:4
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn count_collection_iterator_flat(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TeamScores` is never constructed
[INFO] [stdout]   --> solutions/11_hashmaps/hashmaps3.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct TeamScores {
[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 `build_scores_table` is never used
[INFO] [stdout]   --> solutions/11_hashmaps/hashmaps3.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn build_scores_table(results: &str) -> HashMap<&str, TeamScores> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `age` are never read
[INFO] [stdout]  --> exercises/23_conversions/from_into.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Person {
[INFO] [stdout]   |        ------ fields in this struct
[INFO] [stdout] 8 |     name: String,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 9 |     age: u8,
[INFO] [stdout]   |     ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Person` 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: struct `Wrapper` is never constructed
[INFO] [stdout]  --> exercises/14_generics/generics2.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Wrapper<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: associated function `new` is never used
[INFO] [stdout]  --> exercises/14_generics/generics2.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl<T> Wrapper<T> {
[INFO] [stdout]   | ------------------ associated function in this implementation
[INFO] [stdout] 9 |     fn new(value: T) -> Self {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `byte_counter` is never used
[INFO] [stdout]  --> solutions/23_conversions/as_ref_mut.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn byte_counter<T: AsRef<str>>(arg: T) -> usize {
[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 `char_counter` is never used
[INFO] [stdout]   --> solutions/23_conversions/as_ref_mut.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn char_counter<T: AsRef<str>>(arg: T) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `num_sq` is never used
[INFO] [stdout]   --> solutions/23_conversions/as_ref_mut.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn num_sq<T: AsMut<u32>>(arg: &mut T) {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fruit_basket` is never used
[INFO] [stdout]  --> solutions/11_hashmaps/hashmaps1.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn fruit_basket() -> HashMap<String, u32> {
[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 `Package` is never constructed
[INFO] [stdout]  --> exercises/07_structs/structs3.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Package {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `is_international`, and `get_fees` are never used
[INFO] [stdout]   --> exercises/07_structs/structs3.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Package {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 12 |     fn new(sender_country: String, recipient_country: String, weight_in_grams: u32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn is_international(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     fn get_fees(&self, cents_per_gram: u32) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `power_of_2` is never used
[INFO] [stdout]  --> exercises/17_tests/tests2.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn power_of_2(n: u8) -> u64 {
[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 `Package` is never constructed
[INFO] [stdout]  --> solutions/07_structs/structs3.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Package {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `is_international`, and `get_fees` are never used
[INFO] [stdout]   --> solutions/07_structs/structs3.rs:9:8
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Package {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout]  9 |     fn new(sender_country: String, recipient_country: String, weight_in_grams: u32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn is_international(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     fn get_fees(&self, cents_per_gram: u32) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `abs_all` is never used
[INFO] [stdout]  --> exercises/19_smart_pointers/cow1.rs:8:4
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn abs_all(input: &mut Cow<[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 `bigger` is never used
[INFO] [stdout]  --> solutions/03_if/if1.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn bigger(a: i32, b: 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: function `foo_if_fizz` is never used
[INFO] [stdout]  --> solutions/03_if/if2.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn foo_if_fizz(fizzish: &str) -> &str {
[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 `fill_vec` is never used
[INFO] [stdout]  --> exercises/06_move_semantics/move_semantics3.rs:2:4
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn fill_vec(mut vec: Vec<i32>) -> Vec<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 `total_cost` is never used
[INFO] [stdout]   --> solutions/13_error_handling/errors2.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn total_cost(item_quantity: &str) -> Result<i32, ParseIntError> {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `AppendBar` is never used
[INFO] [stdout]  --> exercises/15_traits/traits2.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | trait AppendBar {
[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 `Progress` is never used
[INFO] [stdout]   --> exercises/18_iterators/iterators5.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 | enum Progress {
[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 `count_for` is never used
[INFO] [stdout]   --> exercises/18_iterators/iterators5.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn count_for(map: &HashMap<String, Progress>, value: Progress) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_iterator` is never used
[INFO] [stdout]   --> exercises/18_iterators/iterators5.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn count_iterator(map: &HashMap<String, Progress>, value: Progress) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_collection_for` is never used
[INFO] [stdout]   --> exercises/18_iterators/iterators5.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn count_collection_for(collection: &[HashMap<String, Progress>], value: Progress) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_collection_iterator` is never used
[INFO] [stdout]   --> exercises/18_iterators/iterators5.rs:51:4
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn count_collection_iterator(collection: &[HashMap<String, Progress>], value: Progress) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ColorRegularStruct` is never constructed
[INFO] [stdout]  --> exercises/07_structs/structs1.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct ColorRegularStruct {
[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 `ColorTupleStruct` is never constructed
[INFO] [stdout]  --> exercises/07_structs/structs1.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | struct ColorTupleStruct(
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UnitStruct` is never constructed
[INFO] [stdout]   --> exercises/07_structs/structs1.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct UnitStruct;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ReportCard` is never constructed
[INFO] [stdout]   --> solutions/quizzes/quiz3.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct ReportCard<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: method `print` is never used
[INFO] [stdout]   --> solutions/quizzes/quiz3.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl<T: Display> ReportCard<T> {
[INFO] [stdout]    | ------------------------------ method in this implementation
[INFO] [stdout] 23 |     //  ^^^^^^^ require that `T` implements `Display`.
[INFO] [stdout] 24 |     fn print(&self) -> String {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `vec_loop` is never used
[INFO] [stdout]  --> solutions/05_vecs/vecs2.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn vec_loop(input: &[i32]) -> Vec<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 `vec_map_example` is never used
[INFO] [stdout]   --> solutions/05_vecs/vecs2.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn vec_map_example(input: &[i32]) -> Vec<i32> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `vec_map` is never used
[INFO] [stdout]   --> solutions/05_vecs/vecs2.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn vec_map(input: &[i32]) -> Vec<i32> {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SomeTrait` is never used
[INFO] [stdout]  --> solutions/15_traits/traits5.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | trait SomeTrait {
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `OtherTrait` is never used
[INFO] [stdout]  --> solutions/15_traits/traits5.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | trait OtherTrait {
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SomeStruct` is never constructed
[INFO] [stdout]   --> solutions/15_traits/traits5.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct SomeStruct;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OtherStruct` is never constructed
[INFO] [stdout]   --> solutions/15_traits/traits5.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct OtherStruct;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `some_func` is never used
[INFO] [stdout]   --> solutions/15_traits/traits5.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn some_func(item: impl SomeTrait + OtherTrait) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `factorial_for` is never used
[INFO] [stdout]  --> solutions/18_iterators/iterators4.rs:4:4
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn factorial_for(num: u64) -> u64 {
[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 `factorial_fold` is never used
[INFO] [stdout]   --> solutions/18_iterators/iterators4.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn factorial_fold(num: u64) -> u64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `factorial_product` is never used
[INFO] [stdout]   --> solutions/18_iterators/iterators4.rs:33:4
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn factorial_product(num: u64) -> u64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `byte_counter` is never used
[INFO] [stdout]  --> exercises/23_conversions/as_ref_mut.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn byte_counter<T>(arg: T) -> usize
[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 `char_counter` is never used
[INFO] [stdout]   --> exercises/23_conversions/as_ref_mut.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn char_counter<T>(arg: T) -> usize
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `num_sq` is never used
[INFO] [stdout]   --> exercises/23_conversions/as_ref_mut.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn num_sq<T>(arg: &mut T)
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Command` is never used
[INFO] [stdout]   --> solutions/quizzes/quiz2.rs:13:6
[INFO] [stdout]    |
[INFO] [stdout] 13 | enum Command {
[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 `transformer` is never used
[INFO] [stdout]   --> solutions/quizzes/quiz2.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn transformer(input: Vec<(String, Command)>) -> Vec<String> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `transformer_iter` is never used
[INFO] [stdout]   --> solutions/quizzes/quiz2.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn transformer_iter(input: Vec<(String, Command)>) -> Vec<String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `details` is never used
[INFO] [stdout]   --> solutions/19_smart_pointers/rc1.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl Planet {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] 25 |     fn details(&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: function `placeholder` is never used
[INFO] [stdout]  --> exercises/09_strings/strings4.rs:2:4
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn placeholder() {}
[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 `CreationError` is never used
[INFO] [stdout]  --> solutions/13_error_handling/errors4.rs:4:6
[INFO] [stdout]   |
[INFO] [stdout] 4 | enum CreationError {
[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 `PositiveNonzeroInteger` is never constructed
[INFO] [stdout]   --> solutions/13_error_handling/errors4.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct PositiveNonzeroInteger(u64);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> solutions/13_error_handling/errors4.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl PositiveNonzeroInteger {
[INFO] [stdout]    | --------------------------- associated function in this implementation
[INFO] [stdout] 13 |     fn new(value: i64) -> Result<Self, CreationError> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `JoinHandle`
[INFO] [stdout]  --> exercises/20_threads/threads1.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 7 |     thread::{self, JoinHandle},
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Licensed` is never used
[INFO] [stdout]  --> solutions/15_traits/traits4.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | trait Licensed {
[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 `SomeSoftware` is never constructed
[INFO] [stdout]  --> solutions/15_traits/traits4.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct SomeSoftware;
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OtherSoftware` is never constructed
[INFO] [stdout]  --> solutions/15_traits/traits4.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct OtherSoftware;
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compare_license_types` is never used
[INFO] [stdout]   --> solutions/15_traits/traits4.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn compare_license_types(software1: impl Licensed, software2: impl Licensed) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `maybe_icecream` is never used
[INFO] [stdout]  --> exercises/12_options/options1.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn maybe_icecream(hour_of_day: u16) -> Option<u16> {
[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 `ReportCard` is never constructed
[INFO] [stdout]   --> exercises/quizzes/quiz3.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct ReportCard<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: method `print` is never used
[INFO] [stdout]   --> exercises/quizzes/quiz3.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | / impl<T> ReportCard<T>
[INFO] [stdout] 23 | | where
[INFO] [stdout] 24 | |     T: std::fmt::Display,
[INFO] [stdout]    | |_________________________- method in this implementation
[INFO] [stdout] 25 |   {
[INFO] [stdout] 26 |       fn print(&self) -> String {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `longest` is never used
[INFO] [stdout]  --> solutions/16_lifetimes/lifetimes1.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn longest<'a>(x: &'a str, y: &'a str) -> &'a str {
[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: `JoinHandle`
[INFO] [stdout]  --> exercises/20_threads/threads1.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 7 |     thread::{self, JoinHandle},
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `factorial` is never used
[INFO] [stdout]  --> exercises/18_iterators/iterators4.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn factorial(num: u64) -> u64 {
[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 `foo_if_fizz` is never used
[INFO] [stdout]  --> exercises/03_if/if2.rs:2:4
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn foo_if_fizz(fizzish: &str) -> &str {
[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 `longest` is never used
[INFO] [stdout]  --> exercises/16_lifetimes/lifetimes1.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn longest<'a>(x: &'a str, y: &'a str) -> &'a str {
[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 `DivisionError` is never used
[INFO] [stdout]  --> exercises/18_iterators/iterators3.rs:2:6
[INFO] [stdout]   |
[INFO] [stdout] 2 | enum DivisionError {
[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 `divide` is never used
[INFO] [stdout]   --> exercises/18_iterators/iterators3.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn divide(a: i64, b: i64) -> Result<i64, DivisionError> {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `result_with_list` is never used
[INFO] [stdout]   --> exercises/18_iterators/iterators3.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn result_with_list() -> Result<Vec<i64>, DivisionError> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_of_results` is never used
[INFO] [stdout]   --> exercises/18_iterators/iterators3.rs:41:4
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn list_of_results() -> Vec<Result<i64, DivisionError>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SomeTrait` is never used
[INFO] [stdout]  --> exercises/15_traits/traits5.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | trait SomeTrait {
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `OtherTrait` is never used
[INFO] [stdout]  --> exercises/15_traits/traits5.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | trait OtherTrait {
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SomeStruct` is never constructed
[INFO] [stdout]   --> exercises/15_traits/traits5.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct SomeStruct;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OtherStruct` is never constructed
[INFO] [stdout]   --> exercises/15_traits/traits5.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct OtherStruct;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `some_func` is never used
[INFO] [stdout]   --> exercises/15_traits/traits5.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn some_func<T>(item: T) -> bool
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `capitalize_first` is never used
[INFO] [stdout]  --> exercises/18_iterators/iterators2.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn capitalize_first(input: &str) -> 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: function `capitalize_words_vector` is never used
[INFO] [stdout]   --> exercises/18_iterators/iterators2.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn capitalize_words_vector(words: &[&str]) -> Vec<String> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `capitalize_words_string` is never used
[INFO] [stdout]   --> exercises/18_iterators/iterators2.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn capitalize_words_string(words: &[&str]) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TeamScores` is never constructed
[INFO] [stdout]   --> exercises/11_hashmaps/hashmaps3.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct TeamScores {
[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 `build_scores_table` is never used
[INFO] [stdout]   --> exercises/11_hashmaps/hashmaps3.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn build_scores_table(results: &str) -> HashMap<&str, TeamScores> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Fruit` is never used
[INFO] [stdout]   --> exercises/11_hashmaps/hashmaps2.rs:14:6
[INFO] [stdout]    |
[INFO] [stdout] 14 | enum Fruit {
[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 `fruit_basket` is never used
[INFO] [stdout]   --> exercises/11_hashmaps/hashmaps2.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn fruit_basket(basket: &mut HashMap<Fruit, u32>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]  --> solutions/17_tests/tests3.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Rectangle {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> solutions/17_tests/tests3.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl Rectangle {
[INFO] [stdout]   | -------------- associated function in this implementation
[INFO] [stdout] 7 |     // Don't change this function.
[INFO] [stdout] 8 |     fn new(width: i32, height: i32) -> Self {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Point` is never constructed
[INFO] [stdout]  --> exercises/08_enums/enums3.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Point {
[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 `Message` is never used
[INFO] [stdout]  --> exercises/08_enums/enums3.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 | enum Message {
[INFO] [stdout]   |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `State` is never constructed
[INFO] [stdout]   --> exercises/08_enums/enums3.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct State {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `resize`, `move_position`, `echo`, `change_color`, `quit`, and `process` are never used
[INFO] [stdout]   --> exercises/08_enums/enums3.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl State {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] 26 |     fn resize(&mut self, width: u64, height: u64) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     fn move_position(&mut self, point: Point) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn echo(&mut self, s: String) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     fn change_color(&mut self, red: u8, green: u8, blue: u8) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     fn quit(&mut self) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     fn process(&mut self, message: Message) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `maybe_icecream` is never used
[INFO] [stdout]  --> solutions/12_options/options1.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn maybe_icecream(hour_of_day: u16) -> Option<u16> {
[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 `bigger` is never used
[INFO] [stdout]  --> exercises/03_if/if1.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn bigger(a: i32, b: 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: function `animal_habitat` is never used
[INFO] [stdout]  --> solutions/03_if/if3.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn animal_habitat(animal: &str) -> &str {
[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 `Rectangle` is never constructed
[INFO] [stdout]  --> exercises/17_tests/tests3.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Rectangle {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> exercises/17_tests/tests3.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl Rectangle {
[INFO] [stdout]   | -------------- associated function in this implementation
[INFO] [stdout] 7 |     // Don't change this function.
[INFO] [stdout] 8 |     fn new(width: i32, height: i32) -> Self {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `AppendBar` is never used
[INFO] [stdout]  --> solutions/15_traits/traits2.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | trait AppendBar {
[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 `fill_vec` is never used
[INFO] [stdout]  --> solutions/06_move_semantics/move_semantics3.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn fill_vec(mut vec: Vec<i32>) -> Vec<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: struct `ColorRegularStruct` is never constructed
[INFO] [stdout]  --> solutions/07_structs/structs1.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct ColorRegularStruct {
[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 `ColorTupleStruct` is never constructed
[INFO] [stdout]  --> solutions/07_structs/structs1.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct ColorTupleStruct(u8, u8, u8);
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UnitStruct` is never constructed
[INFO] [stdout]   --> solutions/07_structs/structs1.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct UnitStruct;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `trim_me` is never used
[INFO] [stdout]  --> solutions/09_strings/strings3.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn trim_me(input: &str) -> &str {
[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 `compose_me` is never used
[INFO] [stdout]  --> solutions/09_strings/strings3.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn compose_me(input: &str) -> String {
[INFO] [stdout]   |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `replace_me` is never used
[INFO] [stdout]   --> solutions/09_strings/strings3.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn replace_me(input: &str) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CreationError` is never used
[INFO] [stdout]  --> exercises/13_error_handling/errors4.rs:4:6
[INFO] [stdout]   |
[INFO] [stdout] 4 | enum CreationError {
[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 `PositiveNonzeroInteger` is never constructed
[INFO] [stdout]   --> exercises/13_error_handling/errors4.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct PositiveNonzeroInteger(u64);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> exercises/13_error_handling/errors4.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl PositiveNonzeroInteger {
[INFO] [stdout]    | --------------------------- associated function in this implementation
[INFO] [stdout] 13 |     fn new(value: i64) -> Result<Self, CreationError> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fill_vec` is never used
[INFO] [stdout]  --> solutions/06_move_semantics/move_semantics2.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn fill_vec(vec: Vec<i32>) -> Vec<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: method `details` is never used
[INFO] [stdout]   --> exercises/19_smart_pointers/rc1.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl Planet {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] 25 |     fn details(&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: function `fruit_basket` is never used
[INFO] [stdout]  --> exercises/11_hashmaps/hashmaps1.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn fruit_basket() -> HashMap<String, u32> {
[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 `fill_vec` is never used
[INFO] [stdout]  --> solutions/06_move_semantics/move_semantics1.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn fill_vec(vec: Vec<i32>) -> Vec<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: struct `Point` is never constructed
[INFO] [stdout]  --> solutions/08_enums/enums3.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Point {
[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 `Message` is never used
[INFO] [stdout]  --> solutions/08_enums/enums3.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 | enum Message {
[INFO] [stdout]   |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `State` is never constructed
[INFO] [stdout]   --> solutions/08_enums/enums3.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct State {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `resize`, `move_position`, `echo`, `change_color`, `quit`, and `process` are never used
[INFO] [stdout]   --> solutions/08_enums/enums3.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl State {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] 24 |     fn resize(&mut self, width: u64, height: u64) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     fn move_position(&mut self, point: Point) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     fn echo(&mut self, s: String) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     fn change_color(&mut self, red: u8, green: u8, blue: u8) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     fn quit(&mut self) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     fn process(&mut self, message: Message) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_nametag_text` is never used
[INFO] [stdout]  --> solutions/13_error_handling/errors1.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn generate_nametag_text(name: String) -> Result<String, 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: function `generate_nametag_text` is never used
[INFO] [stdout]  --> exercises/13_error_handling/errors1.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn generate_nametag_text(name: String) -> Result<String, 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: function `is_even` is never used
[INFO] [stdout]  --> exercises/17_tests/tests1.rs:4:4
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn is_even(n: i64) -> bool {
[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 `fill_vec` is never used
[INFO] [stdout]  --> exercises/06_move_semantics/move_semantics2.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn fill_vec(vec: Vec<i32>) -> Vec<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: fields `name` and `age` are never read
[INFO] [stdout]  --> solutions/23_conversions/from_into.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Person {
[INFO] [stdout]   |        ------ fields in this struct
[INFO] [stdout] 8 |     name: String,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 9 |     age: u8,
[INFO] [stdout]   |     ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Person` 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: enum `Fruit` is never used
[INFO] [stdout]   --> solutions/11_hashmaps/hashmaps2.rs:14:6
[INFO] [stdout]    |
[INFO] [stdout] 14 | enum Fruit {
[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 `fruit_basket` is never used
[INFO] [stdout]   --> solutions/11_hashmaps/hashmaps2.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn fruit_basket(basket: &mut HashMap<Fruit, u32>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `placeholder` is never used
[INFO] [stdout]  --> exercises/09_strings/strings4.rs:2:4
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn placeholder() {}
[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 `trim_me` is never used
[INFO] [stdout]  --> exercises/09_strings/strings3.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn trim_me(input: &str) -> &str {
[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 `compose_me` is never used
[INFO] [stdout]  --> exercises/09_strings/strings3.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn compose_me(input: &str) -> String {
[INFO] [stdout]   |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `replace_me` is never used
[INFO] [stdout]   --> exercises/09_strings/strings3.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn replace_me(input: &str) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `total_cost` is never used
[INFO] [stdout]   --> exercises/13_error_handling/errors2.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn total_cost(item_quantity: &str) -> Result<i32, ParseIntError> {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.85s
[INFO] running `Command { std: "docker" "inspect" "c23d4240a9ee2d6412351f1e93cdbf2a8a3b984e45f53e31d32706bd52e30393", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c23d4240a9ee2d6412351f1e93cdbf2a8a3b984e45f53e31d32706bd52e30393", kill_on_drop: false }`
[INFO] [stdout] c23d4240a9ee2d6412351f1e93cdbf2a8a3b984e45f53e31d32706bd52e30393
