[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 master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbokuweb%2Farmv4-emu-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bokuweb/armv4-emu-rs on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-3-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scroll_derive v0.9.3 [INFO] [stderr] Downloaded cargo_metadata v0.5.4 [INFO] [stderr] Downloaded scroll v0.9.0 [INFO] [stderr] Downloaded if_chain v0.1.2 [INFO] [stderr] Downloaded matches v0.1.6 [INFO] [stderr] Downloaded either v1.5.0 [INFO] [stderr] Downloaded env_logger v0.5.9 [INFO] [stderr] Downloaded rustc_version v0.2.2 [INFO] [stderr] Downloaded byteorder v1.2.2 [INFO] [stderr] Downloaded cc v1.0.15 [INFO] [stderr] Downloaded syn v0.13.4 [INFO] [stderr] Downloaded idna v0.1.4 [INFO] [stderr] Downloaded clippy_lints v0.0.199 [INFO] [stderr] Downloaded rustc-demangle v0.1.8 [INFO] [stderr] Downloaded backtrace v0.3.7 [INFO] [stderr] Downloaded itertools v0.7.8 [INFO] [stderr] Downloaded getopts v0.2.17 [INFO] [stderr] Downloaded toml v0.4.6 [INFO] [stderr] Downloaded url v1.7.0 [INFO] [stderr] Downloaded clippy v0.0.199 [INFO] [stderr] Downloaded goblin v0.0.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2dd749c949a68ec6ef4ec407d57ecf3e43a8514bc49ea283044c7f9c2b4fbec1 [INFO] running `Command { std: "docker" "start" "-a" "2dd749c949a68ec6ef4ec407d57ecf3e43a8514bc49ea283044c7f9c2b4fbec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2dd749c949a68ec6ef4ec407d57ecf3e43a8514bc49ea283044c7f9c2b4fbec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dd749c949a68ec6ef4ec407d57ecf3e43a8514bc49ea283044c7f9c2b4fbec1", kill_on_drop: false }` [INFO] [stdout] 2dd749c949a68ec6ef4ec407d57ecf3e43a8514bc49ea283044c7f9c2b4fbec1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] beb263e4fbba50270ab5703a7e828cf0c5cb72a5d03b1323945d61fc3a7d9cce [INFO] running `Command { std: "docker" "start" "-a" "beb263e4fbba50270ab5703a7e828cf0c5cb72a5d03b1323945d61fc3a7d9cce", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking quick-error v1.2.1 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking termcolor v0.3.6 [INFO] [stderr] Checking byteorder v1.2.2 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking regex-syntax v0.5.3 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling syn v0.13.4 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking atty v0.2.8 [INFO] [stderr] Checking aho-corasick v0.6.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: 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: 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: 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: 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: 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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 95 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 92 | dec: &dyn arm::Decoder, [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 115 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 128 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 144 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 160 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 176 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 195 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 214 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 235 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 255 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 268 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 281 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 294 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 305 | dec: &dyn Decoder, [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 96 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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/instructions/arm/multi_load_and_store.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | dec: &dyn arm::Decoder, [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:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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: 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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RefCell` is imported redundantly [INFO] [stdout] --> src/core.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 195 | use super::*; [INFO] [stdout] | -------- the item `RefCell` is already imported here [INFO] [stdout] ... [INFO] [stdout] 198 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> src/core.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 195 | use super::*; [INFO] [stdout] | -------- the item `Rc` is already imported here [INFO] [stdout] ... [INFO] [stdout] 199 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/core.rs:230:22 [INFO] [stdout] | [INFO] [stdout] 230 | self.mem[(addr as usize)] = data; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 230 - self.mem[(addr as usize)] = data; [INFO] [stdout] 230 + self.mem[addr as usize] = data; [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 97 | fn execute(&mut self, dec: &dyn arm::Decoder) -> Result<(), ArmError> { [INFO] [stdout] | +++ [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: 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: 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: 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: 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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 410 | pub fn decode(raw: Word) -> Box { [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | pub fn exec_bl(dec: &dyn Decoder, gpr: &mut [Word; 16]) -> Result { [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | pub fn exec_b(dec: &dyn Decoder, gpr: &mut [Word; 16]) -> Result { [INFO] [stdout] | +++ [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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 252 | static INIT: Once = Once::new(); [INFO] [stdout] | ~~~~~~~~~~~ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 95 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 92 | dec: &dyn arm::Decoder, [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 115 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 128 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 144 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 160 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 176 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 195 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 214 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 235 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 255 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 268 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 281 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 294 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 305 | dec: &dyn Decoder, [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 96 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 | dec: &dyn arm::Decoder, [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | dec: &dyn arm::Decoder, [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:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | dec: &dyn arm::Decoder, [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:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 97 | fn execute(&mut self, dec: &dyn arm::Decoder) -> Result<(), ArmError> { [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 410 | pub fn decode(raw: Word) -> Box { [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | pub fn exec_bl(dec: &dyn Decoder, gpr: &mut [Word; 16]) -> Result { [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | pub fn exec_b(dec: &dyn Decoder, gpr: &mut [Word; 16]) -> Result { [INFO] [stdout] | +++ [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: `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] = note: `#[warn(unused_variables)]` on by default [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: 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] [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: field `ram` is never read [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 36 | struct CpuBus { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 37 | rom: Rc>, [INFO] [stdout] 38 | ram: Rc>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_EQ` is never used [INFO] [stdout] --> src/constants.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const COND_EQ: u32 = 0x00000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_NE` is never used [INFO] [stdout] --> src/constants.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const COND_NE: u32 = 0x10000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_CS_HS` is never used [INFO] [stdout] --> src/constants.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const COND_CS_HS: u32 = 0x20000000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_CC_LO` is never used [INFO] [stdout] --> src/constants.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const COND_CC_LO: u32 = 0x30000000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_MI` is never used [INFO] [stdout] --> src/constants.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const COND_MI: u32 = 0x40000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_PL` is never used [INFO] [stdout] --> src/constants.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const COND_PL: u32 = 0x50000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_VS` is never used [INFO] [stdout] --> src/constants.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const COND_VS: u32 = 0x60000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_VC` is never used [INFO] [stdout] --> src/constants.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const COND_VC: u32 = 0x70000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_HI` is never used [INFO] [stdout] --> src/constants.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const COND_HI: u32 = 0x80000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_LS` is never used [INFO] [stdout] --> src/constants.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const COND_LS: u32 = 0x90000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_GE` is never used [INFO] [stdout] --> src/constants.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const COND_GE: u32 = 0xA0000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_LT` is never used [INFO] [stdout] --> src/constants.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const COND_LT: u32 = 0xB0000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_GT` is never used [INFO] [stdout] --> src/constants.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const COND_GT: u32 = 0xC0000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_LE` is never used [INFO] [stdout] --> src/constants.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const COND_LE: u32 = 0xD0000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_AL` is never used [INFO] [stdout] --> src/constants.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const COND_AL: u32 = 0xE0000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OP_FIELD` is never used [INFO] [stdout] --> src/constants.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const OP_FIELD: u32 = 0x0C000000; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OP_MEM` is never used [INFO] [stdout] --> src/constants.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const OP_MEM: u32 = 0x04000000; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OP_DATA` is never used [INFO] [stdout] --> src/constants.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const OP_DATA: u32 = 0x00000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FUNCT_FIELD` is never used [INFO] [stdout] --> src/constants.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const FUNCT_FIELD: u32 = 0x03F00000; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FUNCT_I` is never used [INFO] [stdout] --> src/constants.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const FUNCT_I: u32 = 0x02000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FUNCT_P` is never used [INFO] [stdout] --> src/constants.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const FUNCT_P: u32 = 0x01000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FUNCT_U` is never used [INFO] [stdout] --> src/constants.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const FUNCT_U: u32 = 0x00800000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FUNCT_B` is never used [INFO] [stdout] --> src/constants.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub const FUNCT_B: u32 = 0x00400000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FUNCT_W` is never used [INFO] [stdout] --> src/constants.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const FUNCT_W: u32 = 0x00200000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FUNCT_L` is never used [INFO] [stdout] --> src/constants.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const FUNCT_L: u32 = 0x00100000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RN` is never used [INFO] [stdout] --> src/constants.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub const RN: u32 = 0x000F0000; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RD` is never used [INFO] [stdout] --> src/constants.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub const RD: u32 = 0x0000F000; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SP` is never used [INFO] [stdout] --> src/constants.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub const SP: usize = 13; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Arm` is never used [INFO] [stdout] --> src/core.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | enum Arm { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Supervisor` and `FIQ` are never constructed [INFO] [stdout] --> src/core.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | enum CpuMode { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 27 | System, [INFO] [stdout] 28 | Supervisor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | FIQ, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Thumb` is never constructed [INFO] [stdout] --> src/core.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | enum CpuState { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 34 | ARM, [INFO] [stdout] 35 | Thumb, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CpuState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `spsr`, `mode`, `irq_disable`, `fiq_disable`, and `optimise_swi` are never read [INFO] [stdout] --> src/core.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct ARMv4 [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | spsr: [PSR; 7], [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | mode: CpuMode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | state: CpuState, [INFO] [stdout] 49 | irq_disable: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 50 | fiq_disable: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 51 | optimise_swi: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset`, `get_cpsr`, and `set_gpr` are never used [INFO] [stdout] --> src/core.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 54 | / impl ARMv4 [INFO] [stdout] 55 | | where [INFO] [stdout] 56 | | T: Bus, [INFO] [stdout] | |___________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn get_cpsr(&self) -> PSR { [INFO] [stdout] | ^^^^^^^^ [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 `NOP` is never constructed [INFO] [stdout] --> src/decoder/arm.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Opcode { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 58 | NOP, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/decoder/arm.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub enum Condition { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 63 | EQ, [INFO] [stdout] | ^^ [INFO] [stdout] 64 | NE, [INFO] [stdout] | ^^ [INFO] [stdout] 65 | CS_HS, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 66 | CC_LO, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 67 | MI, [INFO] [stdout] | ^^ [INFO] [stdout] 68 | PL, [INFO] [stdout] | ^^ [INFO] [stdout] 69 | VS, [INFO] [stdout] | ^^ [INFO] [stdout] 70 | VC, [INFO] [stdout] | ^^ [INFO] [stdout] 71 | HI, [INFO] [stdout] | ^^ [INFO] [stdout] 72 | LS, [INFO] [stdout] | ^^ [INFO] [stdout] 73 | GE, [INFO] [stdout] | ^^ [INFO] [stdout] 74 | LT, [INFO] [stdout] | ^^ [INFO] [stdout] 75 | GT, [INFO] [stdout] | ^^ [INFO] [stdout] 76 | LE, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Condition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PostIndex`, `Unsupported`, `Offset`, and `PreIndex` are never constructed [INFO] [stdout] --> src/decoder/arm.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum IndexMode { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 82 | PostIndex, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 83 | Unsupported, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 84 | Offset, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 85 | PreIndex, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cond` is never read [INFO] [stdout] --> src/decoder/arm.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct BaseDecoder { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 90 | pub cond: Condition, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BaseDecoder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_memory_index_mode` and `is_minus_offset` are never used [INFO] [stdout] --> src/decoder/arm.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub trait Decoder: Raw { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 178 | fn get_memory_index_mode(&self) -> IndexMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | fn is_minus_offset(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnknownError` is never constructed [INFO] [stdout] --> src/error/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ArmError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 6 | UnknownError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArmError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mut_raw` is never used [INFO] [stdout] --> src/memory/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait MutRaw { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 12 | fn mut_raw(&mut self, offset: u32) -> &mut [u8]; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HalfWordReadable` is never used [INFO] [stdout] --> src/memory/readable.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait HalfWordReadable: Raw { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ByteWritable` is never used [INFO] [stdout] --> src/memory/writable.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait ByteWritable: MutRaw { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HalfWordWritable` is never used [INFO] [stdout] --> src/memory/writable.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait HalfWordWritable: MutRaw { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WordWritable` is never used [INFO] [stdout] --> src/memory/writable.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait WordWritable: MutRaw { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ARM` and `THUMB` are never constructed [INFO] [stdout] --> src/registers/psr.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum State { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 7 | /// Currently executing 32-bit ARM instructions. [INFO] [stdout] 8 | ARM = 0, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | THUMB, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/registers/psr.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Mode { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 16 | User = 0, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | FIQ, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | IRQ, [INFO] [stdout] | ^^^ [INFO] [stdout] 19 | Supervisor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | Abort, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | Undefined, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | System, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_bits` is never used [INFO] [stdout] --> src/registers/psr.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Mode { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 26 | pub fn as_bits(self) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/registers/psr.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 43 | impl PSR { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | const NON_RESERVED_MASK: u32 = 0b11110000_00000000_00000000_11111111_u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | const FLAGS_MASK: u32 = 0xF0000000_u32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | const STATE_BIT: u32 = 5; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 60 | [INFO] [stdout] 61 | const MODE_MASK: u32 = 0b0001_1111; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 62 | const MODE_USER: u32 = 0b1_0000; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 63 | const MODE_FIQ: u32 = 0b1_0001; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 64 | const MODE_IRQ: u32 = 0b1_0010; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 65 | const MODE_SUPERVISOR: u32 = 0b1_0011; [INFO] [stdout] 66 | const MODE_ABORT: u32 = 0b1_0111; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 67 | const MODE_UNDEFINED: u32 = 0b1_1011; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 68 | const MODE_SYSTEM: u32 = 0b1_1111; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 69 | [INFO] [stdout] 70 | pub fn clear_reserved_bits(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn state(&self) -> State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn mode(&self) -> Mode { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn set_state(&mut self, s: State) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn set_mode(&mut self, m: Mode) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn disable_irq(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn disable_fiq(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn enable_irq(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn enable_fiq(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn irq_disabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn fiq_disabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn get_N(self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn get_Z(self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn get_V(self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn set(&mut self, d: u32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `HalfWord` is never used [INFO] [stdout] --> src/types.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub type HalfWord = u16; [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 96 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 98 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 99 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 100 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 101 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 102 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 103 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 104 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 105 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 106 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 107 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 108 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 109 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 110 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 111 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 112 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 113 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 114 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 115 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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: 163 warnings emitted [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: 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: `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] = note: `#[warn(unused_variables)]` on by default [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: 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] [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: field `ram` is never read [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 36 | struct CpuBus { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 37 | rom: Rc>, [INFO] [stdout] 38 | ram: Rc>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_EQ` is never used [INFO] [stdout] --> src/constants.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const COND_EQ: u32 = 0x00000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_NE` is never used [INFO] [stdout] --> src/constants.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const COND_NE: u32 = 0x10000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_CS_HS` is never used [INFO] [stdout] --> src/constants.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const COND_CS_HS: u32 = 0x20000000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_CC_LO` is never used [INFO] [stdout] --> src/constants.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const COND_CC_LO: u32 = 0x30000000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_MI` is never used [INFO] [stdout] --> src/constants.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const COND_MI: u32 = 0x40000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_PL` is never used [INFO] [stdout] --> src/constants.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const COND_PL: u32 = 0x50000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_VS` is never used [INFO] [stdout] --> src/constants.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const COND_VS: u32 = 0x60000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_VC` is never used [INFO] [stdout] --> src/constants.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const COND_VC: u32 = 0x70000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_HI` is never used [INFO] [stdout] --> src/constants.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const COND_HI: u32 = 0x80000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_LS` is never used [INFO] [stdout] --> src/constants.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const COND_LS: u32 = 0x90000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_GE` is never used [INFO] [stdout] --> src/constants.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const COND_GE: u32 = 0xA0000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_LT` is never used [INFO] [stdout] --> src/constants.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const COND_LT: u32 = 0xB0000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_GT` is never used [INFO] [stdout] --> src/constants.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const COND_GT: u32 = 0xC0000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_LE` is never used [INFO] [stdout] --> src/constants.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const COND_LE: u32 = 0xD0000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_AL` is never used [INFO] [stdout] --> src/constants.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const COND_AL: u32 = 0xE0000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OP_FIELD` is never used [INFO] [stdout] --> src/constants.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const OP_FIELD: u32 = 0x0C000000; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OP_MEM` is never used [INFO] [stdout] --> src/constants.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const OP_MEM: u32 = 0x04000000; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OP_DATA` is never used [INFO] [stdout] --> src/constants.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const OP_DATA: u32 = 0x00000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FUNCT_FIELD` is never used [INFO] [stdout] --> src/constants.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const FUNCT_FIELD: u32 = 0x03F00000; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FUNCT_I` is never used [INFO] [stdout] --> src/constants.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const FUNCT_I: u32 = 0x02000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FUNCT_P` is never used [INFO] [stdout] --> src/constants.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const FUNCT_P: u32 = 0x01000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FUNCT_U` is never used [INFO] [stdout] --> src/constants.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const FUNCT_U: u32 = 0x00800000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FUNCT_B` is never used [INFO] [stdout] --> src/constants.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub const FUNCT_B: u32 = 0x00400000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FUNCT_W` is never used [INFO] [stdout] --> src/constants.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const FUNCT_W: u32 = 0x00200000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FUNCT_L` is never used [INFO] [stdout] --> src/constants.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const FUNCT_L: u32 = 0x00100000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RN` is never used [INFO] [stdout] --> src/constants.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub const RN: u32 = 0x000F0000; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RD` is never used [INFO] [stdout] --> src/constants.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub const RD: u32 = 0x0000F000; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SP` is never used [INFO] [stdout] --> src/constants.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub const SP: usize = 13; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Arm` is never used [INFO] [stdout] --> src/core.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | enum Arm { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Supervisor` and `FIQ` are never constructed [INFO] [stdout] --> src/core.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | enum CpuMode { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 27 | System, [INFO] [stdout] 28 | Supervisor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | FIQ, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Thumb` is never constructed [INFO] [stdout] --> src/core.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | enum CpuState { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 34 | ARM, [INFO] [stdout] 35 | Thumb, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CpuState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `spsr`, `mode`, `irq_disable`, `fiq_disable`, and `optimise_swi` are never read [INFO] [stdout] --> src/core.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct ARMv4 [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | spsr: [PSR; 7], [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | mode: CpuMode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | state: CpuState, [INFO] [stdout] 49 | irq_disable: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 50 | fiq_disable: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 51 | optimise_swi: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/core.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 54 | / impl ARMv4 [INFO] [stdout] 55 | | where [INFO] [stdout] 56 | | T: Bus, [INFO] [stdout] | |___________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NOP` is never constructed [INFO] [stdout] --> src/decoder/arm.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Opcode { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 58 | NOP, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/decoder/arm.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub enum Condition { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 63 | EQ, [INFO] [stdout] | ^^ [INFO] [stdout] 64 | NE, [INFO] [stdout] | ^^ [INFO] [stdout] 65 | CS_HS, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 66 | CC_LO, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 67 | MI, [INFO] [stdout] | ^^ [INFO] [stdout] 68 | PL, [INFO] [stdout] | ^^ [INFO] [stdout] 69 | VS, [INFO] [stdout] | ^^ [INFO] [stdout] 70 | VC, [INFO] [stdout] | ^^ [INFO] [stdout] 71 | HI, [INFO] [stdout] | ^^ [INFO] [stdout] 72 | LS, [INFO] [stdout] | ^^ [INFO] [stdout] 73 | GE, [INFO] [stdout] | ^^ [INFO] [stdout] 74 | LT, [INFO] [stdout] | ^^ [INFO] [stdout] 75 | GT, [INFO] [stdout] | ^^ [INFO] [stdout] 76 | LE, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Condition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PostIndex`, `Unsupported`, `Offset`, and `PreIndex` are never constructed [INFO] [stdout] --> src/decoder/arm.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum IndexMode { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 82 | PostIndex, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 83 | Unsupported, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 84 | Offset, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 85 | PreIndex, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cond` is never read [INFO] [stdout] --> src/decoder/arm.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct BaseDecoder { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 90 | pub cond: Condition, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BaseDecoder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_memory_index_mode` and `is_minus_offset` are never used [INFO] [stdout] --> src/decoder/arm.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub trait Decoder: Raw { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 178 | fn get_memory_index_mode(&self) -> IndexMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | fn is_minus_offset(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnknownError` is never constructed [INFO] [stdout] --> src/error/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ArmError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 6 | UnknownError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArmError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ARM` and `THUMB` are never constructed [INFO] [stdout] --> src/registers/psr.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum State { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 7 | /// Currently executing 32-bit ARM instructions. [INFO] [stdout] 8 | ARM = 0, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | THUMB, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/registers/psr.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Mode { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 16 | User = 0, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | FIQ, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | IRQ, [INFO] [stdout] | ^^^ [INFO] [stdout] 19 | Supervisor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | Abort, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | Undefined, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | System, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_bits` is never used [INFO] [stdout] --> src/registers/psr.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Mode { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 26 | pub fn as_bits(self) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/registers/psr.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 43 | impl PSR { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | const NON_RESERVED_MASK: u32 = 0b11110000_00000000_00000000_11111111_u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | const FLAGS_MASK: u32 = 0xF0000000_u32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | const STATE_BIT: u32 = 5; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 60 | [INFO] [stdout] 61 | const MODE_MASK: u32 = 0b0001_1111; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 62 | const MODE_USER: u32 = 0b1_0000; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 63 | const MODE_FIQ: u32 = 0b1_0001; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 64 | const MODE_IRQ: u32 = 0b1_0010; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 65 | const MODE_SUPERVISOR: u32 = 0b1_0011; [INFO] [stdout] 66 | const MODE_ABORT: u32 = 0b1_0111; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 67 | const MODE_UNDEFINED: u32 = 0b1_1011; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 68 | const MODE_SYSTEM: u32 = 0b1_1111; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 69 | [INFO] [stdout] 70 | pub fn clear_reserved_bits(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn state(&self) -> State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn mode(&self) -> Mode { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn set_state(&mut self, s: State) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn set_mode(&mut self, m: Mode) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn disable_irq(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn disable_fiq(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn enable_irq(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn enable_fiq(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn irq_disabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn fiq_disabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn set(&mut self, d: u32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `HalfWord` is never used [INFO] [stdout] --> src/types.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub type HalfWord = u16; [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 96 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 98 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 99 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 100 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 101 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 102 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 103 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 104 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 105 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 106 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 107 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 108 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 109 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 110 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 111 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 112 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 113 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 114 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 115 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 241 | let _ = self.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 262 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | &bus.set(0x0, 0xE3A0_0001); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 271 | let _ = &bus.set(0x0, 0xE3A0_0001); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | &bus.set(0x0, 0xE001_3002); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 283 | let _ = &bus.set(0x0, 0xE001_3002); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | &bus.set(0x0, 0xE021_3002); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 297 | let _ = &bus.set(0x0, 0xE021_3002); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | &bus.set(0x0, 0xE041_3002); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 311 | let _ = &bus.set(0x0, 0xE041_3002); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | &bus.set(0x0, 0xE061_3002); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 325 | let _ = &bus.set(0x0, 0xE061_3002); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 339 | &bus.set(0x0, 0xE081_3002); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 339 | let _ = &bus.set(0x0, 0xE081_3002); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | &bus.set(0x0, 0xE0A1_3002); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 353 | let _ = &bus.set(0x0, 0xE0A1_3002); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:368:9 [INFO] [stdout] | [INFO] [stdout] 368 | &bus.set(0x0, 0xE0E1_3002); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 368 | let _ = &bus.set(0x0, 0xE0E1_3002); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 383 | &bus.set(0x0, 0xE0E1_3002); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 383 | let _ = &bus.set(0x0, 0xE0E1_3002); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | &bus.set(0x0, 0xE061_3002); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 398 | let _ = &bus.set(0x0, 0xE061_3002); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | &bus.set(0x0, 0xE110_0001); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 411 | let _ = &bus.set(0x0, 0xE110_0001); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:426:9 [INFO] [stdout] | [INFO] [stdout] 426 | &bus.set(0x0, 0xE111_0242); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 426 | let _ = &bus.set(0x0, 0xE111_0242); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:441:9 [INFO] [stdout] | [INFO] [stdout] 441 | &bus.set(0x0, 0xE111_0242); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 441 | let _ = &bus.set(0x0, 0xE111_0242); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:456:9 [INFO] [stdout] | [INFO] [stdout] 456 | &bus.set(0x0, 0xE131_0002); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 456 | let _ = &bus.set(0x0, 0xE131_0002); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 471 | &bus.set(0x0, 0xE131_0002); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 471 | let _ = &bus.set(0x0, 0xE131_0002); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:486:9 [INFO] [stdout] | [INFO] [stdout] 486 | &bus.set(0x0, 0xE151_0002); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 486 | let _ = &bus.set(0x0, 0xE151_0002); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:502:9 [INFO] [stdout] | [INFO] [stdout] 502 | &bus.set(0x0, 0xE151_0002); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 502 | let _ = &bus.set(0x0, 0xE151_0002); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | &bus.set(0x0, 0xE151_0002); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 518 | let _ = &bus.set(0x0, 0xE151_0002); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:534:9 [INFO] [stdout] | [INFO] [stdout] 534 | &bus.set(0x0, 0xE171_0001); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 534 | let _ = &bus.set(0x0, 0xE171_0001); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:550:9 [INFO] [stdout] | [INFO] [stdout] 550 | &bus.set(0x0, 0xE182_1003); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 550 | let _ = &bus.set(0x0, 0xE182_1003); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:563:9 [INFO] [stdout] | [INFO] [stdout] 563 | &bus.set(0x0, 0xE1A0_1802); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 563 | let _ = &bus.set(0x0, 0xE1A0_1802); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:575:9 [INFO] [stdout] | [INFO] [stdout] 575 | &bus.set(0x0, 0xE1A0_1822); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 575 | let _ = &bus.set(0x0, 0xE1A0_1822); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:587:9 [INFO] [stdout] | [INFO] [stdout] 587 | &bus.set(0x0, 0xE1A0_1842); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 587 | let _ = &bus.set(0x0, 0xE1A0_1842); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:599:9 [INFO] [stdout] | [INFO] [stdout] 599 | &bus.set(0x0, 0xE1A0_2061); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 599 | let _ = &bus.set(0x0, 0xE1A0_2061); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:612:9 [INFO] [stdout] | [INFO] [stdout] 612 | &bus.set(0x0, 0xE1A0_1862); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 612 | let _ = &bus.set(0x0, 0xE1A0_1862); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:624:9 [INFO] [stdout] | [INFO] [stdout] 624 | &bus.set(0x0, 0xE1C2_1003); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 624 | let _ = &bus.set(0x0, 0xE1C2_1003); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | &bus.set(0x0, 0xE1E0_1002); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 637 | let _ = &bus.set(0x0, 0xE1E0_1002); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:649:9 [INFO] [stdout] | [INFO] [stdout] 649 | &bus.set(0x0, 0xE001_0392); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 649 | let _ = &bus.set(0x0, 0xE001_0392); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:662:9 [INFO] [stdout] | [INFO] [stdout] 662 | &bus.set(0x0, 0xE021_4392); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 662 | let _ = &bus.set(0x0, 0xE021_4392); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:676:9 [INFO] [stdout] | [INFO] [stdout] 676 | &bus.set(0x0, 0xE082_1493); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 676 | let _ = &bus.set(0x0, 0xE082_1493); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:690:9 [INFO] [stdout] | [INFO] [stdout] 690 | &bus.set(0x0, 0xE0A2_1493); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 690 | let _ = &bus.set(0x0, 0xE0A2_1493); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:706:9 [INFO] [stdout] | [INFO] [stdout] 706 | &bus.set(0x0, 0xE0C2_1493); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 706 | let _ = &bus.set(0x0, 0xE0C2_1493); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:720:9 [INFO] [stdout] | [INFO] [stdout] 720 | &bus.set(0x0, 0xE0E2_1493); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 720 | let _ = &bus.set(0x0, 0xE0E2_1493); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:736:9 [INFO] [stdout] | [INFO] [stdout] 736 | &bus.set(0x0, 0xE51F_F004); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 736 | let _ = &bus.set(0x0, 0xE51F_F004); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:737:9 [INFO] [stdout] | [INFO] [stdout] 737 | &bus.set(0x4, 0x8000_0000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 737 | let _ = &bus.set(0x4, 0x8000_0000); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:749:9 [INFO] [stdout] | [INFO] [stdout] 749 | &bus.set(0x0, 0xE5D0_1000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 749 | let _ = &bus.set(0x0, 0xE5D0_1000); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:750:9 [INFO] [stdout] | [INFO] [stdout] 750 | &bus.set(0x100, 0xAAAA_5555); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 750 | let _ = &bus.set(0x100, 0xAAAA_5555); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:764:9 [INFO] [stdout] | [INFO] [stdout] 764 | &bus.set(0x0, 0xE491_0004); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 764 | let _ = &bus.set(0x0, 0xE491_0004); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:765:9 [INFO] [stdout] | [INFO] [stdout] 765 | &bus.set(0x100, 0xAAAA_5555); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 765 | let _ = &bus.set(0x100, 0xAAAA_5555); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:779:9 [INFO] [stdout] | [INFO] [stdout] 779 | &bus.set(0x0, 0xE799_8102); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 779 | let _ = &bus.set(0x0, 0xE799_8102); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:780:9 [INFO] [stdout] | [INFO] [stdout] 780 | &bus.set(0x140, 0xAA55_55AA); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 780 | let _ = &bus.set(0x140, 0xAA55_55AA); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:793:9 [INFO] [stdout] | [INFO] [stdout] 793 | &bus.set(0x0, 0xE583_4000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 793 | let _ = &bus.set(0x0, 0xE583_4000); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:806:9 [INFO] [stdout] | [INFO] [stdout] 806 | &bus.set(0x0, 0xE5C3_4000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 806 | let _ = &bus.set(0x0, 0xE5C3_4000); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:819:9 [INFO] [stdout] | [INFO] [stdout] 819 | &bus.set(0x0, 0xE1C2_10B0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 819 | let _ = &bus.set(0x0, 0xE1C2_10B0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:832:9 [INFO] [stdout] | [INFO] [stdout] 832 | &bus.set(0x0, 0xE1C2_1FBF); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 832 | let _ = &bus.set(0x0, 0xE1C2_1FBF); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:845:9 [INFO] [stdout] | [INFO] [stdout] 845 | &bus.set(0x0, 0xE1D2_10B0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 845 | let _ = &bus.set(0x0, 0xE1D2_10B0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:846:9 [INFO] [stdout] | [INFO] [stdout] 846 | &bus.set(0x200, 0xA5A5_5A5A); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 846 | let _ = &bus.set(0x200, 0xA5A5_5A5A); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:858:9 [INFO] [stdout] | [INFO] [stdout] 858 | &bus.set(0x0, 0xE1D2_10D0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 858 | let _ = &bus.set(0x0, 0xE1D2_10D0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:859:9 [INFO] [stdout] | [INFO] [stdout] 859 | &bus.set(0x200, 0xA5A5_5AFF); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 859 | let _ = &bus.set(0x200, 0xA5A5_5AFF); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:871:9 [INFO] [stdout] | [INFO] [stdout] 871 | &bus.set(0x0, 0xE1D2_10D0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 871 | let _ = &bus.set(0x0, 0xE1D2_10D0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:872:9 [INFO] [stdout] | [INFO] [stdout] 872 | &bus.set(0x200, 0xA5A5_FFFE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 872 | let _ = &bus.set(0x200, 0xA5A5_FFFE); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:884:9 [INFO] [stdout] | [INFO] [stdout] 884 | &bus.set(0x0000_0000, 0xEAFF_FFFE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 884 | let _ = &bus.set(0x0000_0000, 0xEAFF_FFFE); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:895:9 [INFO] [stdout] | [INFO] [stdout] 895 | &bus.set(0x0000_0000, 0xEBFF_FFFE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 895 | let _ = &bus.set(0x0000_0000, 0xEBFF_FFFE); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:908:9 [INFO] [stdout] | [INFO] [stdout] 908 | &bus.set(0x0000_0000, 0xE8B0_0FF0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 908 | let _ = &bus.set(0x0000_0000, 0xE8B0_0FF0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:910:13 [INFO] [stdout] | [INFO] [stdout] 910 | &bus.set(0x100 + (i * 4), 0xA000_0000 + i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 910 | let _ = &bus.set(0x100 + (i * 4), 0xA000_0000 + i); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:934:9 [INFO] [stdout] | [INFO] [stdout] 934 | &bus.set(0x0000_0000, 0xE8A0_0FF0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 934 | let _ = &bus.set(0x0000_0000, 0xE8A0_0FF0); [INFO] [stdout] | +++++++ [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: 223 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.30s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.13.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "beb263e4fbba50270ab5703a7e828cf0c5cb72a5d03b1323945d61fc3a7d9cce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "beb263e4fbba50270ab5703a7e828cf0c5cb72a5d03b1323945d61fc3a7d9cce", kill_on_drop: false }` [INFO] [stdout] beb263e4fbba50270ab5703a7e828cf0c5cb72a5d03b1323945d61fc3a7d9cce [INFO] checking bokuweb/armv4-emu-rs against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbokuweb%2Farmv4-emu-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bokuweb/armv4-emu-rs on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-3-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d3b76fe8147ad77d42b3d2eae8328b40f546a234f450baadb1030c602f20bcd [INFO] running `Command { std: "docker" "start" "-a" "9d3b76fe8147ad77d42b3d2eae8328b40f546a234f450baadb1030c602f20bcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d3b76fe8147ad77d42b3d2eae8328b40f546a234f450baadb1030c602f20bcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d3b76fe8147ad77d42b3d2eae8328b40f546a234f450baadb1030c602f20bcd", kill_on_drop: false }` [INFO] [stdout] 9d3b76fe8147ad77d42b3d2eae8328b40f546a234f450baadb1030c602f20bcd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa422be1ac2ef45fc22c176f5785b983c5162107e50a0c947a6874501a3df01d [INFO] running `Command { std: "docker" "start" "-a" "fa422be1ac2ef45fc22c176f5785b983c5162107e50a0c947a6874501a3df01d", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking lazy_static v1.0.0 [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 byteorder v1.2.2 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Checking regex-syntax v0.5.3 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking atty v0.2.8 [INFO] [stderr] Compiling syn v0.13.4 [INFO] [stderr] Checking aho-corasick v0.6.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: 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: 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: 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: 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: 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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 95 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 92 | dec: &dyn arm::Decoder, [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 115 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 128 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 144 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 160 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 176 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 195 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 214 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 235 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 255 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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/instructions/arm/data.rs:268:11 [INFO] [stdout] | [INFO] [stdout] 268 | dec: &Decoder, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 268 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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: the item `RefCell` is imported redundantly [INFO] [stdout] --> src/core.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 195 | use super::*; [INFO] [stdout] | -------- the item `RefCell` is already imported here [INFO] [stdout] ... [INFO] [stdout] 198 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> src/core.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 195 | use super::*; [INFO] [stdout] | -------- the item `Rc` is already imported here [INFO] [stdout] ... [INFO] [stdout] 199 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 281 | dec: &dyn Decoder, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/core.rs:230:22 [INFO] [stdout] | [INFO] [stdout] 230 | self.mem[(addr as usize)] = data; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 230 - self.mem[(addr as usize)] = data; [INFO] [stdout] 230 + self.mem[addr as usize] = data; [INFO] [stdout] | [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 294 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 305 | dec: &dyn Decoder, [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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: 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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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/instructions/arm/multiple.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 96 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 | dec: &dyn arm::Decoder, [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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/multi_load_and_store.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | dec: &dyn arm::Decoder, [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:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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: 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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 97 | fn execute(&mut self, dec: &dyn arm::Decoder) -> Result<(), ArmError> { [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 410 | pub fn decode(raw: Word) -> Box { [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | pub fn exec_bl(dec: &dyn Decoder, gpr: &mut [Word; 16]) -> Result { [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | pub fn exec_b(dec: &dyn Decoder, gpr: &mut [Word; 16]) -> Result { [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: 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: 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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 252 | static INIT: Once = Once::new(); [INFO] [stdout] | ~~~~~~~~~~~ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 95 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 92 | dec: &dyn arm::Decoder, [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 115 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 128 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 144 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 160 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 176 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 195 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 214 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 235 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 255 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 268 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 281 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 294 | dec: &dyn Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 305 | dec: &dyn Decoder, [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 96 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 | dec: &dyn arm::Decoder, [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | dec: &dyn arm::Decoder, [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:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | dec: &dyn arm::Decoder, [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:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | dec: &arm::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 | dec: &dyn arm::Decoder, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 97 | fn execute(&mut self, dec: &dyn arm::Decoder) -> Result<(), ArmError> { [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 410 | pub fn decode(raw: Word) -> Box { [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | pub fn exec_bl(dec: &dyn Decoder, gpr: &mut [Word; 16]) -> Result { [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | pub fn exec_b(dec: &dyn Decoder, gpr: &mut [Word; 16]) -> Result { [INFO] [stdout] | +++ [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: `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] = note: `#[warn(unused_variables)]` on by default [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: 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] [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: field `ram` is never read [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 36 | struct CpuBus { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 37 | rom: Rc>, [INFO] [stdout] 38 | ram: Rc>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_EQ` is never used [INFO] [stdout] --> src/constants.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const COND_EQ: u32 = 0x00000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_NE` is never used [INFO] [stdout] --> src/constants.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const COND_NE: u32 = 0x10000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_CS_HS` is never used [INFO] [stdout] --> src/constants.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const COND_CS_HS: u32 = 0x20000000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_CC_LO` is never used [INFO] [stdout] --> src/constants.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const COND_CC_LO: u32 = 0x30000000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_MI` is never used [INFO] [stdout] --> src/constants.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const COND_MI: u32 = 0x40000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_PL` is never used [INFO] [stdout] --> src/constants.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const COND_PL: u32 = 0x50000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_VS` is never used [INFO] [stdout] --> src/constants.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const COND_VS: u32 = 0x60000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_VC` is never used [INFO] [stdout] --> src/constants.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const COND_VC: u32 = 0x70000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_HI` is never used [INFO] [stdout] --> src/constants.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const COND_HI: u32 = 0x80000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_LS` is never used [INFO] [stdout] --> src/constants.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const COND_LS: u32 = 0x90000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_GE` is never used [INFO] [stdout] --> src/constants.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const COND_GE: u32 = 0xA0000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_LT` is never used [INFO] [stdout] --> src/constants.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const COND_LT: u32 = 0xB0000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_GT` is never used [INFO] [stdout] --> src/constants.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const COND_GT: u32 = 0xC0000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_LE` is never used [INFO] [stdout] --> src/constants.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const COND_LE: u32 = 0xD0000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_AL` is never used [INFO] [stdout] --> src/constants.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const COND_AL: u32 = 0xE0000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OP_FIELD` is never used [INFO] [stdout] --> src/constants.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const OP_FIELD: u32 = 0x0C000000; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OP_MEM` is never used [INFO] [stdout] --> src/constants.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const OP_MEM: u32 = 0x04000000; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OP_DATA` is never used [INFO] [stdout] --> src/constants.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const OP_DATA: u32 = 0x00000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FUNCT_FIELD` is never used [INFO] [stdout] --> src/constants.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const FUNCT_FIELD: u32 = 0x03F00000; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FUNCT_I` is never used [INFO] [stdout] --> src/constants.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const FUNCT_I: u32 = 0x02000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FUNCT_P` is never used [INFO] [stdout] --> src/constants.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const FUNCT_P: u32 = 0x01000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FUNCT_U` is never used [INFO] [stdout] --> src/constants.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const FUNCT_U: u32 = 0x00800000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FUNCT_B` is never used [INFO] [stdout] --> src/constants.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub const FUNCT_B: u32 = 0x00400000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FUNCT_W` is never used [INFO] [stdout] --> src/constants.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const FUNCT_W: u32 = 0x00200000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FUNCT_L` is never used [INFO] [stdout] --> src/constants.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const FUNCT_L: u32 = 0x00100000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RN` is never used [INFO] [stdout] --> src/constants.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub const RN: u32 = 0x000F0000; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RD` is never used [INFO] [stdout] --> src/constants.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub const RD: u32 = 0x0000F000; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SP` is never used [INFO] [stdout] --> src/constants.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub const SP: usize = 13; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Arm` is never used [INFO] [stdout] --> src/core.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | enum Arm { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Supervisor` and `FIQ` are never constructed [INFO] [stdout] --> src/core.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | enum CpuMode { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 27 | System, [INFO] [stdout] 28 | Supervisor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | FIQ, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Thumb` is never constructed [INFO] [stdout] --> src/core.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | enum CpuState { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 34 | ARM, [INFO] [stdout] 35 | Thumb, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CpuState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `spsr`, `mode`, `irq_disable`, `fiq_disable`, and `optimise_swi` are never read [INFO] [stdout] --> src/core.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct ARMv4 [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | spsr: [PSR; 7], [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | mode: CpuMode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | state: CpuState, [INFO] [stdout] 49 | irq_disable: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 50 | fiq_disable: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 51 | optimise_swi: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset`, `get_cpsr`, and `set_gpr` are never used [INFO] [stdout] --> src/core.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 54 | / impl ARMv4 [INFO] [stdout] 55 | | where [INFO] [stdout] 56 | | T: Bus, [INFO] [stdout] | |___________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn get_cpsr(&self) -> PSR { [INFO] [stdout] | ^^^^^^^^ [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 `NOP` is never constructed [INFO] [stdout] --> src/decoder/arm.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Opcode { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 58 | NOP, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/decoder/arm.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub enum Condition { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 63 | EQ, [INFO] [stdout] | ^^ [INFO] [stdout] 64 | NE, [INFO] [stdout] | ^^ [INFO] [stdout] 65 | CS_HS, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 66 | CC_LO, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 67 | MI, [INFO] [stdout] | ^^ [INFO] [stdout] 68 | PL, [INFO] [stdout] | ^^ [INFO] [stdout] 69 | VS, [INFO] [stdout] | ^^ [INFO] [stdout] 70 | VC, [INFO] [stdout] | ^^ [INFO] [stdout] 71 | HI, [INFO] [stdout] | ^^ [INFO] [stdout] 72 | LS, [INFO] [stdout] | ^^ [INFO] [stdout] 73 | GE, [INFO] [stdout] | ^^ [INFO] [stdout] 74 | LT, [INFO] [stdout] | ^^ [INFO] [stdout] 75 | GT, [INFO] [stdout] | ^^ [INFO] [stdout] 76 | LE, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Condition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PostIndex`, `Unsupported`, `Offset`, and `PreIndex` are never constructed [INFO] [stdout] --> src/decoder/arm.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum IndexMode { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 82 | PostIndex, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 83 | Unsupported, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 84 | Offset, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 85 | PreIndex, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cond` is never read [INFO] [stdout] --> src/decoder/arm.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct BaseDecoder { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 90 | pub cond: Condition, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BaseDecoder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_memory_index_mode` and `is_minus_offset` are never used [INFO] [stdout] --> src/decoder/arm.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub trait Decoder: Raw { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 178 | fn get_memory_index_mode(&self) -> IndexMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | fn is_minus_offset(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnknownError` is never constructed [INFO] [stdout] --> src/error/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ArmError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 6 | UnknownError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArmError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mut_raw` is never used [INFO] [stdout] --> src/memory/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait MutRaw { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 12 | fn mut_raw(&mut self, offset: u32) -> &mut [u8]; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HalfWordReadable` is never used [INFO] [stdout] --> src/memory/readable.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait HalfWordReadable: Raw { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ByteWritable` is never used [INFO] [stdout] --> src/memory/writable.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait ByteWritable: MutRaw { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HalfWordWritable` is never used [INFO] [stdout] --> src/memory/writable.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait HalfWordWritable: MutRaw { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WordWritable` is never used [INFO] [stdout] --> src/memory/writable.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait WordWritable: MutRaw { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ARM` and `THUMB` are never constructed [INFO] [stdout] --> src/registers/psr.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum State { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 7 | /// Currently executing 32-bit ARM instructions. [INFO] [stdout] 8 | ARM = 0, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | THUMB, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/registers/psr.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Mode { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 16 | User = 0, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | FIQ, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | IRQ, [INFO] [stdout] | ^^^ [INFO] [stdout] 19 | Supervisor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | Abort, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | Undefined, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | System, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_bits` is never used [INFO] [stdout] --> src/registers/psr.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Mode { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 26 | pub fn as_bits(self) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/registers/psr.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 43 | impl PSR { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | const NON_RESERVED_MASK: u32 = 0b11110000_00000000_00000000_11111111_u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | const FLAGS_MASK: u32 = 0xF0000000_u32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | const STATE_BIT: u32 = 5; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 60 | [INFO] [stdout] 61 | const MODE_MASK: u32 = 0b0001_1111; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 62 | const MODE_USER: u32 = 0b1_0000; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 63 | const MODE_FIQ: u32 = 0b1_0001; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 64 | const MODE_IRQ: u32 = 0b1_0010; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 65 | const MODE_SUPERVISOR: u32 = 0b1_0011; [INFO] [stdout] 66 | const MODE_ABORT: u32 = 0b1_0111; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 67 | const MODE_UNDEFINED: u32 = 0b1_1011; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 68 | const MODE_SYSTEM: u32 = 0b1_1111; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 69 | [INFO] [stdout] 70 | pub fn clear_reserved_bits(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn state(&self) -> State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn mode(&self) -> Mode { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn set_state(&mut self, s: State) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn set_mode(&mut self, m: Mode) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn disable_irq(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn disable_fiq(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn enable_irq(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn enable_fiq(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn irq_disabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn fiq_disabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn get_N(self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn get_Z(self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn get_V(self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn set(&mut self, d: u32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `HalfWord` is never used [INFO] [stdout] --> src/types.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub type HalfWord = u16; [INFO] [stdout] | ^^^^^^^^ [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: 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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 96 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 98 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 99 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 100 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 101 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 102 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 103 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 104 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 105 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 106 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 107 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 108 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 109 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 110 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 111 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 112 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 113 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 114 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 115 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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: 163 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: `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] = note: `#[warn(unused_variables)]` on by default [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: 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] [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: field `ram` is never read [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 36 | struct CpuBus { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 37 | rom: Rc>, [INFO] [stdout] 38 | ram: Rc>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_EQ` is never used [INFO] [stdout] --> src/constants.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const COND_EQ: u32 = 0x00000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_NE` is never used [INFO] [stdout] --> src/constants.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const COND_NE: u32 = 0x10000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_CS_HS` is never used [INFO] [stdout] --> src/constants.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const COND_CS_HS: u32 = 0x20000000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_CC_LO` is never used [INFO] [stdout] --> src/constants.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const COND_CC_LO: u32 = 0x30000000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_MI` is never used [INFO] [stdout] --> src/constants.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const COND_MI: u32 = 0x40000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_PL` is never used [INFO] [stdout] --> src/constants.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const COND_PL: u32 = 0x50000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_VS` is never used [INFO] [stdout] --> src/constants.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const COND_VS: u32 = 0x60000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_VC` is never used [INFO] [stdout] --> src/constants.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const COND_VC: u32 = 0x70000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_HI` is never used [INFO] [stdout] --> src/constants.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const COND_HI: u32 = 0x80000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_LS` is never used [INFO] [stdout] --> src/constants.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const COND_LS: u32 = 0x90000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_GE` is never used [INFO] [stdout] --> src/constants.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const COND_GE: u32 = 0xA0000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_LT` is never used [INFO] [stdout] --> src/constants.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const COND_LT: u32 = 0xB0000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_GT` is never used [INFO] [stdout] --> src/constants.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const COND_GT: u32 = 0xC0000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_LE` is never used [INFO] [stdout] --> src/constants.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const COND_LE: u32 = 0xD0000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COND_AL` is never used [INFO] [stdout] --> src/constants.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const COND_AL: u32 = 0xE0000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OP_FIELD` is never used [INFO] [stdout] --> src/constants.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const OP_FIELD: u32 = 0x0C000000; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OP_MEM` is never used [INFO] [stdout] --> src/constants.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const OP_MEM: u32 = 0x04000000; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OP_DATA` is never used [INFO] [stdout] --> src/constants.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const OP_DATA: u32 = 0x00000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FUNCT_FIELD` is never used [INFO] [stdout] --> src/constants.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const FUNCT_FIELD: u32 = 0x03F00000; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FUNCT_I` is never used [INFO] [stdout] --> src/constants.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const FUNCT_I: u32 = 0x02000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FUNCT_P` is never used [INFO] [stdout] --> src/constants.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const FUNCT_P: u32 = 0x01000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FUNCT_U` is never used [INFO] [stdout] --> src/constants.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const FUNCT_U: u32 = 0x00800000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FUNCT_B` is never used [INFO] [stdout] --> src/constants.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub const FUNCT_B: u32 = 0x00400000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FUNCT_W` is never used [INFO] [stdout] --> src/constants.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const FUNCT_W: u32 = 0x00200000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FUNCT_L` is never used [INFO] [stdout] --> src/constants.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const FUNCT_L: u32 = 0x00100000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RN` is never used [INFO] [stdout] --> src/constants.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub const RN: u32 = 0x000F0000; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RD` is never used [INFO] [stdout] --> src/constants.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub const RD: u32 = 0x0000F000; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SP` is never used [INFO] [stdout] --> src/constants.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub const SP: usize = 13; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Arm` is never used [INFO] [stdout] --> src/core.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | enum Arm { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Supervisor` and `FIQ` are never constructed [INFO] [stdout] --> src/core.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | enum CpuMode { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 27 | System, [INFO] [stdout] 28 | Supervisor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | FIQ, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Thumb` is never constructed [INFO] [stdout] --> src/core.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | enum CpuState { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 34 | ARM, [INFO] [stdout] 35 | Thumb, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CpuState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `spsr`, `mode`, `irq_disable`, `fiq_disable`, and `optimise_swi` are never read [INFO] [stdout] --> src/core.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct ARMv4 [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | spsr: [PSR; 7], [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | mode: CpuMode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | state: CpuState, [INFO] [stdout] 49 | irq_disable: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 50 | fiq_disable: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 51 | optimise_swi: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/core.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 54 | / impl ARMv4 [INFO] [stdout] 55 | | where [INFO] [stdout] 56 | | T: Bus, [INFO] [stdout] | |___________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NOP` is never constructed [INFO] [stdout] --> src/decoder/arm.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Opcode { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 58 | NOP, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/decoder/arm.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub enum Condition { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 63 | EQ, [INFO] [stdout] | ^^ [INFO] [stdout] 64 | NE, [INFO] [stdout] | ^^ [INFO] [stdout] 65 | CS_HS, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 66 | CC_LO, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 67 | MI, [INFO] [stdout] | ^^ [INFO] [stdout] 68 | PL, [INFO] [stdout] | ^^ [INFO] [stdout] 69 | VS, [INFO] [stdout] | ^^ [INFO] [stdout] 70 | VC, [INFO] [stdout] | ^^ [INFO] [stdout] 71 | HI, [INFO] [stdout] | ^^ [INFO] [stdout] 72 | LS, [INFO] [stdout] | ^^ [INFO] [stdout] 73 | GE, [INFO] [stdout] | ^^ [INFO] [stdout] 74 | LT, [INFO] [stdout] | ^^ [INFO] [stdout] 75 | GT, [INFO] [stdout] | ^^ [INFO] [stdout] 76 | LE, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Condition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PostIndex`, `Unsupported`, `Offset`, and `PreIndex` are never constructed [INFO] [stdout] --> src/decoder/arm.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum IndexMode { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 82 | PostIndex, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 83 | Unsupported, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 84 | Offset, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 85 | PreIndex, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cond` is never read [INFO] [stdout] --> src/decoder/arm.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct BaseDecoder { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 90 | pub cond: Condition, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BaseDecoder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_memory_index_mode` and `is_minus_offset` are never used [INFO] [stdout] --> src/decoder/arm.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub trait Decoder: Raw { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 178 | fn get_memory_index_mode(&self) -> IndexMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | fn is_minus_offset(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnknownError` is never constructed [INFO] [stdout] --> src/error/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ArmError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 6 | UnknownError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArmError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ARM` and `THUMB` are never constructed [INFO] [stdout] --> src/registers/psr.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum State { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 7 | /// Currently executing 32-bit ARM instructions. [INFO] [stdout] 8 | ARM = 0, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | THUMB, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/registers/psr.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Mode { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 16 | User = 0, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | FIQ, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | IRQ, [INFO] [stdout] | ^^^ [INFO] [stdout] 19 | Supervisor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | Abort, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | Undefined, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | System, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_bits` is never used [INFO] [stdout] --> src/registers/psr.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Mode { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 26 | pub fn as_bits(self) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/registers/psr.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 43 | impl PSR { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | const NON_RESERVED_MASK: u32 = 0b11110000_00000000_00000000_11111111_u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | const FLAGS_MASK: u32 = 0xF0000000_u32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | const STATE_BIT: u32 = 5; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 60 | [INFO] [stdout] 61 | const MODE_MASK: u32 = 0b0001_1111; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 62 | const MODE_USER: u32 = 0b1_0000; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 63 | const MODE_FIQ: u32 = 0b1_0001; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 64 | const MODE_IRQ: u32 = 0b1_0010; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 65 | const MODE_SUPERVISOR: u32 = 0b1_0011; [INFO] [stdout] 66 | const MODE_ABORT: u32 = 0b1_0111; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 67 | const MODE_UNDEFINED: u32 = 0b1_1011; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 68 | const MODE_SYSTEM: u32 = 0b1_1111; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 69 | [INFO] [stdout] 70 | pub fn clear_reserved_bits(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn state(&self) -> State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn mode(&self) -> Mode { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn set_state(&mut self, s: State) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn set_mode(&mut self, m: Mode) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn disable_irq(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn disable_fiq(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn enable_irq(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn enable_fiq(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn irq_disabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn fiq_disabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn set(&mut self, d: u32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `HalfWord` is never used [INFO] [stdout] --> src/types.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub type HalfWord = u16; [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 96 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 98 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 99 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 100 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 101 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 102 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 103 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 104 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 105 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 106 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 107 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 108 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 109 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 110 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 111 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 112 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 113 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 114 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 115 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 241 | let _ = self.tick(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 262 | let _ = arm.tick(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | &bus.set(0x0, 0xE3A0_0001); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 271 | let _ = &bus.set(0x0, 0xE3A0_0001); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | &bus.set(0x0, 0xE001_3002); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 283 | let _ = &bus.set(0x0, 0xE001_3002); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | &bus.set(0x0, 0xE021_3002); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 297 | let _ = &bus.set(0x0, 0xE021_3002); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | &bus.set(0x0, 0xE041_3002); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 311 | let _ = &bus.set(0x0, 0xE041_3002); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | &bus.set(0x0, 0xE061_3002); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 325 | let _ = &bus.set(0x0, 0xE061_3002); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 339 | &bus.set(0x0, 0xE081_3002); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 339 | let _ = &bus.set(0x0, 0xE081_3002); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | &bus.set(0x0, 0xE0A1_3002); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 353 | let _ = &bus.set(0x0, 0xE0A1_3002); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:368:9 [INFO] [stdout] | [INFO] [stdout] 368 | &bus.set(0x0, 0xE0E1_3002); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 368 | let _ = &bus.set(0x0, 0xE0E1_3002); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 383 | &bus.set(0x0, 0xE0E1_3002); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 383 | let _ = &bus.set(0x0, 0xE0E1_3002); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | &bus.set(0x0, 0xE061_3002); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 398 | let _ = &bus.set(0x0, 0xE061_3002); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | &bus.set(0x0, 0xE110_0001); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 411 | let _ = &bus.set(0x0, 0xE110_0001); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:426:9 [INFO] [stdout] | [INFO] [stdout] 426 | &bus.set(0x0, 0xE111_0242); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 426 | let _ = &bus.set(0x0, 0xE111_0242); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:441:9 [INFO] [stdout] | [INFO] [stdout] 441 | &bus.set(0x0, 0xE111_0242); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 441 | let _ = &bus.set(0x0, 0xE111_0242); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:456:9 [INFO] [stdout] | [INFO] [stdout] 456 | &bus.set(0x0, 0xE131_0002); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 456 | let _ = &bus.set(0x0, 0xE131_0002); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 471 | &bus.set(0x0, 0xE131_0002); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 471 | let _ = &bus.set(0x0, 0xE131_0002); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:486:9 [INFO] [stdout] | [INFO] [stdout] 486 | &bus.set(0x0, 0xE151_0002); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 486 | let _ = &bus.set(0x0, 0xE151_0002); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:502:9 [INFO] [stdout] | [INFO] [stdout] 502 | &bus.set(0x0, 0xE151_0002); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 502 | let _ = &bus.set(0x0, 0xE151_0002); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | &bus.set(0x0, 0xE151_0002); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 518 | let _ = &bus.set(0x0, 0xE151_0002); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:534:9 [INFO] [stdout] | [INFO] [stdout] 534 | &bus.set(0x0, 0xE171_0001); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 534 | let _ = &bus.set(0x0, 0xE171_0001); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:550:9 [INFO] [stdout] | [INFO] [stdout] 550 | &bus.set(0x0, 0xE182_1003); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 550 | let _ = &bus.set(0x0, 0xE182_1003); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:563:9 [INFO] [stdout] | [INFO] [stdout] 563 | &bus.set(0x0, 0xE1A0_1802); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 563 | let _ = &bus.set(0x0, 0xE1A0_1802); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:575:9 [INFO] [stdout] | [INFO] [stdout] 575 | &bus.set(0x0, 0xE1A0_1822); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 575 | let _ = &bus.set(0x0, 0xE1A0_1822); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:587:9 [INFO] [stdout] | [INFO] [stdout] 587 | &bus.set(0x0, 0xE1A0_1842); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 587 | let _ = &bus.set(0x0, 0xE1A0_1842); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:599:9 [INFO] [stdout] | [INFO] [stdout] 599 | &bus.set(0x0, 0xE1A0_2061); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 599 | let _ = &bus.set(0x0, 0xE1A0_2061); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:612:9 [INFO] [stdout] | [INFO] [stdout] 612 | &bus.set(0x0, 0xE1A0_1862); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 612 | let _ = &bus.set(0x0, 0xE1A0_1862); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:624:9 [INFO] [stdout] | [INFO] [stdout] 624 | &bus.set(0x0, 0xE1C2_1003); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 624 | let _ = &bus.set(0x0, 0xE1C2_1003); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | &bus.set(0x0, 0xE1E0_1002); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 637 | let _ = &bus.set(0x0, 0xE1E0_1002); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:649:9 [INFO] [stdout] | [INFO] [stdout] 649 | &bus.set(0x0, 0xE001_0392); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 649 | let _ = &bus.set(0x0, 0xE001_0392); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:662:9 [INFO] [stdout] | [INFO] [stdout] 662 | &bus.set(0x0, 0xE021_4392); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 662 | let _ = &bus.set(0x0, 0xE021_4392); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:676:9 [INFO] [stdout] | [INFO] [stdout] 676 | &bus.set(0x0, 0xE082_1493); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 676 | let _ = &bus.set(0x0, 0xE082_1493); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:690:9 [INFO] [stdout] | [INFO] [stdout] 690 | &bus.set(0x0, 0xE0A2_1493); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 690 | let _ = &bus.set(0x0, 0xE0A2_1493); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:706:9 [INFO] [stdout] | [INFO] [stdout] 706 | &bus.set(0x0, 0xE0C2_1493); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 706 | let _ = &bus.set(0x0, 0xE0C2_1493); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:720:9 [INFO] [stdout] | [INFO] [stdout] 720 | &bus.set(0x0, 0xE0E2_1493); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 720 | let _ = &bus.set(0x0, 0xE0E2_1493); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:736:9 [INFO] [stdout] | [INFO] [stdout] 736 | &bus.set(0x0, 0xE51F_F004); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 736 | let _ = &bus.set(0x0, 0xE51F_F004); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:737:9 [INFO] [stdout] | [INFO] [stdout] 737 | &bus.set(0x4, 0x8000_0000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 737 | let _ = &bus.set(0x4, 0x8000_0000); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:749:9 [INFO] [stdout] | [INFO] [stdout] 749 | &bus.set(0x0, 0xE5D0_1000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 749 | let _ = &bus.set(0x0, 0xE5D0_1000); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:750:9 [INFO] [stdout] | [INFO] [stdout] 750 | &bus.set(0x100, 0xAAAA_5555); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 750 | let _ = &bus.set(0x100, 0xAAAA_5555); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:764:9 [INFO] [stdout] | [INFO] [stdout] 764 | &bus.set(0x0, 0xE491_0004); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 764 | let _ = &bus.set(0x0, 0xE491_0004); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:765:9 [INFO] [stdout] | [INFO] [stdout] 765 | &bus.set(0x100, 0xAAAA_5555); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 765 | let _ = &bus.set(0x100, 0xAAAA_5555); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:779:9 [INFO] [stdout] | [INFO] [stdout] 779 | &bus.set(0x0, 0xE799_8102); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 779 | let _ = &bus.set(0x0, 0xE799_8102); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:780:9 [INFO] [stdout] | [INFO] [stdout] 780 | &bus.set(0x140, 0xAA55_55AA); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 780 | let _ = &bus.set(0x140, 0xAA55_55AA); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:793:9 [INFO] [stdout] | [INFO] [stdout] 793 | &bus.set(0x0, 0xE583_4000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 793 | let _ = &bus.set(0x0, 0xE583_4000); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:806:9 [INFO] [stdout] | [INFO] [stdout] 806 | &bus.set(0x0, 0xE5C3_4000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 806 | let _ = &bus.set(0x0, 0xE5C3_4000); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:819:9 [INFO] [stdout] | [INFO] [stdout] 819 | &bus.set(0x0, 0xE1C2_10B0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 819 | let _ = &bus.set(0x0, 0xE1C2_10B0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:832:9 [INFO] [stdout] | [INFO] [stdout] 832 | &bus.set(0x0, 0xE1C2_1FBF); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 832 | let _ = &bus.set(0x0, 0xE1C2_1FBF); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:845:9 [INFO] [stdout] | [INFO] [stdout] 845 | &bus.set(0x0, 0xE1D2_10B0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 845 | let _ = &bus.set(0x0, 0xE1D2_10B0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:846:9 [INFO] [stdout] | [INFO] [stdout] 846 | &bus.set(0x200, 0xA5A5_5A5A); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 846 | let _ = &bus.set(0x200, 0xA5A5_5A5A); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:858:9 [INFO] [stdout] | [INFO] [stdout] 858 | &bus.set(0x0, 0xE1D2_10D0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 858 | let _ = &bus.set(0x0, 0xE1D2_10D0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:859:9 [INFO] [stdout] | [INFO] [stdout] 859 | &bus.set(0x200, 0xA5A5_5AFF); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 859 | let _ = &bus.set(0x200, 0xA5A5_5AFF); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:871:9 [INFO] [stdout] | [INFO] [stdout] 871 | &bus.set(0x0, 0xE1D2_10D0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 871 | let _ = &bus.set(0x0, 0xE1D2_10D0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:872:9 [INFO] [stdout] | [INFO] [stdout] 872 | &bus.set(0x200, 0xA5A5_FFFE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 872 | let _ = &bus.set(0x200, 0xA5A5_FFFE); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:884:9 [INFO] [stdout] | [INFO] [stdout] 884 | &bus.set(0x0000_0000, 0xEAFF_FFFE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 884 | let _ = &bus.set(0x0000_0000, 0xEAFF_FFFE); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:895:9 [INFO] [stdout] | [INFO] [stdout] 895 | &bus.set(0x0000_0000, 0xEBFF_FFFE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 895 | let _ = &bus.set(0x0000_0000, 0xEBFF_FFFE); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:908:9 [INFO] [stdout] | [INFO] [stdout] 908 | &bus.set(0x0000_0000, 0xE8B0_0FF0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 908 | let _ = &bus.set(0x0000_0000, 0xE8B0_0FF0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:910:13 [INFO] [stdout] | [INFO] [stdout] 910 | &bus.set(0x100 + (i * 4), 0xA000_0000 + i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 910 | let _ = &bus.set(0x100 + (i * 4), 0xA000_0000 + i); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/core.rs:934:9 [INFO] [stdout] | [INFO] [stdout] 934 | &bus.set(0x0000_0000, 0xE8A0_0FF0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 934 | let _ = &bus.set(0x0000_0000, 0xE8A0_0FF0); [INFO] [stdout] | +++++++ [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: 223 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.36s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.13.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "fa422be1ac2ef45fc22c176f5785b983c5162107e50a0c947a6874501a3df01d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa422be1ac2ef45fc22c176f5785b983c5162107e50a0c947a6874501a3df01d", kill_on_drop: false }` [INFO] [stdout] fa422be1ac2ef45fc22c176f5785b983c5162107e50a0c947a6874501a3df01d