[INFO] cloning repository https://github.com/GoldenPalazzo/gbrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GoldenPalazzo/gbrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGoldenPalazzo%2Fgbrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGoldenPalazzo%2Fgbrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 814b6bb2e097fb057a7e48feab2caa6fd6bf36b9 [INFO] checking GoldenPalazzo/gbrs against try#54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47 for pr-153041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGoldenPalazzo%2Fgbrs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/GoldenPalazzo/gbrs [INFO] finished tweaking git repo https://github.com/GoldenPalazzo/gbrs [INFO] tweaked toml for git repo https://github.com/GoldenPalazzo/gbrs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/GoldenPalazzo/gbrs on toolchain 54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/GoldenPalazzo/gbrs 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" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jiff-static v0.2.19 [INFO] [stderr] Downloaded jiff v0.2.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26adb09c0f890fca71e0c1e2f5b1dc73597136da6bdf4391087292cbf69a791d [INFO] running `Command { std: "docker" "start" "-a" "26adb09c0f890fca71e0c1e2f5b1dc73597136da6bdf4391087292cbf69a791d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26adb09c0f890fca71e0c1e2f5b1dc73597136da6bdf4391087292cbf69a791d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26adb09c0f890fca71e0c1e2f5b1dc73597136da6bdf4391087292cbf69a791d", kill_on_drop: false }` [INFO] [stdout] 26adb09c0f890fca71e0c1e2f5b1dc73597136da6bdf4391087292cbf69a791d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb0d513300f46e2d47583e6cee7809d9caa8c6a04b40966186641000c92f3c11 [INFO] running `Command { std: "docker" "start" "-a" "eb0d513300f46e2d47583e6cee7809d9caa8c6a04b40966186641000c92f3c11", kill_on_drop: false }` [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking regex-syntax v0.8.9 [INFO] [stderr] Checking jiff v0.2.19 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking env_filter v1.0.0 [INFO] [stderr] Checking env_logger v0.11.9 [INFO] [stderr] Checking gbrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `ie` is never read [INFO] [stdout] --> src/cpu/cpu.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CPU { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | ie: u8, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RST` is never constructed [INFO] [stdout] --> src/cpu/disasm.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub enum Instruction { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 130 | RST, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` 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 `serial` is never read [INFO] [stdout] --> src/memory/memory.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct MemoryBus { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub serial: Serial [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write16` is never used [INFO] [stdout] --> src/memory/memory.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl MemoryBus { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn write16(&mut self, addr: u16, data: u16) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/memory/cartridge.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Cartridge { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 62 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLAG_TRANSFER` is never used [INFO] [stdout] --> src/memory/io.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const FLAG_TRANSFER: u8 = 0x80; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLAG_HISPEED` is never used [INFO] [stdout] --> src/memory/io.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const FLAG_HISPEED: u8 = 0x02; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLAG_MASTER` is never used [INFO] [stdout] --> src/memory/io.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const FLAG_MASTER: u8 = 0x01; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DATA_ADDR` is never used [INFO] [stdout] --> src/memory/io.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const DATA_ADDR: u16 = 0xff01; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CTRL_ADDR` is never used [INFO] [stdout] --> src/memory/io.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const CTRL_ADDR: u16 = 0xff02; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SAMPLE_CYCLES` is never used [INFO] [stdout] --> src/memory/io.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const SAMPLE_CYCLES: u8 = 10; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data`, `control`, and `internal_cycles` are never read [INFO] [stdout] --> src/memory/io.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Serial { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 11 | data: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | control: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | [INFO] [stdout] 14 | internal_cycles: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `step`, `write`, `check_flag`, and `set_flag` are never used [INFO] [stdout] --> src/memory/io.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Serial { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 18 | pub fn step(&mut self, cycles: u8) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn write(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn check_flag(&self, flag: u8) -> bool { (self.control & flag) != 0 } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 41 | fn set_flag(&mut self, flag: u8, value: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ie` is never read [INFO] [stdout] --> src/cpu/cpu.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CPU { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | ie: u8, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RST` is never constructed [INFO] [stdout] --> src/cpu/disasm.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub enum Instruction { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 130 | RST, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` 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 `serial` is never read [INFO] [stdout] --> src/memory/memory.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct MemoryBus { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub serial: Serial [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write16` is never used [INFO] [stdout] --> src/memory/memory.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl MemoryBus { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn write16(&mut self, addr: u16, data: u16) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/memory/cartridge.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Cartridge { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 62 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLAG_TRANSFER` is never used [INFO] [stdout] --> src/memory/io.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const FLAG_TRANSFER: u8 = 0x80; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLAG_HISPEED` is never used [INFO] [stdout] --> src/memory/io.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const FLAG_HISPEED: u8 = 0x02; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLAG_MASTER` is never used [INFO] [stdout] --> src/memory/io.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const FLAG_MASTER: u8 = 0x01; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DATA_ADDR` is never used [INFO] [stdout] --> src/memory/io.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const DATA_ADDR: u16 = 0xff01; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CTRL_ADDR` is never used [INFO] [stdout] --> src/memory/io.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const CTRL_ADDR: u16 = 0xff02; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SAMPLE_CYCLES` is never used [INFO] [stdout] --> src/memory/io.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const SAMPLE_CYCLES: u8 = 10; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data`, `control`, and `internal_cycles` are never read [INFO] [stdout] --> src/memory/io.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Serial { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 11 | data: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | control: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | [INFO] [stdout] 14 | internal_cycles: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `step`, `write`, `check_flag`, and `set_flag` are never used [INFO] [stdout] --> src/memory/io.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Serial { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 18 | pub fn step(&mut self, cycles: u8) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn write(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn check_flag(&self, flag: u8) -> bool { (self.control & flag) != 0 } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 41 | fn set_flag(&mut self, flag: u8, value: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.76s [INFO] running `Command { std: "docker" "inspect" "eb0d513300f46e2d47583e6cee7809d9caa8c6a04b40966186641000c92f3c11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb0d513300f46e2d47583e6cee7809d9caa8c6a04b40966186641000c92f3c11", kill_on_drop: false }` [INFO] [stdout] eb0d513300f46e2d47583e6cee7809d9caa8c6a04b40966186641000c92f3c11