[INFO] cloning repository https://github.com/resqiar/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/resqiar/learn-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fresqiar%2Flearn-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fresqiar%2Flearn-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 03dcd84b9a7e2307cf9043cb2f146bf6d52fe7db
[INFO] testing resqiar/learn-rust against nightly-2025-01-18+rustflags=-Zrandomize-layout for randomize-layout-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fresqiar%2Flearn-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/resqiar/learn-rust on toolchain nightly-2025-01-18
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/resqiar/learn-rust
[INFO] finished tweaking git repo https://github.com/resqiar/learn-rust
[INFO] tweaked toml for git repo https://github.com/resqiar/learn-rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/resqiar/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" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4dffa255c0d633a8372de1ac3a2420a245a013f76292628430f2676b759cff58
[INFO] running `Command { std: "docker" "start" "-a" "4dffa255c0d633a8372de1ac3a2420a245a013f76292628430f2676b759cff58", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4dffa255c0d633a8372de1ac3a2420a245a013f76292628430f2676b759cff58", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4dffa255c0d633a8372de1ac3a2420a245a013f76292628430f2676b759cff58", kill_on_drop: false }`
[INFO] [stdout] 4dffa255c0d633a8372de1ac3a2420a245a013f76292628430f2676b759cff58
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 78110361e4c443061c4db01af91068c04cae1110ef9e4b7a26e9be64fab0f955
[INFO] running `Command { std: "docker" "start" "-a" "78110361e4c443061c4db01af91068c04cae1110ef9e4b7a26e9be64fab0f955", kill_on_drop: false }`
[INFO] [stderr]    Compiling learning_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `kind` and `value` are never read
[INFO] [stdout]  --> src/enums_mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Language {
[INFO] [stdout]   |        -------- fields in this struct
[INFO] [stdout] 3 |     kind: LanguageKind,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 4 |     value: Phrase,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Language` 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] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/enums_mod.rs:28:19
[INFO] [stdout]    |
[INFO] [stdout] 28 |     MorningSalute(String),
[INFO] [stdout]    |     ------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Phrase` 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] 28 |     MorningSalute(()),
[INFO] [stdout]    |                   ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/enums_mod.rs:29:17
[INFO] [stdout]    |
[INFO] [stdout] 29 |     NightSalute(String),
[INFO] [stdout]    |     ----------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Phrase` 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] 29 |     NightSalute(()),
[INFO] [stdout]    |                 ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `total_game` and `final_score` are never read
[INFO] [stdout]  --> src/generic_mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Game<T, U> {
[INFO] [stdout]   |        ---- fields in this struct
[INFO] [stdout] 3 |     total_game: T,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 4 |     final_score: U,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Electric` and `Petrol` are never constructed
[INFO] [stdout]  --> src/match_mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | enum VType {
[INFO] [stdout]   |      ----- variants in this enum
[INFO] [stdout] 3 |     Electric,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 4 |     Diesel,
[INFO] [stdout] 5 |     Petrol,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `VType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]  --> src/struct_mod.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Color(pub u32, pub u32, pub u32);
[INFO] [stdout]   |            ----- ^^^^^^^  ^^^^^^^  ^^^^^^^
[INFO] [stdout]   |            |
[INFO] [stdout]   |            fields in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider removing these fields
[INFO] [stdout]   = note: `Color` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `name` are never read
[INFO] [stdout]  --> src/struct_mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Vehicle {
[INFO] [stdout]   |        ------- fields in this struct
[INFO] [stdout] 6 |     id: usize,
[INFO] [stdout]   |     ^^
[INFO] [stdout] 7 |     name: String,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Vehicle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `color` is never read
[INFO] [stdout]   --> src/struct_mod.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Rect {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 14 |     pub name: String,
[INFO] [stdout] 15 |     pub color: Color,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sum_num` is never used
[INFO] [stdout]  --> src/test_mod.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn sum_num(a: i32, b: i32) -> i32 {
[INFO] [stdout]   |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.27s
[INFO] running `Command { std: "docker" "inspect" "78110361e4c443061c4db01af91068c04cae1110ef9e4b7a26e9be64fab0f955", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "78110361e4c443061c4db01af91068c04cae1110ef9e4b7a26e9be64fab0f955", kill_on_drop: false }`
[INFO] [stdout] 78110361e4c443061c4db01af91068c04cae1110ef9e4b7a26e9be64fab0f955
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7d9b0155abb21298d4be6878408b160cdd450882c734e255bfb190b307e0d2b2
[INFO] running `Command { std: "docker" "start" "-a" "7d9b0155abb21298d4be6878408b160cdd450882c734e255bfb190b307e0d2b2", kill_on_drop: false }`
[INFO] [stderr]    Compiling learning_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `kind` and `value` are never read
[INFO] [stdout]  --> src/enums_mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Language {
[INFO] [stdout]   |        -------- fields in this struct
[INFO] [stdout] 3 |     kind: LanguageKind,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 4 |     value: Phrase,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Language` 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] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/enums_mod.rs:28:19
[INFO] [stdout]    |
[INFO] [stdout] 28 |     MorningSalute(String),
[INFO] [stdout]    |     ------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Phrase` 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] 28 |     MorningSalute(()),
[INFO] [stdout]    |                   ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/enums_mod.rs:29:17
[INFO] [stdout]    |
[INFO] [stdout] 29 |     NightSalute(String),
[INFO] [stdout]    |     ----------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Phrase` 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] 29 |     NightSalute(()),
[INFO] [stdout]    |                 ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `total_game` and `final_score` are never read
[INFO] [stdout]  --> src/generic_mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Game<T, U> {
[INFO] [stdout]   |        ---- fields in this struct
[INFO] [stdout] 3 |     total_game: T,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 4 |     final_score: U,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Electric` and `Petrol` are never constructed
[INFO] [stdout]  --> src/match_mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | enum VType {
[INFO] [stdout]   |      ----- variants in this enum
[INFO] [stdout] 3 |     Electric,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 4 |     Diesel,
[INFO] [stdout] 5 |     Petrol,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `VType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]  --> src/struct_mod.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Color(pub u32, pub u32, pub u32);
[INFO] [stdout]   |            ----- ^^^^^^^  ^^^^^^^  ^^^^^^^
[INFO] [stdout]   |            |
[INFO] [stdout]   |            fields in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider removing these fields
[INFO] [stdout]   = note: `Color` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `name` are never read
[INFO] [stdout]  --> src/struct_mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Vehicle {
[INFO] [stdout]   |        ------- fields in this struct
[INFO] [stdout] 6 |     id: usize,
[INFO] [stdout]   |     ^^
[INFO] [stdout] 7 |     name: String,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Vehicle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `color` is never read
[INFO] [stdout]   --> src/struct_mod.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Rect {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 14 |     pub name: String,
[INFO] [stdout] 15 |     pub color: Color,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s
[INFO] running `Command { std: "docker" "inspect" "7d9b0155abb21298d4be6878408b160cdd450882c734e255bfb190b307e0d2b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7d9b0155abb21298d4be6878408b160cdd450882c734e255bfb190b307e0d2b2", kill_on_drop: false }`
[INFO] [stdout] 7d9b0155abb21298d4be6878408b160cdd450882c734e255bfb190b307e0d2b2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 55bcb1ac1973bfe0a1d0198931619745813109e333d55f2dd6bd2703c1f73b50
[INFO] running `Command { std: "docker" "start" "-a" "55bcb1ac1973bfe0a1d0198931619745813109e333d55f2dd6bd2703c1f73b50", kill_on_drop: false }`
[INFO] [stderr] warning: fields `kind` and `value` are never read
[INFO] [stderr]  --> src/enums_mod.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Language {
[INFO] [stderr]   |        -------- fields in this struct
[INFO] [stderr] 3 |     kind: LanguageKind,
[INFO] [stderr]   |     ^^^^
[INFO] [stderr] 4 |     value: Phrase,
[INFO] [stderr]   |     ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `Language` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/enums_mod.rs:28:19
[INFO] [stderr]    |
[INFO] [stderr] 28 |     MorningSalute(String),
[INFO] [stderr]    |     ------------- ^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Phrase` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 28 |     MorningSalute(()),
[INFO] [stderr]    |                   ~~
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/enums_mod.rs:29:17
[INFO] [stderr]    |
[INFO] [stderr] 29 |     NightSalute(String),
[INFO] [stderr]    |     ----------- ^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Phrase` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 29 |     NightSalute(()),
[INFO] [stderr]    |                 ~~
[INFO] [stderr] 
[INFO] [stderr] warning: fields `total_game` and `final_score` are never read
[INFO] [stderr]  --> src/generic_mod.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Game<T, U> {
[INFO] [stderr]   |        ---- fields in this struct
[INFO] [stderr] 3 |     total_game: T,
[INFO] [stderr]   |     ^^^^^^^^^^
[INFO] [stderr] 4 |     final_score: U,
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Electric` and `Petrol` are never constructed
[INFO] [stderr]  --> src/match_mod.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | enum VType {
[INFO] [stderr]   |      ----- variants in this enum
[INFO] [stderr] 3 |     Electric,
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr] 4 |     Diesel,
[INFO] [stderr] 5 |     Petrol,
[INFO] [stderr]   |     ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `VType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `0`, `1`, and `2` are never read
[INFO] [stderr]  --> src/struct_mod.rs:2:18
[INFO] [stderr]   |
[INFO] [stderr] 2 | pub struct Color(pub u32, pub u32, pub u32);
[INFO] [stderr]   |            ----- ^^^^^^^  ^^^^^^^  ^^^^^^^
[INFO] [stderr]   |            |
[INFO] [stderr]   |            fields in this struct
[INFO] [stderr]   |
[INFO] [stderr]   = help: consider removing these fields
[INFO] [stderr]   = note: `Color` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `id` and `name` are never read
[INFO] [stderr]  --> src/struct_mod.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | struct Vehicle {
[INFO] [stderr]   |        ------- fields in this struct
[INFO] [stderr] 6 |     id: usize,
[INFO] [stderr]   |     ^^
[INFO] [stderr] 7 |     name: String,
[INFO] [stderr]   |     ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `Vehicle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `color` is never read
[INFO] [stderr]   --> src/struct_mod.rs:15:9
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub struct Rect {
[INFO] [stderr]    |            ---- field in this struct
[INFO] [stderr] 14 |     pub name: String,
[INFO] [stderr] 15 |     pub color: Color,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `learning_rust` (bin "learning_rust" test) generated 8 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/learning_rust-7628014d469c1681)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test test_mod::sum_test ... ok
[INFO] [stdout] test test_mod::can_hold_test ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- test_mod::can_hold_test stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'test_mod::can_hold_test' panicked at src/test_mod.rs:33:5:
[INFO] [stdout] Should hold the second Box
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5c1245bcd6da - std::backtrace_rs::backtrace::libunwind::trace::hb059275cfc8d6126
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x5c1245bcd6da - std::backtrace_rs::backtrace::trace_unsynchronized::h2da071e4327ce3ee
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5c1245bcd6da - std::sys::backtrace::_print_fmt::h842a1474e6f8d23f
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5c1245bcd6da - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h71a62eb3b9696b12
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5c1245bf4c43 - core::fmt::rt::Argument::fmt::hdb6b616786b41dc1
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x5c1245bf4c43 - core::fmt::write::h2cc1698af7e2d686
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/mod.rs:1440:21
[INFO] [stdout]    6:     0x5c1245bca233 - std::io::Write::write_fmt::hab1b4cd059a79022
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/io/mod.rs:1887:15
[INFO] [stdout]    7:     0x5c1245bcd522 - std::sys::backtrace::BacktraceLock::print::h147fe35b4ea13b08
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x5c1245bceaff - std::panicking::default_hook::{{closure}}::hbd44223dbdc0d208
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:298:22
[INFO] [stdout]    9:     0x5c1245bce918 - std::panicking::default_hook::h20f81eb0576efcec
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:322:9
[INFO] [stdout]   10:     0x5c1245b97733 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hdb53814c496a4d34
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2027:9
[INFO] [stdout]   11:     0x5c1245b97733 - test::test_main::{{closure}}::hc0a4963c59427c24
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:134:21
[INFO] [stdout]   12:     0x5c1245bcf5f3 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h591b2225413a77e9
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2027:9
[INFO] [stdout]   13:     0x5c1245bcf5f3 - std::panicking::rust_panic_with_hook::h625eea43051b2edc
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:839:13
[INFO] [stdout]   14:     0x5c1245bcf276 - std::panicking::begin_panic_handler::{{closure}}::h4f9159cfbc3f6bd3
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:697:13
[INFO] [stdout]   15:     0x5c1245bcdbd9 - std::sys::backtrace::__rust_end_short_backtrace::h0390abce48353151
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:168:18
[INFO] [stdout]   16:     0x5c1245bcef3d - rust_begin_unwind
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:695:5
[INFO] [stdout]   17:     0x5c1245bf36f0 - core::panicking::panic_fmt::h9e7c637e9e5f29c9
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x5c1245b5d616 - learning_rust::test_mod::can_hold_test::h0e0666a910c21808
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test_mod.rs:33:5
[INFO] [stdout]   19:     0x5c1245b5d477 - learning_rust::test_mod::can_hold_test::{{closure}}::h4f577e385eaf13e5
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test_mod.rs:16:19
[INFO] [stdout]   20:     0x5c1245b5cb66 - core::ops::function::FnOnce::call_once::hc6623a7d9af22c77
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   21:     0x5c1245b9ce8b - core::ops::function::FnOnce::call_once::he27718dfdd183f43
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   22:     0x5c1245b9ce8b - test::__rust_begin_short_backtrace::h4e84902998457a5d
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:632:18
[INFO] [stdout]   23:     0x5c1245b9bdc3 - test::run_test_in_process::{{closure}}::h7176fd18fc1feca0
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:655:60
[INFO] [stdout]   24:     0x5c1245b9bdc3 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hf79cff2a624d8cf7
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   25:     0x5c1245b9bdc3 - std::panicking::try::do_call::h3da0561d9ab99c25
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40
[INFO] [stdout]   26:     0x5c1245b9bdc3 - std::panicking::try::h41c9fa508bc61df6
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19
[INFO] [stdout]   27:     0x5c1245b9bdc3 - std::panic::catch_unwind::h6b3ff07bb5afad93
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14
[INFO] [stdout]   28:     0x5c1245b9bdc3 - test::run_test_in_process::hc7253dd11b39b9f4
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:655:27
[INFO] [stdout]   29:     0x5c1245b9bdc3 - test::run_test::{{closure}}::hfb2007f8649c30bb
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:576:43
[INFO] [stdout]   30:     0x5c1245b5eea5 - test::run_test::{{closure}}::h56a17aa7a282a9f4
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:606:41
[INFO] [stdout]   31:     0x5c1245b5eea5 - std::sys::backtrace::__rust_begin_short_backtrace::hd2d2d2fb8e8c6aac
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:152:18
[INFO] [stdout]   32:     0x5c1245b6278a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h4faa3f9db6133423
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   33:     0x5c1245b6278a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hf2e855a36a4ea846
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   34:     0x5c1245b6278a - std::panicking::try::do_call::h2f73af3616c35465
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40
[INFO] [stdout]   35:     0x5c1245b6278a - std::panicking::try::hd1660ce9efadef5a
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19
[INFO] [stdout]   36:     0x5c1245b6278a - std::panic::catch_unwind::h5ee8d7823b8ca744
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14
[INFO] [stdout]   37:     0x5c1245b6278a - std::thread::Builder::spawn_unchecked_::{{closure}}::h53c3a1894dce8407
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   38:     0x5c1245b6278a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h048ce291ad4f62bf
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   39:     0x5c1245bd352b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::ha52bedf99a3b4981
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2013:9
[INFO] [stdout]   40:     0x5c1245bd352b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h567748934d80ccf8
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2013:9
[INFO] [stdout]   41:     0x5c1245bd352b - std::sys::pal::unix::thread::Thread::new::thread_start::h2d970728ae887adc
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/pal/unix/thread.rs:106:17
[INFO] [stdout]   42:     0x7a1addf05ac3 - <unknown>
[INFO] [stdout]   43:     0x7a1addf96a04 - clone
[INFO] [stdout]   44:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     test_mod::can_hold_test
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin learning_rust`
[INFO] running `Command { std: "docker" "inspect" "55bcb1ac1973bfe0a1d0198931619745813109e333d55f2dd6bd2703c1f73b50", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "55bcb1ac1973bfe0a1d0198931619745813109e333d55f2dd6bd2703c1f73b50", kill_on_drop: false }`
[INFO] [stdout] 55bcb1ac1973bfe0a1d0198931619745813109e333d55f2dd6bd2703c1f73b50
