[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 beta-2022-04-10 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 beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb8faf54c00133245d54a4fcd87edcf47c2c8878bee9c676a97e1c197c55bbac [INFO] running `Command { std: "docker" "start" "-a" "bb8faf54c00133245d54a4fcd87edcf47c2c8878bee9c676a97e1c197c55bbac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb8faf54c00133245d54a4fcd87edcf47c2c8878bee9c676a97e1c197c55bbac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb8faf54c00133245d54a4fcd87edcf47c2c8878bee9c676a97e1c197c55bbac", kill_on_drop: false }` [INFO] [stdout] bb8faf54c00133245d54a4fcd87edcf47c2c8878bee9c676a97e1c197c55bbac [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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ba9fa4f19dea81d956420fa023044a045db9532b8be14155edc115d74ffb11e [INFO] running `Command { std: "docker" "start" "-a" "9ba9fa4f19dea81d956420fa023044a045db9532b8be14155edc115d74ffb11e", 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-1664d8dd3ce2db3c.nesto.7685eb64-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/nesto-1664d8dd3ce2db3c.nesto.7685eb64-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/nesto-1664d8dd3ce2db3c.nesto.7685eb64-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/nesto-1664d8dd3ce2db3c.nesto.7685eb64-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/nesto-1664d8dd3ce2db3c.nesto.7685eb64-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/nesto-1664d8dd3ce2db3c.nesto.7685eb64-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/nesto-1664d8dd3ce2db3c.nesto.7685eb64-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/nesto-1664d8dd3ce2db3c.nesto.7685eb64-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/nesto-1664d8dd3ce2db3c.nesto.7685eb64-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/nesto-1664d8dd3ce2db3c.nesto.7685eb64-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/nesto-1664d8dd3ce2db3c.nesto.7685eb64-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/nesto-1664d8dd3ce2db3c.nesto.7685eb64-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/nesto-1664d8dd3ce2db3c.nesto.7685eb64-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/nesto-1664d8dd3ce2db3c.nesto.7685eb64-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/nesto-1664d8dd3ce2db3c.nesto.7685eb64-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/nesto-1664d8dd3ce2db3c.nesto.7685eb64-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/nesto-1664d8dd3ce2db3c.4n7wl3d92bkahc32.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl2-afcab80e678b6d09.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-ff682b2c43ba0375.rlib" "/opt/rustwide/target/debug/deps/libbitflags-c6d9dc90f7379932.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-86422d76b8bd90ed.rlib" "/opt/rustwide/target/debug/deps/liblibc-9968682e0e3804c1.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5534b29ea7b2d8f5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-8bfbb13072fc2761.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-d6d1fa92fa620f17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7cfd201521727d95.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0e8010e8fce8e5a7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-19093fec3c6dd913.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-89c4cbe9256c1890.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-73e4507673363945.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3fe98c0f46f27964.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a76787f08d45e37d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8cea480e62c5b261.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-1fb939608cd05a1c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-842e67e3ab562f66.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0c1c8fec3b1a54cc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-689faa634b72af17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5394bdb1df5df01.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/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/nesto-1664d8dd3ce2db3c" "-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" "9ba9fa4f19dea81d956420fa023044a045db9532b8be14155edc115d74ffb11e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ba9fa4f19dea81d956420fa023044a045db9532b8be14155edc115d74ffb11e", kill_on_drop: false }` [INFO] [stdout] 9ba9fa4f19dea81d956420fa023044a045db9532b8be14155edc115d74ffb11e