[INFO] cloning repository https://github.com/shunichi/nesto [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shunichi/nesto" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshunichi%2Fnesto", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshunichi%2Fnesto'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a55c2610fb2f98d9fa371e3fa1d4621f03c078c [INFO] testing shunichi/nesto against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshunichi%2Fnesto" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shunichi/nesto on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shunichi/nesto [INFO] finished tweaking git repo https://github.com/shunichi/nesto [INFO] tweaked toml for git repo https://github.com/shunichi/nesto written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/shunichi/nesto already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7397428d19410d96bddaf5d02d7cb1aa1d09c941f4a8433a823e4bfe6d10f7d7 [INFO] running `Command { std: "docker" "start" "-a" "7397428d19410d96bddaf5d02d7cb1aa1d09c941f4a8433a823e4bfe6d10f7d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7397428d19410d96bddaf5d02d7cb1aa1d09c941f4a8433a823e4bfe6d10f7d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7397428d19410d96bddaf5d02d7cb1aa1d09c941f4a8433a823e4bfe6d10f7d7", kill_on_drop: false }` [INFO] [stdout] 7397428d19410d96bddaf5d02d7cb1aa1d09c941f4a8433a823e4bfe6d10f7d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 475b67bce2e591ae2638466c26499b1cdc7e2c338cd4c3572c338420460644b5 [INFO] running `Command { std: "docker" "start" "-a" "475b67bce2e591ae2638466c26499b1cdc7e2c338cd4c3572c338420460644b5", kill_on_drop: false }` [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling sdl2 v0.34.5 [INFO] [stderr] Compiling sdl2-sys v0.34.5 [INFO] [stderr] Compiling nesto v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{BufWriter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/disasm.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | _ => Some(addr_mode.name().to_owned()), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/disasm.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | _ => Some(inst_prop.addr_mode.name().to_owned()), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/cpu/instructions.rs:438:49 [INFO] [stdout] | [INFO] [stdout] 438 | pub fn xxx(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `additional_cycles` is never read [INFO] [stdout] --> src/cpu/instructions.rs:482:13 [INFO] [stdout] | [INFO] [stdout] 482 | let mut additional_cycles: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_prop` [INFO] [stdout] --> src/cpu/instructions.rs:526:27 [INFO] [stdout] | [INFO] [stdout] 526 | pub fn brk(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_prop` [INFO] [stdout] --> src/cpu/instructions.rs:543:27 [INFO] [stdout] | [INFO] [stdout] 543 | pub fn clc(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/cpu/instructions.rs:543:49 [INFO] [stdout] | [INFO] [stdout] 543 | pub fn clc(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_prop` [INFO] [stdout] --> src/cpu/instructions.rs:548:27 [INFO] [stdout] | [INFO] [stdout] 548 | pub fn cld(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/cpu/instructions.rs:548:49 [INFO] [stdout] | [INFO] [stdout] 548 | pub fn cld(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_prop` [INFO] [stdout] --> src/cpu/instructions.rs:553:27 [INFO] [stdout] | [INFO] [stdout] 553 | pub fn cli(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/cpu/instructions.rs:553:49 [INFO] [stdout] | [INFO] [stdout] 553 | pub fn cli(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_prop` [INFO] [stdout] --> src/cpu/instructions.rs:558:27 [INFO] [stdout] | [INFO] [stdout] 558 | pub fn clv(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/cpu/instructions.rs:558:49 [INFO] [stdout] | [INFO] [stdout] 558 | pub fn clv(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_prop` [INFO] [stdout] --> src/cpu/instructions.rs:590:27 [INFO] [stdout] | [INFO] [stdout] 590 | pub fn dex(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/cpu/instructions.rs:590:49 [INFO] [stdout] | [INFO] [stdout] 590 | pub fn dex(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_prop` [INFO] [stdout] --> src/cpu/instructions.rs:596:27 [INFO] [stdout] | [INFO] [stdout] 596 | pub fn dey(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/cpu/instructions.rs:596:49 [INFO] [stdout] | [INFO] [stdout] 596 | pub fn dey(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_prop` [INFO] [stdout] --> src/cpu/instructions.rs:618:27 [INFO] [stdout] | [INFO] [stdout] 618 | pub fn inx(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/cpu/instructions.rs:618:49 [INFO] [stdout] | [INFO] [stdout] 618 | pub fn inx(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_prop` [INFO] [stdout] --> src/cpu/instructions.rs:624:27 [INFO] [stdout] | [INFO] [stdout] 624 | pub fn iny(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/cpu/instructions.rs:624:49 [INFO] [stdout] | [INFO] [stdout] 624 | pub fn iny(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_prop` [INFO] [stdout] --> src/cpu/instructions.rs:692:27 [INFO] [stdout] | [INFO] [stdout] 692 | pub fn pha(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_prop` [INFO] [stdout] --> src/cpu/instructions.rs:697:27 [INFO] [stdout] | [INFO] [stdout] 697 | pub fn php(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_prop` [INFO] [stdout] --> src/cpu/instructions.rs:703:27 [INFO] [stdout] | [INFO] [stdout] 703 | pub fn pla(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_prop` [INFO] [stdout] --> src/cpu/instructions.rs:709:27 [INFO] [stdout] | [INFO] [stdout] 709 | pub fn plp(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_prop` [INFO] [stdout] --> src/cpu/instructions.rs:750:27 [INFO] [stdout] | [INFO] [stdout] 750 | pub fn rti(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_prop` [INFO] [stdout] --> src/cpu/instructions.rs:759:27 [INFO] [stdout] | [INFO] [stdout] 759 | pub fn rts(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_prop` [INFO] [stdout] --> src/cpu/instructions.rs:783:27 [INFO] [stdout] | [INFO] [stdout] 783 | pub fn sec(cpu: &mut Cpu, inst_prop: &InstProp, _bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_prop` [INFO] [stdout] --> src/cpu/instructions.rs:788:27 [INFO] [stdout] | [INFO] [stdout] 788 | pub fn sed(cpu: &mut Cpu, inst_prop: &InstProp, _bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_prop` [INFO] [stdout] --> src/cpu/instructions.rs:793:27 [INFO] [stdout] | [INFO] [stdout] 793 | pub fn sei(cpu: &mut Cpu, inst_prop: &InstProp, _bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_prop` [INFO] [stdout] --> src/cpu/instructions.rs:816:27 [INFO] [stdout] | [INFO] [stdout] 816 | pub fn tax(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/cpu/instructions.rs:816:49 [INFO] [stdout] | [INFO] [stdout] 816 | pub fn tax(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_prop` [INFO] [stdout] --> src/cpu/instructions.rs:822:27 [INFO] [stdout] | [INFO] [stdout] 822 | pub fn tay(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/cpu/instructions.rs:822:49 [INFO] [stdout] | [INFO] [stdout] 822 | pub fn tay(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_prop` [INFO] [stdout] --> src/cpu/instructions.rs:828:27 [INFO] [stdout] | [INFO] [stdout] 828 | pub fn tsx(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/cpu/instructions.rs:828:49 [INFO] [stdout] | [INFO] [stdout] 828 | pub fn tsx(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_prop` [INFO] [stdout] --> src/cpu/instructions.rs:834:27 [INFO] [stdout] | [INFO] [stdout] 834 | pub fn txa(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/cpu/instructions.rs:834:49 [INFO] [stdout] | [INFO] [stdout] 834 | pub fn txa(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_prop` [INFO] [stdout] --> src/cpu/instructions.rs:840:27 [INFO] [stdout] | [INFO] [stdout] 840 | pub fn txs(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/cpu/instructions.rs:840:49 [INFO] [stdout] | [INFO] [stdout] 840 | pub fn txs(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_prop` [INFO] [stdout] --> src/cpu/instructions.rs:845:27 [INFO] [stdout] | [INFO] [stdout] 845 | pub fn tya(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/cpu/instructions.rs:845:49 [INFO] [stdout] | [INFO] [stdout] 845 | pub fn tya(cpu: &mut Cpu, inst_prop: &InstProp, bus: &mut Bus) -> (Option, u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional_cycle` [INFO] [stdout] --> src/cpu/instructions.rs:866:16 [INFO] [stdout] | [INFO] [stdout] 866 | let (addr, additional_cycle) = cpu.fetch_addr(inst_prop, bus); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional_cycle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cpu_test` [INFO] [stdout] --> src/main.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn cpu_test() -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cartridge` [INFO] [stdout] --> src/bus.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn cartridge(&self) -> &Cartridge { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cpu.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn new() -> Flags { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cycles` [INFO] [stdout] --> src/cpu.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | cycles: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `elapsed_cycles` [INFO] [stdout] --> src/cpu.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | elapsed_cycles: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cpu.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn new() -> Cpu { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clock` [INFO] [stdout] --> src/cpu.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn clock(&mut self, bus: &mut Bus) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `exec_inst` [INFO] [stdout] --> src/cpu.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | fn exec_inst(&mut self, bus: &mut Bus) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> src/cpu.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn reset(&mut self, bus: &Bus) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inst_name` [INFO] [stdout] --> src/cpu.rs:250:12 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn inst_name(inst: Inst) -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `addr_mode_name` [INFO] [stdout] --> src/cpu.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn addr_mode_name(addr_mode: AddressingMode) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inst_table_len` [INFO] [stdout] --> src/cpu.rs:258:12 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn inst_table_len() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `copy` [INFO] [stdout] --> src/debug_font/mod.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn copy(&self, canvas: &mut Canvas, rect: Rect) -> Result<(), String> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `operand_string_with_memory` [INFO] [stdout] --> src/cpu/disasm.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn operand_string_with_memory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cpu_status_string` [INFO] [stdout] --> src/cpu/disasm.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn cpu_status_string(cpu: &Cpu) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `disasm_one_inst_and_status` [INFO] [stdout] --> src/cpu/disasm.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn disasm_one_inst_and_status(bus: &Bus, addr: u16, cpu: &Cpu) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_jump` [INFO] [stdout] --> src/cpu/instructions.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn is_jump(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/nesto-adfafcac1c271d42.nesto.1a90e5d6-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/nesto-adfafcac1c271d42.nesto.1a90e5d6-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/nesto-adfafcac1c271d42.nesto.1a90e5d6-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/nesto-adfafcac1c271d42.nesto.1a90e5d6-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/nesto-adfafcac1c271d42.nesto.1a90e5d6-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/nesto-adfafcac1c271d42.nesto.1a90e5d6-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/nesto-adfafcac1c271d42.nesto.1a90e5d6-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/nesto-adfafcac1c271d42.nesto.1a90e5d6-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/nesto-adfafcac1c271d42.nesto.1a90e5d6-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/nesto-adfafcac1c271d42.nesto.1a90e5d6-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/nesto-adfafcac1c271d42.nesto.1a90e5d6-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/nesto-adfafcac1c271d42.nesto.1a90e5d6-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/nesto-adfafcac1c271d42.nesto.1a90e5d6-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/nesto-adfafcac1c271d42.nesto.1a90e5d6-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/nesto-adfafcac1c271d42.nesto.1a90e5d6-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/nesto-adfafcac1c271d42.nesto.1a90e5d6-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/nesto-adfafcac1c271d42.3lzh4iwwcsq1rrnc.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl2-ac7e66b8ba5954c3.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-fa106b9718f196e8.rlib" "/opt/rustwide/target/debug/deps/libbitflags-80e93151c602d4a3.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-b341606102c7008f.rlib" "/opt/rustwide/target/debug/deps/liblibc-e78e6f54c7e5d839.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8d61b92a0a02f53a.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fc45202bb435016b.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f2400674c7513725.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-605c3a7d1a5d300d.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3d4fb4efa907e4e8.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-65207f030ab23308.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-76ca199cb0186109.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1e3e01ed4f561dc1.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-dd8dddcba7c13fee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-00b13d31c3420656.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-e4c8460b81557bd5.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-600d46e5f0005455.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e4a08a2585b62d37.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fbc21ec567cb9dc7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-10b3fa8e49bd978f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-64625b73694ffce7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-fb6b78ac543a58ee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1d1f2d1bec6f51b8.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-acf5ff6e9595d982.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_image" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/nesto-adfafcac1c271d42" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lSDL2_image [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 61 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nesto` due to 2 previous errors; 61 warnings emitted [INFO] running `Command { std: "docker" "inspect" "475b67bce2e591ae2638466c26499b1cdc7e2c338cd4c3572c338420460644b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "475b67bce2e591ae2638466c26499b1cdc7e2c338cd4c3572c338420460644b5", kill_on_drop: false }` [INFO] [stdout] 475b67bce2e591ae2638466c26499b1cdc7e2c338cd4c3572c338420460644b5