[INFO] cloning repository https://github.com/datager/rustlings
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/datager/rustlings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdatager%2Frustlings", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdatager%2Frustlings'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0abf684aca5af13715de9c947c5442ab9a42519a
[INFO] checking datager/rustlings against try#3857be5045fe74bd0f296f6f4c23db10f8857f73 for pr-156807
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdatager%2Frustlings" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  67% (9046/13392)
Updating files:  68% (9107/13392)
Updating files:  69% (9241/13392)
Updating files:  70% (9375/13392)
Updating files:  71% (9509/13392)
Updating files:  72% (9643/13392)
Updating files:  73% (9777/13392)
Updating files:  74% (9911/13392)
Updating files:  75% (10044/13392)
Updating files:  76% (10178/13392)
Updating files:  77% (10312/13392)
Updating files:  78% (10446/13392)
Updating files:  79% (10580/13392)
Updating files:  80% (10714/13392)
Updating files:  81% (10848/13392)
Updating files:  82% (10982/13392)
Updating files:  83% (11116/13392)
Updating files:  84% (11250/13392)
Updating files:  85% (11384/13392)
Updating files:  86% (11518/13392)
Updating files:  87% (11652/13392)
Updating files:  88% (11785/13392)
Updating files:  89% (11919/13392)
Updating files:  90% (12053/13392)
Updating files:  91% (12187/13392)
Updating files:  92% (12321/13392)
Updating files:  93% (12455/13392)
Updating files:  94% (12589/13392)
Updating files:  95% (12723/13392)
Updating files:  96% (12857/13392)
Updating files:  97% (12991/13392)
Updating files:  98% (13125/13392)
Updating files:  99% (13259/13392)
Updating files: 100% (13392/13392)
Updating files: 100% (13392/13392), done.
[INFO] started tweaking git repo https://github.com/datager/rustlings
[INFO] finished tweaking git repo https://github.com/datager/rustlings
[INFO] tweaked toml for git repo https://github.com/datager/rustlings written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/datager/rustlings on toolchain 3857be5045fe74bd0f296f6f4c23db10f8857f73
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/datager/rustlings 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" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a74e0c48c946935ecbe34c561d253e4295c48fa7dd3af4283be2ec5b748b62a3
[INFO] running `Command { std: "docker" "start" "-a" "a74e0c48c946935ecbe34c561d253e4295c48fa7dd3af4283be2ec5b748b62a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a74e0c48c946935ecbe34c561d253e4295c48fa7dd3af4283be2ec5b748b62a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a74e0c48c946935ecbe34c561d253e4295c48fa7dd3af4283be2ec5b748b62a3", kill_on_drop: false }`
[INFO] [stdout] a74e0c48c946935ecbe34c561d253e4295c48fa7dd3af4283be2ec5b748b62a3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 532f93e66a82fc7a01243d29a3881326c0a5be20e3ef5855aba0eb2476956e8e
[INFO] running `Command { std: "docker" "start" "-a" "532f93e66a82fc7a01243d29a3881326c0a5be20e3ef5855aba0eb2476956e8e", kill_on_drop: false }`
[INFO] [stderr]     Checking exercises v0.0.0 (/opt/rustwide/workdir)
[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] [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: 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: 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: 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: 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 `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: 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: 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 `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: 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]  --> 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: 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: 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 `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 `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: 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 `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: 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: struct `Team` is never constructed
[INFO] [stdout]   --> exercises/11_hashmaps/hashmaps3.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct Team {
[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, Team> {
[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: 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: 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: 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]  --> 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: 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: SomeTrait + OtherTrait>(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:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | 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:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn capitalize_words_string(words: &[&str]) -> String {
[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: 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 `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: 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]   --> exercises/23_conversions/as_ref_mut.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | 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]   --> exercises/23_conversions/as_ref_mut.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn num_sq<T: AsMut<u32>>(arg: &mut T) {
[INFO] [stdout]    |    ^^^^^^
[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: 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: 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: enum `Fruit` is never used
[INFO] [stdout]   --> solutions/11_hashmaps/hashmaps2.rs:13:6
[INFO] [stdout]    |
[INFO] [stdout] 13 | 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:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn fruit_basket(basket: &mut HashMap<Fruit, u32>) {
[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: 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: 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_parseint` 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_parseint(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: 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: 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(inputs: Vec<(String, Command)>) -> Vec<String> { 
[INFO] [stdout]    |            ^^^^^^^^^^^
[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: 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_parseint` 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_parseint(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: 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: 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: 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:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn list_of_results() -> Vec<Result<i64, DivisionError>> {
[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: 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<T: Licensed, U: Licensed>(software1: T, software2: U) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[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 `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: 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: 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: 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 `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 `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: 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: 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: 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: 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 `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 `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 `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: 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: 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: struct `Team` is never constructed
[INFO] [stdout]   --> solutions/11_hashmaps/hashmaps3.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct Team {
[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, Team> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[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:23:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl<T: std::fmt::Display> ReportCard<T> {
[INFO] [stdout]    | ---------------------------------------- method in this implementation
[INFO] [stdout] 23 |     fn print(&self) -> String {
[INFO] [stdout]    |        ^^^^^
[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 `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 `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 `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 `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 `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: function `calculate_price_of_apples` is never used
[INFO] [stdout]   --> exercises/quizzes/quiz1.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn calculate_price_of_apples(cnt: i32) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `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: 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: 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: 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]   --> 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: 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: 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: 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: 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:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct UnitStruct;
[INFO] [stdout]    |        ^^^^^^^^^^
[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: 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 `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: 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:34:4
[INFO] [stdout]    |
[INFO] [stdout] 34 | 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:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn count_collection_iterator(collection: &[HashMap<String, Progress>], value: Progress) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.15s
[INFO] running `Command { std: "docker" "inspect" "532f93e66a82fc7a01243d29a3881326c0a5be20e3ef5855aba0eb2476956e8e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "532f93e66a82fc7a01243d29a3881326c0a5be20e3ef5855aba0eb2476956e8e", kill_on_drop: false }`
[INFO] [stdout] 532f93e66a82fc7a01243d29a3881326c0a5be20e3ef5855aba0eb2476956e8e
