[INFO] cloning repository https://github.com/djanatyn/loaded-turnips [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/djanatyn/loaded-turnips" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjanatyn%2Floaded-turnips", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjanatyn%2Floaded-turnips'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a126958bb8a73d8a0623672a0db2fe1de96ef358 [INFO] checking djanatyn/loaded-turnips against try#446cb600aa4837dd6c513f14fa0d25a909b177d7 for pr-149195 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjanatyn%2Floaded-turnips" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/djanatyn/loaded-turnips [INFO] finished tweaking git repo https://github.com/djanatyn/loaded-turnips [INFO] tweaked toml for git repo https://github.com/djanatyn/loaded-turnips written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/djanatyn/loaded-turnips on toolchain 446cb600aa4837dd6c513f14fa0d25a909b177d7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/djanatyn/loaded-turnips 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" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1956eae01abf83523f38c6b96eb4bb2939a64a6d8e93f9f20925ed3edf31edbb [INFO] running `Command { std: "docker" "start" "-a" "1956eae01abf83523f38c6b96eb4bb2939a64a6d8e93f9f20925ed3edf31edbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1956eae01abf83523f38c6b96eb4bb2939a64a6d8e93f9f20925ed3edf31edbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1956eae01abf83523f38c6b96eb4bb2939a64a6d8e93f9f20925ed3edf31edbb", kill_on_drop: false }` [INFO] [stdout] 1956eae01abf83523f38c6b96eb4bb2939a64a6d8e93f9f20925ed3edf31edbb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c938b31060152fa42a5a9e3b9a7f90dd2aec6b900282320374ab2c4b0b72c09 [INFO] running `Command { std: "docker" "start" "-a" "6c938b31060152fa42a5a9e3b9a7f90dd2aec6b900282320374ab2c4b0b72c09", kill_on_drop: false }` [INFO] [stderr] Checking loaded-turnips v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `melee` [INFO] [stdout] --> src/lib.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | fn get(melee: R) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_melee` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `melee` [INFO] [stdout] --> src/lib.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | fn set(&self, melee: W) -> Result<(), String> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_melee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TurnipFaceChances { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 5 | /// Face ID == 0, default 35/58 chance. [INFO] [stdout] 6 | normal: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | /// Face ID == 1, default 6/58 chance. [INFO] [stdout] 8 | unamused: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | /// Face ID == 2, default 5/58 chance. [INFO] [stdout] 10 | line_eyes: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | /// Face ID == 3, default 3/58 chance. [INFO] [stdout] 12 | circle_eyes: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | /// Face ID == 4, default 3/58 chance. [INFO] [stdout] 14 | super_happy: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | /// Face ID == 5, default 4/58 chance. [INFO] [stdout] 16 | winky: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | /// Face ID == 6, default 1/58 chance. [INFO] [stdout] 18 | dot_eyes: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | /// Face ID == 7, default 1/58 chance. [INFO] [stdout] 20 | stitch: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TurnipFaceChances` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bobomb`, `mr_saturn`, and `beamsword` are never read [INFO] [stdout] --> src/lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct ItemChances { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 40 | /// Default 2/6 chance. [INFO] [stdout] 41 | bobomb: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 42 | /// Default 3/6 chance. [INFO] [stdout] 43 | mr_saturn: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 44 | /// Default 1/6 chance. [INFO] [stdout] 45 | beamsword: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemChances` 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 `chance_of_item`, `chance_of_turnip`, `turnip_face_chances`, and `item_chances` are never read [INFO] [stdout] --> src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct VegetableChances { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 60 | /// Default 1/128 chance. [INFO] [stdout] 61 | chance_of_item: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 62 | /// Default 127/128 chance. [INFO] [stdout] 63 | chance_of_turnip: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 64 | turnip_face_chances: TurnipFaceChances, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 65 | item_chances: ItemChances, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VegetableChances` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get` and `set` are never used [INFO] [stdout] --> src/lib.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl VegetableChances { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 80 | /// Read chances from GALE01 NTSC v1.02 disk image. [INFO] [stdout] 81 | fn get(melee: R) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn set(&self, melee: W) -> Result<(), String> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 99 | impl GCMHeader { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | fn new(mut melee: R) -> std::io::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `melee` [INFO] [stdout] --> src/lib.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | fn get(melee: R) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_melee` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `melee` [INFO] [stdout] --> src/lib.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | fn set(&self, melee: W) -> Result<(), String> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_melee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/lib.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let path = std::env::var("SSBM_ISO_PATH").unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TurnipFaceChances { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 5 | /// Face ID == 0, default 35/58 chance. [INFO] [stdout] 6 | normal: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | /// Face ID == 1, default 6/58 chance. [INFO] [stdout] 8 | unamused: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | /// Face ID == 2, default 5/58 chance. [INFO] [stdout] 10 | line_eyes: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | /// Face ID == 3, default 3/58 chance. [INFO] [stdout] 12 | circle_eyes: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | /// Face ID == 4, default 3/58 chance. [INFO] [stdout] 14 | super_happy: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | /// Face ID == 5, default 4/58 chance. [INFO] [stdout] 16 | winky: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | /// Face ID == 6, default 1/58 chance. [INFO] [stdout] 18 | dot_eyes: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | /// Face ID == 7, default 1/58 chance. [INFO] [stdout] 20 | stitch: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TurnipFaceChances` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bobomb`, `mr_saturn`, and `beamsword` are never read [INFO] [stdout] --> src/lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct ItemChances { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 40 | /// Default 2/6 chance. [INFO] [stdout] 41 | bobomb: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 42 | /// Default 3/6 chance. [INFO] [stdout] 43 | mr_saturn: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 44 | /// Default 1/6 chance. [INFO] [stdout] 45 | beamsword: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemChances` 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 `chance_of_item`, `chance_of_turnip`, `turnip_face_chances`, and `item_chances` are never read [INFO] [stdout] --> src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct VegetableChances { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 60 | /// Default 1/128 chance. [INFO] [stdout] 61 | chance_of_item: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 62 | /// Default 127/128 chance. [INFO] [stdout] 63 | chance_of_turnip: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 64 | turnip_face_chances: TurnipFaceChances, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 65 | item_chances: ItemChances, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VegetableChances` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get` is never used [INFO] [stdout] --> src/lib.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl VegetableChances { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 80 | /// Read chances from GALE01 NTSC v1.02 disk image. [INFO] [stdout] 81 | fn get(melee: R) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TURNIP_CHANCE_BYTES` is never used [INFO] [stdout] --> src/lib.rs:134:11 [INFO] [stdout] | [INFO] [stdout] 134 | const TURNIP_CHANCE_BYTES: [u8; 16] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "6c938b31060152fa42a5a9e3b9a7f90dd2aec6b900282320374ab2c4b0b72c09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c938b31060152fa42a5a9e3b9a7f90dd2aec6b900282320374ab2c4b0b72c09", kill_on_drop: false }` [INFO] [stdout] 6c938b31060152fa42a5a9e3b9a7f90dd2aec6b900282320374ab2c4b0b72c09