[INFO] cloning repository https://github.com/vivasvan1/learn-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vivasvan1/learn-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivasvan1%2Flearn-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivasvan1%2Flearn-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2e61ca30e56fe8ee8c1facc5a04145df0c78668c [INFO] testing vivasvan1/learn-rust against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivasvan1%2Flearn-rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vivasvan1/learn-rust [INFO] finished tweaking git repo https://github.com/vivasvan1/learn-rust [INFO] tweaked toml for git repo https://github.com/vivasvan1/learn-rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vivasvan1/learn-rust on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vivasvan1/learn-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9fd5635f4afda5860ac2c57aab8e47d453073a56b32c2fee1ad8592254b2d0a3 [INFO] running `Command { std: "docker" "start" "-a" "9fd5635f4afda5860ac2c57aab8e47d453073a56b32c2fee1ad8592254b2d0a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9fd5635f4afda5860ac2c57aab8e47d453073a56b32c2fee1ad8592254b2d0a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fd5635f4afda5860ac2c57aab8e47d453073a56b32c2fee1ad8592254b2d0a3", kill_on_drop: false }` [INFO] [stdout] 9fd5635f4afda5860ac2c57aab8e47d453073a56b32c2fee1ad8592254b2d0a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc18ff2145fd14120d7e2a03e83c1a90abb73559479fbffd90f0188b408a49f5 [INFO] running `Command { std: "docker" "start" "-a" "dc18ff2145fd14120d7e2a03e83c1a90abb73559479fbffd90f0188b408a49f5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling basics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/init_8_3_hash_maps.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/init_8_4_exercise.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | if (CONSONANTS.contains(first_letter)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 105 - if (CONSONANTS.contains(first_letter)) { [INFO] [stdout] 105 + if CONSONANTS.contains(first_letter) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/init_9_1_panicing.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 2 | panic!("crash and burn"); [INFO] [stdout] | ------------------------ any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 5 | let v = vec![1, 2, 3]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guess` [INFO] [stdout] --> src/init_3_2_data_types.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let guess: u32 = "42".parse().expect("Not a number!"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guess` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/init_3_2_data_types.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let x: i8 = -128; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/init_3_2_data_types.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let x: i8 = 127; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/init_3_2_data_types.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let x: i16 = -32_768; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/init_3_2_data_types.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let x: i16 = 32_767; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/init_3_2_data_types.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let x: i32 = -2_147_483_648; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/init_3_2_data_types.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let x: i32 = 2_147_483_647; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/init_3_2_data_types.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let x: i64 = -9_223_372_036_854_775_808; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/init_3_2_data_types.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let x: i64 = 9_223_372_036_854_775_807; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/init_3_2_data_types.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let x: i128 = -170_141_183_460_469_231_731_687_303_715_884_105_728; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/init_3_2_data_types.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let x: i128 = 170_141_183_460_469_231_731_687_303_715_884_105_727; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/init_3_2_data_types.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let x: isize = -9_223_372_036_854_775_808; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/init_3_2_data_types.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let x: isize = 9_223_372_036_854_775_807; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decimal` [INFO] [stdout] --> src/init_3_2_data_types.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let decimal = 42; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decimal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hex` [INFO] [stdout] --> src/init_3_2_data_types.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let hex = 0xff; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `octal` [INFO] [stdout] --> src/init_3_2_data_types.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let octal = 0o77; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_octal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binary` [INFO] [stdout] --> src/init_3_2_data_types.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let binary = 0b1111_0000; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte` [INFO] [stdout] --> src/init_3_2_data_types.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let byte = b'A'; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_byte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/init_3_2_data_types.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let f = 3.14; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/init_3_2_data_types.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let f: f32 = 3.14; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sum` [INFO] [stdout] --> src/init_3_2_data_types.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let sum = 5 + 10; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `difference` [INFO] [stdout] --> src/init_3_2_data_types.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let difference = 95.5 - 4.3; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_difference` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product` [INFO] [stdout] --> src/init_3_2_data_types.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let product = 4 * 30; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quotient` [INFO] [stdout] --> src/init_3_2_data_types.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let quotient = 56.7 / 32.2; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quotient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `truncated` [INFO] [stdout] --> src/init_3_2_data_types.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let truncated = -5 / 3; // Result is -1 [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_truncated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remainder` [INFO] [stdout] --> src/init_3_2_data_types.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let remainder = 43 % 5; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remainder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/init_3_2_data_types.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let t = true; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/init_3_2_data_types.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let f: bool = false; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/init_3_2_data_types.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let c = 'a'; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/init_3_2_data_types.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let c: char = 'ℤ'; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `heart_eyed_cat` [INFO] [stdout] --> src/init_3_2_data_types.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let heart_eyed_cat = '😻'; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_heart_eyed_cat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/init_3_2_data_types.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | let (x, y, z) = tup; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/init_3_2_data_types.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | let (x, y, z) = tup; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/init_3_2_data_types.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let x = tup.0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/init_3_2_data_types.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let y = tup.1; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/init_3_2_data_types.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let z = tup.2; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/init_3_2_data_types.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let a = [1, 2, 3, 4, 5]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `months` [INFO] [stdout] --> src/init_3_2_data_types.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let months = [ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_months` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/init_3_2_data_types.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let a: [i32; 5] = [1, 2, 3, 4, 5]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/init_3_2_data_types.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | let first = a[0]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second` [INFO] [stdout] --> src/init_3_2_data_types.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let second = a[1]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_second` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/init_3_3_functions.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let x = 5; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/init_3_3_functions.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let y = { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/init_4_1_ownership.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let s = "hello"; // s is valid from this point forward [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> src/init_4_1_ownership.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let s2 = s1; // s1 is moved to s2 [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> src/init_4_1_ownership.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let s1 = gives_ownership(); // gives_ownership moves its return value to s1 [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s3` [INFO] [stdout] --> src/init_4_1_ownership.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let s3 = takes_and_gives_back(s2); // s2 is moved and then moved again to s3 [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/init_4_1_ownership.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let mut x = 5; // x comes into scope [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/init_4_3_the_slice_type.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let word = first_word(&s); // word will get the value 5 [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/init_4_3_the_slice_type.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let world = &s[6..11]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/init_4_3_the_slice_type.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let slice = &s[0..2]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/init_4_3_the_slice_type.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let slice = &s[..2]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/init_4_3_the_slice_type.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let slice = &s[3..len]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/init_4_3_the_slice_type.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let slice = &s[3..]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/init_4_3_the_slice_type.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let slice = &s[0..len]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/init_4_3_the_slice_type.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let word = first_word_using_slices(&s); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/init_4_3_the_slice_type.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let mut s = String::from("hello world"); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user1` [INFO] [stdout] --> src/init_5_1_struct_data_type.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let user1 = User { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_user1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user2` [INFO] [stdout] --> src/init_5_1_struct_data_type.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let user2 = build_user( [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_user2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user2` [INFO] [stdout] --> src/init_5_1_struct_data_type.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let user2 = User { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_user2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `black` [INFO] [stdout] --> src/init_5_1_struct_data_type.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let black = Color(0, 0, 0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_black` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> src/init_5_1_struct_data_type.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let origin = Point(0, 0, 0); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subject` [INFO] [stdout] --> src/init_5_1_struct_data_type.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let subject = AlwaysEqual; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subject` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rect2` [INFO] [stdout] --> src/init_5_2_a_program_using_structs.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let rect2 = Rectangle2 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rect2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp` [INFO] [stdout] --> src/init_6_2_match_control_flow.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let temp = match dice_roll { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_temp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/init_8_1_common_collections_vectors.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let v: Vec = Vec::new(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/init_8_1_common_collections_vectors.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let v = vec![1, 2, 3]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/init_8_1_common_collections_vectors.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let first = &v[0]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/init_8_1_common_collections_vectors.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let row = vec![ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/init_8_1_common_collections_vectors.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let v = vec![1, 2, 3, 4]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | let mut s = String::new(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let s = data.to_string(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let s = "initial contents".to_string(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let s = String::from("initial contents"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let hello = String::from("السلام عليكم"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let hello = String::from("Dobrý den"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let hello = String::from("Hello"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let hello = String::from("שלום"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let hello = String::from("नमस्ते"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let hello = String::from("こんにちは"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let hello = String::from("안녕하세요"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let hello = String::from("你好"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let hello = String::from("Olá"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let hello = String::from("Здравствуйте"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let hello = String::from("Hola"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s3` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let s3 = s1 + &s2; // note s1 has been moved here and can no longer be used [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let s = s1 + "-" + &s2 + "-" + &s3; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | let s1 = String::from("hi"); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | let data = "initial contents"; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut s = String::new(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `piglatin_word` is never read [INFO] [stdout] --> src/init_8_4_exercise.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | let mut piglatin_word = String::new(); [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: variable does not need to be mutable [INFO] [stdout] --> src/init_8_4_exercise.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut first_letter = get_first_letter(word); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `greeting_file` [INFO] [stdout] --> src/init_9_2_recoverable_errors.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let greeting_file = [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_greeting_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `greeting_file` [INFO] [stdout] --> src/init_9_2_recoverable_errors.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let greeting_file = File::open("hello.txt")?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_greeting_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `home` [INFO] [stdout] --> src/init_9_3_to_panic_or_not_to_panic.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let home: std::net::IpAddr = "127.0.0.1" [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_home` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `integer` [INFO] [stdout] --> src/init_10_1_generics.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | let integer = Point { x: 5, y: 10 }; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `float` [INFO] [stdout] --> src/init_10_1_generics.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let float = Point { x: 1.0, y: 4.0 }; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_float` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `both_integer` [INFO] [stdout] --> src/init_10_1_generics.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let both_integer = PointV2 { x: 5, y: 10 }; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_both_integer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `both_float` [INFO] [stdout] --> src/init_10_1_generics.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let both_float = PointV2 { x: 1.0, y: 4.0 }; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_both_float` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `integer_and_float` [INFO] [stdout] --> src/init_10_1_generics.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let integer_and_float = PointV2 { x: 5, y: 4.0 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer_and_float` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_1_2_hello.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [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 `main` is never used [INFO] [stdout] --> src/init_1_3_formatted_print.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_3_1_variable_and_mutability.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_3_2_data_types.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_3_3_functions.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `another_function` is never used [INFO] [stdout] --> src/init_3_3_functions.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn another_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `yet_another_function` is never used [INFO] [stdout] --> src/init_3_3_functions.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn yet_another_function(x: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_labeled_measurement` is never used [INFO] [stdout] --> src/init_3_3_functions.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn print_labeled_measurement(value: i32, unit: char) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_3_4_comments.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_3_5_control_flow.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_4_1_ownership.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_4_3_the_slice_type.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_5_1_struct_data_type.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_5_2_a_program_using_structs.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_5_3_method_syntax.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `area`, `width`, and `height` are never used [INFO] [stdout] --> src/init_5_3_method_syntax.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Rectangle { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 12 | fn area(&self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | fn width(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn height(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_hold` is never used [INFO] [stdout] --> src/init_5_3_method_syntax.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Rectangle2 { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 42 | fn can_hold(&self, other: &Rectangle2) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `square` is never used [INFO] [stdout] --> src/init_5_3_method_syntax.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl Rectangle3 { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 72 | fn square(size: u32) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `area` and `square` are never used [INFO] [stdout] --> src/init_5_3_method_syntax.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl Rectangle4 { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 95 | fn area(&self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | fn square(size: u32) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_hold` is never used [INFO] [stdout] --> src/init_5_3_method_syntax.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl Rectangle4 { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 108 | fn can_hold(&self, other: &Rectangle4) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_6_1_enum.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `call` is never used [INFO] [stdout] --> src/init_6_1_enum.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl Message { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 72 | fn call(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_6_2_match_control_flow.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_6_3_let_if_control_flow.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `existed_in` is never used [INFO] [stdout] --> src/init_6_3_let_if_control_flow.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl UsState { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 48 | fn existed_in(&self, year: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_8_1_common_collections_vectors.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_8_3_hash_maps.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_8_4_exercise.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_9_1_panicing.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_9_2_recoverable_errors.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_9_3_to_panic_or_not_to_panic.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `value` are never used [INFO] [stdout] --> src/init_9_3_to_panic_or_not_to_panic.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 13 | impl Guess { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(value: i32) -> Guess { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn value(&self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_10_0_generics_intro.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `largest_i32` is never used [INFO] [stdout] --> src/init_10_1_generics.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn largest_i32(list: &[i32]) -> &i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `largest_char` is never used [INFO] [stdout] --> src/init_10_1_generics.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn largest_char(list: &[char]) -> &char { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `largest` is never used [INFO] [stdout] --> src/init_10_1_generics.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn largest< [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_10_1_generics.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `x` is never used [INFO] [stdout] --> src/init_10_1_generics.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 100 | impl PointV3 { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 101 | fn x(&self) -> &T { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `distance_from_origin` is never used [INFO] [stdout] --> src/init_10_1_generics.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 106 | impl PointV3 { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 107 | fn distance_from_origin(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mixup` is never used [INFO] [stdout] --> src/init_10_1_generics.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 126 | impl PointV4 { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 127 | fn mixup(self, other: PointV4) -> PointV4 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.45s [INFO] running `Command { std: "docker" "inspect" "dc18ff2145fd14120d7e2a03e83c1a90abb73559479fbffd90f0188b408a49f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc18ff2145fd14120d7e2a03e83c1a90abb73559479fbffd90f0188b408a49f5", kill_on_drop: false }` [INFO] [stdout] dc18ff2145fd14120d7e2a03e83c1a90abb73559479fbffd90f0188b408a49f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 772669e7e397c7fef1eb61f755a4d812ffd9c669a94536fb3a0ba18d88135f08 [INFO] running `Command { std: "docker" "start" "-a" "772669e7e397c7fef1eb61f755a4d812ffd9c669a94536fb3a0ba18d88135f08", kill_on_drop: false }` [INFO] [stderr] Compiling basics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/init_8_3_hash_maps.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/init_8_4_exercise.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | if (CONSONANTS.contains(first_letter)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 105 - if (CONSONANTS.contains(first_letter)) { [INFO] [stdout] 105 + if CONSONANTS.contains(first_letter) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/init_9_1_panicing.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 2 | panic!("crash and burn"); [INFO] [stdout] | ------------------------ any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 5 | let v = vec![1, 2, 3]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guess` [INFO] [stdout] --> src/init_3_2_data_types.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let guess: u32 = "42".parse().expect("Not a number!"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guess` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/init_3_2_data_types.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let x: i8 = -128; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/init_3_2_data_types.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let x: i8 = 127; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/init_3_2_data_types.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let x: i16 = -32_768; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/init_3_2_data_types.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let x: i16 = 32_767; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/init_3_2_data_types.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let x: i32 = -2_147_483_648; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/init_3_2_data_types.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let x: i32 = 2_147_483_647; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/init_3_2_data_types.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let x: i64 = -9_223_372_036_854_775_808; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/init_3_2_data_types.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let x: i64 = 9_223_372_036_854_775_807; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/init_3_2_data_types.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let x: i128 = -170_141_183_460_469_231_731_687_303_715_884_105_728; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/init_3_2_data_types.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let x: i128 = 170_141_183_460_469_231_731_687_303_715_884_105_727; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/init_3_2_data_types.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let x: isize = -9_223_372_036_854_775_808; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/init_3_2_data_types.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let x: isize = 9_223_372_036_854_775_807; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decimal` [INFO] [stdout] --> src/init_3_2_data_types.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let decimal = 42; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decimal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hex` [INFO] [stdout] --> src/init_3_2_data_types.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let hex = 0xff; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `octal` [INFO] [stdout] --> src/init_3_2_data_types.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let octal = 0o77; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_octal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binary` [INFO] [stdout] --> src/init_3_2_data_types.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let binary = 0b1111_0000; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte` [INFO] [stdout] --> src/init_3_2_data_types.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let byte = b'A'; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_byte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/init_3_2_data_types.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let f = 3.14; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/init_3_2_data_types.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let f: f32 = 3.14; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sum` [INFO] [stdout] --> src/init_3_2_data_types.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let sum = 5 + 10; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `difference` [INFO] [stdout] --> src/init_3_2_data_types.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let difference = 95.5 - 4.3; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_difference` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product` [INFO] [stdout] --> src/init_3_2_data_types.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let product = 4 * 30; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quotient` [INFO] [stdout] --> src/init_3_2_data_types.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let quotient = 56.7 / 32.2; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quotient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `truncated` [INFO] [stdout] --> src/init_3_2_data_types.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let truncated = -5 / 3; // Result is -1 [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_truncated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remainder` [INFO] [stdout] --> src/init_3_2_data_types.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let remainder = 43 % 5; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remainder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/init_3_2_data_types.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let t = true; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/init_3_2_data_types.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let f: bool = false; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/init_3_2_data_types.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let c = 'a'; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/init_3_2_data_types.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let c: char = 'ℤ'; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `heart_eyed_cat` [INFO] [stdout] --> src/init_3_2_data_types.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let heart_eyed_cat = '😻'; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_heart_eyed_cat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/init_3_2_data_types.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | let (x, y, z) = tup; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/init_3_2_data_types.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | let (x, y, z) = tup; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/init_3_2_data_types.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let x = tup.0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/init_3_2_data_types.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let y = tup.1; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/init_3_2_data_types.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let z = tup.2; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/init_3_2_data_types.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let a = [1, 2, 3, 4, 5]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `months` [INFO] [stdout] --> src/init_3_2_data_types.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let months = [ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_months` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/init_3_2_data_types.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let a: [i32; 5] = [1, 2, 3, 4, 5]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/init_3_2_data_types.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | let first = a[0]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second` [INFO] [stdout] --> src/init_3_2_data_types.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let second = a[1]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_second` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/init_3_3_functions.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let x = 5; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/init_3_3_functions.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let y = { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/init_4_1_ownership.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let s = "hello"; // s is valid from this point forward [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> src/init_4_1_ownership.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let s2 = s1; // s1 is moved to s2 [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> src/init_4_1_ownership.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let s1 = gives_ownership(); // gives_ownership moves its return value to s1 [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s3` [INFO] [stdout] --> src/init_4_1_ownership.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let s3 = takes_and_gives_back(s2); // s2 is moved and then moved again to s3 [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/init_4_1_ownership.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let mut x = 5; // x comes into scope [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/init_4_3_the_slice_type.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let word = first_word(&s); // word will get the value 5 [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/init_4_3_the_slice_type.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let world = &s[6..11]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/init_4_3_the_slice_type.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let slice = &s[0..2]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/init_4_3_the_slice_type.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let slice = &s[..2]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/init_4_3_the_slice_type.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let slice = &s[3..len]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/init_4_3_the_slice_type.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let slice = &s[3..]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/init_4_3_the_slice_type.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let slice = &s[0..len]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/init_4_3_the_slice_type.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let word = first_word_using_slices(&s); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/init_4_3_the_slice_type.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let mut s = String::from("hello world"); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user1` [INFO] [stdout] --> src/init_5_1_struct_data_type.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let user1 = User { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_user1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user2` [INFO] [stdout] --> src/init_5_1_struct_data_type.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let user2 = build_user( [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_user2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user2` [INFO] [stdout] --> src/init_5_1_struct_data_type.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let user2 = User { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_user2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `black` [INFO] [stdout] --> src/init_5_1_struct_data_type.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let black = Color(0, 0, 0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_black` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> src/init_5_1_struct_data_type.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let origin = Point(0, 0, 0); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subject` [INFO] [stdout] --> src/init_5_1_struct_data_type.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let subject = AlwaysEqual; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subject` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rect2` [INFO] [stdout] --> src/init_5_2_a_program_using_structs.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let rect2 = Rectangle2 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rect2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp` [INFO] [stdout] --> src/init_6_2_match_control_flow.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let temp = match dice_roll { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_temp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/init_8_1_common_collections_vectors.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let v: Vec = Vec::new(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/init_8_1_common_collections_vectors.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let v = vec![1, 2, 3]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/init_8_1_common_collections_vectors.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let first = &v[0]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/init_8_1_common_collections_vectors.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let row = vec![ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/init_8_1_common_collections_vectors.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let v = vec![1, 2, 3, 4]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | let mut s = String::new(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let s = data.to_string(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let s = "initial contents".to_string(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let s = String::from("initial contents"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let hello = String::from("السلام عليكم"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let hello = String::from("Dobrý den"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let hello = String::from("Hello"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let hello = String::from("שלום"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let hello = String::from("नमस्ते"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let hello = String::from("こんにちは"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let hello = String::from("안녕하세요"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let hello = String::from("你好"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let hello = String::from("Olá"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let hello = String::from("Здравствуйте"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hello` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let hello = String::from("Hola"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s3` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let s3 = s1 + &s2; // note s1 has been moved here and can no longer be used [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let s = s1 + "-" + &s2 + "-" + &s3; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | let s1 = String::from("hi"); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | let data = "initial contents"; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut s = String::new(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `piglatin_word` is never read [INFO] [stdout] --> src/init_8_4_exercise.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | let mut piglatin_word = String::new(); [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: variable does not need to be mutable [INFO] [stdout] --> src/init_8_4_exercise.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut first_letter = get_first_letter(word); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `greeting_file` [INFO] [stdout] --> src/init_9_2_recoverable_errors.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let greeting_file = [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_greeting_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `greeting_file` [INFO] [stdout] --> src/init_9_2_recoverable_errors.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let greeting_file = File::open("hello.txt")?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_greeting_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `home` [INFO] [stdout] --> src/init_9_3_to_panic_or_not_to_panic.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let home: std::net::IpAddr = "127.0.0.1" [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_home` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `integer` [INFO] [stdout] --> src/init_10_1_generics.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | let integer = Point { x: 5, y: 10 }; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `float` [INFO] [stdout] --> src/init_10_1_generics.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let float = Point { x: 1.0, y: 4.0 }; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_float` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `both_integer` [INFO] [stdout] --> src/init_10_1_generics.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let both_integer = PointV2 { x: 5, y: 10 }; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_both_integer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `both_float` [INFO] [stdout] --> src/init_10_1_generics.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let both_float = PointV2 { x: 1.0, y: 4.0 }; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_both_float` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `integer_and_float` [INFO] [stdout] --> src/init_10_1_generics.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let integer_and_float = PointV2 { x: 5, y: 4.0 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer_and_float` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_1_2_hello.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [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 `main` is never used [INFO] [stdout] --> src/init_1_3_formatted_print.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_3_1_variable_and_mutability.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_3_2_data_types.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_3_3_functions.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `another_function` is never used [INFO] [stdout] --> src/init_3_3_functions.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn another_function() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `yet_another_function` is never used [INFO] [stdout] --> src/init_3_3_functions.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn yet_another_function(x: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_labeled_measurement` is never used [INFO] [stdout] --> src/init_3_3_functions.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn print_labeled_measurement(value: i32, unit: char) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_3_4_comments.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_3_5_control_flow.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_4_1_ownership.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_4_3_the_slice_type.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_5_1_struct_data_type.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_5_2_a_program_using_structs.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_5_3_method_syntax.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `area`, `width`, and `height` are never used [INFO] [stdout] --> src/init_5_3_method_syntax.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Rectangle { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 12 | fn area(&self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | fn width(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn height(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_hold` is never used [INFO] [stdout] --> src/init_5_3_method_syntax.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Rectangle2 { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 42 | fn can_hold(&self, other: &Rectangle2) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `square` is never used [INFO] [stdout] --> src/init_5_3_method_syntax.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl Rectangle3 { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 72 | fn square(size: u32) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `area` and `square` are never used [INFO] [stdout] --> src/init_5_3_method_syntax.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl Rectangle4 { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 95 | fn area(&self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | fn square(size: u32) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_hold` is never used [INFO] [stdout] --> src/init_5_3_method_syntax.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl Rectangle4 { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 108 | fn can_hold(&self, other: &Rectangle4) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_6_1_enum.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `call` is never used [INFO] [stdout] --> src/init_6_1_enum.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl Message { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 72 | fn call(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_6_2_match_control_flow.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_6_3_let_if_control_flow.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `existed_in` is never used [INFO] [stdout] --> src/init_6_3_let_if_control_flow.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl UsState { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 48 | fn existed_in(&self, year: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_8_1_common_collections_vectors.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_8_2_storing_string_in_utf_8.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_8_3_hash_maps.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_8_4_exercise.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_9_1_panicing.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_9_2_recoverable_errors.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_9_3_to_panic_or_not_to_panic.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `value` are never used [INFO] [stdout] --> src/init_9_3_to_panic_or_not_to_panic.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 13 | impl Guess { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(value: i32) -> Guess { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn value(&self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_10_0_generics_intro.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `largest_i32` is never used [INFO] [stdout] --> src/init_10_1_generics.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn largest_i32(list: &[i32]) -> &i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `largest_char` is never used [INFO] [stdout] --> src/init_10_1_generics.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn largest_char(list: &[char]) -> &char { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `largest` is never used [INFO] [stdout] --> src/init_10_1_generics.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn largest< [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/init_10_1_generics.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `x` is never used [INFO] [stdout] --> src/init_10_1_generics.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 100 | impl PointV3 { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 101 | fn x(&self) -> &T { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `distance_from_origin` is never used [INFO] [stdout] --> src/init_10_1_generics.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 106 | impl PointV3 { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 107 | fn distance_from_origin(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mixup` is never used [INFO] [stdout] --> src/init_10_1_generics.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 126 | impl PointV4 { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 127 | fn mixup(self, other: PointV4) -> PointV4 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "772669e7e397c7fef1eb61f755a4d812ffd9c669a94536fb3a0ba18d88135f08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "772669e7e397c7fef1eb61f755a4d812ffd9c669a94536fb3a0ba18d88135f08", kill_on_drop: false }` [INFO] [stdout] 772669e7e397c7fef1eb61f755a4d812ffd9c669a94536fb3a0ba18d88135f08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a374de7efe1f3ad222e0b91747a7c99fd68f89714e61e334092ff46181119472 [INFO] running `Command { std: "docker" "start" "-a" "a374de7efe1f3ad222e0b91747a7c99fd68f89714e61e334092ff46181119472", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/init_8_3_hash_maps.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/init_8_4_exercise.rs:105:12 [INFO] [stderr] | [INFO] [stderr] 105 | if (CONSONANTS.contains(first_letter)) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 105 - if (CONSONANTS.contains(first_letter)) { [INFO] [stderr] 105 + if CONSONANTS.contains(first_letter) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/init_9_1_panicing.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 2 | panic!("crash and burn"); [INFO] [stderr] | ------------------------ any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 5 | let v = vec![1, 2, 3]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `guess` [INFO] [stderr] --> src/init_3_2_data_types.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | let guess: u32 = "42".parse().expect("Not a number!"); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guess` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/init_3_2_data_types.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | let x: i8 = -128; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/init_3_2_data_types.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | let x: i8 = 127; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/init_3_2_data_types.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | let x: i16 = -32_768; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/init_3_2_data_types.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | let x: i16 = 32_767; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/init_3_2_data_types.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | let x: i32 = -2_147_483_648; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/init_3_2_data_types.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | let x: i32 = 2_147_483_647; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/init_3_2_data_types.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | let x: i64 = -9_223_372_036_854_775_808; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/init_3_2_data_types.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | let x: i64 = 9_223_372_036_854_775_807; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/init_3_2_data_types.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | let x: i128 = -170_141_183_460_469_231_731_687_303_715_884_105_728; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/init_3_2_data_types.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | let x: i128 = 170_141_183_460_469_231_731_687_303_715_884_105_727; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/init_3_2_data_types.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 31 | let x: isize = -9_223_372_036_854_775_808; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/init_3_2_data_types.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | let x: isize = 9_223_372_036_854_775_807; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `decimal` [INFO] [stderr] --> src/init_3_2_data_types.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | let decimal = 42; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decimal` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hex` [INFO] [stderr] --> src/init_3_2_data_types.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | let hex = 0xff; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_hex` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `octal` [INFO] [stderr] --> src/init_3_2_data_types.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 37 | let octal = 0o77; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_octal` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `binary` [INFO] [stderr] --> src/init_3_2_data_types.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | let binary = 0b1111_0000; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `byte` [INFO] [stderr] --> src/init_3_2_data_types.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | let byte = b'A'; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_byte` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `f` [INFO] [stderr] --> src/init_3_2_data_types.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | let f = 3.14; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `f` [INFO] [stderr] --> src/init_3_2_data_types.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | let f: f32 = 3.14; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sum` [INFO] [stderr] --> src/init_3_2_data_types.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 47 | let sum = 5 + 10; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_sum` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `difference` [INFO] [stderr] --> src/init_3_2_data_types.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | let difference = 95.5 - 4.3; [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_difference` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `product` [INFO] [stderr] --> src/init_3_2_data_types.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 49 | let product = 4 * 30; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `quotient` [INFO] [stderr] --> src/init_3_2_data_types.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | let quotient = 56.7 / 32.2; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quotient` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `truncated` [INFO] [stderr] --> src/init_3_2_data_types.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | let truncated = -5 / 3; // Result is -1 [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_truncated` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `remainder` [INFO] [stderr] --> src/init_3_2_data_types.rs:53:9 [INFO] [stderr] | [INFO] [stderr] 53 | let remainder = 43 % 5; [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remainder` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t` [INFO] [stderr] --> src/init_3_2_data_types.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 56 | let t = true; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `f` [INFO] [stderr] --> src/init_3_2_data_types.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 57 | let f: bool = false; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/init_3_2_data_types.rs:60:9 [INFO] [stderr] | [INFO] [stderr] 60 | let c = 'a'; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/init_3_2_data_types.rs:61:9 [INFO] [stderr] | [INFO] [stderr] 61 | let c: char = 'ℤ'; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `heart_eyed_cat` [INFO] [stderr] --> src/init_3_2_data_types.rs:62:9 [INFO] [stderr] | [INFO] [stderr] 62 | let heart_eyed_cat = '😻'; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_heart_eyed_cat` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/init_3_2_data_types.rs:67:10 [INFO] [stderr] | [INFO] [stderr] 67 | let (x, y, z) = tup; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `z` [INFO] [stderr] --> src/init_3_2_data_types.rs:67:16 [INFO] [stderr] | [INFO] [stderr] 67 | let (x, y, z) = tup; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/init_3_2_data_types.rs:71:9 [INFO] [stderr] | [INFO] [stderr] 71 | let x = tup.0; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/init_3_2_data_types.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 72 | let y = tup.1; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `z` [INFO] [stderr] --> src/init_3_2_data_types.rs:73:9 [INFO] [stderr] | [INFO] [stderr] 73 | let z = tup.2; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a` [INFO] [stderr] --> src/init_3_2_data_types.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 77 | let a = [1, 2, 3, 4, 5]; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `months` [INFO] [stderr] --> src/init_3_2_data_types.rs:78:9 [INFO] [stderr] | [INFO] [stderr] 78 | let months = [ [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_months` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a` [INFO] [stderr] --> src/init_3_2_data_types.rs:93:9 [INFO] [stderr] | [INFO] [stderr] 93 | let a: [i32; 5] = [1, 2, 3, 4, 5]; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `first` [INFO] [stderr] --> src/init_3_2_data_types.rs:97:9 [INFO] [stderr] | [INFO] [stderr] 97 | let first = a[0]; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `second` [INFO] [stderr] --> src/init_3_2_data_types.rs:98:9 [INFO] [stderr] | [INFO] [stderr] 98 | let second = a[1]; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_second` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/init_3_3_functions.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | let x = 5; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/init_3_3_functions.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | let y = { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/init_4_1_ownership.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | let s = "hello"; // s is valid from this point forward [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s2` [INFO] [stderr] --> src/init_4_1_ownership.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | let s2 = s1; // s1 is moved to s2 [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s1` [INFO] [stderr] --> src/init_4_1_ownership.rs:64:9 [INFO] [stderr] | [INFO] [stderr] 64 | let s1 = gives_ownership(); // gives_ownership moves its return value to s1 [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s3` [INFO] [stderr] --> src/init_4_1_ownership.rs:66:9 [INFO] [stderr] | [INFO] [stderr] 66 | let s3 = takes_and_gives_back(s2); // s2 is moved and then moved again to s3 [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_s3` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/init_4_1_ownership.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 47 | let mut x = 5; // x comes into scope [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `word` [INFO] [stderr] --> src/init_4_3_the_slice_type.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | let word = first_word(&s); // word will get the value 5 [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `world` [INFO] [stderr] --> src/init_4_3_the_slice_type.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | let world = &s[6..11]; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `slice` [INFO] [stderr] --> src/init_4_3_the_slice_type.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | let slice = &s[0..2]; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `slice` [INFO] [stderr] --> src/init_4_3_the_slice_type.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 49 | let slice = &s[..2]; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `slice` [INFO] [stderr] --> src/init_4_3_the_slice_type.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | let slice = &s[3..len]; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `slice` [INFO] [stderr] --> src/init_4_3_the_slice_type.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 52 | let slice = &s[3..]; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `slice` [INFO] [stderr] --> src/init_4_3_the_slice_type.rs:54:9 [INFO] [stderr] | [INFO] [stderr] 54 | let slice = &s[0..len]; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `word` [INFO] [stderr] --> src/init_4_3_the_slice_type.rs:76:9 [INFO] [stderr] | [INFO] [stderr] 76 | let word = first_word_using_slices(&s); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/init_4_3_the_slice_type.rs:74:9 [INFO] [stderr] | [INFO] [stderr] 74 | let mut s = String::from("hello world"); [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user1` [INFO] [stderr] --> src/init_5_1_struct_data_type.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | let user1 = User { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_user1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user2` [INFO] [stderr] --> src/init_5_1_struct_data_type.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 47 | let user2 = build_user( [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_user2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user2` [INFO] [stderr] --> src/init_5_1_struct_data_type.rs:75:9 [INFO] [stderr] | [INFO] [stderr] 75 | let user2 = User { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_user2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `black` [INFO] [stderr] --> src/init_5_1_struct_data_type.rs:87:9 [INFO] [stderr] | [INFO] [stderr] 87 | let black = Color(0, 0, 0); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_black` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `origin` [INFO] [stderr] --> src/init_5_1_struct_data_type.rs:88:9 [INFO] [stderr] | [INFO] [stderr] 88 | let origin = Point(0, 0, 0); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `subject` [INFO] [stderr] --> src/init_5_1_struct_data_type.rs:95:9 [INFO] [stderr] | [INFO] [stderr] 95 | let subject = AlwaysEqual; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subject` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rect2` [INFO] [stderr] --> src/init_5_2_a_program_using_structs.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 59 | let rect2 = Rectangle2 { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rect2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `temp` [INFO] [stderr] --> src/init_6_2_match_control_flow.rs:80:9 [INFO] [stderr] | [INFO] [stderr] 80 | let temp = match dice_roll { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_temp` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/init_8_1_common_collections_vectors.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | let v: Vec = Vec::new(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/init_8_1_common_collections_vectors.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | let v = vec![1, 2, 3]; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `first` [INFO] [stderr] --> src/init_8_1_common_collections_vectors.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | let first = &v[0]; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `row` [INFO] [stderr] --> src/init_8_1_common_collections_vectors.rs:76:9 [INFO] [stderr] | [INFO] [stderr] 76 | let row = vec![ [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/init_8_1_common_collections_vectors.rs:85:13 [INFO] [stderr] | [INFO] [stderr] 85 | let v = vec![1, 2, 3, 4]; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/init_8_2_storing_string_in_utf_8.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | let mut s = String::new(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/init_8_2_storing_string_in_utf_8.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | let s = data.to_string(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/init_8_2_storing_string_in_utf_8.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | let s = "initial contents".to_string(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/init_8_2_storing_string_in_utf_8.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | let s = String::from("initial contents"); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hello` [INFO] [stderr] --> src/init_8_2_storing_string_in_utf_8.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | let hello = String::from("السلام عليكم"); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hello` [INFO] [stderr] --> src/init_8_2_storing_string_in_utf_8.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | let hello = String::from("Dobrý den"); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hello` [INFO] [stderr] --> src/init_8_2_storing_string_in_utf_8.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | let hello = String::from("Hello"); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hello` [INFO] [stderr] --> src/init_8_2_storing_string_in_utf_8.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | let hello = String::from("שלום"); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hello` [INFO] [stderr] --> src/init_8_2_storing_string_in_utf_8.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | let hello = String::from("नमस्ते"); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hello` [INFO] [stderr] --> src/init_8_2_storing_string_in_utf_8.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | let hello = String::from("こんにちは"); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hello` [INFO] [stderr] --> src/init_8_2_storing_string_in_utf_8.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | let hello = String::from("안녕하세요"); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hello` [INFO] [stderr] --> src/init_8_2_storing_string_in_utf_8.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | let hello = String::from("你好"); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hello` [INFO] [stderr] --> src/init_8_2_storing_string_in_utf_8.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | let hello = String::from("Olá"); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hello` [INFO] [stderr] --> src/init_8_2_storing_string_in_utf_8.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | let hello = String::from("Здравствуйте"); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hello` [INFO] [stderr] --> src/init_8_2_storing_string_in_utf_8.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | let hello = String::from("Hola"); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s3` [INFO] [stderr] --> src/init_8_2_storing_string_in_utf_8.rs:54:9 [INFO] [stderr] | [INFO] [stderr] 54 | let s3 = s1 + &s2; // note s1 has been moved here and can no longer be used [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_s3` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/init_8_2_storing_string_in_utf_8.rs:85:9 [INFO] [stderr] | [INFO] [stderr] 85 | let s = s1 + "-" + &s2 + "-" + &s3; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s1` [INFO] [stderr] --> src/init_8_2_storing_string_in_utf_8.rs:105:9 [INFO] [stderr] | [INFO] [stderr] 105 | let s1 = String::from("hi"); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/init_8_2_storing_string_in_utf_8.rs:155:9 [INFO] [stderr] | [INFO] [stderr] 155 | let data = "initial contents"; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/init_8_2_storing_string_in_utf_8.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | let mut s = String::new(); [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `piglatin_word` is never read [INFO] [stderr] --> src/init_8_4_exercise.rs:102:17 [INFO] [stderr] | [INFO] [stderr] 102 | let mut piglatin_word = String::new(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stdout] running 0 tests [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stdout] [INFO] [stderr] --> src/init_8_4_exercise.rs:103:13 [INFO] [stderr] | [INFO] [stderr] 103 | let mut first_letter = get_first_letter(word); [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `greeting_file` [INFO] [stderr] --> src/init_9_2_recoverable_errors.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | let greeting_file = [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_greeting_file` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `greeting_file` [INFO] [stderr] --> src/init_9_2_recoverable_errors.rs:90:9 [INFO] [stderr] | [INFO] [stderr] 90 | let greeting_file = File::open("hello.txt")?; [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_greeting_file` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `home` [INFO] [stderr] --> src/init_9_3_to_panic_or_not_to_panic.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | let home: std::net::IpAddr = "127.0.0.1" [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_home` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `integer` [INFO] [stderr] --> src/init_10_1_generics.rs:65:9 [INFO] [stderr] | [INFO] [stderr] 65 | let integer = Point { x: 5, y: 10 }; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `float` [INFO] [stderr] --> src/init_10_1_generics.rs:66:9 [INFO] [stderr] | [INFO] [stderr] 66 | let float = Point { x: 1.0, y: 4.0 }; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_float` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `both_integer` [INFO] [stderr] --> src/init_10_1_generics.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 77 | let both_integer = PointV2 { x: 5, y: 10 }; [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_both_integer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `both_float` [INFO] [stderr] --> src/init_10_1_generics.rs:78:9 [INFO] [stderr] | [INFO] [stderr] 78 | let both_float = PointV2 { x: 1.0, y: 4.0 }; [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_both_float` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `integer_and_float` [INFO] [stderr] --> src/init_10_1_generics.rs:79:9 [INFO] [stderr] | [INFO] [stderr] 79 | let integer_and_float = PointV2 { x: 5, y: 4.0 }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer_and_float` [INFO] [stderr] [INFO] [stderr] warning: function `main` is never used [INFO] [stderr] --> src/init_1_2_hello.rs:2:4 [INFO] [stderr] | [INFO] [stderr] 2 | fn main() { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `main` is never used [INFO] [stderr] --> src/init_1_3_formatted_print.rs:1:4 [INFO] [stderr] | [INFO] [stderr] 1 | fn main() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `main` is never used [INFO] [stderr] --> src/init_3_1_variable_and_mutability.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn main() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `main` is never used [INFO] [stderr] --> src/init_3_2_data_types.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn main() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `main` is never used [INFO] [stderr] --> src/init_3_3_functions.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn main() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `another_function` is never used [INFO] [stderr] --> src/init_3_3_functions.rs:56:4 [INFO] [stderr] | [INFO] [stderr] 56 | fn another_function() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `yet_another_function` is never used [INFO] [stderr] --> src/init_3_3_functions.rs:60:4 [INFO] [stderr] | [INFO] [stderr] 60 | fn yet_another_function(x: i32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `print_labeled_measurement` is never used [INFO] [stderr] --> src/init_3_3_functions.rs:64:4 [INFO] [stderr] | [INFO] [stderr] 64 | fn print_labeled_measurement(value: i32, unit: char) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `main` is never used [INFO] [stderr] --> src/init_3_4_comments.rs:1:4 [INFO] [stderr] | [INFO] [stderr] 1 | fn main() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `main` is never used [INFO] [stderr] --> src/init_3_5_control_flow.rs:1:4 [INFO] [stderr] | [INFO] [stderr] 1 | fn main() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `main` is never used [INFO] [stderr] --> src/init_4_1_ownership.rs:1:4 [INFO] [stderr] | [INFO] [stderr] 1 | fn main() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `main` is never used [INFO] [stderr] --> src/init_4_3_the_slice_type.rs:1:4 [INFO] [stderr] | [INFO] [stderr] 1 | fn main() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `main` is never used [INFO] [stderr] --> src/init_5_1_struct_data_type.rs:1:4 [INFO] [stderr] | [INFO] [stderr] 1 | fn main() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `main` is never used [INFO] [stderr] --> src/init_5_2_a_program_using_structs.rs:1:4 [INFO] [stderr] | [INFO] [stderr] 1 | fn main() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `main` is never used [INFO] [stderr] --> src/init_5_3_method_syntax.rs:1:4 [INFO] [stderr] | [INFO] [stderr] 1 | fn main() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `area`, `width`, and `height` are never used [INFO] [stderr] --> src/init_5_3_method_syntax.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 11 | impl Rectangle { [INFO] [stderr] | -------------- methods in this implementation [INFO] [stderr] 12 | fn area(&self) -> u32 { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 15 | fn width(&self) -> u32 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 18 | fn height(&self) -> u32 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `can_hold` is never used [INFO] [stderr] --> src/init_5_3_method_syntax.rs:42:12 [INFO] [stderr] | [INFO] [stderr] 41 | impl Rectangle2 { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] 42 | fn can_hold(&self, other: &Rectangle2) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `square` is never used [INFO] [stderr] --> src/init_5_3_method_syntax.rs:72:12 [INFO] [stderr] | [INFO] [stderr] 71 | impl Rectangle3 { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] 72 | fn square(size: u32) -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `area` and `square` are never used [INFO] [stderr] --> src/init_5_3_method_syntax.rs:95:12 [INFO] [stderr] | [INFO] [stderr] 94 | impl Rectangle4 { [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] 95 | fn area(&self) -> u32 { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 99 | fn square(size: u32) -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `can_hold` is never used [INFO] [stderr] --> src/init_5_3_method_syntax.rs:108:12 [INFO] [stderr] | [INFO] [stderr] 107 | impl Rectangle4 { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] 108 | fn can_hold(&self, other: &Rectangle4) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `main` is never used [INFO] [stderr] --> src/init_6_1_enum.rs:1:4 [INFO] [stderr] | [INFO] [stderr] 1 | fn main() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `call` is never used [INFO] [stderr] --> src/init_6_1_enum.rs:72:12 [INFO] [stderr] | [INFO] [stderr] 71 | impl Message { [INFO] [stderr] | ------------ method in this implementation [INFO] [stderr] 72 | fn call(&self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `main` is never used [INFO] [stderr] --> src/init_6_2_match_control_flow.rs:1:4 [INFO] [stderr] | [INFO] [stderr] 1 | fn main() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `main` is never used [INFO] [stderr] --> src/init_6_3_let_if_control_flow.rs:1:4 [INFO] [stderr] | [INFO] [stderr] 1 | fn main() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `existed_in` is never used [INFO] [stderr] --> src/init_6_3_let_if_control_flow.rs:48:12 [INFO] [stderr] | [INFO] [stderr] 47 | impl UsState { [INFO] [stderr] | ------------ method in this implementation [INFO] [stderr] 48 | fn existed_in(&self, year: i32) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `main` is never used [INFO] [stderr] --> src/init_8_1_common_collections_vectors.rs:1:4 [INFO] [stderr] | [INFO] [stderr] 1 | fn main() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `main` is never used [INFO] [stderr] --> src/init_8_2_storing_string_in_utf_8.rs:1:4 [INFO] [stderr] | [INFO] [stderr] 1 | fn main() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `main` is never used [INFO] [stderr] --> src/init_8_3_hash_maps.rs:3:4 [INFO] [stderr] | [INFO] [stderr] 3 | fn main() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `main` is never used [INFO] [stderr] --> src/init_8_4_exercise.rs:31:4 [INFO] [stderr] | [INFO] [stderr] 31 | fn main() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `main` is never used [INFO] [stderr] --> src/init_9_1_panicing.rs:1:4 [INFO] [stderr] | [INFO] [stderr] 1 | fn main() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `main` is never used [INFO] [stderr] --> src/init_9_2_recoverable_errors.rs:1:4 [INFO] [stderr] | [INFO] [stderr] 1 | fn main() -> Result<(), Box> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `main` is never used [INFO] [stderr] --> src/init_9_3_to_panic_or_not_to_panic.rs:1:4 [INFO] [stderr] | [INFO] [stderr] 1 | fn main() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `value` are never used [INFO] [stderr] --> src/init_9_3_to_panic_or_not_to_panic.rs:14:20 [INFO] [stderr] | [INFO] [stderr] 13 | impl Guess { [INFO] [stderr] | ---------- associated items in this implementation [INFO] [stderr] 14 | pub fn new(value: i32) -> Guess { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 22 | pub fn value(&self) -> i32 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `main` is never used [INFO] [stderr] --> src/init_10_0_generics_intro.rs:1:4 [INFO] [stderr] | [INFO] [stderr] 1 | fn main() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `largest_i32` is never used [INFO] [stderr] --> src/init_10_1_generics.rs:1:4 [INFO] [stderr] | [INFO] [stderr] 1 | fn largest_i32(list: &[i32]) -> &i32 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `largest_char` is never used [INFO] [stderr] --> src/init_10_1_generics.rs:13:4 [INFO] [stderr] | [INFO] [stderr] 13 | fn largest_char(list: &[char]) -> &char { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `largest` is never used [INFO] [stderr] --> src/init_10_1_generics.rs:25:4 [INFO] [stderr] | [INFO] [stderr] 25 | fn largest< [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `main` is never used [INFO] [stderr] --> src/init_10_1_generics.rs:42:4 [INFO] [stderr] | [INFO] [stderr] 42 | fn main() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `x` is never used [INFO] [stderr] --> src/init_10_1_generics.rs:101:12 [INFO] [stderr] | [INFO] [stderr] 100 | impl PointV3 { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] 101 | fn x(&self) -> &T { [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: method `distance_from_origin` is never used [INFO] [stderr] --> src/init_10_1_generics.rs:107:12 [INFO] [stderr] | [INFO] [stderr] 106 | impl PointV3 { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] 107 | fn distance_from_origin(&self) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `mixup` is never used [INFO] [stderr] --> src/init_10_1_generics.rs:127:12 [INFO] [stderr] | [INFO] [stderr] 126 | impl PointV4 { [INFO] [stderr] | ---------------------------- method in this implementation [INFO] [stderr] 127 | fn mixup(self, other: PointV4) -> PointV4 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `basics` (bin "basics" test) generated 144 warnings (run `cargo fix --bin "basics" --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/basics-7b14a252a81e3f9c) [INFO] running `Command { std: "docker" "inspect" "a374de7efe1f3ad222e0b91747a7c99fd68f89714e61e334092ff46181119472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a374de7efe1f3ad222e0b91747a7c99fd68f89714e61e334092ff46181119472", kill_on_drop: false }` [INFO] [stdout] a374de7efe1f3ad222e0b91747a7c99fd68f89714e61e334092ff46181119472