[INFO] cloning repository https://github.com/Hubert51/rust_ws [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hubert51/rust_ws" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHubert51%2Frust_ws", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHubert51%2Frust_ws'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 20e2557333d6ce821990fe3d9c0058bbc316a0d3 [INFO] building Hubert51/rust_ws against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHubert51%2Frust_ws" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Hubert51/rust_ws on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Hubert51/rust_ws [INFO] finished tweaking git repo https://github.com/Hubert51/rust_ws [INFO] tweaked toml for git repo https://github.com/Hubert51/rust_ws written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Hubert51/rust_ws 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79462433f4f7742635a8b68ed408a024d2dd84bbec42874d4f697c387e7c5bce [INFO] running `Command { std: "docker" "start" "-a" "79462433f4f7742635a8b68ed408a024d2dd84bbec42874d4f697c387e7c5bce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79462433f4f7742635a8b68ed408a024d2dd84bbec42874d4f697c387e7c5bce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79462433f4f7742635a8b68ed408a024d2dd84bbec42874d4f697c387e7c5bce", kill_on_drop: false }` [INFO] [stdout] 79462433f4f7742635a8b68ed408a024d2dd84bbec42874d4f697c387e7c5bce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0edb649fa6c0780004da7b66fadebe0d52a55cedef4ae189423f47951d1b437 [INFO] running `Command { std: "docker" "start" "-a" "f0edb649fa6c0780004da7b66fadebe0d52a55cedef4ae189423f47951d1b437", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling getrandom v0.2.8 [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 rust_ws v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `spaces` [INFO] [stdout] --> src/bin/3_1_variables.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let spaces = spaces.len(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spaces` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `THREE_HOURS_IN_SECONDS` is never used [INFO] [stdout] --> src/bin/3_1_variables.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | const THREE_HOURS_IN_SECONDS: u32 = 60 * 60 * 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::arch::x86_64::CpuidResult` [INFO] [stdout] --> src/bin/5_1_struct.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::arch::x86_64::CpuidResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/bin/4_1_ownership.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let r1 = &s; // no problem [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r2` [INFO] [stdout] --> src/bin/4_1_ownership.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let r2 = &s; // no problem [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/bin/4_1_ownership.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let word = first_word(&my_string[0..6]); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/3_2_compound_types.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | let (x, y, z) = tup; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/bin/3_2_compound_types.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | 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: `a` [INFO] [stdout] --> src/bin/3_2_compound_types.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | 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: `word` [INFO] [stdout] --> src/bin/4_1_ownership.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let word = first_word(&my_string[..]); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/bin/4_1_ownership.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let word = first_word(&my_string); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/bin/4_1_ownership.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let word = first_word(&my_string_literal[0..6]); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/bin/4_1_ownership.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let word = first_word(&my_string_literal[..]); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/bin/4_1_ownership.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let word = first_word(my_string_literal); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/bin/4_1_ownership.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let bytes = s.as_bytes(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user1` [INFO] [stdout] --> src/bin/5_1_struct.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let user1 = User { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_user1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user3` [INFO] [stdout] --> src/bin/5_1_struct.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let user3 = User{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_user3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subject` [INFO] [stdout] --> src/bin/5_1_struct.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let subject = AlwaysEqual; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subject` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `active` and `sign_in_count` are never read [INFO] [stdout] --> src/bin/5_1_struct.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 4 | active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | sign_in_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `1` and `2` are never read [INFO] [stdout] --> src/bin/5_1_struct.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | 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] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/bin/5_1_struct.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Point(i32, i32, i32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/bin/5_1_struct.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct Rectangle { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 18 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.28s [INFO] running `Command { std: "docker" "inspect" "f0edb649fa6c0780004da7b66fadebe0d52a55cedef4ae189423f47951d1b437", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0edb649fa6c0780004da7b66fadebe0d52a55cedef4ae189423f47951d1b437", kill_on_drop: false }` [INFO] [stdout] f0edb649fa6c0780004da7b66fadebe0d52a55cedef4ae189423f47951d1b437 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da5c512e41e52db8c1d94f84e650f4c933c72a13f08648669348d40705c4e017 [INFO] running `Command { std: "docker" "start" "-a" "da5c512e41e52db8c1d94f84e650f4c933c72a13f08648669348d40705c4e017", kill_on_drop: false }` [INFO] [stderr] Compiling rust_ws v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::arch::x86_64::CpuidResult` [INFO] [stdout] --> src/bin/5_1_struct.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::arch::x86_64::CpuidResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spaces` [INFO] [stdout] --> src/bin/3_1_variables.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let spaces = spaces.len(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spaces` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/bin/4_1_ownership.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let r1 = &s; // no problem [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r2` [INFO] [stdout] --> src/bin/4_1_ownership.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let r2 = &s; // no problem [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/bin/4_1_ownership.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let word = first_word(&my_string[0..6]); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/bin/4_1_ownership.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let word = first_word(&my_string[..]); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/bin/4_1_ownership.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let word = first_word(&my_string); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/3_2_compound_types.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | let (x, y, z) = tup; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/bin/4_1_ownership.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let word = first_word(&my_string_literal[0..6]); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/bin/4_1_ownership.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let word = first_word(&my_string_literal[..]); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/bin/3_2_compound_types.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | 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: `word` [INFO] [stdout] --> src/bin/4_1_ownership.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let word = first_word(my_string_literal); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/bin/3_2_compound_types.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | 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: `bytes` [INFO] [stdout] --> src/bin/4_1_ownership.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let bytes = s.as_bytes(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user1` [INFO] [stdout] --> src/bin/5_1_struct.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let user1 = User { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_user1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user3` [INFO] [stdout] --> src/bin/5_1_struct.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let user3 = User{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_user3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subject` [INFO] [stdout] --> src/bin/5_1_struct.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let subject = AlwaysEqual; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subject` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `active` and `sign_in_count` are never read [INFO] [stdout] --> src/bin/5_1_struct.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 4 | active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | sign_in_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `1` and `2` are never read [INFO] [stdout] --> src/bin/5_1_struct.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | 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] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/bin/5_1_struct.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Point(i32, i32, i32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/bin/5_1_struct.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct Rectangle { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 18 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "da5c512e41e52db8c1d94f84e650f4c933c72a13f08648669348d40705c4e017", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da5c512e41e52db8c1d94f84e650f4c933c72a13f08648669348d40705c4e017", kill_on_drop: false }` [INFO] [stdout] da5c512e41e52db8c1d94f84e650f4c933c72a13f08648669348d40705c4e017