[INFO] cloning repository https://github.com/arbaazmir-1/learning_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arbaazmir-1/learning_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farbaazmir-1%2Flearning_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farbaazmir-1%2Flearning_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e23730d7756d70ea4d9e61f792042d2e0c667b5d
[INFO] checking arbaazmir-1/learning_rust against try#6757d700f93f6d16c8b39cf79e96b019bd570e7d for pr-155299
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farbaazmir-1%2Flearning_rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/arbaazmir-1/learning_rust
[INFO] finished tweaking git repo https://github.com/arbaazmir-1/learning_rust
[INFO] tweaked toml for git repo https://github.com/arbaazmir-1/learning_rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/arbaazmir-1/learning_rust on toolchain 6757d700f93f6d16c8b39cf79e96b019bd570e7d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6757d700f93f6d16c8b39cf79e96b019bd570e7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/arbaazmir-1/learning_rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6757d700f93f6d16c8b39cf79e96b019bd570e7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+6757d700f93f6d16c8b39cf79e96b019bd570e7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fb465dbe46d9753589752a164213e327f3c0b22ba358c0bb3774c1032a616d9d
[INFO] running `Command { std: "docker" "start" "-a" "fb465dbe46d9753589752a164213e327f3c0b22ba358c0bb3774c1032a616d9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fb465dbe46d9753589752a164213e327f3c0b22ba358c0bb3774c1032a616d9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb465dbe46d9753589752a164213e327f3c0b22ba358c0bb3774c1032a616d9d", kill_on_drop: false }`
[INFO] [stdout] fb465dbe46d9753589752a164213e327f3c0b22ba358c0bb3774c1032a616d9d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+6757d700f93f6d16c8b39cf79e96b019bd570e7d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cf827a9b6d9b6ea31a4f70344a335e2e8d15fafd1577e5e25798dd956963e6fc
[INFO] running `Command { std: "docker" "start" "-a" "cf827a9b6d9b6ea31a4f70344a335e2e8d15fafd1577e5e25798dd956963e6fc", kill_on_drop: false }`
[INFO] [stderr]     Checking learning_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `io::Read`
[INFO] [stdout]  --> src/main.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{io::Read, vec};
[INFO] [stdout]   |           ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `y` is assigned to, but never used
[INFO] [stdout]   --> src/main.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut y = "text";
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_y` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]   --> src/main.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let z = 20;
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `y` is never read
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     y = "Test";
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i8`
[INFO] [stdout]   --> src/main.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let i8: i8 = -128; // 8-bit signed integer
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_i8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i16`
[INFO] [stdout]   --> src/main.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let i16: i16 = -32768; // 16-bit signed integer
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_i16`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i32`
[INFO] [stdout]   --> src/main.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let i32: i32 = -2147483648; // 32-bit signed integer
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i64`
[INFO] [stdout]   --> src/main.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let i64: i64 = -9223372036854775808; // 64-bit signed integer
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_i64`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i128`
[INFO] [stdout]   --> src/main.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let i128: i128 = -170141183460469231731687303715884105728; // 128-bit signed integer
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_i128`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `isize`
[INFO] [stdout]   --> src/main.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let isize: isize = -9223372036854775808; // Pointer-sized signed integer (architecture-dependent)
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_isize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u8`
[INFO] [stdout]   --> src/main.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let u8: u8 = 255; // 8-bit unsigned integer
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_u8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u16`
[INFO] [stdout]   --> src/main.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let u16: u16 = 65535; // 16-bit unsigned integer
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_u16`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u32`
[INFO] [stdout]   --> src/main.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let u32: u32 = 4294967295; // 32-bit unsigned integer
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_u32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u64`
[INFO] [stdout]   --> src/main.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let u64: u64 = 18446744073709551615; // 64-bit unsigned integer
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_u64`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u128`
[INFO] [stdout]   --> src/main.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let u128: u128 = 340282366920938463463374607431768211455; // 128-bit unsigned integer
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_u128`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `usize`
[INFO] [stdout]   --> src/main.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let usize: usize = 18446744073709551615; // Pointer-sized unsigned integer (architecture-dependent)
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f32`
[INFO] [stdout]   --> src/main.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let f32: f32 = 3.14; // 32-bit floating-point
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_f32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f64`
[INFO] [stdout]   --> src/main.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let f64: f64 = 3.141592653589793; // 64-bit floating-point
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_f64`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/main.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let c: char = 'A'; // A single Unicode scalar value (4 bytes)
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/main.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let t: bool = true; // Boolean value, can be either true or false
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tuple`
[INFO] [stdout]   --> src/main.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let tuple: (i32, f64, u8) = (500, 6.4, 1);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_tuple`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice`
[INFO] [stdout]   --> src/main.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |     let slice: &[i32] = &array[1..3];
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/main.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let s: &str = "Hello, world!"; // String slice (&str)
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `string`
[INFO] [stdout]   --> src/main.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |     let string: String = String::from("Hello, Rust!"); // Growable, heap-allocated string (String)
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fixed_string`
[INFO] [stdout]   --> src/main.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |     let fixed_string: &str = "this cannot be changed"; // the cannot be modified or any values cannot be added to it
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fixed_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_number_array`
[INFO] [stdout]   --> src/main.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 93 |     let new_number_array: [u32; 4] = [1, 3, 4, 5]; // this cannot be changed, the type definiation format is as such : [type of item...
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_number_array`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/main.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let name = my_data.0;
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name_data`
[INFO] [stdout]    --> src/main.rs:109:10
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let (name_data, age, country, code) = my_data;
[INFO] [stdout]     |          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `age`
[INFO] [stdout]    --> src/main.rs:109:21
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let (name_data, age, country, code) = my_data;
[INFO] [stdout]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_age`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `country`
[INFO] [stdout]    --> src/main.rs:109:26
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let (name_data, age, country, code) = my_data;
[INFO] [stdout]     |                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_country`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `code`
[INFO] [stdout]    --> src/main.rs:109:35
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let (name_data, age, country, code) = my_data;
[INFO] [stdout]     |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cloned_string`
[INFO] [stdout]    --> src/main.rs:222:9
[INFO] [stdout]     |
[INFO] [stdout] 222 |     let cloned_string = original_string.clone();
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cloned_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `copied_int`
[INFO] [stdout]    --> src/main.rs:230:9
[INFO] [stdout]     |
[INFO] [stdout] 230 |     let copied_int = original_int;
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_copied_int`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `first_mutable_reference`
[INFO] [stdout]    --> src/main.rs:251:9
[INFO] [stdout]     |
[INFO] [stdout] 251 |     let first_mutable_reference = &mut modified_vector;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_mutable_reference`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `second_mutable_reference`
[INFO] [stdout]    --> src/main.rs:254:9
[INFO] [stdout]     |
[INFO] [stdout] 254 |     let second_mutable_reference = &mut modified_vector;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_mutable_reference`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mutable_infinite_one`
[INFO] [stdout]    --> src/main.rs:264:9
[INFO] [stdout]     |
[INFO] [stdout] 264 |     let mutable_infinite_one = &mut modified_vector; // this works here because the before two are out of scope
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mutable_infinite_one`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `variables` is never used
[INFO] [stdout]   --> src/main.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn variables() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `data_types` is never used
[INFO] [stdout]   --> src/main.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn data_types() {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `take_give_ownership` is never used
[INFO] [stdout]    --> src/main.rs:209:4
[INFO] [stdout]     |
[INFO] [stdout] 209 | fn take_give_ownership(mut input_vector: Vec<u32>) -> Vec<u32> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `demonstrate_ownership_in_rust` is never used
[INFO] [stdout]    --> src/main.rs:216:4
[INFO] [stdout]     |
[INFO] [stdout] 216 | fn demonstrate_ownership_in_rust(input_vector: Vec<u32>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dereference_in_rust` is never used
[INFO] [stdout]    --> src/main.rs:301:4
[INFO] [stdout]     |
[INFO] [stdout] 301 | fn dereference_in_rust() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `io::Read`
[INFO] [stdout]  --> src/main.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{io::Read, vec};
[INFO] [stdout]   |           ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `y` is assigned to, but never used
[INFO] [stdout]   --> src/main.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut y = "text";
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_y` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]   --> src/main.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let z = 20;
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `y` is never read
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     y = "Test";
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i8`
[INFO] [stdout]   --> src/main.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let i8: i8 = -128; // 8-bit signed integer
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_i8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i16`
[INFO] [stdout]   --> src/main.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let i16: i16 = -32768; // 16-bit signed integer
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_i16`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i32`
[INFO] [stdout]   --> src/main.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let i32: i32 = -2147483648; // 32-bit signed integer
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i64`
[INFO] [stdout]   --> src/main.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let i64: i64 = -9223372036854775808; // 64-bit signed integer
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_i64`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i128`
[INFO] [stdout]   --> src/main.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let i128: i128 = -170141183460469231731687303715884105728; // 128-bit signed integer
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_i128`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `isize`
[INFO] [stdout]   --> src/main.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let isize: isize = -9223372036854775808; // Pointer-sized signed integer (architecture-dependent)
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_isize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u8`
[INFO] [stdout]   --> src/main.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let u8: u8 = 255; // 8-bit unsigned integer
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_u8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u16`
[INFO] [stdout]   --> src/main.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let u16: u16 = 65535; // 16-bit unsigned integer
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_u16`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u32`
[INFO] [stdout]   --> src/main.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let u32: u32 = 4294967295; // 32-bit unsigned integer
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_u32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u64`
[INFO] [stdout]   --> src/main.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let u64: u64 = 18446744073709551615; // 64-bit unsigned integer
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_u64`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u128`
[INFO] [stdout]   --> src/main.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let u128: u128 = 340282366920938463463374607431768211455; // 128-bit unsigned integer
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_u128`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `usize`
[INFO] [stdout]   --> src/main.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let usize: usize = 18446744073709551615; // Pointer-sized unsigned integer (architecture-dependent)
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f32`
[INFO] [stdout]   --> src/main.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let f32: f32 = 3.14; // 32-bit floating-point
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_f32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f64`
[INFO] [stdout]   --> src/main.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let f64: f64 = 3.141592653589793; // 64-bit floating-point
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_f64`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/main.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let c: char = 'A'; // A single Unicode scalar value (4 bytes)
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/main.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let t: bool = true; // Boolean value, can be either true or false
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tuple`
[INFO] [stdout]   --> src/main.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let tuple: (i32, f64, u8) = (500, 6.4, 1);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_tuple`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice`
[INFO] [stdout]   --> src/main.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |     let slice: &[i32] = &array[1..3];
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/main.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let s: &str = "Hello, world!"; // String slice (&str)
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `string`
[INFO] [stdout]   --> src/main.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |     let string: String = String::from("Hello, Rust!"); // Growable, heap-allocated string (String)
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fixed_string`
[INFO] [stdout]   --> src/main.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |     let fixed_string: &str = "this cannot be changed"; // the cannot be modified or any values cannot be added to it
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fixed_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_number_array`
[INFO] [stdout]   --> src/main.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 93 |     let new_number_array: [u32; 4] = [1, 3, 4, 5]; // this cannot be changed, the type definiation format is as such : [type of item...
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_number_array`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/main.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let name = my_data.0;
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name_data`
[INFO] [stdout]    --> src/main.rs:109:10
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let (name_data, age, country, code) = my_data;
[INFO] [stdout]     |          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `age`
[INFO] [stdout]    --> src/main.rs:109:21
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let (name_data, age, country, code) = my_data;
[INFO] [stdout]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_age`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `country`
[INFO] [stdout]    --> src/main.rs:109:26
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let (name_data, age, country, code) = my_data;
[INFO] [stdout]     |                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_country`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `code`
[INFO] [stdout]    --> src/main.rs:109:35
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let (name_data, age, country, code) = my_data;
[INFO] [stdout]     |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cloned_string`
[INFO] [stdout]    --> src/main.rs:222:9
[INFO] [stdout]     |
[INFO] [stdout] 222 |     let cloned_string = original_string.clone();
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cloned_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `copied_int`
[INFO] [stdout]    --> src/main.rs:230:9
[INFO] [stdout]     |
[INFO] [stdout] 230 |     let copied_int = original_int;
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_copied_int`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `first_mutable_reference`
[INFO] [stdout]    --> src/main.rs:251:9
[INFO] [stdout]     |
[INFO] [stdout] 251 |     let first_mutable_reference = &mut modified_vector;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_mutable_reference`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `second_mutable_reference`
[INFO] [stdout]    --> src/main.rs:254:9
[INFO] [stdout]     |
[INFO] [stdout] 254 |     let second_mutable_reference = &mut modified_vector;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_mutable_reference`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mutable_infinite_one`
[INFO] [stdout]    --> src/main.rs:264:9
[INFO] [stdout]     |
[INFO] [stdout] 264 |     let mutable_infinite_one = &mut modified_vector; // this works here because the before two are out of scope
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mutable_infinite_one`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `variables` is never used
[INFO] [stdout]   --> src/main.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn variables() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `data_types` is never used
[INFO] [stdout]   --> src/main.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn data_types() {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `take_give_ownership` is never used
[INFO] [stdout]    --> src/main.rs:209:4
[INFO] [stdout]     |
[INFO] [stdout] 209 | fn take_give_ownership(mut input_vector: Vec<u32>) -> Vec<u32> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `demonstrate_ownership_in_rust` is never used
[INFO] [stdout]    --> src/main.rs:216:4
[INFO] [stdout]     |
[INFO] [stdout] 216 | fn demonstrate_ownership_in_rust(input_vector: Vec<u32>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dereference_in_rust` is never used
[INFO] [stdout]    --> src/main.rs:301:4
[INFO] [stdout]     |
[INFO] [stdout] 301 | fn dereference_in_rust() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.33s
[INFO] running `Command { std: "docker" "inspect" "cf827a9b6d9b6ea31a4f70344a335e2e8d15fafd1577e5e25798dd956963e6fc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf827a9b6d9b6ea31a4f70344a335e2e8d15fafd1577e5e25798dd956963e6fc", kill_on_drop: false }`
[INFO] [stdout] cf827a9b6d9b6ea31a4f70344a335e2e8d15fafd1577e5e25798dd956963e6fc
