[INFO] cloning repository https://github.com/mdm/ronald [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mdm/ronald" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdm%2Fronald", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdm%2Fronald'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ef12df3591d27ef1d23e3e2ddbfe845b0197c67b [INFO] checking mdm/ronald against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdm%2Fronald" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mdm/ronald on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mdm/ronald [INFO] finished tweaking git repo https://github.com/mdm/ronald [INFO] tweaked toml for git repo https://github.com/mdm/ronald written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/mdm/ronald already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c50a2be3ade4a7c6a4bbc70cf17260eb1f1646a0f49da946088c3a1e89c1c977 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c50a2be3ade4a7c6a4bbc70cf17260eb1f1646a0f49da946088c3a1e89c1c977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c50a2be3ade4a7c6a4bbc70cf17260eb1f1646a0f49da946088c3a1e89c1c977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c50a2be3ade4a7c6a4bbc70cf17260eb1f1646a0f49da946088c3a1e89c1c977", kill_on_drop: false }` [INFO] [stdout] c50a2be3ade4a7c6a4bbc70cf17260eb1f1646a0f49da946088c3a1e89c1c977 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f5b520f39a5cd10cc460fd0327df01d44608637ea5b9dc9a7ebfd2978339a768 [INFO] running `Command { std: "docker" "start" "-a" "f5b520f39a5cd10cc460fd0327df01d44608637ea5b9dc9a7ebfd2978339a768", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking ronald v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/crtc.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn read_byte(&self, port: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/crtc.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn write_byte(&mut self, port: u16, value: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/crtc.rs:49:45 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn write_byte(&mut self, port: u16, value: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/fdc.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn read_byte(&self, port: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/fdc.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn write_byte(&mut self, port: u16, value: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/fdc.rs:14:45 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn write_byte(&mut self, port: u16, value: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/gate_array.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn write_byte(&mut self, port: u16, value: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/gate_array.rs:14:45 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn write_byte(&mut self, port: u16, value: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/gate_array.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn step(&mut self, memory: &mut memory::Memory, crtc: &crtc::CRTController) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crtc` [INFO] [stdout] --> src/gate_array.rs:18:57 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn step(&mut self, memory: &mut memory::Memory, crtc: &crtc::CRTController) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_crtc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/pio.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn read_byte(&self, port: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/pio.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn write_byte(&mut self, port: u16, value: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/pio.rs:14:45 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn write_byte(&mut self, port: u16, value: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/system.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let cycles = self.cpu.fetch_and_execute(&mut self.memory); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/crtc.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn read_byte(&self, port: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/crtc.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn write_byte(&mut self, port: u16, value: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/crtc.rs:49:45 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn write_byte(&mut self, port: u16, value: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/fdc.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn read_byte(&self, port: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/fdc.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn write_byte(&mut self, port: u16, value: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/fdc.rs:14:45 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn write_byte(&mut self, port: u16, value: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/gate_array.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn write_byte(&mut self, port: u16, value: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/gate_array.rs:14:45 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn write_byte(&mut self, port: u16, value: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/gate_array.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn step(&mut self, memory: &mut memory::Memory, crtc: &crtc::CRTController) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crtc` [INFO] [stdout] --> src/gate_array.rs:18:57 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn step(&mut self, memory: &mut memory::Memory, crtc: &crtc::CRTController) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_crtc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/pio.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn read_byte(&self, port: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/pio.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn write_byte(&mut self, port: u16, value: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/pio.rs:14:45 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn write_byte(&mut self, port: u16, value: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/system.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let cycles = self.cpu.fetch_and_execute(&mut self.memory); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Bus` [INFO] [stdout] --> src/bus.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Bus { [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: `new` [INFO] [stdout] --> src/bus.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_byte` [INFO] [stdout] --> src/bus.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn read_byte(&self, port: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_byte` [INFO] [stdout] --> src/bus.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn write_byte(&mut self, port: u16, value: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/bus.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn step(&mut self, memory: &mut memory::Memory) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_state` [INFO] [stdout] --> src/cpu.rs:1087:8 [INFO] [stdout] | [INFO] [stdout] 1087 | fn print_state(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Register` [INFO] [stdout] --> src/crtc.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | enum Register { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CRTController` [INFO] [stdout] --> src/crtc.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct CRTController { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/crtc.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new() -> CRTController { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_byte` [INFO] [stdout] --> src/crtc.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn read_byte(&self, port: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_byte` [INFO] [stdout] --> src/crtc.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn write_byte(&mut self, port: u16, value: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `select_register` [INFO] [stdout] --> src/crtc.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn select_register(&mut self, register: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_register` [INFO] [stdout] --> src/crtc.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn write_register(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_register` [INFO] [stdout] --> src/crtc.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn read_register(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_address` [INFO] [stdout] --> src/crtc.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn read_address(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_display_enabled` [INFO] [stdout] --> src/crtc.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn read_display_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_horizontal_sync` [INFO] [stdout] --> src/crtc.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn read_horizontal_sync(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_vertical_sync` [INFO] [stdout] --> src/crtc.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn read_vertical_sync(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/crtc.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `FloppyDiskController` [INFO] [stdout] --> src/fdc.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct FloppyDiskController { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/fdc.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn new() -> FloppyDiskController { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_byte` [INFO] [stdout] --> src/fdc.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn read_byte(&self, port: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_byte` [INFO] [stdout] --> src/fdc.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn write_byte(&mut self, port: u16, value: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `GateArray` [INFO] [stdout] --> src/gate_array.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct GateArray { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gate_array.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new() -> GateArray { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_byte` [INFO] [stdout] --> src/gate_array.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn write_byte(&mut self, port: u16, value: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/gate_array.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn step(&mut self, memory: &mut memory::Memory, crtc: &crtc::CRTController) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `timing` [INFO] [stdout] --> src/instruction.rs:196:8 [INFO] [stdout] | [INFO] [stdout] 196 | fn timing(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decode_next` [INFO] [stdout] --> src/instruction.rs:473:12 [INFO] [stdout] | [INFO] [stdout] 473 | pub fn decode_next(&mut self, memory: &M) -> (Instruction, usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_file` [INFO] [stdout] --> src/memory.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn from_file(path: &str) -> ROM { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_to_file` [INFO] [stdout] --> src/memory.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn write_to_file(&self, file: &mut File) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/memory.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn new() -> Memory { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PeripheralInterface` [INFO] [stdout] --> src/pio.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct PeripheralInterface { // Peripheral input/output [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/pio.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn new() -> PeripheralInterface { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_byte` [INFO] [stdout] --> src/pio.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn read_byte(&self, port: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_byte` [INFO] [stdout] --> src/pio.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn write_byte(&mut self, port: u16, value: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CPC464` [INFO] [stdout] --> src/system.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | struct CPC464 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/system.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn new() -> CPC464 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `emulate` [INFO] [stdout] --> src/system.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | fn emulate(&mut self, _time_limit: Option) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decode` [INFO] [stdout] --> src/main.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn decode(path: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Bus` [INFO] [stdout] --> src/bus.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Bus { [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: `new` [INFO] [stdout] --> src/bus.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_byte` [INFO] [stdout] --> src/bus.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn read_byte(&self, port: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_byte` [INFO] [stdout] --> src/bus.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn write_byte(&mut self, port: u16, value: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/bus.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn step(&mut self, memory: &mut memory::Memory) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_state` [INFO] [stdout] --> src/cpu.rs:1087:8 [INFO] [stdout] | [INFO] [stdout] 1087 | fn print_state(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Register` [INFO] [stdout] --> src/crtc.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | enum Register { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CRTController` [INFO] [stdout] --> src/crtc.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct CRTController { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/crtc.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new() -> CRTController { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_byte` [INFO] [stdout] --> src/crtc.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn read_byte(&self, port: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_byte` [INFO] [stdout] --> src/crtc.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn write_byte(&mut self, port: u16, value: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `select_register` [INFO] [stdout] --> src/crtc.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn select_register(&mut self, register: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_register` [INFO] [stdout] --> src/crtc.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn write_register(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_register` [INFO] [stdout] --> src/crtc.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn read_register(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_address` [INFO] [stdout] --> src/crtc.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn read_address(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_display_enabled` [INFO] [stdout] --> src/crtc.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn read_display_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_horizontal_sync` [INFO] [stdout] --> src/crtc.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn read_horizontal_sync(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_vertical_sync` [INFO] [stdout] --> src/crtc.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn read_vertical_sync(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/crtc.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `FloppyDiskController` [INFO] [stdout] --> src/fdc.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct FloppyDiskController { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/fdc.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn new() -> FloppyDiskController { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_byte` [INFO] [stdout] --> src/fdc.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn read_byte(&self, port: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_byte` [INFO] [stdout] --> src/fdc.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn write_byte(&mut self, port: u16, value: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `GateArray` [INFO] [stdout] --> src/gate_array.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct GateArray { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gate_array.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new() -> GateArray { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_byte` [INFO] [stdout] --> src/gate_array.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn write_byte(&mut self, port: u16, value: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/gate_array.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn step(&mut self, memory: &mut memory::Memory, crtc: &crtc::CRTController) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `timing` [INFO] [stdout] --> src/instruction.rs:196:8 [INFO] [stdout] | [INFO] [stdout] 196 | fn timing(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decode_next` [INFO] [stdout] --> src/instruction.rs:473:12 [INFO] [stdout] | [INFO] [stdout] 473 | pub fn decode_next(&mut self, memory: &M) -> (Instruction, usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_file` [INFO] [stdout] --> src/memory.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn from_file(path: &str) -> ROM { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_to_file` [INFO] [stdout] --> src/memory.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn write_to_file(&self, file: &mut File) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/memory.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn new() -> Memory { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PeripheralInterface` [INFO] [stdout] --> src/pio.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct PeripheralInterface { // Peripheral input/output [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/pio.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn new() -> PeripheralInterface { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_byte` [INFO] [stdout] --> src/pio.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn read_byte(&self, port: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_byte` [INFO] [stdout] --> src/pio.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn write_byte(&mut self, port: u16, value: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CPC464` [INFO] [stdout] --> src/system.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | struct CPC464 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/system.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn new() -> CPC464 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `emulate` [INFO] [stdout] --> src/system.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | fn emulate(&mut self, _time_limit: Option) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decode` [INFO] [stdout] --> src/main.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn decode(path: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.23s [INFO] running `Command { std: "docker" "inspect" "f5b520f39a5cd10cc460fd0327df01d44608637ea5b9dc9a7ebfd2978339a768", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5b520f39a5cd10cc460fd0327df01d44608637ea5b9dc9a7ebfd2978339a768", kill_on_drop: false }` [INFO] [stdout] f5b520f39a5cd10cc460fd0327df01d44608637ea5b9dc9a7ebfd2978339a768