[INFO] fetching crate blue_sky 0.1.1... [INFO] checking blue_sky-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate blue_sky 0.1.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate blue_sky 0.1.1 [INFO] finished tweaking crates.io crate blue_sky 0.1.1 [INFO] tweaked toml for crates.io crate blue_sky 0.1.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate blue_sky 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate blue_sky 0.1.1 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f91c7a6e3cf79f9aea432af7956ff0e74d37534188ff6f1428e8da8bcbbbe26d [INFO] running `Command { std: "docker" "start" "-a" "f91c7a6e3cf79f9aea432af7956ff0e74d37534188ff6f1428e8da8bcbbbe26d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f91c7a6e3cf79f9aea432af7956ff0e74d37534188ff6f1428e8da8bcbbbe26d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f91c7a6e3cf79f9aea432af7956ff0e74d37534188ff6f1428e8da8bcbbbe26d", kill_on_drop: false }` [INFO] [stdout] f91c7a6e3cf79f9aea432af7956ff0e74d37534188ff6f1428e8da8bcbbbe26d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38b96fdd203878bbc1272fe9d018f3581105d5f86ea8a1a8e5663f5be52078fc [INFO] running `Command { std: "docker" "start" "-a" "38b96fdd203878bbc1272fe9d018f3581105d5f86ea8a1a8e5663f5be52078fc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking blue_sky v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::Result` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fmt::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Result as IoResult` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::Result as IoResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cmp::Ordering` and `io` [INFO] [stdout] --> src/lib.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | use std::{cmp::Ordering, fs, io}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::*` [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::collections::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | ; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order1` [INFO] [stdout] --> src/front_of_house.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let order1 = back_of_house::Appetizer::Salad; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_order1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order2` [INFO] [stdout] --> src/front_of_house.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let order2 = back_of_house::Appetizer::Soup; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_order2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/persist/jdbc_operation.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn jdbc_save(string: &str){ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/persist/redis_operation.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn redis_save(key: &str, value: &str) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/persist/redis_operation.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn redis_save(key: &str, value: &str) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/persist/redis_operation.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn redis_delete(string: &str){ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seat_at_table` is never used [INFO] [stdout] --> src/front_of_house.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn seat_at_table() {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take_order` is never used [INFO] [stdout] --> src/front_of_house.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn take_order() {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serve_order` is never used [INFO] [stdout] --> src/front_of_house.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn serve_order() {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take_payment` is never used [INFO] [stdout] --> src/front_of_house.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn take_payment() {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eat_at_restaurant` is never used [INFO] [stdout] --> src/front_of_house.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn eat_at_restaurant() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Breakfast` is never constructed [INFO] [stdout] --> src/front_of_house.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Breakfast { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Appetizer` is never used [INFO] [stdout] --> src/front_of_house.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum Appetizer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `summer` is never used [INFO] [stdout] --> src/front_of_house.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 37 | impl Breakfast { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 38 | pub fn summer(toast: &str) -> Breakfast { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fix_incorrect_order` is never used [INFO] [stdout] --> src/front_of_house.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | fn fix_incorrect_order() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cook_order` is never used [INFO] [stdout] --> src/front_of_house.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | fn cook_order() {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save` is never used [INFO] [stdout] --> src/persist/common_operation.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn save(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `aaaa` is never used [INFO] [stdout] --> src/aa.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn aaaa(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Result` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fmt::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Result as IoResult` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::Result as IoResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cmp::Ordering` and `io` [INFO] [stdout] --> src/lib.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | use std::{cmp::Ordering, fs, io}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::*` [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::collections::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | ; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order1` [INFO] [stdout] --> src/front_of_house.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let order1 = back_of_house::Appetizer::Salad; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_order1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order2` [INFO] [stdout] --> src/front_of_house.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let order2 = back_of_house::Appetizer::Soup; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_order2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/persist/jdbc_operation.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn jdbc_save(string: &str){ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/persist/redis_operation.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn redis_save(key: &str, value: &str) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/persist/redis_operation.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn redis_save(key: &str, value: &str) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/persist/redis_operation.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn redis_delete(string: &str){ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seat_at_table` is never used [INFO] [stdout] --> src/front_of_house.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn seat_at_table() {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take_order` is never used [INFO] [stdout] --> src/front_of_house.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn take_order() {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serve_order` is never used [INFO] [stdout] --> src/front_of_house.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn serve_order() {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take_payment` is never used [INFO] [stdout] --> src/front_of_house.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn take_payment() {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eat_at_restaurant` is never used [INFO] [stdout] --> src/front_of_house.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn eat_at_restaurant() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Breakfast` is never constructed [INFO] [stdout] --> src/front_of_house.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Breakfast { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Appetizer` is never used [INFO] [stdout] --> src/front_of_house.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum Appetizer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `summer` is never used [INFO] [stdout] --> src/front_of_house.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 37 | impl Breakfast { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 38 | pub fn summer(toast: &str) -> Breakfast { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fix_incorrect_order` is never used [INFO] [stdout] --> src/front_of_house.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | fn fix_incorrect_order() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cook_order` is never used [INFO] [stdout] --> src/front_of_house.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | fn cook_order() {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save` is never used [INFO] [stdout] --> src/persist/common_operation.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn save(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `aaaa` is never used [INFO] [stdout] --> src/aa.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn aaaa(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `format` [INFO] [stdout] --> src/main.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{format, Debug, Display}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/main.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{env, fs, io, process, thread}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::pin` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::pin::pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Matches` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::str::Matches; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `search` [INFO] [stdout] --> src/main.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use blue_sky::{run, search, Config}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `format` [INFO] [stdout] --> src/main.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{format, Debug, Display}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/main.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{env, fs, io, process, thread}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::pin` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::pin::pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Matches` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::str::Matches; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `search` [INFO] [stdout] --> src/main.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use blue_sky::{run, search, Config}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `case_sensitive` [INFO] [stdout] --> src/main.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | let case_sensitive = env::var("CASE_INSENSITIVE").is_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_case_sensitive` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | let s: &'static str = "I have a static lifetime."; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | let i = ImportantExcerpt { part: first_sentence }; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:207:30 [INFO] [stdout] | [INFO] [stdout] 207 | fn longest_1<'a>(x: &'a str, y: &str) -> &'a str { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | let x = 5; // -+-- 'b | [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:235:56 [INFO] [stdout] | [INFO] [stdout] 235 | fn some_function(t: T, u: U) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/main.rs:235:62 [INFO] [stdout] | [INFO] [stdout] 235 | fn some_function(t: T, u: U) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:239:31 [INFO] [stdout] | [INFO] [stdout] 239 | fn some_function_simple(t: T, u: U) -> i32 [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/main.rs:239:37 [INFO] [stdout] | [INFO] [stdout] 239 | fn some_function_simple(t: T, u: U) -> i32 [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `case_sensitive` [INFO] [stdout] --> src/main.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | let case_sensitive = env::var("CASE_INSENSITIVE").is_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_case_sensitive` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | let s: &'static str = "I have a static lifetime."; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | let i = ImportantExcerpt { part: first_sentence }; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:207:30 [INFO] [stdout] | [INFO] [stdout] 207 | fn longest_1<'a>(x: &'a str, y: &str) -> &'a str { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | let x = 5; // -+-- 'b | [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:235:56 [INFO] [stdout] | [INFO] [stdout] 235 | fn some_function(t: T, u: U) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/main.rs:235:62 [INFO] [stdout] | [INFO] [stdout] 235 | fn some_function(t: T, u: U) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:239:31 [INFO] [stdout] | [INFO] [stdout] 239 | fn some_function_simple(t: T, u: U) -> i32 [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/main.rs:239:37 [INFO] [stdout] | [INFO] [stdout] 239 | fn some_function_simple(t: T, u: U) -> i32 [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/main.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | let f = match f { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_error` [INFO] [stdout] --> src/main.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | other_error => panic!("open file failed!") [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/main.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | let f = match f { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_error` [INFO] [stdout] --> src/main.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | other_error => panic!("open file failed!") [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> src/main.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | let vec: Vec = Vec::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `six` [INFO] [stdout] --> src/main.rs:389:9 [INFO] [stdout] | [INFO] [stdout] 389 | let six = plus_one(five); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_six` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> src/main.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | let vec: Vec = Vec::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `none` [INFO] [stdout] --> src/main.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | let none = plus_one(None); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_none` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `some_number` [INFO] [stdout] --> src/main.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | let some_number = Some(5); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `some_string` [INFO] [stdout] --> src/main.rs:425:9 [INFO] [stdout] | [INFO] [stdout] 425 | let some_string = Some("a string"); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `absent_number` [INFO] [stdout] --> src/main.rs:426:9 [INFO] [stdout] | [INFO] [stdout] 426 | let absent_number: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absent_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v4` [INFO] [stdout] --> src/main.rs:429:9 [INFO] [stdout] | [INFO] [stdout] 429 | let v4 = IpAddrKind::V4(127, 0, 0, 1); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `six` [INFO] [stdout] --> src/main.rs:389:9 [INFO] [stdout] | [INFO] [stdout] 389 | let six = plus_one(five); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_six` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `none` [INFO] [stdout] --> src/main.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | let none = plus_one(None); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_none` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `some_number` [INFO] [stdout] --> src/main.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | let some_number = Some(5); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `some_string` [INFO] [stdout] --> src/main.rs:425:9 [INFO] [stdout] | [INFO] [stdout] 425 | let some_string = Some("a string"); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `absent_number` [INFO] [stdout] --> src/main.rs:426:9 [INFO] [stdout] | [INFO] [stdout] 426 | let absent_number: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absent_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v4` [INFO] [stdout] --> src/main.rs:429:9 [INFO] [stdout] | [INFO] [stdout] 429 | let v4 = IpAddrKind::V4(127, 0, 0, 1); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/main.rs:487:9 [INFO] [stdout] | [INFO] [stdout] 487 | let color = Color(255, 255, 255); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> src/main.rs:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | let hello = &s[0..5]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/main.rs:487:9 [INFO] [stdout] | [INFO] [stdout] 487 | let color = Color(255, 255, 255); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/main.rs:519:9 [INFO] [stdout] | [INFO] [stdout] 519 | let world = &s[6..11]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> src/main.rs:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | let hello = &s[0..5]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/main.rs:520:9 [INFO] [stdout] | [INFO] [stdout] 520 | let slice = &s[3..]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/main.rs:519:9 [INFO] [stdout] | [INFO] [stdout] 519 | let world = &s[6..11]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/main.rs:521:9 [INFO] [stdout] | [INFO] [stdout] 521 | let slice = &s[..3]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/main.rs:520:9 [INFO] [stdout] | [INFO] [stdout] 520 | let slice = &s[3..]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/main.rs:522:9 [INFO] [stdout] | [INFO] [stdout] 522 | let slice = &s[..]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/main.rs:521:9 [INFO] [stdout] | [INFO] [stdout] 521 | let slice = &s[..3]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k1` [INFO] [stdout] --> src/main.rs:568:9 [INFO] [stdout] | [INFO] [stdout] 568 | let k1 = &mut k; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_k1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/main.rs:522:9 [INFO] [stdout] | [INFO] [stdout] 522 | let slice = &s[..]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k1` [INFO] [stdout] --> src/main.rs:568:9 [INFO] [stdout] | [INFO] [stdout] 568 | let k1 = &mut k; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_k1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> src/main.rs:692:9 [INFO] [stdout] | [INFO] [stdout] 692 | let condition: i32 = if count == 12 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:707:9 [INFO] [stdout] | [INFO] [stdout] 707 | let x = { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i8` [INFO] [stdout] --> src/main.rs:722:9 [INFO] [stdout] | [INFO] [stdout] 722 | let i8: i8 = 1; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_i8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u8` [INFO] [stdout] --> src/main.rs:724:9 [INFO] [stdout] | [INFO] [stdout] 724 | let u8: u8 = 1; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i16` [INFO] [stdout] --> src/main.rs:726:9 [INFO] [stdout] | [INFO] [stdout] 726 | let i16: i16 = 2; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_i16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u16` [INFO] [stdout] --> src/main.rs:728:9 [INFO] [stdout] | [INFO] [stdout] 728 | let u16: u16 = 2; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_u16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i32` [INFO] [stdout] --> src/main.rs:730:9 [INFO] [stdout] | [INFO] [stdout] 730 | let i32: i32 = 3; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u32` [INFO] [stdout] --> src/main.rs:732:9 [INFO] [stdout] | [INFO] [stdout] 732 | let u32: u32 = 3; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i64` [INFO] [stdout] --> src/main.rs:734:9 [INFO] [stdout] | [INFO] [stdout] 734 | let i64: i64 = 4; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_i64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u64` [INFO] [stdout] --> src/main.rs:736:9 [INFO] [stdout] | [INFO] [stdout] 736 | let u64: u64 = 5; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> src/main.rs:692:9 [INFO] [stdout] | [INFO] [stdout] 692 | let condition: i32 = if count == 12 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byt` [INFO] [stdout] --> src/main.rs:739:9 [INFO] [stdout] | [INFO] [stdout] 739 | let byt = b'A'; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_byt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f32` [INFO] [stdout] --> src/main.rs:742:9 [INFO] [stdout] | [INFO] [stdout] 742 | let f32: f32 = 1.0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f64` [INFO] [stdout] --> src/main.rs:743:9 [INFO] [stdout] | [INFO] [stdout] 743 | let f64 = 2.0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flag` [INFO] [stdout] --> src/main.rs:746:9 [INFO] [stdout] | [INFO] [stdout] 746 | let flag: bool = true; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_flag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ch` [INFO] [stdout] --> src/main.rs:749:9 [INFO] [stdout] | [INFO] [stdout] 749 | let ch: char = 'A'; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arr` [INFO] [stdout] --> src/main.rs:758:9 [INFO] [stdout] | [INFO] [stdout] 758 | let arr = [1, 2, 3, 4, 5]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arr_other` [INFO] [stdout] --> src/main.rs:759:9 [INFO] [stdout] | [INFO] [stdout] 759 | let arr_other: [i32; 3] = [1, 2, 3]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arr_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arr_zero` [INFO] [stdout] --> src/main.rs:760:9 [INFO] [stdout] | [INFO] [stdout] 760 | let arr_zero = [0; 3]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arr_zero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:707:9 [INFO] [stdout] | [INFO] [stdout] 707 | let x = { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i8` [INFO] [stdout] --> src/main.rs:722:9 [INFO] [stdout] | [INFO] [stdout] 722 | let i8: i8 = 1; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_i8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u8` [INFO] [stdout] --> src/main.rs:724:9 [INFO] [stdout] | [INFO] [stdout] 724 | let u8: u8 = 1; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i16` [INFO] [stdout] --> src/main.rs:726:9 [INFO] [stdout] | [INFO] [stdout] 726 | let i16: i16 = 2; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_i16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u16` [INFO] [stdout] --> src/main.rs:728:9 [INFO] [stdout] | [INFO] [stdout] 728 | let u16: u16 = 2; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_u16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i32` [INFO] [stdout] --> src/main.rs:730:9 [INFO] [stdout] | [INFO] [stdout] 730 | let i32: i32 = 3; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u32` [INFO] [stdout] --> src/main.rs:732:9 [INFO] [stdout] | [INFO] [stdout] 732 | let u32: u32 = 3; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i64` [INFO] [stdout] --> src/main.rs:734:9 [INFO] [stdout] | [INFO] [stdout] 734 | let i64: i64 = 4; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_i64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u64` [INFO] [stdout] --> src/main.rs:736:9 [INFO] [stdout] | [INFO] [stdout] 736 | let u64: u64 = 5; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byt` [INFO] [stdout] --> src/main.rs:739:9 [INFO] [stdout] | [INFO] [stdout] 739 | let byt = b'A'; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_byt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f32` [INFO] [stdout] --> src/main.rs:742:9 [INFO] [stdout] | [INFO] [stdout] 742 | let f32: f32 = 1.0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f64` [INFO] [stdout] --> src/main.rs:743:9 [INFO] [stdout] | [INFO] [stdout] 743 | let f64 = 2.0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flag` [INFO] [stdout] --> src/main.rs:746:9 [INFO] [stdout] | [INFO] [stdout] 746 | let flag: bool = true; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_flag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ch` [INFO] [stdout] --> src/main.rs:749:9 [INFO] [stdout] | [INFO] [stdout] 749 | let ch: char = 'A'; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arr` [INFO] [stdout] --> src/main.rs:758:9 [INFO] [stdout] | [INFO] [stdout] 758 | let arr = [1, 2, 3, 4, 5]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arr_other` [INFO] [stdout] --> src/main.rs:759:9 [INFO] [stdout] | [INFO] [stdout] 759 | let arr_other: [i32; 3] = [1, 2, 3]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arr_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arr_zero` [INFO] [stdout] --> src/main.rs:760:9 [INFO] [stdout] | [INFO] [stdout] 760 | let arr_zero = [0; 3]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arr_zero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cacher` is never constructed [INFO] [stdout] --> src/main.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | struct Cacher [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `value` are never used [INFO] [stdout] --> src/main.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 67 | / impl Cacher [INFO] [stdout] 68 | | where [INFO] [stdout] 69 | | T: Fn(u32) -> u32, [INFO] [stdout] | |______________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | fn new(calculation: T) -> Cacher { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn value(&mut self, arg: u32) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `excise_plan` is never used [INFO] [stdout] --> src/main.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn excise_plan() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_workout` is never used [INFO] [stdout] --> src/main.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn generate_workout(intensity: u32, random_number: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mini_grep` is never used [INFO] [stdout] --> src/main.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn mini_grep() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_with_an_announcement` is never used [INFO] [stdout] --> src/main.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn longest_with_an_announcement<'a, T>(x: &'a str, y: &'a str, ann: T) -> &'a str [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `static_lifecycle` is never used [INFO] [stdout] --> src/main.rs:168:4 [INFO] [stdout] | [INFO] [stdout] 168 | fn static_lifecycle() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_important_excerpt` is never used [INFO] [stdout] --> src/main.rs:172:4 [INFO] [stdout] | [INFO] [stdout] 172 | fn test_important_excerpt() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImportantExcerpt` is never constructed [INFO] [stdout] --> src/main.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | struct ImportantExcerpt<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_test` is never used [INFO] [stdout] --> src/main.rs:184:4 [INFO] [stdout] | [INFO] [stdout] 184 | fn longest_test() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest` is never used [INFO] [stdout] --> src/main.rs:199:4 [INFO] [stdout] | [INFO] [stdout] 199 | fn longest<'a>(str1: &'a str, str2: &'a str) -> &'a str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_1` is never used [INFO] [stdout] --> src/main.rs:207:4 [INFO] [stdout] | [INFO] [stdout] 207 | fn longest_1<'a>(x: &'a str, y: &str) -> &'a str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lifecycle_null_ref` is never used [INFO] [stdout] --> src/main.rs:211:4 [INFO] [stdout] | [INFO] [stdout] 211 | fn lifecycle_null_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trait_test` is never used [INFO] [stdout] --> src/main.rs:224:4 [INFO] [stdout] | [INFO] [stdout] 224 | fn trait_test() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `returns_summarizable` is never used [INFO] [stdout] --> src/main.rs:231:4 [INFO] [stdout] | [INFO] [stdout] 231 | fn returns_summarizable() -> impl Summary { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `some_function` is never used [INFO] [stdout] --> src/main.rs:235:4 [INFO] [stdout] | [INFO] [stdout] 235 | fn some_function(t: T, u: U) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `some_function_simple` is never used [INFO] [stdout] --> src/main.rs:239:4 [INFO] [stdout] | [INFO] [stdout] 239 | fn some_function_simple(t: T, u: U) -> i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trait_as_params_advanced` is never used [INFO] [stdout] --> src/main.rs:255:4 [INFO] [stdout] | [INFO] [stdout] 255 | fn trait_as_params_advanced(summary: &(impl Summary + SummaryAdvance)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trait_as_params` is never used [INFO] [stdout] --> src/main.rs:267:4 [INFO] [stdout] | [INFO] [stdout] 267 | fn trait_as_params(summary: &impl Summary) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PointPosition` is never constructed [INFO] [stdout] --> src/main.rs:288:8 [INFO] [stdout] | [INFO] [stdout] 288 | struct PointPosition { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PointType` is never used [INFO] [stdout] --> src/main.rs:292:6 [INFO] [stdout] | [INFO] [stdout] 292 | enum PointType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Result1` is never used [INFO] [stdout] --> src/main.rs:296:6 [INFO] [stdout] | [INFO] [stdout] 296 | enum Result1 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_generic_type` is never used [INFO] [stdout] --> src/main.rs:300:4 [INFO] [stdout] | [INFO] [stdout] 300 | fn call_generic_type() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generic_type` is never used [INFO] [stdout] --> src/main.rs:304:4 [INFO] [stdout] | [INFO] [stdout] 304 | fn generic_type(arr: &[T]) -> T [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cacher` is never constructed [INFO] [stdout] --> src/main.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | struct Cacher [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `value` are never used [INFO] [stdout] --> src/main.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 67 | / impl Cacher [INFO] [stdout] 68 | | where [INFO] [stdout] 69 | | T: Fn(u32) -> u32, [INFO] [stdout] | |______________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | fn new(calculation: T) -> Cacher { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn value(&mut self, arg: u32) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `excise_plan` is never used [INFO] [stdout] --> src/main.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn excise_plan() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_workout` is never used [INFO] [stdout] --> src/main.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn generate_workout(intensity: u32, random_number: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mini_grep` is never used [INFO] [stdout] --> src/main.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn mini_grep() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_with_an_announcement` is never used [INFO] [stdout] --> src/main.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn longest_with_an_announcement<'a, T>(x: &'a str, y: &'a str, ann: T) -> &'a str [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `static_lifecycle` is never used [INFO] [stdout] --> src/main.rs:168:4 [INFO] [stdout] | [INFO] [stdout] 168 | fn static_lifecycle() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_important_excerpt` is never used [INFO] [stdout] --> src/main.rs:172:4 [INFO] [stdout] | [INFO] [stdout] 172 | fn test_important_excerpt() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImportantExcerpt` is never constructed [INFO] [stdout] --> src/main.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | struct ImportantExcerpt<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_test` is never used [INFO] [stdout] --> src/main.rs:184:4 [INFO] [stdout] | [INFO] [stdout] 184 | fn longest_test() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest` is never used [INFO] [stdout] --> src/main.rs:199:4 [INFO] [stdout] | [INFO] [stdout] 199 | fn longest<'a>(str1: &'a str, str2: &'a str) -> &'a str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_1` is never used [INFO] [stdout] --> src/main.rs:207:4 [INFO] [stdout] | [INFO] [stdout] 207 | fn longest_1<'a>(x: &'a str, y: &str) -> &'a str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lifecycle_null_ref` is never used [INFO] [stdout] --> src/main.rs:211:4 [INFO] [stdout] | [INFO] [stdout] 211 | fn lifecycle_null_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trait_test` is never used [INFO] [stdout] --> src/main.rs:224:4 [INFO] [stdout] | [INFO] [stdout] 224 | fn trait_test() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `returns_summarizable` is never used [INFO] [stdout] --> src/main.rs:231:4 [INFO] [stdout] | [INFO] [stdout] 231 | fn returns_summarizable() -> impl Summary { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `some_function` is never used [INFO] [stdout] --> src/main.rs:235:4 [INFO] [stdout] | [INFO] [stdout] 235 | fn some_function(t: T, u: U) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `some_function_simple` is never used [INFO] [stdout] --> src/main.rs:239:4 [INFO] [stdout] | [INFO] [stdout] 239 | fn some_function_simple(t: T, u: U) -> i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trait_as_params_advanced` is never used [INFO] [stdout] --> src/main.rs:255:4 [INFO] [stdout] | [INFO] [stdout] 255 | fn trait_as_params_advanced(summary: &(impl Summary + SummaryAdvance)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trait_as_params` is never used [INFO] [stdout] --> src/main.rs:267:4 [INFO] [stdout] | [INFO] [stdout] 267 | fn trait_as_params(summary: &impl Summary) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PointPosition` is never constructed [INFO] [stdout] --> src/main.rs:288:8 [INFO] [stdout] | [INFO] [stdout] 288 | struct PointPosition { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PointType` is never used [INFO] [stdout] --> src/main.rs:292:6 [INFO] [stdout] | [INFO] [stdout] 292 | enum PointType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `panic` is never used [INFO] [stdout] --> src/main.rs:317:4 [INFO] [stdout] | [INFO] [stdout] 317 | fn panic() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Result1` is never used [INFO] [stdout] --> src/main.rs:296:6 [INFO] [stdout] | [INFO] [stdout] 296 | enum Result1 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hashmap` is never used [INFO] [stdout] --> src/main.rs:332:4 [INFO] [stdout] | [INFO] [stdout] 332 | fn hashmap() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_generic_type` is never used [INFO] [stdout] --> src/main.rs:300:4 [INFO] [stdout] | [INFO] [stdout] 300 | fn call_generic_type() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vector` is never used [INFO] [stdout] --> src/main.rs:343:4 [INFO] [stdout] | [INFO] [stdout] 343 | fn vector() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generic_type` is never used [INFO] [stdout] --> src/main.rs:304:4 [INFO] [stdout] | [INFO] [stdout] 304 | fn generic_type(arr: &[T]) -> T [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `let_if_test` is never used [INFO] [stdout] --> src/main.rs:381:4 [INFO] [stdout] | [INFO] [stdout] 381 | fn let_if_test() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `panic` is never used [INFO] [stdout] --> src/main.rs:317:4 [INFO] [stdout] | [INFO] [stdout] 317 | fn panic() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `option_test_v2` is never used [INFO] [stdout] --> src/main.rs:387:4 [INFO] [stdout] | [INFO] [stdout] 387 | fn option_test_v2() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hashmap` is never used [INFO] [stdout] --> src/main.rs:332:4 [INFO] [stdout] | [INFO] [stdout] 332 | fn hashmap() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `plus_one` is never used [INFO] [stdout] --> src/main.rs:393:4 [INFO] [stdout] | [INFO] [stdout] 393 | fn plus_one(x: Option) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vector` is never used [INFO] [stdout] --> src/main.rs:343:4 [INFO] [stdout] | [INFO] [stdout] 343 | fn vector() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `value_in_cents` is never used [INFO] [stdout] --> src/main.rs:400:4 [INFO] [stdout] | [INFO] [stdout] 400 | fn value_in_cents(coin: Coin) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `let_if_test` is never used [INFO] [stdout] --> src/main.rs:381:4 [INFO] [stdout] | [INFO] [stdout] 381 | fn let_if_test() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `State` is never used [INFO] [stdout] --> src/main.rs:412:6 [INFO] [stdout] | [INFO] [stdout] 412 | enum State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `option_test_v2` is never used [INFO] [stdout] --> src/main.rs:387:4 [INFO] [stdout] | [INFO] [stdout] 387 | fn option_test_v2() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Coin` is never used [INFO] [stdout] --> src/main.rs:416:6 [INFO] [stdout] | [INFO] [stdout] 416 | enum Coin { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `option_test` is never used [INFO] [stdout] --> src/main.rs:423:4 [INFO] [stdout] | [INFO] [stdout] 423 | fn option_test() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enum_test` is never used [INFO] [stdout] --> src/main.rs:428:4 [INFO] [stdout] | [INFO] [stdout] 428 | fn enum_test() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IpAddrKind` is never used [INFO] [stdout] --> src/main.rs:434:6 [INFO] [stdout] | [INFO] [stdout] 434 | enum IpAddrKind { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `plus_one` is never used [INFO] [stdout] --> src/main.rs:393:4 [INFO] [stdout] | [INFO] [stdout] 393 | fn plus_one(x: Option) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check` is never used [INFO] [stdout] --> src/main.rs:440:8 [INFO] [stdout] | [INFO] [stdout] 439 | impl IpAddrKind { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 440 | fn check(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `value_in_cents` is never used [INFO] [stdout] --> src/main.rs:400:4 [INFO] [stdout] | [INFO] [stdout] 400 | fn value_in_cents(coin: Coin) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `related_function` is never used [INFO] [stdout] --> src/main.rs:444:4 [INFO] [stdout] | [INFO] [stdout] 444 | fn related_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Phone` is never constructed [INFO] [stdout] --> src/main.rs:450:8 [INFO] [stdout] | [INFO] [stdout] 450 | struct Phone { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `State` is never used [INFO] [stdout] --> src/main.rs:412:6 [INFO] [stdout] | [INFO] [stdout] 412 | enum State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Coin` is never used [INFO] [stdout] --> src/main.rs:416:6 [INFO] [stdout] | [INFO] [stdout] 416 | enum Coin { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:456:8 [INFO] [stdout] | [INFO] [stdout] 454 | impl Phone { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 455 | //注意:第一个参数不是&self [INFO] [stdout] 456 | fn new(color: String, shape: String) -> Phone { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `option_test` is never used [INFO] [stdout] --> src/main.rs:423:4 [INFO] [stdout] | [INFO] [stdout] 423 | fn option_test() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tangle_area_test` is never used [INFO] [stdout] --> src/main.rs:460:4 [INFO] [stdout] | [INFO] [stdout] 460 | fn tangle_area_test() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tangle_area` is never used [INFO] [stdout] --> src/main.rs:466:4 [INFO] [stdout] | [INFO] [stdout] 466 | fn tangle_area(rectangle: &Rectangle) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enum_test` is never used [INFO] [stdout] --> src/main.rs:428:4 [INFO] [stdout] | [INFO] [stdout] 428 | fn enum_test() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rectangle` is never constructed [INFO] [stdout] --> src/main.rs:471:8 [INFO] [stdout] | [INFO] [stdout] 471 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IpAddrKind` is never used [INFO] [stdout] --> src/main.rs:434:6 [INFO] [stdout] | [INFO] [stdout] 434 | enum IpAddrKind { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `area` is never used [INFO] [stdout] --> src/main.rs:478:8 [INFO] [stdout] | [INFO] [stdout] 476 | impl Rectangle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 477 | //&self是 self:&Self 的缩写,之所以用& 表示这个方法借用了 Self 实例,而不获取所有权 [INFO] [stdout] 478 | fn area(&self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check` is never used [INFO] [stdout] --> src/main.rs:440:8 [INFO] [stdout] | [INFO] [stdout] 439 | impl IpAddrKind { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 440 | fn check(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Car` is never constructed [INFO] [stdout] --> src/main.rs:483:8 [INFO] [stdout] | [INFO] [stdout] 483 | struct Car; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Laptop` is never constructed [INFO] [stdout] --> src/main.rs:485:8 [INFO] [stdout] | [INFO] [stdout] 485 | struct Laptop(String, u8); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuple_struct` is never used [INFO] [stdout] --> src/main.rs:486:4 [INFO] [stdout] | [INFO] [stdout] 486 | fn tuple_struct() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Color` is never constructed [INFO] [stdout] --> src/main.rs:491:8 [INFO] [stdout] | [INFO] [stdout] 491 | struct Color(i32, i32, i32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/main.rs:492:8 [INFO] [stdout] | [INFO] [stdout] 492 | struct Point(i32, i32, i32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `related_function` is never used [INFO] [stdout] --> src/main.rs:444:4 [INFO] [stdout] | [INFO] [stdout] 444 | fn related_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_user` is never used [INFO] [stdout] --> src/main.rs:493:4 [INFO] [stdout] | [INFO] [stdout] 493 | fn build_user(active: bool, username: String) -> User { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Phone` is never constructed [INFO] [stdout] --> src/main.rs:450:8 [INFO] [stdout] | [INFO] [stdout] 450 | struct Phone { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `struct_define` is never used [INFO] [stdout] --> src/main.rs:497:4 [INFO] [stdout] | [INFO] [stdout] 497 | fn struct_define() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/main.rs:508:8 [INFO] [stdout] | [INFO] [stdout] 508 | struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `slice_simple` is never used [INFO] [stdout] --> src/main.rs:515:4 [INFO] [stdout] | [INFO] [stdout] 515 | fn slice_simple() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `slice` is never used [INFO] [stdout] --> src/main.rs:527:4 [INFO] [stdout] | [INFO] [stdout] 527 | fn slice(s: &String) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:456:8 [INFO] [stdout] | [INFO] [stdout] 454 | impl Phone { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 455 | //注意:第一个参数不是&self [INFO] [stdout] 456 | fn new(color: String, shape: String) -> Phone { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ownership` is never used [INFO] [stdout] --> src/main.rs:542:4 [INFO] [stdout] | [INFO] [stdout] 542 | fn ownership() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tangle_area_test` is never used [INFO] [stdout] --> src/main.rs:460:4 [INFO] [stdout] | [INFO] [stdout] 460 | fn tangle_area_test() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take_ownership_str` is never used [INFO] [stdout] --> src/main.rs:572:4 [INFO] [stdout] | [INFO] [stdout] 572 | fn take_ownership_str(s: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tangle_area` is never used [INFO] [stdout] --> src/main.rs:466:4 [INFO] [stdout] | [INFO] [stdout] 466 | fn tangle_area(rectangle: &Rectangle) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take_ownership_borrow` is never used [INFO] [stdout] --> src/main.rs:576:4 [INFO] [stdout] | [INFO] [stdout] 576 | fn take_ownership_borrow(s: &String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rectangle` is never constructed [INFO] [stdout] --> src/main.rs:471:8 [INFO] [stdout] | [INFO] [stdout] 471 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take_ownership_borrow_success` is never used [INFO] [stdout] --> src/main.rs:581:4 [INFO] [stdout] | [INFO] [stdout] 581 | fn take_ownership_borrow_success(s: &mut String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `area` is never used [INFO] [stdout] --> src/main.rs:478:8 [INFO] [stdout] | [INFO] [stdout] 476 | impl Rectangle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 477 | //&self是 self:&Self 的缩写,之所以用& 表示这个方法借用了 Self 实例,而不获取所有权 [INFO] [stdout] 478 | fn area(&self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take_ownership_int` is never used [INFO] [stdout] --> src/main.rs:587:4 [INFO] [stdout] | [INFO] [stdout] 587 | fn take_ownership_int(i: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Car` is never constructed [INFO] [stdout] --> src/main.rs:483:8 [INFO] [stdout] | [INFO] [stdout] 483 | struct Car; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scope` is never used [INFO] [stdout] --> src/main.rs:592:4 [INFO] [stdout] | [INFO] [stdout] 592 | fn scope() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Laptop` is never constructed [INFO] [stdout] --> src/main.rs:485:8 [INFO] [stdout] | [INFO] [stdout] 485 | struct Laptop(String, u8); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `variable_copy` is never used [INFO] [stdout] --> src/main.rs:602:4 [INFO] [stdout] | [INFO] [stdout] 602 | fn variable_copy() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuple_struct` is never used [INFO] [stdout] --> src/main.rs:486:4 [INFO] [stdout] | [INFO] [stdout] 486 | fn tuple_struct() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string_type` is never used [INFO] [stdout] --> src/main.rs:621:4 [INFO] [stdout] | [INFO] [stdout] 621 | fn string_type() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Color` is never constructed [INFO] [stdout] --> src/main.rs:491:8 [INFO] [stdout] | [INFO] [stdout] 491 | struct Color(i32, i32, i32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/main.rs:492:8 [INFO] [stdout] | [INFO] [stdout] 492 | struct Point(i32, i32, i32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `foreach` is never used [INFO] [stdout] --> src/main.rs:648:4 [INFO] [stdout] | [INFO] [stdout] 648 | fn foreach() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_user` is never used [INFO] [stdout] --> src/main.rs:493:4 [INFO] [stdout] | [INFO] [stdout] 493 | fn build_user(active: bool, username: String) -> User { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `condition_express` is never used [INFO] [stdout] --> src/main.rs:683:4 [INFO] [stdout] | [INFO] [stdout] 683 | fn condition_express(count: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `return_express_function` is never used [INFO] [stdout] --> src/main.rs:697:4 [INFO] [stdout] | [INFO] [stdout] 697 | fn return_express_function() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `struct_define` is never used [INFO] [stdout] --> src/main.rs:497:4 [INFO] [stdout] | [INFO] [stdout] 497 | fn struct_define() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/main.rs:508:8 [INFO] [stdout] | [INFO] [stdout] 508 | struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `other_function` is never used [INFO] [stdout] --> src/main.rs:703:4 [INFO] [stdout] | [INFO] [stdout] 703 | fn other_function(x: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `slice_simple` is never used [INFO] [stdout] --> src/main.rs:515:4 [INFO] [stdout] | [INFO] [stdout] 515 | fn slice_simple() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `data_type` is never used [INFO] [stdout] --> src/main.rs:713:4 [INFO] [stdout] | [INFO] [stdout] 713 | fn data_type() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `slice` is never used [INFO] [stdout] --> src/main.rs:527:4 [INFO] [stdout] | [INFO] [stdout] 527 | fn slice(s: &String) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `variables` is never used [INFO] [stdout] --> src/main.rs:763:4 [INFO] [stdout] | [INFO] [stdout] 763 | fn variables() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ownership` is never used [INFO] [stdout] --> src/main.rs:542:4 [INFO] [stdout] | [INFO] [stdout] 542 | fn ownership() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `guess` is never used [INFO] [stdout] --> src/main.rs:790:4 [INFO] [stdout] | [INFO] [stdout] 790 | fn guess() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take_ownership_str` is never used [INFO] [stdout] --> src/main.rs:572:4 [INFO] [stdout] | [INFO] [stdout] 572 | fn take_ownership_str(s: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take_ownership_borrow` is never used [INFO] [stdout] --> src/main.rs:576:4 [INFO] [stdout] | [INFO] [stdout] 576 | fn take_ownership_borrow(s: &String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take_ownership_borrow_success` is never used [INFO] [stdout] --> src/main.rs:581:4 [INFO] [stdout] | [INFO] [stdout] 581 | fn take_ownership_borrow_success(s: &mut String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take_ownership_int` is never used [INFO] [stdout] --> src/main.rs:587:4 [INFO] [stdout] | [INFO] [stdout] 587 | fn take_ownership_int(i: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scope` is never used [INFO] [stdout] --> src/main.rs:592:4 [INFO] [stdout] | [INFO] [stdout] 592 | fn scope() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/main.rs:709:9 [INFO] [stdout] | [INFO] [stdout] 709 | y + 1; [INFO] [stdout] | ^^^^^ the arithmetic operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 709 | let _ = y + 1; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `variable_copy` is never used [INFO] [stdout] --> src/main.rs:602:4 [INFO] [stdout] | [INFO] [stdout] 602 | fn variable_copy() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string_type` is never used [INFO] [stdout] --> src/main.rs:621:4 [INFO] [stdout] | [INFO] [stdout] 621 | fn string_type() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `foreach` is never used [INFO] [stdout] --> src/main.rs:648:4 [INFO] [stdout] | [INFO] [stdout] 648 | fn foreach() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `condition_express` is never used [INFO] [stdout] --> src/main.rs:683:4 [INFO] [stdout] | [INFO] [stdout] 683 | fn condition_express(count: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `return_express_function` is never used [INFO] [stdout] --> src/main.rs:697:4 [INFO] [stdout] | [INFO] [stdout] 697 | fn return_express_function() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `other_function` is never used [INFO] [stdout] --> src/main.rs:703:4 [INFO] [stdout] | [INFO] [stdout] 703 | fn other_function(x: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `data_type` is never used [INFO] [stdout] --> src/main.rs:713:4 [INFO] [stdout] | [INFO] [stdout] 713 | fn data_type() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `variables` is never used [INFO] [stdout] --> src/main.rs:763:4 [INFO] [stdout] | [INFO] [stdout] 763 | fn variables() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `guess` is never used [INFO] [stdout] --> src/main.rs:790:4 [INFO] [stdout] | [INFO] [stdout] 790 | fn guess() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/main.rs:709:9 [INFO] [stdout] | [INFO] [stdout] 709 | y + 1; [INFO] [stdout] | ^^^^^ the arithmetic operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 709 | let _ = y + 1; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.53s [INFO] running `Command { std: "docker" "inspect" "38b96fdd203878bbc1272fe9d018f3581105d5f86ea8a1a8e5663f5be52078fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38b96fdd203878bbc1272fe9d018f3581105d5f86ea8a1a8e5663f5be52078fc", kill_on_drop: false }` [INFO] [stdout] 38b96fdd203878bbc1272fe9d018f3581105d5f86ea8a1a8e5663f5be52078fc