[INFO] cloning repository https://github.com/xklf2014/rust_study [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xklf2014/rust_study" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxklf2014%2Frust_study", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxklf2014%2Frust_study'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e0c73f89af5ff66d5ee5720f054ec027483e677 [INFO] checking xklf2014/rust_study against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxklf2014%2Frust_study" "/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/xklf2014/rust_study on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xklf2014/rust_study [INFO] finished tweaking git repo https://github.com/xklf2014/rust_study [INFO] tweaked toml for git repo https://github.com/xklf2014/rust_study written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/xklf2014/rust_study already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ferris-says v0.1.2 [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4172bd08bfa50c5cdce8e54856d8abd73cbf5a012d6ad774566ef5d71b833a2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d4172bd08bfa50c5cdce8e54856d8abd73cbf5a012d6ad774566ef5d71b833a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4172bd08bfa50c5cdce8e54856d8abd73cbf5a012d6ad774566ef5d71b833a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4172bd08bfa50c5cdce8e54856d8abd73cbf5a012d6ad774566ef5d71b833a2", kill_on_drop: false }` [INFO] [stdout] d4172bd08bfa50c5cdce8e54856d8abd73cbf5a012d6ad774566ef5d71b833a2 [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9760d96920ed79568d15ff697aa0970a3732a025db87a7031ab53119b620914 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e9760d96920ed79568d15ff697aa0970a3732a025db87a7031ab53119b620914", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling miniz_oxide v0.4.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking ferris-says v0.1.2 [INFO] [stderr] Checking MyFirstRust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/basic_test.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / /** [INFO] [stdout] 58 | | 十进制(Decimal) 98_222 [INFO] [stdout] 59 | | 十六进制(Hex) 0xff [INFO] [stdout] 60 | | 八进制(Octal) 0o77 [INFO] [stdout] 61 | | 二进制(Binary) 0b1111_0000 [INFO] [stdout] 62 | | 字节(Byte) (u8 only) b'A' [INFO] [stdout] 63 | | */ [INFO] [stdout] | |______^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ferris_says::say` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ferris_says::say; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufWriter`, `stdout` [INFO] [stdout] --> src/main.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{stdout, BufWriter}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Formatter` [INFO] [stdout] --> src/conversion.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::Formatter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/flow_of_control.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | 'inner: loop { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/flow_of_control.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | / /** iter [INFO] [stdout] 114 | | This borrows each element of the collection through each iteration. [INFO] [stdout] 115 | | Thus leaving the collection untouched and available for reuse after the loop. [INFO] [stdout] 116 | | */ [INFO] [stdout] | |______^ [INFO] [stdout] 117 | / for name in names.iter() {//此处为元素借用,循环体用完会归还,可以继续使用 [INFO] [stdout] 118 | | match name { [INFO] [stdout] 119 | | &"frank" => println!("There is a rustacean among us!"), [INFO] [stdout] 120 | | _ => println!("hello {}", name), [INFO] [stdout] 121 | | } [INFO] [stdout] 122 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/flow_of_control.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | / /** into_iter [INFO] [stdout] 125 | | This consumes the collection so that on each iteration the exact data is provided. [INFO] [stdout] 126 | | Once the collection has been consumed it is no longer available for reuse as it has been 'moved' within the loop. [INFO] [stdout] 127 | | */ [INFO] [stdout] | |______^ [INFO] [stdout] 128 | / for name in names.into_iter() { [INFO] [stdout] 129 | | match name { [INFO] [stdout] 130 | | "frank" => println!("There is a rustacean among us!"), [INFO] [stdout] 131 | | _ => println!("hello {}", name), [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/flow_of_control.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | / /** iter_mut [INFO] [stdout] 139 | | This mutably borrows each element of the collection, [INFO] [stdout] 140 | | allowing for the collection to be modified in place [INFO] [stdout] 141 | | */ [INFO] [stdout] | |______^ [INFO] [stdout] 142 | / for word in words.iter_mut() { [INFO] [stdout] 143 | | *word = match word { [INFO] [stdout] 144 | | &mut "fine" => "Fine!Thank you,and you", [INFO] [stdout] 145 | | _ => "Hello world", [INFO] [stdout] 146 | | } [INFO] [stdout] 147 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/basic_test.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / /** [INFO] [stdout] 58 | | 十进制(Decimal) 98_222 [INFO] [stdout] 59 | | 十六进制(Hex) 0xff [INFO] [stdout] 60 | | 八进制(Octal) 0o77 [INFO] [stdout] 61 | | 二进制(Binary) 0b1111_0000 [INFO] [stdout] 62 | | 字节(Byte) (u8 only) b'A' [INFO] [stdout] 63 | | */ [INFO] [stdout] | |______^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ferris_says::say` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ferris_says::say; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufWriter`, `stdout` [INFO] [stdout] --> src/main.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{stdout, BufWriter}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Formatter` [INFO] [stdout] --> src/conversion.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::Formatter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/flow_of_control.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | 'inner: loop { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/flow_of_control.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | / /** iter [INFO] [stdout] 114 | | This borrows each element of the collection through each iteration. [INFO] [stdout] 115 | | Thus leaving the collection untouched and available for reuse after the loop. [INFO] [stdout] 116 | | */ [INFO] [stdout] | |______^ [INFO] [stdout] 117 | / for name in names.iter() {//此处为元素借用,循环体用完会归还,可以继续使用 [INFO] [stdout] 118 | | match name { [INFO] [stdout] 119 | | &"frank" => println!("There is a rustacean among us!"), [INFO] [stdout] 120 | | _ => println!("hello {}", name), [INFO] [stdout] 121 | | } [INFO] [stdout] 122 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/flow_of_control.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | / /** into_iter [INFO] [stdout] 125 | | This consumes the collection so that on each iteration the exact data is provided. [INFO] [stdout] 126 | | Once the collection has been consumed it is no longer available for reuse as it has been 'moved' within the loop. [INFO] [stdout] 127 | | */ [INFO] [stdout] | |______^ [INFO] [stdout] 128 | / for name in names.into_iter() { [INFO] [stdout] 129 | | match name { [INFO] [stdout] 130 | | "frank" => println!("There is a rustacean among us!"), [INFO] [stdout] 131 | | _ => println!("hello {}", name), [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/flow_of_control.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | / /** iter_mut [INFO] [stdout] 139 | | This mutably borrows each element of the collection, [INFO] [stdout] 140 | | allowing for the collection to be modified in place [INFO] [stdout] 141 | | */ [INFO] [stdout] | |______^ [INFO] [stdout] 142 | / for word in words.iter_mut() { [INFO] [stdout] 143 | | *word = match word { [INFO] [stdout] 144 | | &mut "fine" => "Fine!Thank you,and you", [INFO] [stdout] 145 | | _ => "Hello world", [INFO] [stdout] 146 | | } [INFO] [stdout] 147 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/flow_of_control.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | / if let Foo1::Bar = a { [INFO] [stdout] 343 | | println!("a is foobar"); [INFO] [stdout] 344 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ys` [INFO] [stdout] --> src/slicesArrays.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let ys: [i32; 500] = [0; 500]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ys` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `un_used_variable` [INFO] [stdout] --> src/variable_binding.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let un_used_variable = 3u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_un_used_variable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `noisy_unused_variable` [INFO] [stdout] --> src/variable_binding.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let noisy_unused_variable = 2u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_noisy_unused_variable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `long_lived_binding` [INFO] [stdout] --> src/variable_binding.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let long_lived_binding = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_long_lived_binding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/flow_of_control.rs:335:21 [INFO] [stdout] | [INFO] [stdout] 335 | if let Foo::Qux(value @ 100) = c { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/functions.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | let a :() = some_fn(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `turkey` [INFO] [stdout] --> src/bounds.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let turkey = Turkey; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_turkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/flow_of_control.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | / if let Foo1::Bar = a { [INFO] [stdout] 343 | | println!("a is foobar"); [INFO] [stdout] 344 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ys` [INFO] [stdout] --> src/slicesArrays.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let ys: [i32; 500] = [0; 500]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ys` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `un_used_variable` [INFO] [stdout] --> src/variable_binding.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let un_used_variable = 3u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_un_used_variable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `noisy_unused_variable` [INFO] [stdout] --> src/variable_binding.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let noisy_unused_variable = 2u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_noisy_unused_variable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `long_lived_binding` [INFO] [stdout] --> src/variable_binding.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let long_lived_binding = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_long_lived_binding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/flow_of_control.rs:335:21 [INFO] [stdout] | [INFO] [stdout] 335 | if let Foo::Qux(value @ 100) = c { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/functions.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | let a :() = some_fn(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `turkey` [INFO] [stdout] --> src/bounds.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let turkey = Turkey; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_turkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pTuple` [INFO] [stdout] --> src/tuples_test.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn pTuple() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reverse` [INFO] [stdout] --> src/tuples_test.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn reverse(pair: (i32, bool)) -> (bool, i32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `basicTest` [INFO] [stdout] --> src/basic_test.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn basicTest(){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `analyze_slice` [INFO] [stdout] --> src/slicesArrays.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn analyze_slice(slice: &[i32]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sclies` [INFO] [stdout] --> src/slicesArrays.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn sclies() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Unit` [INFO] [stdout] --> src/custom_types.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct Unit; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Pair` [INFO] [stdout] --> src/custom_types.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Pair(i32, f32); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `struct_test` [INFO] [stdout] --> src/custom_types.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn struct_test() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `WebEvent` [INFO] [stdout] --> src/custom_types.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | pub enum WebEvent { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `inspect` [INFO] [stdout] --> src/custom_types.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn inspect(event: WebEvent) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `enum_test` [INFO] [stdout] --> src/custom_types.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn enum_test() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Add` [INFO] [stdout] --> src/custom_types.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Subtract` [INFO] [stdout] --> src/custom_types.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | Subtract, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Operations` [INFO] [stdout] --> src/custom_types.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | type Operations = VeryVerboseEnumOfThingsToDoWithNumbers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/custom_types.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | fn run(&self, x: i32, y: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_alias` [INFO] [stdout] --> src/custom_types.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn test_alias() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Status` [INFO] [stdout] --> src/custom_types.rs:121:6 [INFO] [stdout] | [INFO] [stdout] 121 | enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Work` [INFO] [stdout] --> src/custom_types.rs:126:6 [INFO] [stdout] | [INFO] [stdout] 126 | enum Work { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Number` [INFO] [stdout] --> src/custom_types.rs:147:6 [INFO] [stdout] | [INFO] [stdout] 147 | enum Number { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Color` [INFO] [stdout] --> src/custom_types.rs:153:6 [INFO] [stdout] | [INFO] [stdout] 153 | enum Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `c_like_test` [INFO] [stdout] --> src/custom_types.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn c_like_test() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `List` [INFO] [stdout] --> src/custom_types.rs:168:6 [INFO] [stdout] | [INFO] [stdout] 168 | enum List { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/custom_types.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | fn new() -> List { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prepend` [INFO] [stdout] --> src/custom_types.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | fn prepend(self, elem: u32) -> List { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/custom_types.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | fn len(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stringify` [INFO] [stdout] --> src/custom_types.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | fn stringify(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `linked_list_test` [INFO] [stdout] --> src/custom_types.rs:201:8 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn linked_list_test() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `LANGUAGE` [INFO] [stdout] --> src/custom_types.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | static LANGUAGE: &str = "RUST"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `THRESHOLD` [INFO] [stdout] --> src/custom_types.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | const THRESHOLD: i32 = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_big` [INFO] [stdout] --> src/custom_types.rs:214:4 [INFO] [stdout] | [INFO] [stdout] 214 | fn is_big(n: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `constant_test` [INFO] [stdout] --> src/custom_types.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn constant_test() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_let` [INFO] [stdout] --> src/variable_binding.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn test_let() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_mutability` [INFO] [stdout] --> src/variable_binding.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn test_mutability() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_scope_and_shadowing` [INFO] [stdout] --> src/variable_binding.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn test_scope_and_shadowing() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_declare_first` [INFO] [stdout] --> src/variable_binding.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn test_declare_first() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_freezing` [INFO] [stdout] --> src/variable_binding.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn test_freezing(){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_casting` [INFO] [stdout] --> src/types.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn test_casting() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_literals` [INFO] [stdout] --> src/types.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn test_literals() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_inference` [INFO] [stdout] --> src/types.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn test_inference() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `NanoSecond` [INFO] [stdout] --> src/types.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | type NanoSecond = u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Inch` [INFO] [stdout] --> src/types.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | type Inch = u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `u64_t` [INFO] [stdout] --> src/types.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | type u64_t = u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_aliasing` [INFO] [stdout] --> src/types.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn test_aliasing() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_from` [INFO] [stdout] --> src/conversion.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn test_from() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_into` [INFO] [stdout] --> src/conversion.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn test_into() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_try_from_and_into` [INFO] [stdout] --> src/conversion.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn test_try_from_and_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_convering_to_string` [INFO] [stdout] --> src/conversion.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn test_convering_to_string() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_parsing_string` [INFO] [stdout] --> src/conversion.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn test_parsing_string(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_expressions` [INFO] [stdout] --> src/expressions.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn test_expressions(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pTuple` [INFO] [stdout] --> src/tuples_test.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn pTuple() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reverse` [INFO] [stdout] --> src/tuples_test.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn reverse(pair: (i32, bool)) -> (bool, i32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `basicTest` [INFO] [stdout] --> src/basic_test.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn basicTest(){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `analyze_slice` [INFO] [stdout] --> src/slicesArrays.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn analyze_slice(slice: &[i32]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sclies` [INFO] [stdout] --> src/slicesArrays.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn sclies() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Unit` [INFO] [stdout] --> src/custom_types.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct Unit; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Pair` [INFO] [stdout] --> src/custom_types.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Pair(i32, f32); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `struct_test` [INFO] [stdout] --> src/custom_types.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn struct_test() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `WebEvent` [INFO] [stdout] --> src/custom_types.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | pub enum WebEvent { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `inspect` [INFO] [stdout] --> src/custom_types.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn inspect(event: WebEvent) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `enum_test` [INFO] [stdout] --> src/custom_types.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn enum_test() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Add` [INFO] [stdout] --> src/custom_types.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Subtract` [INFO] [stdout] --> src/custom_types.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | Subtract, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Operations` [INFO] [stdout] --> src/custom_types.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | type Operations = VeryVerboseEnumOfThingsToDoWithNumbers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/custom_types.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | fn run(&self, x: i32, y: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_alias` [INFO] [stdout] --> src/custom_types.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn test_alias() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Status` [INFO] [stdout] --> src/custom_types.rs:121:6 [INFO] [stdout] | [INFO] [stdout] 121 | enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Work` [INFO] [stdout] --> src/custom_types.rs:126:6 [INFO] [stdout] | [INFO] [stdout] 126 | enum Work { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Number` [INFO] [stdout] --> src/custom_types.rs:147:6 [INFO] [stdout] | [INFO] [stdout] 147 | enum Number { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Color` [INFO] [stdout] --> src/custom_types.rs:153:6 [INFO] [stdout] | [INFO] [stdout] 153 | enum Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `c_like_test` [INFO] [stdout] --> src/custom_types.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn c_like_test() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `List` [INFO] [stdout] --> src/custom_types.rs:168:6 [INFO] [stdout] | [INFO] [stdout] 168 | enum List { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/custom_types.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | fn new() -> List { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_if_else` [INFO] [stdout] --> src/flow_of_control.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn test_if_else() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prepend` [INFO] [stdout] --> src/custom_types.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | fn prepend(self, elem: u32) -> List { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/custom_types.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | fn len(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_loop` [INFO] [stdout] --> src/flow_of_control.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn test_loop() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stringify` [INFO] [stdout] --> src/custom_types.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | fn stringify(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_nesting_and_lables` [INFO] [stdout] --> src/flow_of_control.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn test_nesting_and_lables() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `linked_list_test` [INFO] [stdout] --> src/custom_types.rs:201:8 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn linked_list_test() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `LANGUAGE` [INFO] [stdout] --> src/custom_types.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | static LANGUAGE: &str = "RUST"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_returning_from_loops` [INFO] [stdout] --> src/flow_of_control.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn test_returning_from_loops() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_while` [INFO] [stdout] --> src/flow_of_control.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn test_while() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `THRESHOLD` [INFO] [stdout] --> src/custom_types.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | const THRESHOLD: i32 = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_for_and_range` [INFO] [stdout] --> src/flow_of_control.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn test_for_and_range() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_big` [INFO] [stdout] --> src/custom_types.rs:214:4 [INFO] [stdout] | [INFO] [stdout] 214 | fn is_big(n: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_iterators` [INFO] [stdout] --> src/flow_of_control.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn test_iterators() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `constant_test` [INFO] [stdout] --> src/custom_types.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn constant_test() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_match` [INFO] [stdout] --> src/flow_of_control.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn test_match() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_let` [INFO] [stdout] --> src/variable_binding.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn test_let() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_tuples` [INFO] [stdout] --> src/flow_of_control.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn test_tuples() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Color` [INFO] [stdout] --> src/flow_of_control.rs:181:6 [INFO] [stdout] | [INFO] [stdout] 181 | enum Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_mutability` [INFO] [stdout] --> src/variable_binding.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn test_mutability() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_enum` [INFO] [stdout] --> src/flow_of_control.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn test_enum() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_scope_and_shadowing` [INFO] [stdout] --> src/variable_binding.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn test_scope_and_shadowing() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_declare_first` [INFO] [stdout] --> src/variable_binding.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn test_declare_first() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_pointer_and_ref` [INFO] [stdout] --> src/flow_of_control.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn test_pointer_and_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_freezing` [INFO] [stdout] --> src/variable_binding.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn test_freezing(){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_structs` [INFO] [stdout] --> src/flow_of_control.rs:237:8 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn test_structs() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_casting` [INFO] [stdout] --> src/types.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn test_casting() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_guard` [INFO] [stdout] --> src/flow_of_control.rs:252:8 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn test_guard() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `age` [INFO] [stdout] --> src/flow_of_control.rs:264:4 [INFO] [stdout] | [INFO] [stdout] 264 | fn age() -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_literals` [INFO] [stdout] --> src/types.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn test_literals() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_inference` [INFO] [stdout] --> src/types.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn test_inference() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `some_number` [INFO] [stdout] --> src/flow_of_control.rs:268:4 [INFO] [stdout] | [INFO] [stdout] 268 | fn some_number() -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `NanoSecond` [INFO] [stdout] --> src/types.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | type NanoSecond = u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_binding` [INFO] [stdout] --> src/flow_of_control.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn test_binding() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Inch` [INFO] [stdout] --> src/types.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | type Inch = u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_if_let` [INFO] [stdout] --> src/flow_of_control.rs:289:8 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn test_if_let() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `u64_t` [INFO] [stdout] --> src/types.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | type u64_t = u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_aliasing` [INFO] [stdout] --> src/types.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn test_aliasing() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_from` [INFO] [stdout] --> src/conversion.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn test_from() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_while_let` [INFO] [stdout] --> src/flow_of_control.rs:347:8 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn test_while_let() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_into` [INFO] [stdout] --> src/conversion.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn test_into() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_function` [INFO] [stdout] --> src/functions.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn test_function() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_divisible_by` [INFO] [stdout] --> src/functions.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn is_divisible_by(lhs: u32, rhs: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_try_from_and_into` [INFO] [stdout] --> src/conversion.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn test_try_from_and_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fizzbuzz` [INFO] [stdout] --> src/functions.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn fizzbuzz(n: u32) -> () { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_convering_to_string` [INFO] [stdout] --> src/conversion.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn test_convering_to_string() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fizzbuzz_to` [INFO] [stdout] --> src/functions.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn fizzbuzz_to(n: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_parsing_string` [INFO] [stdout] --> src/conversion.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn test_parsing_string(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_expressions` [INFO] [stdout] --> src/expressions.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn test_expressions(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Point` [INFO] [stdout] --> src/functions.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_if_else` [INFO] [stdout] --> src/flow_of_control.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn test_if_else() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `origin` [INFO] [stdout] --> src/functions.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn origin() -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_loop` [INFO] [stdout] --> src/flow_of_control.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn test_loop() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/functions.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn new(x: f64, y: f64) -> Point { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_nesting_and_lables` [INFO] [stdout] --> src/flow_of_control.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn test_nesting_and_lables() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Rectangle` [INFO] [stdout] --> src/functions.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_returning_from_loops` [INFO] [stdout] --> src/flow_of_control.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn test_returning_from_loops() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_while` [INFO] [stdout] --> src/flow_of_control.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn test_while() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `area` [INFO] [stdout] --> src/functions.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn area(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_for_and_range` [INFO] [stdout] --> src/flow_of_control.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn test_for_and_range() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `perimeter` [INFO] [stdout] --> src/functions.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn perimeter(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_iterators` [INFO] [stdout] --> src/flow_of_control.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn test_iterators() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `translate` [INFO] [stdout] --> src/functions.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn translate(&mut self, x: f64, y: f64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Pair` [INFO] [stdout] --> src/functions.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | struct Pair(Box, Box); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `destory` [INFO] [stdout] --> src/functions.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | fn destory(self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_methods` [INFO] [stdout] --> src/functions.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn test_methods() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> src/functions.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn function(i: i32) -> i32 { i + 1 } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_closures` [INFO] [stdout] --> src/functions.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn test_closures() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_capturing` [INFO] [stdout] --> src/functions.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn test_capturing() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `apply` [INFO] [stdout] --> src/functions.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | fn apply(f: F) where [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `apply_to_3` [INFO] [stdout] --> src/functions.rs:172:4 [INFO] [stdout] | [INFO] [stdout] 172 | fn apply_to_3(f: F) -> i32 where [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_as_input_parameters` [INFO] [stdout] --> src/functions.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn test_as_input_parameters() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `apply1` [INFO] [stdout] --> src/functions.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | fn apply1(f: F) where [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `apply2` [INFO] [stdout] --> src/functions.rs:203:4 [INFO] [stdout] | [INFO] [stdout] 203 | fn apply2(f: F) where [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_anonymity` [INFO] [stdout] --> src/functions.rs:208:8 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn test_anonymity() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_me` [INFO] [stdout] --> src/functions.rs:215:4 [INFO] [stdout] | [INFO] [stdout] 215 | fn call_me(f: F) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function1` [INFO] [stdout] --> src/functions.rs:219:4 [INFO] [stdout] | [INFO] [stdout] 219 | fn function1() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_input_function` [INFO] [stdout] --> src/functions.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn test_input_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_fn` [INFO] [stdout] --> src/functions.rs:229:4 [INFO] [stdout] | [INFO] [stdout] 229 | fn create_fn() -> impl Fn() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_fnmut` [INFO] [stdout] --> src/functions.rs:235:4 [INFO] [stdout] | [INFO] [stdout] 235 | fn create_fnmut() -> impl FnMut() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_fnonce` [INFO] [stdout] --> src/functions.rs:240:4 [INFO] [stdout] | [INFO] [stdout] 240 | fn create_fnonce() -> impl FnOnce() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_as_output_parameters` [INFO] [stdout] --> src/functions.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn test_as_output_parameters() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_iterator` [INFO] [stdout] --> src/functions.rs:262:8 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn test_iterator() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_searching_through_iterators` [INFO] [stdout] --> src/functions.rs:274:8 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn test_searching_through_iterators() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_odd` [INFO] [stdout] --> src/functions.rs:295:4 [INFO] [stdout] | [INFO] [stdout] 295 | fn is_odd(n: u32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_hos` [INFO] [stdout] --> src/functions.rs:300:8 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn test_hos() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `foo` [INFO] [stdout] --> src/functions.rs:323:4 [INFO] [stdout] | [INFO] [stdout] 323 | fn foo() -> ! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `some_fn` [INFO] [stdout] --> src/functions.rs:327:4 [INFO] [stdout] | [INFO] [stdout] 327 | fn some_fn(){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_driverging_functions` [INFO] [stdout] --> src/functions.rs:331:8 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn test_driverging_functions(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `private_function` [INFO] [stdout] --> src/modules.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | fn private_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> src/modules.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn function() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `indirect_access` [INFO] [stdout] --> src/modules.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn indirect_access() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> src/modules.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn function(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `public_function_in_my_mod` [INFO] [stdout] --> src/modules.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn public_function_in_my_mod(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `public_function_in_nested` [INFO] [stdout] --> src/modules.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | pub(self) fn public_function_in_nested(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `public_function_in_super_mod` [INFO] [stdout] --> src/modules.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | pub(super) fn public_function_in_super_mod(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_public_function_in_my_mod` [INFO] [stdout] --> src/modules.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn call_public_function_in_my_mod(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `public_function_in_crate` [INFO] [stdout] --> src/modules.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) fn public_function_in_crate(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> src/modules.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn function(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_visibility` [INFO] [stdout] --> src/modules.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn test_visibility(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `OpenBox` [INFO] [stdout] --> src/modules.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct OpenBox{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/modules.rs:91:16 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn new(contents:T) -> CloseBox{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_struct_visibility` [INFO] [stdout] --> src/modules.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn test_struct_visibility(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> src/modules.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn function(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_use_declaration` [INFO] [stdout] --> src/modules.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn test_use_declaration(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> src/modules.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn function(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> src/modules.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | fn function(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> src/modules.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn function(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `indirect_call` [INFO] [stdout] --> src/modules.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn indirect_call(){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_super_and_self` [INFO] [stdout] --> src/modules.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn test_super_and_self(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `A` [INFO] [stdout] --> src/generics.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct A; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `S` [INFO] [stdout] --> src/generics.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct S(A); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SGen` [INFO] [stdout] --> src/generics.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct SGen(T); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reg_fn` [INFO] [stdout] --> src/generics.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn reg_fn(_s : S){} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gen_spec_t` [INFO] [stdout] --> src/generics.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn gen_spec_t(_s : SGen){} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gen_spec_i32` [INFO] [stdout] --> src/generics.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn gen_spec_i32(_s : SGen){} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generic` [INFO] [stdout] --> src/generics.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn generic(_s : SGen){} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_generic` [INFO] [stdout] --> src/generics.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn test_generic(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `S` [INFO] [stdout] --> src/implementation.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct S; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_match` [INFO] [stdout] --> src/flow_of_control.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn test_match() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `GenericVal` [INFO] [stdout] --> src/implementation.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct GenericVal(T); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Val` [INFO] [stdout] --> src/implementation.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Val { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `GenVal` [INFO] [stdout] --> src/implementation.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct GenVal { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> src/implementation.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn value(&self) -> &f64{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> src/implementation.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn value(&self) -> &T{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_implementation` [INFO] [stdout] --> src/implementation.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn test_implementation(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Empty` [INFO] [stdout] --> src/traits.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Empty; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Null` [INFO] [stdout] --> src/traits.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Null; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_traits` [INFO] [stdout] --> src/traits.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn test_traits(){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_debug` [INFO] [stdout] --> src/bounds.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn print_debug(t: &T) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `area` [INFO] [stdout] --> src/bounds.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn area(t: &T) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_bounds` [INFO] [stdout] --> src/bounds.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn test_bounds() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Turkey` [INFO] [stdout] --> src/bounds.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct Turkey; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `red` [INFO] [stdout] --> src/bounds.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn red(_: &T) -> &'static str {"red"} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `blue` [INFO] [stdout] --> src/bounds.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn blue(_: &T) -> &'static str {"blue"} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_empty_bounds` [INFO] [stdout] --> src/bounds.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn test_empty_bounds(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `spawn_function` [INFO] [stdout] --> src/spawn.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn spawn_function(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_tuples` [INFO] [stdout] --> src/flow_of_control.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn test_tuples() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Color` [INFO] [stdout] --> src/flow_of_control.rs:181:6 [INFO] [stdout] | [INFO] [stdout] 181 | enum Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_enum` [INFO] [stdout] --> src/flow_of_control.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn test_enum() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_pointer_and_ref` [INFO] [stdout] --> src/flow_of_control.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn test_pointer_and_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_structs` [INFO] [stdout] --> src/flow_of_control.rs:237:8 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn test_structs() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_guard` [INFO] [stdout] --> src/flow_of_control.rs:252:8 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn test_guard() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `age` [INFO] [stdout] --> src/flow_of_control.rs:264:4 [INFO] [stdout] | [INFO] [stdout] 264 | fn age() -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `some_number` [INFO] [stdout] --> src/flow_of_control.rs:268:4 [INFO] [stdout] | [INFO] [stdout] 268 | fn some_number() -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_binding` [INFO] [stdout] --> src/flow_of_control.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn test_binding() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/functions.rs:271:40 [INFO] [stdout] | [INFO] [stdout] 271 | println!("2 in array2: {}", array2.into_iter().any(|&x| x == 2)); [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_if_let` [INFO] [stdout] --> src/flow_of_control.rs:289:8 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn test_if_let() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_while_let` [INFO] [stdout] --> src/flow_of_control.rs:347:8 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn test_while_let() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_function` [INFO] [stdout] --> src/functions.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn test_function() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/functions.rs:286:47 [INFO] [stdout] | [INFO] [stdout] 286 | println!("Find 2 in array2: {:?}", array2.into_iter().find(|&&x| x == 2)); [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_divisible_by` [INFO] [stdout] --> src/functions.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn is_divisible_by(lhs: u32, rhs: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fizzbuzz` [INFO] [stdout] --> src/functions.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn fizzbuzz(n: u32) -> () { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fizzbuzz_to` [INFO] [stdout] --> src/functions.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn fizzbuzz_to(n: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Point` [INFO] [stdout] --> src/functions.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `origin` [INFO] [stdout] --> src/functions.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn origin() -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/functions.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn new(x: f64, y: f64) -> Point { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `MyFirstRust` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `my_first_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Rectangle` [INFO] [stdout] --> src/functions.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `area` [INFO] [stdout] --> src/functions.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn area(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pTuple` should have a snake case name [INFO] [stdout] --> src/tuples_test.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn pTuple() { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `p_tuple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `perimeter` [INFO] [stdout] --> src/functions.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn perimeter(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `translate` [INFO] [stdout] --> src/functions.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn translate(&mut self, x: f64, y: f64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Pair` [INFO] [stdout] --> src/functions.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | struct Pair(Box, Box); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `basicTest` should have a snake case name [INFO] [stdout] --> src/basic_test.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn basicTest(){ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `basic_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `destory` [INFO] [stdout] --> src/functions.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | fn destory(self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_methods` [INFO] [stdout] --> src/functions.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn test_methods() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> src/functions.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn function(i: i32) -> i32 { i + 1 } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_closures` [INFO] [stdout] --> src/functions.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn test_closures() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_capturing` [INFO] [stdout] --> src/functions.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn test_capturing() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `apply` [INFO] [stdout] --> src/functions.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | fn apply(f: F) where [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `apply_to_3` [INFO] [stdout] --> src/functions.rs:172:4 [INFO] [stdout] | [INFO] [stdout] 172 | fn apply_to_3(f: F) -> i32 where [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_as_input_parameters` [INFO] [stdout] --> src/functions.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn test_as_input_parameters() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `apply1` [INFO] [stdout] --> src/functions.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | fn apply1(f: F) where [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `apply2` [INFO] [stdout] --> src/functions.rs:203:4 [INFO] [stdout] | [INFO] [stdout] 203 | fn apply2(f: F) where [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_anonymity` [INFO] [stdout] --> src/functions.rs:208:8 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn test_anonymity() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/expressions.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | 2 * x; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_me` [INFO] [stdout] --> src/functions.rs:215:4 [INFO] [stdout] | [INFO] [stdout] 215 | fn call_me(f: F) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function1` [INFO] [stdout] --> src/functions.rs:219:4 [INFO] [stdout] | [INFO] [stdout] 219 | fn function1() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_input_function` [INFO] [stdout] --> src/functions.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn test_input_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_fn` [INFO] [stdout] --> src/functions.rs:229:4 [INFO] [stdout] | [INFO] [stdout] 229 | fn create_fn() -> impl Fn() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_fnmut` [INFO] [stdout] --> src/functions.rs:235:4 [INFO] [stdout] | [INFO] [stdout] 235 | fn create_fnmut() -> impl FnMut() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_fnonce` [INFO] [stdout] --> src/functions.rs:240:4 [INFO] [stdout] | [INFO] [stdout] 240 | fn create_fnonce() -> impl FnOnce() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_as_output_parameters` [INFO] [stdout] --> src/functions.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn test_as_output_parameters() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_iterator` [INFO] [stdout] --> src/functions.rs:262:8 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn test_iterator() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_searching_through_iterators` [INFO] [stdout] --> src/functions.rs:274:8 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn test_searching_through_iterators() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_odd` [INFO] [stdout] --> src/functions.rs:295:4 [INFO] [stdout] | [INFO] [stdout] 295 | fn is_odd(n: u32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_hos` [INFO] [stdout] --> src/functions.rs:300:8 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn test_hos() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `foo` [INFO] [stdout] --> src/functions.rs:323:4 [INFO] [stdout] | [INFO] [stdout] 323 | fn foo() -> ! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `some_fn` [INFO] [stdout] --> src/functions.rs:327:4 [INFO] [stdout] | [INFO] [stdout] 327 | fn some_fn(){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_driverging_functions` [INFO] [stdout] --> src/functions.rs:331:8 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn test_driverging_functions(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `private_function` [INFO] [stdout] --> src/modules.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | fn private_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> src/modules.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn function() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `indirect_access` [INFO] [stdout] --> src/modules.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn indirect_access() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> src/modules.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn function(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `public_function_in_my_mod` [INFO] [stdout] --> src/modules.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn public_function_in_my_mod(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `public_function_in_nested` [INFO] [stdout] --> src/modules.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | pub(self) fn public_function_in_nested(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `public_function_in_super_mod` [INFO] [stdout] --> src/modules.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | pub(super) fn public_function_in_super_mod(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_public_function_in_my_mod` [INFO] [stdout] --> src/modules.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn call_public_function_in_my_mod(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `public_function_in_crate` [INFO] [stdout] --> src/modules.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) fn public_function_in_crate(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> src/modules.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn function(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_visibility` [INFO] [stdout] --> src/modules.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn test_visibility(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `OpenBox` [INFO] [stdout] --> src/modules.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct OpenBox{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/modules.rs:91:16 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn new(contents:T) -> CloseBox{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_struct_visibility` [INFO] [stdout] --> src/modules.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn test_struct_visibility(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> src/modules.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn function(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_use_declaration` [INFO] [stdout] --> src/modules.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn test_use_declaration(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> src/modules.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn function(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> src/modules.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | fn function(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> src/modules.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn function(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `indirect_call` [INFO] [stdout] --> src/modules.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn indirect_call(){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_super_and_self` [INFO] [stdout] --> src/modules.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn test_super_and_self(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `A` [INFO] [stdout] --> src/generics.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct A; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `S` [INFO] [stdout] --> src/generics.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct S(A); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SGen` [INFO] [stdout] --> src/generics.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct SGen(T); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reg_fn` [INFO] [stdout] --> src/generics.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn reg_fn(_s : S){} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gen_spec_t` [INFO] [stdout] --> src/generics.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn gen_spec_t(_s : SGen){} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gen_spec_i32` [INFO] [stdout] --> src/generics.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn gen_spec_i32(_s : SGen){} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generic` [INFO] [stdout] --> src/generics.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn generic(_s : SGen){} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_generic` [INFO] [stdout] --> src/generics.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn test_generic(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `S` [INFO] [stdout] --> src/implementation.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct S; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `GenericVal` [INFO] [stdout] --> src/implementation.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct GenericVal(T); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Val` [INFO] [stdout] --> src/implementation.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Val { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `GenVal` [INFO] [stdout] --> src/implementation.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct GenVal { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> src/implementation.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn value(&self) -> &f64{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> src/implementation.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn value(&self) -> &T{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_implementation` [INFO] [stdout] --> src/implementation.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn test_implementation(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Empty` [INFO] [stdout] --> src/traits.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Empty; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Null` [INFO] [stdout] --> src/traits.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Null; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_traits` [INFO] [stdout] --> src/traits.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn test_traits(){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_debug` [INFO] [stdout] --> src/bounds.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn print_debug(t: &T) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `area` [INFO] [stdout] --> src/bounds.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn area(t: &T) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_bounds` [INFO] [stdout] --> src/bounds.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn test_bounds() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Turkey` [INFO] [stdout] --> src/bounds.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct Turkey; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `red` [INFO] [stdout] --> src/bounds.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn red(_: &T) -> &'static str {"red"} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `blue` [INFO] [stdout] --> src/bounds.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn blue(_: &T) -> &'static str {"blue"} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_empty_bounds` [INFO] [stdout] --> src/bounds.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn test_empty_bounds(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `spawn_function` [INFO] [stdout] --> src/spawn.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn spawn_function(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/functions.rs:271:40 [INFO] [stdout] | [INFO] [stdout] 271 | println!("2 in array2: {}", array2.into_iter().any(|&x| x == 2)); [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/functions.rs:286:47 [INFO] [stdout] | [INFO] [stdout] 286 | println!("Find 2 in array2: {:?}", array2.into_iter().find(|&&x| x == 2)); [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `MyFirstRust` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `my_first_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pTuple` should have a snake case name [INFO] [stdout] --> src/tuples_test.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn pTuple() { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `p_tuple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `basicTest` should have a snake case name [INFO] [stdout] --> src/basic_test.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn basicTest(){ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `basic_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/expressions.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | 2 * x; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 176 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 176 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.36s [INFO] running `Command { std: "docker" "inspect" "e9760d96920ed79568d15ff697aa0970a3732a025db87a7031ab53119b620914", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9760d96920ed79568d15ff697aa0970a3732a025db87a7031ab53119b620914", kill_on_drop: false }` [INFO] [stdout] e9760d96920ed79568d15ff697aa0970a3732a025db87a7031ab53119b620914