[INFO] cloning repository https://github.com/ign3u5/RustGuessingGame [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ign3u5/RustGuessingGame" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fign3u5%2FRustGuessingGame", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fign3u5%2FRustGuessingGame'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aad3a4927e045387568ba6aa495eb3146e592f0a [INFO] checking ign3u5/RustGuessingGame against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fign3u5%2FRustGuessingGame" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ign3u5/RustGuessingGame on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ign3u5/RustGuessingGame [INFO] finished tweaking git repo https://github.com/ign3u5/RustGuessingGame [INFO] tweaked toml for git repo https://github.com/ign3u5/RustGuessingGame written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/ign3u5/RustGuessingGame already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0a3e3536b5fcfddfe0ba4be39b1126c460faa1edda5d4ed130b67c9028543e0 [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" "c0a3e3536b5fcfddfe0ba4be39b1126c460faa1edda5d4ed130b67c9028543e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0a3e3536b5fcfddfe0ba4be39b1126c460faa1edda5d4ed130b67c9028543e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0a3e3536b5fcfddfe0ba4be39b1126c460faa1edda5d4ed130b67c9028543e0", kill_on_drop: false }` [INFO] [stdout] c0a3e3536b5fcfddfe0ba4be39b1126c460faa1edda5d4ed130b67c9028543e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77482d917b17310554a44431ca27dc65237bf1e04ec02ef45fc4e4b0e9330b73 [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" "77482d917b17310554a44431ca27dc65237bf1e04ec02ef45fc4e4b0e9330b73", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.91 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking my_first_rust_app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/common_programming_concepts/variables_and_mutability.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let mut x = 5; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/common_programming_concepts/variables_and_mutability.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let x = 5; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `newVector` [INFO] [stdout] --> src/common_collections.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let newVector: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_newVector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initialisedVector` [INFO] [stdout] --> src/common_collections.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let initialisedVector = vec![1, 2, 3]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initialisedVector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `play` [INFO] [stdout] --> src/guessing_game.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn play() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `welcome_message_builder` [INFO] [stdout] --> src/guessing_game.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn welcome_message_builder(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `testing_loops` [INFO] [stdout] --> src/loops.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn testing_loops() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `for_loop` [INFO] [stdout] --> src/loops.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn for_loop (arr: &[i32]) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `while_loop` [INFO] [stdout] --> src/loops.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn while_loop() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `standard_loop` [INFO] [stdout] --> src/loops.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn standard_loop() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_POINTS` [INFO] [stdout] --> src/common_programming_concepts/variables_and_mutability.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | const MAX_POINTS: u32 = 100_000; //Number can be split up using _ for readability [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/common_programming_concepts/variables_and_mutability.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `normal_mut` [INFO] [stdout] --> src/common_programming_concepts/variables_and_mutability.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn normal_mut() -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `shadowing` [INFO] [stdout] --> src/common_programming_concepts/variables_and_mutability.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn shadowing() -> i32{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/common_collections.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `vectors` [INFO] [stdout] --> src/common_collections.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn vectors() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `updating_a_vector` [INFO] [stdout] --> src/common_collections.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn updating_a_vector() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getting_elements` [INFO] [stdout] --> src/common_collections.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn getting_elements() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `altering_elements` [INFO] [stdout] --> src/common_collections.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn altering_elements() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Int` [INFO] [stdout] --> src/common_collections.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | Int(i32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Float` [INFO] [stdout] --> src/common_collections.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | Float(f64), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `String` [INFO] [stdout] --> src/common_collections.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | String(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `vector_of_different_types` [INFO] [stdout] --> src/common_collections.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn vector_of_different_types() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Rectangle` [INFO] [stdout] --> src/structs_with_methods.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `area` [INFO] [stdout] --> src/structs_with_methods.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | fn area(&self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_rectangle_area` [INFO] [stdout] --> src/structs_with_methods.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_rectangle_area () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `some_concepts` [INFO] [stdout] --> src/main.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn some_concepts() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `loops` [INFO] [stdout] --> src/main.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn loops() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `guessing_game` [INFO] [stdout] --> src/main.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn guessing_game() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newVector` should have a snake case name [INFO] [stdout] --> src/common_collections.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let newVector: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `new_vector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `initialisedVector` should have a snake case name [INFO] [stdout] --> src/common_collections.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let initialisedVector = vec![1, 2, 3]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `initialised_vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newMutableVector` should have a snake case name [INFO] [stdout] --> src/common_collections.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut newMutableVector = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_mutable_vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/common_programming_concepts/variables_and_mutability.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let mut x = 5; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/common_programming_concepts/variables_and_mutability.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let x = 5; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `newVector` [INFO] [stdout] --> src/common_collections.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let newVector: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_newVector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initialisedVector` [INFO] [stdout] --> src/common_collections.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let initialisedVector = vec![1, 2, 3]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initialisedVector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `play` [INFO] [stdout] --> src/guessing_game.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn play() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `welcome_message_builder` [INFO] [stdout] --> src/guessing_game.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn welcome_message_builder(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `testing_loops` [INFO] [stdout] --> src/loops.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn testing_loops() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `for_loop` [INFO] [stdout] --> src/loops.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn for_loop (arr: &[i32]) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `while_loop` [INFO] [stdout] --> src/loops.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn while_loop() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `standard_loop` [INFO] [stdout] --> src/loops.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn standard_loop() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_POINTS` [INFO] [stdout] --> src/common_programming_concepts/variables_and_mutability.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | const MAX_POINTS: u32 = 100_000; //Number can be split up using _ for readability [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/common_programming_concepts/variables_and_mutability.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `normal_mut` [INFO] [stdout] --> src/common_programming_concepts/variables_and_mutability.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn normal_mut() -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `shadowing` [INFO] [stdout] --> src/common_programming_concepts/variables_and_mutability.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn shadowing() -> i32{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/common_collections.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `vectors` [INFO] [stdout] --> src/common_collections.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn vectors() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `updating_a_vector` [INFO] [stdout] --> src/common_collections.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn updating_a_vector() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getting_elements` [INFO] [stdout] --> src/common_collections.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn getting_elements() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `altering_elements` [INFO] [stdout] --> src/common_collections.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn altering_elements() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Int` [INFO] [stdout] --> src/common_collections.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | Int(i32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Float` [INFO] [stdout] --> src/common_collections.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | Float(f64), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `String` [INFO] [stdout] --> src/common_collections.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | String(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `vector_of_different_types` [INFO] [stdout] --> src/common_collections.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn vector_of_different_types() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Rectangle` [INFO] [stdout] --> src/structs_with_methods.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `area` [INFO] [stdout] --> src/structs_with_methods.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | fn area(&self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_rectangle_area` [INFO] [stdout] --> src/structs_with_methods.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_rectangle_area () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `some_concepts` [INFO] [stdout] --> src/main.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn some_concepts() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `loops` [INFO] [stdout] --> src/main.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn loops() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `guessing_game` [INFO] [stdout] --> src/main.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn guessing_game() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newVector` should have a snake case name [INFO] [stdout] --> src/common_collections.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let newVector: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `new_vector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `initialisedVector` should have a snake case name [INFO] [stdout] --> src/common_collections.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let initialisedVector = vec![1, 2, 3]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `initialised_vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newMutableVector` should have a snake case name [INFO] [stdout] --> src/common_collections.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut newMutableVector = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_mutable_vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.53s [INFO] running `Command { std: "docker" "inspect" "77482d917b17310554a44431ca27dc65237bf1e04ec02ef45fc4e4b0e9330b73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77482d917b17310554a44431ca27dc65237bf1e04ec02ef45fc4e4b0e9330b73", kill_on_drop: false }` [INFO] [stdout] 77482d917b17310554a44431ca27dc65237bf1e04ec02ef45fc4e4b0e9330b73