[INFO] cloning repository https://github.com/bokuweb/armv4-emu-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bokuweb/armv4-emu-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbokuweb%2Farmv4-emu-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbokuweb%2Farmv4-emu-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a04980c224d7b10e8c5a01df61bfb8545ae04fda [INFO] checking bokuweb/armv4-emu-rs against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbokuweb%2Farmv4-emu-rs" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bokuweb/armv4-emu-rs on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bokuweb/armv4-emu-rs [INFO] finished tweaking git repo https://github.com/bokuweb/armv4-emu-rs [INFO] tweaked toml for git repo https://github.com/bokuweb/armv4-emu-rs written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/bokuweb/armv4-emu-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded plain v0.2.3 [INFO] [stderr] Downloaded atty v0.2.8 [INFO] [stderr] Downloaded wincolor v0.1.6 [INFO] [stderr] Downloaded humantime v1.1.1 [INFO] [stderr] Downloaded env_logger v0.5.9 [INFO] [stderr] Downloaded backtrace v0.3.7 [INFO] [stderr] Downloaded serde_json v1.0.17 [INFO] [stderr] Downloaded termcolor v0.3.6 [INFO] [stderr] Downloaded scroll_derive v0.9.3 [INFO] [stderr] Downloaded scroll v0.9.0 [INFO] [stderr] Downloaded syn v0.13.4 [INFO] [stderr] Downloaded proc-macro2 v0.3.8 [INFO] [stderr] Downloaded regex-syntax v0.6.0 [INFO] [stderr] Downloaded serde_derive v1.0.55 [INFO] [stderr] Downloaded cc v1.0.15 [INFO] [stderr] Downloaded serde v1.0.55 [INFO] [stderr] Downloaded regex v1.0.0 [INFO] [stderr] Downloaded clippy v0.0.199 [INFO] [stderr] Downloaded goblin v0.0.15 [INFO] [stderr] Downloaded clippy_lints v0.0.199 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d95138cb79a25a8f1f9c5f683a0cc177b723c293f691be1ebd68fcdfd1159bb4 [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" "d95138cb79a25a8f1f9c5f683a0cc177b723c293f691be1ebd68fcdfd1159bb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d95138cb79a25a8f1f9c5f683a0cc177b723c293f691be1ebd68fcdfd1159bb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d95138cb79a25a8f1f9c5f683a0cc177b723c293f691be1ebd68fcdfd1159bb4", kill_on_drop: false }` [INFO] [stdout] d95138cb79a25a8f1f9c5f683a0cc177b723c293f691be1ebd68fcdfd1159bb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90a96e8a4049bb1c4a223e04836386abc00be138a42420cdd0654c3ebb724ce7 [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" "90a96e8a4049bb1c4a223e04836386abc00be138a42420cdd0654c3ebb724ce7", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking quick-error v1.2.1 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking termcolor v0.3.6 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking atty v0.2.8 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking regex-syntax v0.5.3 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling syn v0.13.4 [INFO] [stderr] Compiling scroll_derive v0.9.3 [INFO] [stderr] Checking env_logger v0.5.9 [INFO] [stderr] Checking scroll v0.9.0 [INFO] [stderr] Checking goblin v0.0.15 [INFO] [stderr] Checking armv4 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `NOP_RAW` should have an upper camel case name [INFO] [stdout] --> src/core.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | NOP_RAW, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `NopRaw` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core.rs:97:33 [INFO] [stdout] | [INFO] [stdout] 97 | fn execute(&mut self, dec: &arm::Decoder) -> Result<(), ArmError> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn arm::Decoder` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CS_HS` should have an upper camel case name [INFO] [stdout] --> src/decoder/arm.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | CS_HS, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `CsHs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CC_LO` should have an upper camel case name [INFO] [stdout] --> src/decoder/arm.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | CC_LO, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `CcLo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/decoder/arm.rs:410:33 [INFO] [stdout] | [INFO] [stdout] 410 | pub fn decode(raw: Word) -> Box { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/memory.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/memory.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/memory.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/memory.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/memory.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/extra_memory.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn arm::Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/extra_memory.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn arm::Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/extra_memory.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn arm::Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/extra_memory.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn arm::Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/extra_memory.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn arm::Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/branch.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn exec_bl(dec: &Decoder, gpr: &mut [Word; 16]) -> Result { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/branch.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn exec_b(dec: &Decoder, gpr: &mut [Word; 16]) -> Result { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lsl` [INFO] [stdout] --> src/instructions/arm/data.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use super::shift::{is_carry_over, lsl, ror, shift}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:102:11 [INFO] [stdout] | [INFO] [stdout] 102 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:115:11 [INFO] [stdout] | [INFO] [stdout] 115 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:128:11 [INFO] [stdout] | [INFO] [stdout] 128 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:144:11 [INFO] [stdout] | [INFO] [stdout] 144 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:160:11 [INFO] [stdout] | [INFO] [stdout] 160 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:176:11 [INFO] [stdout] | [INFO] [stdout] 176 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:195:11 [INFO] [stdout] | [INFO] [stdout] 195 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:214:11 [INFO] [stdout] | [INFO] [stdout] 214 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:235:11 [INFO] [stdout] | [INFO] [stdout] 235 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:255:11 [INFO] [stdout] | [INFO] [stdout] 255 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:268:11 [INFO] [stdout] | [INFO] [stdout] 268 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:281:11 [INFO] [stdout] | [INFO] [stdout] 281 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:294:11 [INFO] [stdout] | [INFO] [stdout] 294 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:305:11 [INFO] [stdout] | [INFO] [stdout] 305 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::data::*` [INFO] [stdout] --> src/instructions/arm/multiple.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::data::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `is_carry_over`, `lsl`, `ror`, `shift` [INFO] [stdout] --> src/instructions/arm/multiple.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use super::shift::{is_carry_over, lsl, ror, shift}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/multiple.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn arm::Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/multiple.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn arm::Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/multiple.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn arm::Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/multiple.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn arm::Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/multiple.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn arm::Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/multiple.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn arm::Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/multiple.rs:112:11 [INFO] [stdout] | [INFO] [stdout] 112 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn arm::Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constants::*` [INFO] [stdout] --> src/instructions/arm/multi_load_and_store.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use constants::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/multi_load_and_store.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn arm::Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/multi_load_and_store.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn arm::Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/multi_load_and_store.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn arm::Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constants::*` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use constants::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::*` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use error::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `memory::writable::*` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use memory::writable::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | 0x0000_0000...0x0007_FFFF => self.rom.borrow().read_byte(addr), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | 0x0000_0000...0x0007_FFFF => self.rom.borrow().read_word(addr), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | 0x0000_0000...0x0007_FFFF => self.rom.borrow().read_word(addr), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NOP_RAW` should have an upper camel case name [INFO] [stdout] --> src/core.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | NOP_RAW, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `NopRaw` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core.rs:97:33 [INFO] [stdout] | [INFO] [stdout] 97 | fn execute(&mut self, dec: &arm::Decoder) -> Result<(), ArmError> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn arm::Decoder` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `memory::readable::*` [INFO] [stdout] --> src/core.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | use memory::readable::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CS_HS` should have an upper camel case name [INFO] [stdout] --> src/decoder/arm.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | CS_HS, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `CsHs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CC_LO` should have an upper camel case name [INFO] [stdout] --> src/decoder/arm.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | CC_LO, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `CcLo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/decoder/arm.rs:410:33 [INFO] [stdout] | [INFO] [stdout] 410 | pub fn decode(raw: Word) -> Box { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/memory.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/memory.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/memory.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/memory.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/memory.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/extra_memory.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn arm::Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/extra_memory.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn arm::Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/extra_memory.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn arm::Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/extra_memory.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn arm::Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/extra_memory.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn arm::Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/branch.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn exec_bl(dec: &Decoder, gpr: &mut [Word; 16]) -> Result { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/branch.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn exec_b(dec: &Decoder, gpr: &mut [Word; 16]) -> Result { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lsl` [INFO] [stdout] --> src/instructions/arm/data.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use super::shift::{is_carry_over, lsl, ror, shift}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:102:11 [INFO] [stdout] | [INFO] [stdout] 102 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:115:11 [INFO] [stdout] | [INFO] [stdout] 115 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:128:11 [INFO] [stdout] | [INFO] [stdout] 128 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:144:11 [INFO] [stdout] | [INFO] [stdout] 144 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:160:11 [INFO] [stdout] | [INFO] [stdout] 160 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:176:11 [INFO] [stdout] | [INFO] [stdout] 176 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:195:11 [INFO] [stdout] | [INFO] [stdout] 195 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:214:11 [INFO] [stdout] | [INFO] [stdout] 214 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:235:11 [INFO] [stdout] | [INFO] [stdout] 235 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:255:11 [INFO] [stdout] | [INFO] [stdout] 255 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:268:11 [INFO] [stdout] | [INFO] [stdout] 268 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:281:11 [INFO] [stdout] | [INFO] [stdout] 281 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:294:11 [INFO] [stdout] | [INFO] [stdout] 294 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/data.rs:305:11 [INFO] [stdout] | [INFO] [stdout] 305 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::data::*` [INFO] [stdout] --> src/instructions/arm/multiple.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::data::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `is_carry_over`, `lsl`, `ror`, `shift` [INFO] [stdout] --> src/instructions/arm/multiple.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use super::shift::{is_carry_over, lsl, ror, shift}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/multiple.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn arm::Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/multiple.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn arm::Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/multiple.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn arm::Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/multiple.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn arm::Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/multiple.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn arm::Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/multiple.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn arm::Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/multiple.rs:112:11 [INFO] [stdout] | [INFO] [stdout] 112 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn arm::Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constants::*` [INFO] [stdout] --> src/instructions/arm/multi_load_and_store.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use constants::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/multi_load_and_store.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn arm::Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/multi_load_and_store.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn arm::Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instructions/arm/multi_load_and_store.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn arm::Decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constants::*` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use constants::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::*` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use error::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `memory::writable::*` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use memory::writable::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | 0x0000_0000...0x0007_FFFF => self.rom.borrow().read_byte(addr), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | 0x0000_0000...0x0007_FFFF => self.rom.borrow().read_word(addr), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | 0x0000_0000...0x0007_FFFF => self.rom.borrow().read_word(addr), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/core.rs:251:31 [INFO] [stdout] | [INFO] [stdout] 251 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/core.rs:252:29 [INFO] [stdout] | [INFO] [stdout] 252 | static INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/decoder/arm.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 413 | COND_AL => Condition::AL, [INFO] [stdout] | ------- matches any value [INFO] [stdout] 414 | _ => panic!("Unknowm condition {}", cond), [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/decoder/arm.rs:440:9 [INFO] [stdout] | [INFO] [stdout] 440 | _ => panic!("unsupported instruction"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:56:41 [INFO] [stdout] | [INFO] [stdout] 56 | fn write_byte(&mut self, addr: u32, data: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:63:41 [INFO] [stdout] | [INFO] [stdout] 63 | fn write_word(&mut self, addr: u32, data: u32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `COND_AL` [INFO] [stdout] --> src/decoder/arm.rs:413:9 [INFO] [stdout] | [INFO] [stdout] 413 | COND_AL => Condition::AL, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_COND_AL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 254 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/multiple.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cspr` [INFO] [stdout] --> src/instructions/arm/multiple.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | cspr: &PSR, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cspr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/multiple.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cspr` [INFO] [stdout] --> src/instructions/arm/multiple.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | cspr: &PSR, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cspr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/multiple.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cspr` [INFO] [stdout] --> src/instructions/arm/multiple.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | cspr: &PSR, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cspr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/multiple.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cspr` [INFO] [stdout] --> src/instructions/arm/multiple.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | cspr: &PSR, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cspr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/multiple.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cspr` [INFO] [stdout] --> src/instructions/arm/multiple.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | cspr: &PSR, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cspr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/multiple.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cspr` [INFO] [stdout] --> src/instructions/arm/multiple.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | cspr: &PSR, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cspr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `COND_EQ` [INFO] [stdout] --> src/constants.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub const COND_EQ: u32 = 0x00000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `COND_NE` [INFO] [stdout] --> src/constants.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub const COND_NE: u32 = 0x10000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `COND_CS_HS` [INFO] [stdout] --> src/constants.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub const COND_CS_HS: u32 = 0x20000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `COND_CC_LO` [INFO] [stdout] --> src/constants.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub const COND_CC_LO: u32 = 0x30000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `COND_MI` [INFO] [stdout] --> src/constants.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub const COND_MI: u32 = 0x40000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `COND_PL` [INFO] [stdout] --> src/constants.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub const COND_PL: u32 = 0x50000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `COND_VS` [INFO] [stdout] --> src/constants.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub const COND_VS: u32 = 0x60000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `COND_VC` [INFO] [stdout] --> src/constants.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub const COND_VC: u32 = 0x70000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `COND_HI` [INFO] [stdout] --> src/constants.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub const COND_HI: u32 = 0x80000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `COND_LS` [INFO] [stdout] --> src/constants.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub const COND_LS: u32 = 0x90000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `COND_GE` [INFO] [stdout] --> src/constants.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub const COND_GE: u32 = 0xA0000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `COND_LT` [INFO] [stdout] --> src/constants.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub const COND_LT: u32 = 0xB0000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `COND_GT` [INFO] [stdout] --> src/constants.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub const COND_GT: u32 = 0xC0000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `COND_LE` [INFO] [stdout] --> src/constants.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub const COND_LE: u32 = 0xD0000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `COND_AL` [INFO] [stdout] --> src/constants.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub const COND_AL: u32 = 0xE0000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OP_FIELD` [INFO] [stdout] --> src/constants.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub const OP_FIELD: u32 = 0x0C000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OP_MEM` [INFO] [stdout] --> src/constants.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub const OP_MEM: u32 = 0x04000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OP_DATA` [INFO] [stdout] --> src/constants.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub const OP_DATA: u32 = 0x00000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FUNCT_FIELD` [INFO] [stdout] --> src/constants.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub const FUNCT_FIELD: u32 = 0x03F00000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FUNCT_I` [INFO] [stdout] --> src/constants.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub const FUNCT_I: u32 = 0x02000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FUNCT_P` [INFO] [stdout] --> src/constants.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub const FUNCT_P: u32 = 0x01000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FUNCT_U` [INFO] [stdout] --> src/constants.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub const FUNCT_U: u32 = 0x00800000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FUNCT_B` [INFO] [stdout] --> src/constants.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub const FUNCT_B: u32 = 0x00400000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FUNCT_W` [INFO] [stdout] --> src/constants.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub const FUNCT_W: u32 = 0x00200000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FUNCT_L` [INFO] [stdout] --> src/constants.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub const FUNCT_L: u32 = 0x00100000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RN` [INFO] [stdout] --> src/constants.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub const RN: u32 = 0x000F0000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RD` [INFO] [stdout] --> src/constants.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | pub const RD: u32 = 0x0000F000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SP` [INFO] [stdout] --> src/constants.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub const SP: usize = 13; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Arm` [INFO] [stdout] --> src/core.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | enum Arm { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Supervisor` [INFO] [stdout] --> src/core.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Supervisor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FIQ` [INFO] [stdout] --> src/core.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | FIQ, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Thumb` [INFO] [stdout] --> src/core.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | Thumb, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `spsr` [INFO] [stdout] --> src/core.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | spsr: [PSR; 7], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mode` [INFO] [stdout] --> src/core.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | mode: CpuMode, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `irq_disable` [INFO] [stdout] --> src/core.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | irq_disable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fiq_disable` [INFO] [stdout] --> src/core.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | fiq_disable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `optimise_swi` [INFO] [stdout] --> src/core.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | optimise_swi: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> src/core.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cpsr` [INFO] [stdout] --> src/core.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn get_cpsr(&self) -> PSR { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_gpr` [INFO] [stdout] --> src/core.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn set_gpr(&mut self, n: usize, data: u32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NOP` [INFO] [stdout] --> src/decoder/arm.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | NOP, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EQ` [INFO] [stdout] --> src/decoder/arm.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | EQ, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NE` [INFO] [stdout] --> src/decoder/arm.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | NE, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CS_HS` [INFO] [stdout] --> src/decoder/arm.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | CS_HS, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CC_LO` [INFO] [stdout] --> src/decoder/arm.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | CC_LO, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MI` [INFO] [stdout] --> src/decoder/arm.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | MI, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PL` [INFO] [stdout] --> src/decoder/arm.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | PL, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VS` [INFO] [stdout] --> src/decoder/arm.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | VS, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VC` [INFO] [stdout] --> src/decoder/arm.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | VC, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HI` [INFO] [stdout] --> src/decoder/arm.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | HI, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LS` [INFO] [stdout] --> src/decoder/arm.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | LS, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GE` [INFO] [stdout] --> src/decoder/arm.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | GE, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LT` [INFO] [stdout] --> src/decoder/arm.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | LT, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GT` [INFO] [stdout] --> src/decoder/arm.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | GT, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LE` [INFO] [stdout] --> src/decoder/arm.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | LE, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PostIndex` [INFO] [stdout] --> src/decoder/arm.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | PostIndex, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unsupported` [INFO] [stdout] --> src/decoder/arm.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | Unsupported, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Offset` [INFO] [stdout] --> src/decoder/arm.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | Offset, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PreIndex` [INFO] [stdout] --> src/decoder/arm.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | PreIndex, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnknownError` [INFO] [stdout] --> src/error/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | UnknownError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ARM` [INFO] [stdout] --> src/registers/psr.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | ARM = 0, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `THUMB` [INFO] [stdout] --> src/registers/psr.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | THUMB, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `User` [INFO] [stdout] --> src/registers/psr.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | User = 0, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FIQ` [INFO] [stdout] --> src/registers/psr.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | FIQ, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IRQ` [INFO] [stdout] --> src/registers/psr.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | IRQ, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Supervisor` [INFO] [stdout] --> src/registers/psr.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Supervisor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Abort` [INFO] [stdout] --> src/registers/psr.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Abort, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Undefined` [INFO] [stdout] --> src/registers/psr.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | Undefined, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `System` [INFO] [stdout] --> src/registers/psr.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | System, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_bits` [INFO] [stdout] --> src/registers/psr.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn as_bits(self) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `NON_RESERVED_MASK` [INFO] [stdout] --> src/registers/psr.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | const NON_RESERVED_MASK: u32 = 0b11110000_00000000_00000000_11111111_u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `FLAGS_MASK` [INFO] [stdout] --> src/registers/psr.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | const FLAGS_MASK: u32 = 0xF0000000_u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `STATE_BIT` [INFO] [stdout] --> src/registers/psr.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | const STATE_BIT: u32 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MODE_MASK` [INFO] [stdout] --> src/registers/psr.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | const MODE_MASK: u32 = 0b0001_1111; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MODE_USER` [INFO] [stdout] --> src/registers/psr.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | const MODE_USER: u32 = 0b1_0000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MODE_FIQ` [INFO] [stdout] --> src/registers/psr.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | const MODE_FIQ: u32 = 0b1_0001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MODE_IRQ` [INFO] [stdout] --> src/registers/psr.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | const MODE_IRQ: u32 = 0b1_0010; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MODE_ABORT` [INFO] [stdout] --> src/registers/psr.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | const MODE_ABORT: u32 = 0b1_0111; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MODE_UNDEFINED` [INFO] [stdout] --> src/registers/psr.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | const MODE_UNDEFINED: u32 = 0b1_1011; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MODE_SYSTEM` [INFO] [stdout] --> src/registers/psr.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | const MODE_SYSTEM: u32 = 0b1_1111; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear_reserved_bits` [INFO] [stdout] --> src/registers/psr.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn clear_reserved_bits(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `state` [INFO] [stdout] --> src/registers/psr.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn state(&self) -> State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mode` [INFO] [stdout] --> src/registers/psr.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn mode(&self) -> Mode { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_state` [INFO] [stdout] --> src/registers/psr.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn set_state(&mut self, s: State) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_mode` [INFO] [stdout] --> src/registers/psr.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn set_mode(&mut self, m: Mode) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `disable_irq` [INFO] [stdout] --> src/registers/psr.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn disable_irq(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `disable_fiq` [INFO] [stdout] --> src/registers/psr.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn disable_fiq(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `enable_irq` [INFO] [stdout] --> src/registers/psr.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn enable_irq(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `enable_fiq` [INFO] [stdout] --> src/registers/psr.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn enable_fiq(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `irq_disabled` [INFO] [stdout] --> src/registers/psr.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn irq_disabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fiq_disabled` [INFO] [stdout] --> src/registers/psr.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn fiq_disabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_N` [INFO] [stdout] --> src/registers/psr.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn get_N(self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_Z` [INFO] [stdout] --> src/registers/psr.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn get_Z(self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_V` [INFO] [stdout] --> src/registers/psr.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn get_V(self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set` [INFO] [stdout] --> src/registers/psr.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn set(&mut self, d: u32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `HalfWord` [INFO] [stdout] --> src/types.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub type HalfWord = u16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ram` [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | ram: Rc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `S` should have a snake case name [INFO] [stdout] --> src/decoder/arm.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | let S = get_S(raw) != 0; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `I` should have a snake case name [INFO] [stdout] --> src/decoder/arm.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | let I = get_I(raw) != 0; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COND_AL` should have a snake case name [INFO] [stdout] --> src/decoder/arm.rs:413:9 [INFO] [stdout] | [INFO] [stdout] 413 | COND_AL => Condition::AL, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `cond_al` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 210 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/decoder/arm.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 413 | COND_AL => Condition::AL, [INFO] [stdout] | ------- matches any value [INFO] [stdout] 414 | _ => panic!("Unknowm condition {}", cond), [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/decoder/arm.rs:440:9 [INFO] [stdout] | [INFO] [stdout] 440 | _ => panic!("unsupported instruction"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:56:41 [INFO] [stdout] | [INFO] [stdout] 56 | fn write_byte(&mut self, addr: u32, data: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:63:41 [INFO] [stdout] | [INFO] [stdout] 63 | fn write_word(&mut self, addr: u32, data: u32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `COND_AL` [INFO] [stdout] --> src/decoder/arm.rs:413:9 [INFO] [stdout] | [INFO] [stdout] 413 | COND_AL => Condition::AL, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_COND_AL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 254 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/data.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/multiple.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cspr` [INFO] [stdout] --> src/instructions/arm/multiple.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | cspr: &PSR, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cspr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/multiple.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cspr` [INFO] [stdout] --> src/instructions/arm/multiple.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | cspr: &PSR, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cspr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/multiple.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cspr` [INFO] [stdout] --> src/instructions/arm/multiple.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | cspr: &PSR, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cspr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/multiple.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cspr` [INFO] [stdout] --> src/instructions/arm/multiple.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | cspr: &PSR, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cspr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/multiple.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cspr` [INFO] [stdout] --> src/instructions/arm/multiple.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | cspr: &PSR, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cspr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/instructions/arm/multiple.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | bus: &Rc>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cspr` [INFO] [stdout] --> src/instructions/arm/multiple.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | cspr: &PSR, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cspr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | let mut bus = MockBus::new(); [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: constant is never used: `COND_EQ` [INFO] [stdout] --> src/constants.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub const COND_EQ: u32 = 0x00000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `COND_NE` [INFO] [stdout] --> src/constants.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub const COND_NE: u32 = 0x10000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `COND_CS_HS` [INFO] [stdout] --> src/constants.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub const COND_CS_HS: u32 = 0x20000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `COND_CC_LO` [INFO] [stdout] --> src/constants.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub const COND_CC_LO: u32 = 0x30000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `COND_MI` [INFO] [stdout] --> src/constants.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub const COND_MI: u32 = 0x40000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `COND_PL` [INFO] [stdout] --> src/constants.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub const COND_PL: u32 = 0x50000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `COND_VS` [INFO] [stdout] --> src/constants.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub const COND_VS: u32 = 0x60000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `COND_VC` [INFO] [stdout] --> src/constants.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub const COND_VC: u32 = 0x70000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `COND_HI` [INFO] [stdout] --> src/constants.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub const COND_HI: u32 = 0x80000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `COND_LS` [INFO] [stdout] --> src/constants.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub const COND_LS: u32 = 0x90000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `COND_GE` [INFO] [stdout] --> src/constants.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub const COND_GE: u32 = 0xA0000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `COND_LT` [INFO] [stdout] --> src/constants.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub const COND_LT: u32 = 0xB0000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `COND_GT` [INFO] [stdout] --> src/constants.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub const COND_GT: u32 = 0xC0000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `COND_LE` [INFO] [stdout] --> src/constants.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub const COND_LE: u32 = 0xD0000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `COND_AL` [INFO] [stdout] --> src/constants.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub const COND_AL: u32 = 0xE0000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OP_FIELD` [INFO] [stdout] --> src/constants.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub const OP_FIELD: u32 = 0x0C000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OP_MEM` [INFO] [stdout] --> src/constants.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub const OP_MEM: u32 = 0x04000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OP_DATA` [INFO] [stdout] --> src/constants.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub const OP_DATA: u32 = 0x00000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FUNCT_FIELD` [INFO] [stdout] --> src/constants.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub const FUNCT_FIELD: u32 = 0x03F00000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FUNCT_I` [INFO] [stdout] --> src/constants.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub const FUNCT_I: u32 = 0x02000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FUNCT_P` [INFO] [stdout] --> src/constants.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub const FUNCT_P: u32 = 0x01000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FUNCT_U` [INFO] [stdout] --> src/constants.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub const FUNCT_U: u32 = 0x00800000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FUNCT_B` [INFO] [stdout] --> src/constants.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub const FUNCT_B: u32 = 0x00400000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FUNCT_W` [INFO] [stdout] --> src/constants.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub const FUNCT_W: u32 = 0x00200000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FUNCT_L` [INFO] [stdout] --> src/constants.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub const FUNCT_L: u32 = 0x00100000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RN` [INFO] [stdout] --> src/constants.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub const RN: u32 = 0x000F0000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RD` [INFO] [stdout] --> src/constants.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | pub const RD: u32 = 0x0000F000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SP` [INFO] [stdout] --> src/constants.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub const SP: usize = 13; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Arm` [INFO] [stdout] --> src/core.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | enum Arm { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Supervisor` [INFO] [stdout] --> src/core.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Supervisor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FIQ` [INFO] [stdout] --> src/core.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | FIQ, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Thumb` [INFO] [stdout] --> src/core.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | Thumb, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `spsr` [INFO] [stdout] --> src/core.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | spsr: [PSR; 7], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mode` [INFO] [stdout] --> src/core.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | mode: CpuMode, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `irq_disable` [INFO] [stdout] --> src/core.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | irq_disable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fiq_disable` [INFO] [stdout] --> src/core.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | fiq_disable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `optimise_swi` [INFO] [stdout] --> src/core.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | optimise_swi: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> src/core.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NOP` [INFO] [stdout] --> src/decoder/arm.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | NOP, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EQ` [INFO] [stdout] --> src/decoder/arm.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | EQ, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NE` [INFO] [stdout] --> src/decoder/arm.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | NE, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CS_HS` [INFO] [stdout] --> src/decoder/arm.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | CS_HS, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CC_LO` [INFO] [stdout] --> src/decoder/arm.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | CC_LO, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MI` [INFO] [stdout] --> src/decoder/arm.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | MI, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PL` [INFO] [stdout] --> src/decoder/arm.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | PL, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VS` [INFO] [stdout] --> src/decoder/arm.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | VS, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VC` [INFO] [stdout] --> src/decoder/arm.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | VC, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HI` [INFO] [stdout] --> src/decoder/arm.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | HI, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LS` [INFO] [stdout] --> src/decoder/arm.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | LS, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GE` [INFO] [stdout] --> src/decoder/arm.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | GE, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LT` [INFO] [stdout] --> src/decoder/arm.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | LT, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GT` [INFO] [stdout] --> src/decoder/arm.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | GT, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LE` [INFO] [stdout] --> src/decoder/arm.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | LE, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PostIndex` [INFO] [stdout] --> src/decoder/arm.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | PostIndex, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unsupported` [INFO] [stdout] --> src/decoder/arm.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | Unsupported, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Offset` [INFO] [stdout] --> src/decoder/arm.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | Offset, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PreIndex` [INFO] [stdout] --> src/decoder/arm.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | PreIndex, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnknownError` [INFO] [stdout] --> src/error/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | UnknownError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ARM` [INFO] [stdout] --> src/registers/psr.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | ARM = 0, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `THUMB` [INFO] [stdout] --> src/registers/psr.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | THUMB, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `User` [INFO] [stdout] --> src/registers/psr.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | User = 0, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FIQ` [INFO] [stdout] --> src/registers/psr.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | FIQ, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IRQ` [INFO] [stdout] --> src/registers/psr.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | IRQ, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Supervisor` [INFO] [stdout] --> src/registers/psr.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Supervisor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Abort` [INFO] [stdout] --> src/registers/psr.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Abort, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Undefined` [INFO] [stdout] --> src/registers/psr.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | Undefined, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `System` [INFO] [stdout] --> src/registers/psr.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | System, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_bits` [INFO] [stdout] --> src/registers/psr.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn as_bits(self) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `NON_RESERVED_MASK` [INFO] [stdout] --> src/registers/psr.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | const NON_RESERVED_MASK: u32 = 0b11110000_00000000_00000000_11111111_u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `FLAGS_MASK` [INFO] [stdout] --> src/registers/psr.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | const FLAGS_MASK: u32 = 0xF0000000_u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `STATE_BIT` [INFO] [stdout] --> src/registers/psr.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | const STATE_BIT: u32 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MODE_MASK` [INFO] [stdout] --> src/registers/psr.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | const MODE_MASK: u32 = 0b0001_1111; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MODE_USER` [INFO] [stdout] --> src/registers/psr.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | const MODE_USER: u32 = 0b1_0000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MODE_FIQ` [INFO] [stdout] --> src/registers/psr.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | const MODE_FIQ: u32 = 0b1_0001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MODE_IRQ` [INFO] [stdout] --> src/registers/psr.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | const MODE_IRQ: u32 = 0b1_0010; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MODE_ABORT` [INFO] [stdout] --> src/registers/psr.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | const MODE_ABORT: u32 = 0b1_0111; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MODE_UNDEFINED` [INFO] [stdout] --> src/registers/psr.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | const MODE_UNDEFINED: u32 = 0b1_1011; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MODE_SYSTEM` [INFO] [stdout] --> src/registers/psr.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | const MODE_SYSTEM: u32 = 0b1_1111; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear_reserved_bits` [INFO] [stdout] --> src/registers/psr.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn clear_reserved_bits(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `state` [INFO] [stdout] --> src/registers/psr.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn state(&self) -> State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mode` [INFO] [stdout] --> src/registers/psr.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn mode(&self) -> Mode { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_state` [INFO] [stdout] --> src/registers/psr.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn set_state(&mut self, s: State) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_mode` [INFO] [stdout] --> src/registers/psr.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn set_mode(&mut self, m: Mode) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `disable_irq` [INFO] [stdout] --> src/registers/psr.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn disable_irq(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `disable_fiq` [INFO] [stdout] --> src/registers/psr.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn disable_fiq(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `enable_irq` [INFO] [stdout] --> src/registers/psr.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn enable_irq(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `enable_fiq` [INFO] [stdout] --> src/registers/psr.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn enable_fiq(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `irq_disabled` [INFO] [stdout] --> src/registers/psr.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn irq_disabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fiq_disabled` [INFO] [stdout] --> src/registers/psr.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn fiq_disabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set` [INFO] [stdout] --> src/registers/psr.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn set(&mut self, d: u32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `HalfWord` [INFO] [stdout] --> src/types.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub type HalfWord = u16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ram` [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | ram: Rc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/core.rs:241:17 [INFO] [stdout] | [INFO] [stdout] 241 | self.tick(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/core.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | arm.tick(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `S` should have a snake case name [INFO] [stdout] --> src/decoder/arm.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | let S = get_S(raw) != 0; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `I` should have a snake case name [INFO] [stdout] --> src/decoder/arm.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | let I = get_I(raw) != 0; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COND_AL` should have a snake case name [INFO] [stdout] --> src/decoder/arm.rs:413:9 [INFO] [stdout] | [INFO] [stdout] 413 | COND_AL => Condition::AL, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `cond_al` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 211 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.45s [INFO] running `Command { std: "docker" "inspect" "90a96e8a4049bb1c4a223e04836386abc00be138a42420cdd0654c3ebb724ce7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90a96e8a4049bb1c4a223e04836386abc00be138a42420cdd0654c3ebb724ce7", kill_on_drop: false }` [INFO] [stdout] 90a96e8a4049bb1c4a223e04836386abc00be138a42420cdd0654c3ebb724ce7