[INFO] cloning repository https://github.com/SDAChess/68kemu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SDAChess/68kemu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSDAChess%2F68kemu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSDAChess%2F68kemu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 483fb33eaedb321da9401106cbc5f9099a4bdfa0 [INFO] testing SDAChess/68kemu 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%2FSDAChess%2F68kemu" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SDAChess/68kemu 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/SDAChess/68kemu [INFO] finished tweaking git repo https://github.com/SDAChess/68kemu [INFO] tweaked toml for git repo https://github.com/SDAChess/68kemu written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/SDAChess/68kemu 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", 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] 6efd8fd0928b8523bbfe4ad7bb95daa5b77a70cd071d4cc2ced97089d8496e02 [INFO] running `Command { std: "docker" "start" "-a" "6efd8fd0928b8523bbfe4ad7bb95daa5b77a70cd071d4cc2ced97089d8496e02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6efd8fd0928b8523bbfe4ad7bb95daa5b77a70cd071d4cc2ced97089d8496e02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6efd8fd0928b8523bbfe4ad7bb95daa5b77a70cd071d4cc2ced97089d8496e02", kill_on_drop: false }` [INFO] [stdout] 6efd8fd0928b8523bbfe4ad7bb95daa5b77a70cd071d4cc2ced97089d8496e02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--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] 2ec7dc7e4cfdfa5e99b20c98da61537f7b89c3fdf6a73db24ffe2ae16afa343c [INFO] running `Command { std: "docker" "start" "-a" "2ec7dc7e4cfdfa5e99b20c98da61537f7b89c3fdf6a73db24ffe2ae16afa343c", kill_on_drop: false }` [INFO] [stderr] Compiling emu68k v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/cpu/cpu_actions.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/cpu/cpu_actions.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/cpu/cpu_actions.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | mod internal_tests { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/cpu/cpu_actions.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 210 | if ((_is_negative(lhs) && _is_negative(trg) && !_is_negative(&result[adjust..])) || [INFO] [stdout] | ^ [INFO] [stdout] 211 | (!_is_negative(lhs) && !_is_negative(trg) && _is_negative(&result[adjust..]))) { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 210 ~ if (_is_negative(lhs) && _is_negative(trg) && !_is_negative(&result[adjust..])) || [INFO] [stdout] 211 ~ (!_is_negative(lhs) && !_is_negative(trg) && _is_negative(&result[adjust..])) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DATA_REGISTER` should have an upper camel case name [INFO] [stdout] --> src/cpu/instruction.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | DATA_REGISTER(usize), [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DataRegister` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADDRESS_REGISTER` should have an upper camel case name [INFO] [stdout] --> src/cpu/instruction.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | ADDRESS_REGISTER(usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AddressRegister` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IMEDIATE_VALUE` should have an upper camel case name [INFO] [stdout] --> src/cpu/instruction.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | IMEDIATE_VALUE(Vec), //4 u8 big endian [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImediateValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MEMORY_ADDR` should have an upper camel case name [INFO] [stdout] --> src/cpu/instruction.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | MEMORY_ADDR(usize), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `MemoryAddr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpu_actions::*` [INFO] [stdout] --> src/cpu.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cpu_actions::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `c` is never read [INFO] [stdout] --> src/cpu/cpu_actions.rs:39:41 [INFO] [stdout] | [INFO] [stdout] 39 | ... Some(r) => {c = 0; r}, [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: field is never read: `memory` [INFO] [stdout] --> src/cpu.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | memory: Vec, [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: `set_n_flag` [INFO] [stdout] --> src/cpu.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | fn set_n_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear_c_flag` [INFO] [stdout] --> src/cpu.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | fn clear_c_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear_v_flag` [INFO] [stdout] --> src/cpu.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | fn clear_v_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear_z_flag` [INFO] [stdout] --> src/cpu.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | fn clear_z_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear_x_flag` [INFO] [stdout] --> src/cpu.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | fn clear_x_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cache_value` [INFO] [stdout] --> src/cpu.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | fn cache_value<'a>(&'a mut self, val: &'a Vec, n: usize) -> &'a mut [u8] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_ccr` [INFO] [stdout] --> src/cpu.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn get_ccr(&self) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_data_reg` [INFO] [stdout] --> src/cpu.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn get_data_reg(&self, i: usize) -> Option<&[u8]> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_addr_reg` [INFO] [stdout] --> src/cpu.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn get_addr_reg(&self, i: usize) -> Option<&[u8]> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_memory_offset` [INFO] [stdout] --> src/cpu.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn get_memory_offset(&self, offset: usize, len: usize) -> Option<&[u8]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_mem` [INFO] [stdout] --> src/cpu.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn print_mem(&self, offset: usize, len: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute` [INFO] [stdout] --> src/cpu.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn execute(&mut self, inst: &Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_flag_move_test` [INFO] [stdout] --> src/cpu.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn cpu_flag_move_test(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_target_mut` [INFO] [stdout] --> src/cpu/cpu_actions.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | fn get_target_mut<'a>(&'a mut self, data : &'a DataContainer, op_size : &'a OpSize) -> &'a mut [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_target` [INFO] [stdout] --> src/cpu/cpu_actions.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | fn get_target<'a>(&'a self, data : &'a DataContainer, op_size : &'a OpSize) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `perform_move` [INFO] [stdout] --> src/cpu/cpu_actions.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn perform_move(&mut self, inst: &Instruction) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `perform_tst` [INFO] [stdout] --> src/cpu/cpu_actions.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn perform_tst(&mut self, inst : &Instruction) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `perform_add` [INFO] [stdout] --> src/cpu/cpu_actions.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn perform_add(&mut self, inst: &Instruction) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BYTE` [INFO] [stdout] --> src/cpu/instruction.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | BYTE, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OpSize` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WORD` [INFO] [stdout] --> src/cpu/instruction.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | WORD, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OpSize` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LONG` [INFO] [stdout] --> src/cpu/instruction.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | LONG [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OpSize` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MOVE` [INFO] [stdout] --> src/cpu/instruction.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | MOVE, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Mnemonic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MOVEA` [INFO] [stdout] --> src/cpu/instruction.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | MOVEA, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Mnemonic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ADD` [INFO] [stdout] --> src/cpu/instruction.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | ADD, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Mnemonic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ADDA` [INFO] [stdout] --> src/cpu/instruction.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | ADDA, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Mnemonic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LEA` [INFO] [stdout] --> src/cpu/instruction.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | LEA, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Mnemonic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TST` [INFO] [stdout] --> src/cpu/instruction.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | TST, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Mnemonic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DATA_REGISTER` [INFO] [stdout] --> src/cpu/instruction.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | DATA_REGISTER(usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DataContainer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ADDRESS_REGISTER` [INFO] [stdout] --> src/cpu/instruction.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | ADDRESS_REGISTER(usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DataContainer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IMEDIATE_VALUE` [INFO] [stdout] --> src/cpu/instruction.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | IMEDIATE_VALUE(Vec), //4 u8 big endian [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DataContainer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MEMORY_ADDR` [INFO] [stdout] --> src/cpu/instruction.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | MEMORY_ADDR(usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DataContainer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SR` [INFO] [stdout] --> src/cpu/instruction.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | SR, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `DataContainer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CCR` [INFO] [stdout] --> src/cpu/instruction.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | CCR, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `DataContainer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EMPTY` [INFO] [stdout] --> src/cpu/instruction.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | EMPTY, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DataContainer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Instruction` [INFO] [stdout] --> src/cpu/instruction.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cpu/instruction.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(op: Mnemonic, size: OpSize, lhs: DataContainer, trg: DataContainer) -> Instruction { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_op` [INFO] [stdout] --> src/cpu/instruction.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn get_op(&self) -> &Mnemonic { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_size` [INFO] [stdout] --> src/cpu/instruction.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn get_size(& self) -> &OpSize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_lhs` [INFO] [stdout] --> src/cpu/instruction.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn get_lhs(&self) -> &DataContainer { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_trg` [INFO] [stdout] --> src/cpu/instruction.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn get_trg(&self) -> &DataContainer { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.78s [INFO] running `Command { std: "docker" "inspect" "2ec7dc7e4cfdfa5e99b20c98da61537f7b89c3fdf6a73db24ffe2ae16afa343c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ec7dc7e4cfdfa5e99b20c98da61537f7b89c3fdf6a73db24ffe2ae16afa343c", kill_on_drop: false }` [INFO] [stdout] 2ec7dc7e4cfdfa5e99b20c98da61537f7b89c3fdf6a73db24ffe2ae16afa343c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--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] 17bd7114b45f335055d449576678992b0b90bcbdadf17521a8ca4514011a60ea [INFO] running `Command { std: "docker" "start" "-a" "17bd7114b45f335055d449576678992b0b90bcbdadf17521a8ca4514011a60ea", kill_on_drop: false }` [INFO] [stderr] Compiling emu68k v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/cpu/cpu_actions.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/cpu/cpu_actions.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 210 | if ((_is_negative(lhs) && _is_negative(trg) && !_is_negative(&result[adjust..])) || [INFO] [stdout] | ^ [INFO] [stdout] 211 | (!_is_negative(lhs) && !_is_negative(trg) && _is_negative(&result[adjust..]))) { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 210 ~ if (_is_negative(lhs) && _is_negative(trg) && !_is_negative(&result[adjust..])) || [INFO] [stdout] 211 ~ (!_is_negative(lhs) && !_is_negative(trg) && _is_negative(&result[adjust..])) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DATA_REGISTER` should have an upper camel case name [INFO] [stdout] --> src/cpu/instruction.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | DATA_REGISTER(usize), [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DataRegister` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADDRESS_REGISTER` should have an upper camel case name [INFO] [stdout] --> src/cpu/instruction.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | ADDRESS_REGISTER(usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AddressRegister` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IMEDIATE_VALUE` should have an upper camel case name [INFO] [stdout] --> src/cpu/instruction.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | IMEDIATE_VALUE(Vec), //4 u8 big endian [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImediateValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MEMORY_ADDR` should have an upper camel case name [INFO] [stdout] --> src/cpu/instruction.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | MEMORY_ADDR(usize), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `MemoryAddr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpu_actions::*` [INFO] [stdout] --> src/cpu.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cpu_actions::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `c` is never read [INFO] [stdout] --> src/cpu/cpu_actions.rs:39:41 [INFO] [stdout] | [INFO] [stdout] 39 | ... Some(r) => {c = 0; r}, [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: associated function is never used: `cache_value` [INFO] [stdout] --> src/cpu.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | fn cache_value<'a>(&'a mut self, val: &'a Vec, n: usize) -> &'a mut [u8] { [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: `print_mem` [INFO] [stdout] --> src/cpu.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn print_mem(&self, offset: usize, len: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MOVEA` [INFO] [stdout] --> src/cpu/instruction.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | MOVEA, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Mnemonic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ADDA` [INFO] [stdout] --> src/cpu/instruction.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | ADDA, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Mnemonic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LEA` [INFO] [stdout] --> src/cpu/instruction.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | LEA, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Mnemonic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SR` [INFO] [stdout] --> src/cpu/instruction.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | SR, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `DataContainer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CCR` [INFO] [stdout] --> src/cpu/instruction.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | CCR, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `DataContainer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.64s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/68kemu-cb72cbb829338113) [INFO] running `Command { std: "docker" "inspect" "17bd7114b45f335055d449576678992b0b90bcbdadf17521a8ca4514011a60ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17bd7114b45f335055d449576678992b0b90bcbdadf17521a8ca4514011a60ea", kill_on_drop: false }` [INFO] [stdout] 17bd7114b45f335055d449576678992b0b90bcbdadf17521a8ca4514011a60ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 48dd63b45eabebb72be82c6022110105d3fa1c295aede4930740cc2a22193e7c [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" "48dd63b45eabebb72be82c6022110105d3fa1c295aede4930740cc2a22193e7c", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::ops::Deref` [INFO] [stderr] --> src/cpu/cpu_actions.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::ops::Deref; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/cpu/cpu_actions.rs:210:12 [INFO] [stderr] | [INFO] [stderr] 210 | if ((_is_negative(lhs) && _is_negative(trg) && !_is_negative(&result[adjust..])) || [INFO] [stderr] | ^ [INFO] [stderr] 211 | (!_is_negative(lhs) && !_is_negative(trg) && _is_negative(&result[adjust..]))) { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 210 ~ if (_is_negative(lhs) && _is_negative(trg) && !_is_negative(&result[adjust..])) || [INFO] [stderr] 211 ~ (!_is_negative(lhs) && !_is_negative(trg) && _is_negative(&result[adjust..])) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variant `DATA_REGISTER` should have an upper camel case name [INFO] [stderr] --> src/cpu/instruction.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | DATA_REGISTER(usize), [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DataRegister` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant `ADDRESS_REGISTER` should have an upper camel case name [INFO] [stderr] --> src/cpu/instruction.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | ADDRESS_REGISTER(usize), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AddressRegister` [INFO] [stderr] [INFO] [stderr] warning: variant `IMEDIATE_VALUE` should have an upper camel case name [INFO] [stderr] --> src/cpu/instruction.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | IMEDIATE_VALUE(Vec), //4 u8 big endian [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImediateValue` [INFO] [stderr] [INFO] [stderr] warning: variant `MEMORY_ADDR` should have an upper camel case name [INFO] [stderr] --> src/cpu/instruction.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | MEMORY_ADDR(usize), [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `MemoryAddr` [INFO] [stderr] [INFO] [stderr] warning: unused import: `cpu_actions::*` [INFO] [stderr] --> src/cpu.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use cpu_actions::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: value assigned to `c` is never read [INFO] [stderr] --> src/cpu/cpu_actions.rs:39:41 [INFO] [stderr] | [INFO] [stderr] 39 | ... Some(r) => {c = 0; r}, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `cache_value` [INFO] [stderr] --> src/cpu.rs:130:8 [INFO] [stderr] | [INFO] [stderr] 130 | fn cache_value<'a>(&'a mut self, val: &'a Vec, n: usize) -> &'a mut [u8] { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `print_mem` [INFO] [stderr] --> src/cpu.rs:166:12 [INFO] [stderr] | [INFO] [stderr] 166 | pub fn print_mem(&self, offset: usize, len: usize) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `MOVEA` [INFO] [stderr] --> src/cpu/instruction.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | MOVEA, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Mnemonic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/instruction.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ADDA` [INFO] [stderr] --> src/cpu/instruction.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | ADDA, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Mnemonic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/instruction.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `LEA` [INFO] [stderr] --> src/cpu/instruction.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | LEA, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `Mnemonic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/instruction.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `SR` [INFO] [stderr] --> src/cpu/instruction.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | SR, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `DataContainer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/instruction.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `CCR` [INFO] [stderr] --> src/cpu/instruction.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | CCR, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `DataContainer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/instruction.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `emu68k` (bin "68kemu" test) generated 15 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/68kemu-cb72cbb829338113) [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test cpu::cpu_actions::internal_tests::test_perform_add_basic ... ok [INFO] [stdout] test cpu::cpu_actions::internal_tests::test_perform_add_max ... ok [INFO] [stdout] test test::move_a_small_part_registers ... ok [INFO] [stdout] test test::move_neg ... ok [INFO] [stdout] test test::test_add_right_result_word ... ok [INFO] [stdout] test test::move_other_flags_behaviout ... ok [INFO] [stdout] test test::move_zero ... ok [INFO] [stdout] test test::check_move_integrity ... ok [INFO] [stdout] test test::test_tst_functional ... ok [INFO] [stdout] test test::test_add_right_result_byte ... ok [INFO] [stdout] test test::test_add_right_result_long ... ok [INFO] [stdout] test cpu::cpu_actions::internal_tests::test_perform_add_report ... ok [INFO] [stdout] test test::move_a_small_part_mem ... ok [INFO] [stdout] test test::test_add_z_flag ... ok [INFO] [stdout] test test::test_add_correct_v_flag ... ok [INFO] [stdout] test test::test_add_carry_flags ... ok [INFO] [stdout] test test::test_add_correct_n_flag ... ok [INFO] [stdout] test test::move_non_zero ... ok [INFO] [stdout] test test::move_imediate_to_mem ... ok [INFO] [stdout] test test::move_imediate_to_data ... ok [INFO] [stdout] test test::move_imediate_to_addr ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.52s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "48dd63b45eabebb72be82c6022110105d3fa1c295aede4930740cc2a22193e7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48dd63b45eabebb72be82c6022110105d3fa1c295aede4930740cc2a22193e7c", kill_on_drop: false }` [INFO] [stdout] 48dd63b45eabebb72be82c6022110105d3fa1c295aede4930740cc2a22193e7c