[INFO] cloning repository https://github.com/aoowweenn/nes-emu-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aoowweenn/nes-emu-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faoowweenn%2Fnes-emu-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faoowweenn%2Fnes-emu-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5b5e17c7cc6f529563ee3833b78dbadc9e57a441 [INFO] checking aoowweenn/nes-emu-rs/5b5e17c7cc6f529563ee3833b78dbadc9e57a441 against master#2dece5bb62f234f5622a08289c5a3d1555cd7843 for pr-132325 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faoowweenn%2Fnes-emu-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aoowweenn/nes-emu-rs on toolchain 2dece5bb62f234f5622a08289c5a3d1555cd7843 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2dece5bb62f234f5622a08289c5a3d1555cd7843" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aoowweenn/nes-emu-rs [INFO] finished tweaking git repo https://github.com/aoowweenn/nes-emu-rs [INFO] tweaked toml for git repo https://github.com/aoowweenn/nes-emu-rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/aoowweenn/nes-emu-rs 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" "+2dece5bb62f234f5622a08289c5a3d1555cd7843" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/cpu6502/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+2dece5bb62f234f5622a08289c5a3d1555cd7843" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9943151479daddae0bc0a00f1830494daae34ea7d50b3d1c99813e4c9af1fc03 [INFO] running `Command { std: "docker" "start" "-a" "9943151479daddae0bc0a00f1830494daae34ea7d50b3d1c99813e4c9af1fc03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9943151479daddae0bc0a00f1830494daae34ea7d50b3d1c99813e4c9af1fc03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9943151479daddae0bc0a00f1830494daae34ea7d50b3d1c99813e4c9af1fc03", kill_on_drop: false }` [INFO] [stdout] 9943151479daddae0bc0a00f1830494daae34ea7d50b3d1c99813e4c9af1fc03 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+2dece5bb62f234f5622a08289c5a3d1555cd7843" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e759862376b6f72080206a39283bceb824c7e8cbf514c6edc1819b6f9c82eab [INFO] running `Command { std: "docker" "start" "-a" "6e759862376b6f72080206a39283bceb824c7e8cbf514c6edc1819b6f9c82eab", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/cpu6502/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking cpu6502 v0.1.0 (/opt/rustwide/workdir/cpu6502) [INFO] [stdout] warning: unused import: `addr_modes::AddrMode` [INFO] [stdout] --> cpu6502/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use addr_modes::AddrMode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> cpu6502/src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / /// TODO: cpu power up [INFO] [stdout] 24 | | /// TODO: loop [INFO] [stdout] | |_________-------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `addr_modes::AddrMode` [INFO] [stdout] --> cpu6502/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use addr_modes::AddrMode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> cpu6502/src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / /// TODO: cpu power up [INFO] [stdout] 24 | | /// TODO: loop [INFO] [stdout] | |_________-------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> cpu6502/src/lib.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | fn run(&mut self, mem: &mut [u8]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `arch` and `regs` are never read [INFO] [stdout] --> cpu6502/src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Cpu { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 10 | arch: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | regs: Regs, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cpu` 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: methods `run` and `execute` are never used [INFO] [stdout] --> cpu6502/src/lib.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Cpu { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | fn run(&mut self, mem: &mut [u8]) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn execute(&mut self, mem: &mut [u8]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a`, `x`, `y`, `pc`, `s`, and `p` are never read [INFO] [stdout] --> cpu6502/src/regs.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Regs { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 3 | pub a: i8, // Accumulator [INFO] [stdout] | ^ [INFO] [stdout] 4 | pub x: i8, // addressing mode index X [INFO] [stdout] | ^ [INFO] [stdout] 5 | pub y: i8, // addressing mode index Y [INFO] [stdout] | ^ [INFO] [stdout] 6 | pub pc: u16, // Program Counter [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub s: u8, // Stack Pointer [INFO] [stdout] | ^ [INFO] [stdout] 8 | pub p: u8, // Status Register ( 6 bits ) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Regs` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_addr_mode` is never used [INFO] [stdout] --> cpu6502/src/addr_modes.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn get_addr_mode(opcode: u8) -> AddrMode { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_operand_size` is never used [INFO] [stdout] --> cpu6502/src/addr_modes.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get_operand_size(mode: AddrMode) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> cpu6502/src/addr_modes.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub enum AddrMode { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 86 | /// u8 | d,x | Zero page indexed X [INFO] [stdout] 87 | ZeroPageX, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 88 | /// u8 | d,y | Zero page indexed Y [INFO] [stdout] 89 | ZeroPageY, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 90 | /// u16 | a,x | Absolute indexed X [INFO] [stdout] 91 | AbsIdxX, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 92 | /// u16 | a,y | Absolute indexed Y [INFO] [stdout] 93 | AbsIdxY, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 94 | /// u16 | (d,x) | Indirect indexed X [INFO] [stdout] 95 | IndIdxX, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 96 | /// u16 | (d),y | Indirect indexed Y [INFO] [stdout] 97 | IndIdxY, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 98 | /// () | | Implicit [INFO] [stdout] 99 | Implicit, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 100 | /// u8 | #v | Immediate [INFO] [stdout] 101 | Imm, [INFO] [stdout] | ^^^ [INFO] [stdout] 102 | /// u8 | d | Zero page [INFO] [stdout] 103 | ZeroPage, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 104 | /// u16 | a | Absolute [INFO] [stdout] 105 | Abs, [INFO] [stdout] | ^^^ [INFO] [stdout] 106 | /// i8 | label | Relative [INFO] [stdout] 107 | Rel, [INFO] [stdout] | ^^^ [INFO] [stdout] 108 | /// u16 | (a) | Indirect [INFO] [stdout] 109 | Ind, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddrMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> cpu6502/src/lib.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | fn run(&mut self, mem: &mut [u8]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `arch` and `regs` are never read [INFO] [stdout] --> cpu6502/src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Cpu { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 10 | arch: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | regs: Regs, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cpu` 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: methods `run` and `execute` are never used [INFO] [stdout] --> cpu6502/src/lib.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Cpu { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | fn run(&mut self, mem: &mut [u8]) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn execute(&mut self, mem: &mut [u8]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a`, `x`, `y`, `pc`, `s`, and `p` are never read [INFO] [stdout] --> cpu6502/src/regs.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Regs { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 3 | pub a: i8, // Accumulator [INFO] [stdout] | ^ [INFO] [stdout] 4 | pub x: i8, // addressing mode index X [INFO] [stdout] | ^ [INFO] [stdout] 5 | pub y: i8, // addressing mode index Y [INFO] [stdout] | ^ [INFO] [stdout] 6 | pub pc: u16, // Program Counter [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub s: u8, // Stack Pointer [INFO] [stdout] | ^ [INFO] [stdout] 8 | pub p: u8, // Status Register ( 6 bits ) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Regs` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_operand_size` is never used [INFO] [stdout] --> cpu6502/src/addr_modes.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get_operand_size(mode: AddrMode) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking nes-emu-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] running `Command { std: "docker" "inspect" "6e759862376b6f72080206a39283bceb824c7e8cbf514c6edc1819b6f9c82eab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e759862376b6f72080206a39283bceb824c7e8cbf514c6edc1819b6f9c82eab", kill_on_drop: false }` [INFO] [stdout] 6e759862376b6f72080206a39283bceb824c7e8cbf514c6edc1819b6f9c82eab