[INFO] cloning repository https://github.com/malmiDEV/Malmmodore-64 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/malmiDEV/Malmmodore-64" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmalmiDEV%2FMalmmodore-64", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmalmiDEV%2FMalmmodore-64'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bd2e6dd5fe87e786557ba5f8e4c87055e4456e47 [INFO] building malmiDEV/Malmmodore-64/bd2e6dd5fe87e786557ba5f8e4c87055e4456e47 against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmalmiDEV%2FMalmmodore-64" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/malmiDEV/Malmmodore-64 on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/malmiDEV/Malmmodore-64 [INFO] finished tweaking git repo https://github.com/malmiDEV/Malmmodore-64 [INFO] tweaked toml for git repo https://github.com/malmiDEV/Malmmodore-64 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 28 packages to latest compatible versions [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.1) [INFO] [stderr] Adding sdl2 v0.35.2 (available: v0.37.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10d856d49fc248d94aa3ab2d3efce4466f97f1f7c0f0aa85c1be3b7779fcfe44 [INFO] running `Command { std: "docker" "start" "-a" "10d856d49fc248d94aa3ab2d3efce4466f97f1f7c0f0aa85c1be3b7779fcfe44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10d856d49fc248d94aa3ab2d3efce4466f97f1f7c0f0aa85c1be3b7779fcfe44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10d856d49fc248d94aa3ab2d3efce4466f97f1f7c0f0aa85c1be3b7779fcfe44", kill_on_drop: false }` [INFO] [stdout] 10d856d49fc248d94aa3ab2d3efce4466f97f1f7c0f0aa85c1be3b7779fcfe44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 151f6f56577100661c84c1abcd8f2200c29006de12f460ebed845929cb32b215 [INFO] running `Command { std: "docker" "start" "-a" "151f6f56577100661c84c1abcd8f2200c29006de12f460ebed845929cb32b215", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling Malmmodore_64 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::EventPump` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sdl2::EventPump; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::pixels::PixelFormatEnum` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sdl2::pixels::PixelFormatEnum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `memory::*` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use memory::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:173:22 [INFO] [stdout] | [INFO] [stdout] 173 | fn bcc(&mut self, memory: &mut dyn IOMem, address: u16) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:178:22 [INFO] [stdout] | [INFO] [stdout] 178 | fn bcs(&mut self, memory: &mut dyn IOMem, address: u16) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:183:22 [INFO] [stdout] | [INFO] [stdout] 183 | fn beq(&mut self, memory: &mut dyn IOMem, address: u16) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:218:22 [INFO] [stdout] | [INFO] [stdout] 218 | fn bmi(&mut self, memory: &mut dyn IOMem, address: u16) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:223:22 [INFO] [stdout] | [INFO] [stdout] 223 | fn bne(&mut self, memory: &mut dyn IOMem, address: u16) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:228:22 [INFO] [stdout] | [INFO] [stdout] 228 | fn bpl(&mut self, memory: &mut dyn IOMem, address: u16) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:233:22 [INFO] [stdout] | [INFO] [stdout] 233 | fn bvc(&mut self, memory: &mut dyn IOMem, address: u16) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:238:22 [INFO] [stdout] | [INFO] [stdout] 238 | fn bvs(&mut self, memory: &mut dyn IOMem, address: u16) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/c64mem.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | let mut io = [0u8; 0x1000]; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `basic` [INFO] [stdout] --> src/main.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | let (basic, chargen, kernal) = ( [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_basic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chargen` [INFO] [stdout] --> src/main.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | let (basic, chargen, kernal) = ( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chargen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kernal` [INFO] [stdout] --> src/main.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | let (basic, chargen, kernal) = ( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_kernal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bytes` and `cycles` are never read [INFO] [stdout] --> src/opcode.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Opcode { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub bytes: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | pub cycles: u8 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IOCia` is never used [INFO] [stdout] --> src/memory.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait IOCia { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read` is never used [INFO] [stdout] --> src/memory.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait IOVic { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 13 | fn read(&self, addr: u16) -> u8; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOW` is never used [INFO] [stdout] --> src/c64mem.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const LOW: u8 = 1; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAR` is never used [INFO] [stdout] --> src/c64mem.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const CHAR: u8 = 2; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HIGH` is never used [INFO] [stdout] --> src/c64mem.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const HIGH: u8 = 4; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `load_ram` is never used [INFO] [stdout] --> src/c64mem.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 17 | impl C64Mem { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn load_ram(&mut self, data: &Vec, address: u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPRITE_LOC_PTR` is never used [INFO] [stdout] --> src/vic.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const SPRITE_LOC_PTR : u16 = 0xD000; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `X_MSBS` is never used [INFO] [stdout] --> src/vic.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const X_MSBS : u16 = 0xD010; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RASTER_COUNTER` is never used [INFO] [stdout] --> src/vic.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const RASTER_COUNTER : u16 = 0xD012; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LIGHT_PEN_X` is never used [INFO] [stdout] --> src/vic.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const LIGHT_PEN_X : u16 = 0xD013; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LIGHT_PEN_Y` is never used [INFO] [stdout] --> src/vic.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const LIGHT_PEN_Y : u16 = 0xD014; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPRITE_ENABLE` is never used [INFO] [stdout] --> src/vic.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const SPRITE_ENABLE : u16 = 0xD015; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPRITE_Y_EXPANSION` is never used [INFO] [stdout] --> src/vic.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const SPRITE_Y_EXPANSION : u16 = 0xD017; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MEM_PTR` is never used [INFO] [stdout] --> src/vic.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const MEM_PTR : u16 = 0xD018; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INTERRUPT_REG` is never used [INFO] [stdout] --> src/vic.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const INTERRUPT_REG : u16 = 0xD019; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INTERRUPT_ENABLE` is never used [INFO] [stdout] --> src/vic.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const INTERRUPT_ENABLE : u16 = 0xD01A; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPRITE_DATA_PRIORITY` is never used [INFO] [stdout] --> src/vic.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const SPRITE_DATA_PRIORITY : u16 = 0xD01B; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPRITE_MULTY_COL` is never used [INFO] [stdout] --> src/vic.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const SPRITE_MULTY_COL : u16 = 0xD01C; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPRITE_X_EXPANSION` is never used [INFO] [stdout] --> src/vic.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const SPRITE_X_EXPANSION : u16 = 0xD01D; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPRITE_SPRITE_COLLISION` is never used [INFO] [stdout] --> src/vic.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const SPRITE_SPRITE_COLLISION : u16 = 0xD01E; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPRITE_DATA_COLLISION` is never used [INFO] [stdout] --> src/vic.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const SPRITE_DATA_COLLISION : u16 = 0xD01F; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BORDER_COLOR` is never used [INFO] [stdout] --> src/vic.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const BORDER_COLOR : u16 = 0xD020; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BACKGROUND_COLOR_0` is never used [INFO] [stdout] --> src/vic.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const BACKGROUND_COLOR_0 : u16 = 0xD021; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BACKGROUND_COLOR_1` is never used [INFO] [stdout] --> src/vic.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | const BACKGROUND_COLOR_1 : u16 = 0xD022; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BACKGROUND_COLOR_2` is never used [INFO] [stdout] --> src/vic.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const BACKGROUND_COLOR_2 : u16 = 0xD023; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BACKGROUND_COLOR_3` is never used [INFO] [stdout] --> src/vic.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const BACKGROUND_COLOR_3 : u16 = 0xD024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPRITE_MULTY_COL0` is never used [INFO] [stdout] --> src/vic.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const SPRITE_MULTY_COL0 : u16 = 0xD025; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPRITE_MULTY_COL1` is never used [INFO] [stdout] --> src/vic.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const SPRITE_MULTY_COL1 : u16 = 0xD026; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COLOR_SPRITE_PTR` is never used [INFO] [stdout] --> src/vic.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const COLOR_SPRITE_PTR : u16 = 0xD027; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_rgb` and `read_register` are never used [INFO] [stdout] --> src/vic.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 33 | impl Vic { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | fn get_rgb(&self, index: u8) -> (u8, u8, u8) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn read_register(&self, mem: &dyn IOVic, address: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.03s [INFO] running `Command { std: "docker" "inspect" "151f6f56577100661c84c1abcd8f2200c29006de12f460ebed845929cb32b215", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "151f6f56577100661c84c1abcd8f2200c29006de12f460ebed845929cb32b215", kill_on_drop: false }` [INFO] [stdout] 151f6f56577100661c84c1abcd8f2200c29006de12f460ebed845929cb32b215 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6109b1e6834283bbb41f646d3c68e61d985875c0a01dfa35fd3710b4b82bdbf [INFO] running `Command { std: "docker" "start" "-a" "f6109b1e6834283bbb41f646d3c68e61d985875c0a01dfa35fd3710b4b82bdbf", kill_on_drop: false }` [INFO] [stderr] Compiling Malmmodore_64 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::EventPump` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sdl2::EventPump; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::pixels::PixelFormatEnum` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sdl2::pixels::PixelFormatEnum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `memory::*` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use memory::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:173:22 [INFO] [stdout] | [INFO] [stdout] 173 | fn bcc(&mut self, memory: &mut dyn IOMem, address: u16) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:178:22 [INFO] [stdout] | [INFO] [stdout] 178 | fn bcs(&mut self, memory: &mut dyn IOMem, address: u16) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:183:22 [INFO] [stdout] | [INFO] [stdout] 183 | fn beq(&mut self, memory: &mut dyn IOMem, address: u16) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:218:22 [INFO] [stdout] | [INFO] [stdout] 218 | fn bmi(&mut self, memory: &mut dyn IOMem, address: u16) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:223:22 [INFO] [stdout] | [INFO] [stdout] 223 | fn bne(&mut self, memory: &mut dyn IOMem, address: u16) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:228:22 [INFO] [stdout] | [INFO] [stdout] 228 | fn bpl(&mut self, memory: &mut dyn IOMem, address: u16) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:233:22 [INFO] [stdout] | [INFO] [stdout] 233 | fn bvc(&mut self, memory: &mut dyn IOMem, address: u16) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:238:22 [INFO] [stdout] | [INFO] [stdout] 238 | fn bvs(&mut self, memory: &mut dyn IOMem, address: u16) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/c64mem.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | let mut io = [0u8; 0x1000]; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `basic` [INFO] [stdout] --> src/main.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | let (basic, chargen, kernal) = ( [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_basic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chargen` [INFO] [stdout] --> src/main.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | let (basic, chargen, kernal) = ( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chargen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kernal` [INFO] [stdout] --> src/main.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | let (basic, chargen, kernal) = ( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_kernal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bytes` and `cycles` are never read [INFO] [stdout] --> src/opcode.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Opcode { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub bytes: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | pub cycles: u8 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IOCia` is never used [INFO] [stdout] --> src/memory.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait IOCia { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read` is never used [INFO] [stdout] --> src/memory.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait IOVic { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 13 | fn read(&self, addr: u16) -> u8; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOW` is never used [INFO] [stdout] --> src/c64mem.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const LOW: u8 = 1; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAR` is never used [INFO] [stdout] --> src/c64mem.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const CHAR: u8 = 2; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HIGH` is never used [INFO] [stdout] --> src/c64mem.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const HIGH: u8 = 4; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `load_ram` is never used [INFO] [stdout] --> src/c64mem.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 17 | impl C64Mem { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn load_ram(&mut self, data: &Vec, address: u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPRITE_LOC_PTR` is never used [INFO] [stdout] --> src/vic.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const SPRITE_LOC_PTR : u16 = 0xD000; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `X_MSBS` is never used [INFO] [stdout] --> src/vic.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const X_MSBS : u16 = 0xD010; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RASTER_COUNTER` is never used [INFO] [stdout] --> src/vic.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const RASTER_COUNTER : u16 = 0xD012; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LIGHT_PEN_X` is never used [INFO] [stdout] --> src/vic.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const LIGHT_PEN_X : u16 = 0xD013; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LIGHT_PEN_Y` is never used [INFO] [stdout] --> src/vic.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const LIGHT_PEN_Y : u16 = 0xD014; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPRITE_ENABLE` is never used [INFO] [stdout] --> src/vic.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const SPRITE_ENABLE : u16 = 0xD015; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPRITE_Y_EXPANSION` is never used [INFO] [stdout] --> src/vic.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const SPRITE_Y_EXPANSION : u16 = 0xD017; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MEM_PTR` is never used [INFO] [stdout] --> src/vic.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const MEM_PTR : u16 = 0xD018; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INTERRUPT_REG` is never used [INFO] [stdout] --> src/vic.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const INTERRUPT_REG : u16 = 0xD019; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INTERRUPT_ENABLE` is never used [INFO] [stdout] --> src/vic.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const INTERRUPT_ENABLE : u16 = 0xD01A; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPRITE_DATA_PRIORITY` is never used [INFO] [stdout] --> src/vic.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const SPRITE_DATA_PRIORITY : u16 = 0xD01B; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPRITE_MULTY_COL` is never used [INFO] [stdout] --> src/vic.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const SPRITE_MULTY_COL : u16 = 0xD01C; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPRITE_X_EXPANSION` is never used [INFO] [stdout] --> src/vic.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const SPRITE_X_EXPANSION : u16 = 0xD01D; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPRITE_SPRITE_COLLISION` is never used [INFO] [stdout] --> src/vic.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const SPRITE_SPRITE_COLLISION : u16 = 0xD01E; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPRITE_DATA_COLLISION` is never used [INFO] [stdout] --> src/vic.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const SPRITE_DATA_COLLISION : u16 = 0xD01F; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BORDER_COLOR` is never used [INFO] [stdout] --> src/vic.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const BORDER_COLOR : u16 = 0xD020; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BACKGROUND_COLOR_0` is never used [INFO] [stdout] --> src/vic.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const BACKGROUND_COLOR_0 : u16 = 0xD021; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BACKGROUND_COLOR_1` is never used [INFO] [stdout] --> src/vic.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | const BACKGROUND_COLOR_1 : u16 = 0xD022; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BACKGROUND_COLOR_2` is never used [INFO] [stdout] --> src/vic.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const BACKGROUND_COLOR_2 : u16 = 0xD023; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BACKGROUND_COLOR_3` is never used [INFO] [stdout] --> src/vic.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const BACKGROUND_COLOR_3 : u16 = 0xD024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPRITE_MULTY_COL0` is never used [INFO] [stdout] --> src/vic.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const SPRITE_MULTY_COL0 : u16 = 0xD025; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPRITE_MULTY_COL1` is never used [INFO] [stdout] --> src/vic.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const SPRITE_MULTY_COL1 : u16 = 0xD026; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COLOR_SPRITE_PTR` is never used [INFO] [stdout] --> src/vic.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const COLOR_SPRITE_PTR : u16 = 0xD027; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_rgb` and `read_register` are never used [INFO] [stdout] --> src/vic.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 33 | impl Vic { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | fn get_rgb(&self, index: u8) -> (u8, u8, u8) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn read_register(&self, mem: &dyn IOVic, address: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.62s [INFO] running `Command { std: "docker" "inspect" "f6109b1e6834283bbb41f646d3c68e61d985875c0a01dfa35fd3710b4b82bdbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6109b1e6834283bbb41f646d3c68e61d985875c0a01dfa35fd3710b4b82bdbf", kill_on_drop: false }` [INFO] [stdout] f6109b1e6834283bbb41f646d3c68e61d985875c0a01dfa35fd3710b4b82bdbf