[INFO] cloning repository https://github.com/sidhantas/GameboyAdvance [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sidhantas/GameboyAdvance" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsidhantas%2FGameboyAdvance", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsidhantas%2FGameboyAdvance'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7aee97cb9e8da7118e1963c2a26195121878de34 [INFO] checking sidhantas/GameboyAdvance against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsidhantas%2FGameboyAdvance" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sidhantas/GameboyAdvance on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sidhantas/GameboyAdvance [INFO] finished tweaking git repo https://github.com/sidhantas/GameboyAdvance [INFO] tweaked toml for git repo https://github.com/sidhantas/GameboyAdvance written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sidhantas/GameboyAdvance 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e008976ac12df4ddae7d3de2c848539b6531cee5ec4772848f7b05c365d63890 [INFO] running `Command { std: "docker" "start" "-a" "e008976ac12df4ddae7d3de2c848539b6531cee5ec4772848f7b05c365d63890", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e008976ac12df4ddae7d3de2c848539b6531cee5ec4772848f7b05c365d63890", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e008976ac12df4ddae7d3de2c848539b6531cee5ec4772848f7b05c365d63890", kill_on_drop: false }` [INFO] [stdout] e008976ac12df4ddae7d3de2c848539b6531cee5ec4772848f7b05c365d63890 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c05ca08f4f164b139c5c0c92d96c9b35e5f67705c24b29dd3263bf744b516e2 [INFO] running `Command { std: "docker" "start" "-a" "7c05ca08f4f164b139c5c0c92d96c9b35e5f67705c24b29dd3263bf744b516e2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling sdl2-sys v0.37.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling sdl2 v0.37.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling rstest_macros v0.23.0 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking tui v0.19.0 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking ctrlc v3.4.4 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking rstest v0.23.0 [INFO] [stderr] Checking gameboy_advance v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DebuggerMemoryBus` and `debugger::breakpoints::BreakType` [INFO] [stdout] --> src/arm7tdmi/cpu.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | debugger::breakpoints::BreakType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | memory::memory::{DebuggerMemoryBus, MemoryBus}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem` [INFO] [stdout] --> src/debugger/debugger.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | mem, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ReadError` and `WriteError` [INFO] [stdout] --> src/debugger/debugger.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | MemoryError::{ReadError, WriteError}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `memory::memory::MemoryBus` [INFO] [stdout] --> src/arm7tdmi/data_transfer_instructions.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | memory::memory::MemoryBus, types::{CYCLES, REGISTER, WORD}, utils::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `memory::memory::MemoryBus` [INFO] [stdout] --> src/arm7tdmi/swap_instruction.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | memory::memory::MemoryBus, types::{CYCLES, WORD}, utils::bits::Bits [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `memory::memory::MemoryBus` [INFO] [stdout] --> src/arm7tdmi/thumb/data_transfer_instructions.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | memory::memory::MemoryBus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/arm7tdmi/instructions.rs:55:36 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn arm_multiply(&mut self, instruction: ARMByteCode) -> CYCLES { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/arm7tdmi/instructions.rs:59:47 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn arm_multiply_accumulate(&mut self, instruction: ARMByteCode) -> CYCLES { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/arm7tdmi/instructions.rs:63:41 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn arm_multiply_long(&mut self, instruction: ARMByteCode) -> CYCLES { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/arm7tdmi/instructions.rs:93:43 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn arm_not_implemented(&mut self, instruction: ARMByteCode) -> CYCLES { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operand1` [INFO] [stdout] --> src/arm7tdmi/alu.rs:183:45 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn arm_rsc(&mut self, rd: REGISTER, operand1: u32, operand2: u32, set_flags: bool) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operand1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address1` [INFO] [stdout] --> src/debugger/breakpoints.rs:39:46 [INFO] [stdout] | [INFO] [stdout] 39 | BreakType::WatchAddress(address, address1) => write!(f, "address == {}", address), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_undefined` is never used [INFO] [stdout] --> src/arm7tdmi/decoder.rs:287:12 [INFO] [stdout] | [INFO] [stdout] 287 | pub fn is_undefined(instruction: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BG0CNT` is never used [INFO] [stdout] --> src/memory/io_handlers.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const BG0CNT: usize = 0x008; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BG1CNT` is never used [INFO] [stdout] --> src/memory/io_handlers.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const BG1CNT: usize = 0x00A; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BG2CNT` is never used [INFO] [stdout] --> src/memory/io_handlers.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const BG2CNT: usize = 0x00C; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BG3CNT` is never used [INFO] [stdout] --> src/memory/io_handlers.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const BG3CNT: usize = 0x00E; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `THIRTYTWO` is never constructed [INFO] [stdout] --> src/memory/io_handlers.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 24 | enum BitMask { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 28 | THIRTYTWO(u32, u32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BitMask` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `TerminalCommandErrors` to `TerminalCommandErrors` [INFO] [stdout] --> src/debugger/terminal_commands.rs:117:28 [INFO] [stdout] | [INFO] [stdout] 117 | return Err(TerminalCommandErrors::CouldNotParse.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `TerminalCommandErrors` to `TerminalCommandErrors` [INFO] [stdout] --> src/debugger/terminal_commands.rs:177:28 [INFO] [stdout] | [INFO] [stdout] 177 | return Err(TerminalCommandErrors::CouldNotParse.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `TerminalCommandErrors` to `TerminalCommandErrors` [INFO] [stdout] --> src/debugger/terminal_commands.rs:197:28 [INFO] [stdout] | [INFO] [stdout] 197 | return Err(TerminalCommandErrors::CouldNotParse.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gameboy_advance` (lib) due to 3 previous errors; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7c05ca08f4f164b139c5c0c92d96c9b35e5f67705c24b29dd3263bf744b516e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c05ca08f4f164b139c5c0c92d96c9b35e5f67705c24b29dd3263bf744b516e2", kill_on_drop: false }` [INFO] [stdout] 7c05ca08f4f164b139c5c0c92d96c9b35e5f67705c24b29dd3263bf744b516e2