[INFO] cloning repository https://github.com/maxdotdotg/rust_exercises [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maxdotdotg/rust_exercises" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxdotdotg%2Frust_exercises", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxdotdotg%2Frust_exercises'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 415483b495fda562ccf51029830316b231861bfb [INFO] checking maxdotdotg/rust_exercises against try#86f78589b09557f70c9db3f56ad1921e0a9f76ef for pr-138438 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxdotdotg%2Frust_exercises" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxdotdotg/rust_exercises on toolchain 86f78589b09557f70c9db3f56ad1921e0a9f76ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+86f78589b09557f70c9db3f56ad1921e0a9f76ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/maxdotdotg/rust_exercises [INFO] finished tweaking git repo https://github.com/maxdotdotg/rust_exercises [INFO] tweaked toml for git repo https://github.com/maxdotdotg/rust_exercises written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/maxdotdotg/rust_exercises 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" "+86f78589b09557f70c9db3f56ad1921e0a9f76ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+86f78589b09557f70c9db3f56ad1921e0a9f76ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b1ee1b5cb0218da587595bd49207ea630fbfef25cafed8a908b8763e17e822d [INFO] running `Command { std: "docker" "start" "-a" "4b1ee1b5cb0218da587595bd49207ea630fbfef25cafed8a908b8763e17e822d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b1ee1b5cb0218da587595bd49207ea630fbfef25cafed8a908b8763e17e822d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b1ee1b5cb0218da587595bd49207ea630fbfef25cafed8a908b8763e17e822d", kill_on_drop: false }` [INFO] [stdout] 4b1ee1b5cb0218da587595bd49207ea630fbfef25cafed8a908b8763e17e822d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+86f78589b09557f70c9db3f56ad1921e0a9f76ef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b57ca9a8828a8e7821a33a712b5814f8be1f39e073fc16742a74fb9b310b86d6 [INFO] running `Command { std: "docker" "start" "-a" "b57ca9a8828a8e7821a33a712b5814f8be1f39e073fc16742a74fb9b310b86d6", kill_on_drop: false }` [INFO] [stderr] Checking exercises v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `count` is assigned to, but never used [INFO] [stdout] --> src/bin/match.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut count = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_count` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `count` is never read [INFO] [stdout] --> src/bin/match.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | _ => count += 1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `count_2` is assigned to, but never used [INFO] [stdout] --> src/bin/match.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut count_2 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_count_2` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `count_2` is never read [INFO] [stdout] --> src/bin/match.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | count_2 += 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Nickel` and `Dime` are never constructed [INFO] [stdout] --> src/bin/match.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | enum Coin { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 6 | Penny, [INFO] [stdout] 7 | Nickel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | Dime, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user5` [INFO] [stdout] --> src/bin/struct.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let user5 = User { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_user5` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_var` [INFO] [stdout] --> src/bin/struct.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let color_var = Color(0, 0, 0); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/bin/struct.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | struct Color(i32, i32, i32); [INFO] [stdout] | ----- ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/bin/struct.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | struct Point(i32, i32, i32); [INFO] [stdout] | ----- ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `IpAddrKind_with_types` should have an upper camel case name [INFO] [stdout] --> src/bin/enums.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | enum IpAddrKind_with_types { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `IpAddrKindWithTypes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_four` [INFO] [stdout] --> src/bin/enums.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let v_four = IpAddrKind::V4; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_v_four` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_six` [INFO] [stdout] --> src/bin/enums.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let v_six = IpAddrKind::V6; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_v_six` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `six` [INFO] [stdout] --> src/bin/option.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let six = plus_one(five); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_six` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `none` [INFO] [stdout] --> src/bin/option.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let none = plus_one(None); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_none` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user5` [INFO] [stdout] --> src/bin/struct.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let user5 = User { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_user5` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_var` [INFO] [stdout] --> src/bin/struct.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let color_var = Color(0, 0, 0); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `home` [INFO] [stdout] --> src/bin/enums.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let home = IpAddr { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_home` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loopback` [INFO] [stdout] --> src/bin/enums.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let loopback = IpAddr { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loopback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loop_again` [INFO] [stdout] --> src/bin/enums.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let loop_again = IpAddrKind_with_types::V6(String::from("::1")); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loop_again` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip_kind` [INFO] [stdout] --> src/bin/enums.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | fn route(ip_kind: IpAddrKind) { } [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ip_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/enums.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | V4(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddrKind_with_types` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - V4(String), [INFO] [stdout] 10 + V4(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/enums.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | V6(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddrKind_with_types` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - V6(String), [INFO] [stdout] 11 + V6(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `address` are never read [INFO] [stdout] --> src/bin/enums.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct IpAddr { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 16 | kind: IpAddrKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `route` is never used [INFO] [stdout] --> src/bin/enums.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn route(ip_kind: IpAddrKind) { } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `count` is assigned to, but never used [INFO] [stdout] --> src/bin/match.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut count = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_count` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `count` is never read [INFO] [stdout] --> src/bin/match.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | _ => count += 1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `count_2` is assigned to, but never used [INFO] [stdout] --> src/bin/match.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut count_2 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_count_2` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `count_2` is never read [INFO] [stdout] --> src/bin/match.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | count_2 += 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Nickel` and `Dime` are never constructed [INFO] [stdout] --> src/bin/match.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | enum Coin { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 6 | Penny, [INFO] [stdout] 7 | Nickel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | Dime, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/functions.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let x = 5; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `IpAddrKind_with_types` should have an upper camel case name [INFO] [stdout] --> src/bin/enums.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | enum IpAddrKind_with_types { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `IpAddrKindWithTypes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `six` [INFO] [stdout] --> src/bin/option.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let six = plus_one(five); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_six` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_four` [INFO] [stdout] --> src/bin/enums.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let v_four = IpAddrKind::V4; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_v_four` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_six` [INFO] [stdout] --> src/bin/enums.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let v_six = IpAddrKind::V6; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_v_six` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `home` [INFO] [stdout] --> src/bin/enums.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let home = IpAddr { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_home` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loopback` [INFO] [stdout] --> src/bin/enums.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let loopback = IpAddr { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loopback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loop_again` [INFO] [stdout] --> src/bin/enums.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let loop_again = IpAddrKind_with_types::V6(String::from("::1")); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loop_again` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip_kind` [INFO] [stdout] --> src/bin/enums.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | fn route(ip_kind: IpAddrKind) { } [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ip_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/enums.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | V4(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddrKind_with_types` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - V4(String), [INFO] [stdout] 10 + V4(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/enums.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | V6(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddrKind_with_types` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - V6(String), [INFO] [stdout] 11 + V6(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `address` are never read [INFO] [stdout] --> src/bin/enums.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct IpAddr { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 16 | kind: IpAddrKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `route` is never used [INFO] [stdout] --> src/bin/enums.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn route(ip_kind: IpAddrKind) { } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `none` [INFO] [stdout] --> src/bin/option.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let none = plus_one(None); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_none` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/functions.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let x = 5; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] running `Command { std: "docker" "inspect" "b57ca9a8828a8e7821a33a712b5814f8be1f39e073fc16742a74fb9b310b86d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b57ca9a8828a8e7821a33a712b5814f8be1f39e073fc16742a74fb9b310b86d6", kill_on_drop: false }` [INFO] [stdout] b57ca9a8828a8e7821a33a712b5814f8be1f39e073fc16742a74fb9b310b86d6