[INFO] cloning repository https://github.com/micakce/rs_the_book [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/micakce/rs_the_book" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmicakce%2Frs_the_book", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmicakce%2Frs_the_book'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce658b9223b27717e946cf81a99affefda9cd9e1 [INFO] checking micakce/rs_the_book against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmicakce%2Frs_the_book" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/micakce/rs_the_book on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/micakce/rs_the_book [INFO] finished tweaking git repo https://github.com/micakce/rs_the_book [INFO] tweaked toml for git repo https://github.com/micakce/rs_the_book written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/micakce/rs_the_book already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d8a362bd04e158e48612c11fd89b170c45d14fc282b70639defc002ee7d098f [INFO] running `Command { std: "docker" "start" "-a" "2d8a362bd04e158e48612c11fd89b170c45d14fc282b70639defc002ee7d098f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d8a362bd04e158e48612c11fd89b170c45d14fc282b70639defc002ee7d098f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d8a362bd04e158e48612c11fd89b170c45d14fc282b70639defc002ee7d098f", kill_on_drop: false }` [INFO] [stdout] 2d8a362bd04e158e48612c11fd89b170c45d14fc282b70639defc002ee7d098f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d56909f3824b3dcbf591f66d6ac8a5144a1f081f78dd8469c554c5cb64f4d64 [INFO] running `Command { std: "docker" "start" "-a" "9d56909f3824b3dcbf591f66d6ac8a5144a1f081f78dd8469c554c5cb64f4d64", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking book v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/closures/mod.rs (1 fix) [INFO] [stderr] Fixed src/main.rs (2 fixes) [INFO] [stderr] Fixed src/nine/panico.rs (2 fixes) [INFO] [stdout] warning: function is never used: `init_vectors` [INFO] [stdout] --> src/eight/vectors.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn init_vectors() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `vector_indexes` [INFO] [stdout] --> src/eight/vectors.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn vector_indexes() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `average` [INFO] [stdout] --> src/eight/vectors.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn average(data : &Vec) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `median` [INFO] [stdout] --> src/eight/vectors.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn median(data: &mut Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mode` [INFO] [stdout] --> src/eight/vectors.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn mode(data: &[i32]) -> HashMap { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ay_latim` [INFO] [stdout] --> src/eight/pig_latim.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn ay_latim(word : &str) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hay_latim` [INFO] [stdout] --> src/eight/pig_latim.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn hay_latim(word : &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `str2pig_latim` [INFO] [stdout] --> src/eight/pig_latim.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn str2pig_latim(word : &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_employee_ti` [INFO] [stdout] --> src/eight/add_employees.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn add_employee_ti() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init_shit` [INFO] [stdout] --> src/eight.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn init_shit(){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `panico_nested_match` [INFO] [stdout] --> src/nine/panico.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn panico_nested_match() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `panico_readable` [INFO] [stdout] --> src/nine/panico.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn panico_readable() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `propagate_error` [INFO] [stdout] --> src/nine/panico.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn propagate_error() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `propagate_error_with_shortcut` [INFO] [stdout] --> src/nine/panico.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn propagate_error_with_shortcut() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `propagate_error_even_shorter` [INFO] [stdout] --> src/nine/panico.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn propagate_error_even_shorter() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `largest_num` [INFO] [stdout] --> src/nine/trait_bounds.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn largest_num(list : &[i32]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `largest` [INFO] [stdout] --> src/nine/trait_bounds.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn largest(list : &[T]) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `largest_no_copy` [INFO] [stdout] --> src/nine/trait_bounds.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn largest_no_copy(list : &[T]) -> &T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init_vectors` [INFO] [stdout] --> src/eight/vectors.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn init_vectors() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `vector_indexes` [INFO] [stdout] --> src/eight/vectors.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn vector_indexes() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `average` [INFO] [stdout] --> src/eight/vectors.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn average(data : &Vec) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `median` [INFO] [stdout] --> src/eight/vectors.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn median(data: &mut Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mode` [INFO] [stdout] --> src/eight/vectors.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn mode(data: &[i32]) -> HashMap { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ay_latim` [INFO] [stdout] --> src/eight/pig_latim.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn ay_latim(word : &str) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hay_latim` [INFO] [stdout] --> src/eight/pig_latim.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn hay_latim(word : &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `str2pig_latim` [INFO] [stdout] --> src/eight/pig_latim.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn str2pig_latim(word : &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_employee_ti` [INFO] [stdout] --> src/eight/add_employees.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn add_employee_ti() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init_shit` [INFO] [stdout] --> src/eight.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn init_shit(){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `panico_nested_match` [INFO] [stdout] --> src/nine/panico.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn panico_nested_match() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `panico_readable` [INFO] [stdout] --> src/nine/panico.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn panico_readable() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `propagate_error` [INFO] [stdout] --> src/nine/panico.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn propagate_error() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `propagate_error_with_shortcut` [INFO] [stdout] --> src/nine/panico.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn propagate_error_with_shortcut() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `propagate_error_even_shorter` [INFO] [stdout] --> src/nine/panico.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn propagate_error_even_shorter() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `largest_num` [INFO] [stdout] --> src/nine/trait_bounds.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn largest_num(list : &[i32]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `largest` [INFO] [stdout] --> src/nine/trait_bounds.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn largest(list : &[T]) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `largest_no_copy` [INFO] [stdout] --> src/nine/trait_bounds.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn largest_no_copy(list : &[T]) -> &T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.65s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking book v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: function is never used: `init_vectors` [INFO] [stdout] --> src/eight/vectors.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn init_vectors() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `vector_indexes` [INFO] [stdout] --> src/eight/vectors.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn vector_indexes() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `average` [INFO] [stdout] --> src/eight/vectors.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn average(data : &Vec) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `median` [INFO] [stdout] --> src/eight/vectors.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn median(data: &mut Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mode` [INFO] [stdout] --> src/eight/vectors.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn mode(data: &[i32]) -> HashMap { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ay_latim` [INFO] [stdout] --> src/eight/pig_latim.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn ay_latim(word : &str) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hay_latim` [INFO] [stdout] --> src/eight/pig_latim.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn hay_latim(word : &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `str2pig_latim` [INFO] [stdout] --> src/eight/pig_latim.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn str2pig_latim(word : &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_employee_ti` [INFO] [stdout] --> src/eight/add_employees.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn add_employee_ti() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init_shit` [INFO] [stdout] --> src/eight.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn init_shit(){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `panico_nested_match` [INFO] [stdout] --> src/nine/panico.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn panico_nested_match() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `panico_readable` [INFO] [stdout] --> src/nine/panico.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn panico_readable() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `propagate_error` [INFO] [stdout] --> src/nine/panico.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn propagate_error() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `propagate_error_with_shortcut` [INFO] [stdout] --> src/nine/panico.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn propagate_error_with_shortcut() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `propagate_error_even_shorter` [INFO] [stdout] --> src/nine/panico.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn propagate_error_even_shorter() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `largest_num` [INFO] [stdout] --> src/nine/trait_bounds.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn largest_num(list : &[i32]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `largest` [INFO] [stdout] --> src/nine/trait_bounds.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn largest(list : &[T]) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `largest_no_copy` [INFO] [stdout] --> src/nine/trait_bounds.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn largest_no_copy(list : &[T]) -> &T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init_vectors` [INFO] [stdout] --> src/eight/vectors.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn init_vectors() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `vector_indexes` [INFO] [stdout] --> src/eight/vectors.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn vector_indexes() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `average` [INFO] [stdout] --> src/eight/vectors.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn average(data : &Vec) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `median` [INFO] [stdout] --> src/eight/vectors.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn median(data: &mut Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mode` [INFO] [stdout] --> src/eight/vectors.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn mode(data: &[i32]) -> HashMap { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ay_latim` [INFO] [stdout] --> src/eight/pig_latim.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn ay_latim(word : &str) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hay_latim` [INFO] [stdout] --> src/eight/pig_latim.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn hay_latim(word : &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `str2pig_latim` [INFO] [stdout] --> src/eight/pig_latim.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn str2pig_latim(word : &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_employee_ti` [INFO] [stdout] --> src/eight/add_employees.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn add_employee_ti() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init_shit` [INFO] [stdout] --> src/eight.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn init_shit(){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `panico_nested_match` [INFO] [stdout] --> src/nine/panico.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn panico_nested_match() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `panico_readable` [INFO] [stdout] --> src/nine/panico.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn panico_readable() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `propagate_error` [INFO] [stdout] --> src/nine/panico.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn propagate_error() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `propagate_error_with_shortcut` [INFO] [stdout] --> src/nine/panico.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn propagate_error_with_shortcut() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `propagate_error_even_shorter` [INFO] [stdout] --> src/nine/panico.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn propagate_error_even_shorter() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `largest_num` [INFO] [stdout] --> src/nine/trait_bounds.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn largest_num(list : &[i32]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `largest` [INFO] [stdout] --> src/nine/trait_bounds.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn largest(list : &[T]) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `largest_no_copy` [INFO] [stdout] --> src/nine/trait_bounds.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn largest_no_copy(list : &[T]) -> &T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9d56909f3824b3dcbf591f66d6ac8a5144a1f081f78dd8469c554c5cb64f4d64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d56909f3824b3dcbf591f66d6ac8a5144a1f081f78dd8469c554c5cb64f4d64", kill_on_drop: false }` [INFO] [stdout] 9d56909f3824b3dcbf591f66d6ac8a5144a1f081f78dd8469c554c5cb64f4d64