[INFO] fetching crate euphrates 0.1.0... [INFO] checking euphrates-0.1.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate euphrates 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate euphrates 0.1.0 [INFO] finished tweaking crates.io crate euphrates 0.1.0 [INFO] tweaked toml for crates.io crate euphrates 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate euphrates 0.1.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 71 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding rand v0.5.6 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5541e22e09fdc9fbbfa08e79f0dbcb022e76fad69102f4c610c8bb147e2f85e2 [INFO] running `Command { std: "docker" "start" "-a" "5541e22e09fdc9fbbfa08e79f0dbcb022e76fad69102f4c610c8bb147e2f85e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5541e22e09fdc9fbbfa08e79f0dbcb022e76fad69102f4c610c8bb147e2f85e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5541e22e09fdc9fbbfa08e79f0dbcb022e76fad69102f4c610c8bb147e2f85e2", kill_on_drop: false }` [INFO] [stdout] 5541e22e09fdc9fbbfa08e79f0dbcb022e76fad69102f4c610c8bb147e2f85e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18b8d852ea0b32c91d6d1f92811415a4b665d5c12ee2ef5150152e78aa9bb147 [INFO] running `Command { std: "docker" "start" "-a" "18b8d852ea0b32c91d6d1f92811415a4b665d5c12ee2ef5150152e78aa9bb147", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking euphrates v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/hardware/sms_vdp/graphics.rs:684:48 [INFO] [stdout] | [INFO] [stdout] 684 | let tile_col = if horiz_flip { (7 - j) } else { j }; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 684 - let tile_col = if horiz_flip { (7 - j) } else { j }; [INFO] [stdout] 684 + let tile_col = if horiz_flip { 7 - j } else { j }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/hardware/sms_vdp/vdp_interface.rs:153:26 [INFO] [stdout] | [INFO] [stdout] 153 | (Ntsc, Low, 0...0xDA) => v, [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/hardware/sms_vdp/vdp_interface.rs:155:29 [INFO] [stdout] | [INFO] [stdout] 155 | (Ntsc, Medium, 0...0xEA) => v, [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/hardware/sms_vdp/vdp_interface.rs:157:27 [INFO] [stdout] | [INFO] [stdout] 157 | (Ntsc, High, 0...0xFF) => v, [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/hardware/sms_vdp/vdp_interface.rs:159:25 [INFO] [stdout] | [INFO] [stdout] 159 | (Pal, Low, 0...0xF2) => v, [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/hardware/sms_vdp/vdp_interface.rs:161:28 [INFO] [stdout] | [INFO] [stdout] 161 | (Pal, Medium, 0...0xFF) => v, [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/hardware/sms_vdp/vdp_interface.rs:162:32 [INFO] [stdout] | [INFO] [stdout] 162 | (Pal, Medium, 0x100...0x102) => v - 0x100, [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/hardware/sms_vdp/vdp_interface.rs:164:26 [INFO] [stdout] | [INFO] [stdout] 164 | (Pal, High, 0...0xFF) => v, [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/hardware/sms_vdp/vdp_interface.rs:165:30 [INFO] [stdout] | [INFO] [stdout] 165 | (Pal, High, 0x100...0x10A) => v - 0x100, [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/hardware/z80/no.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | (false, 0...9, false, 0...9) => 0, [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/hardware/z80/no.rs:85:36 [INFO] [stdout] | [INFO] [stdout] 85 | (false, 0...9, false, 0...9) => 0, [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/hardware/z80/no.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | (false, 0...9, true, 0...9) => 0x6, [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/hardware/z80/no.rs:86:35 [INFO] [stdout] | [INFO] [stdout] 86 | (false, 0...9, true, 0...9) => 0x6, [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/hardware/z80/no.rs:87:22 [INFO] [stdout] | [INFO] [stdout] 87 | (false, 0...8, _, 0xA...0xF) => 0x6, [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/hardware/z80/no.rs:87:34 [INFO] [stdout] | [INFO] [stdout] 87 | (false, 0...8, _, 0xA...0xF) => 0x6, [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/hardware/z80/no.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | (false, 0xA...0xF, false, 0...9) => 0x60, [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/hardware/z80/no.rs:88:40 [INFO] [stdout] | [INFO] [stdout] 88 | (false, 0xA...0xF, false, 0...9) => 0x60, [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/hardware/z80/no.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | (true, _, false, 0...9) => 0x60, [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/hardware/z80/no.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | (false, 0...9, 0...9) => 0, [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/hardware/z80/no.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | (false, 0...9, 0...9) => 0, [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/hardware/z80/no.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | (false, 0...8, 0xA...0xF) => 0, [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/hardware/z80/no.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | (false, 0...8, 0xA...0xF) => 0, [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/hardware/z80/no.rs:100:27 [INFO] [stdout] | [INFO] [stdout] 100 | (false, _, 0xA...0xF) => 1, [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/hardware/z80/no.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | (true, true, 0...5) => 1, [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: unnecessary parentheses around block return value [INFO] [stdout] --> src/hardware/sms_vdp/graphics.rs:684:48 [INFO] [stdout] | [INFO] [stdout] 684 | let tile_col = if horiz_flip { (7 - j) } else { j }; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 684 - let tile_col = if horiz_flip { (7 - j) } else { j }; [INFO] [stdout] 684 + let tile_col = if horiz_flip { 7 - j } else { j }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/hardware/sms_vdp/vdp_interface.rs:153:26 [INFO] [stdout] | [INFO] [stdout] 153 | (Ntsc, Low, 0...0xDA) => v, [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/hardware/sms_vdp/vdp_interface.rs:155:29 [INFO] [stdout] | [INFO] [stdout] 155 | (Ntsc, Medium, 0...0xEA) => v, [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/hardware/sms_vdp/vdp_interface.rs:157:27 [INFO] [stdout] | [INFO] [stdout] 157 | (Ntsc, High, 0...0xFF) => v, [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/hardware/sms_vdp/vdp_interface.rs:159:25 [INFO] [stdout] | [INFO] [stdout] 159 | (Pal, Low, 0...0xF2) => v, [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/hardware/sms_vdp/vdp_interface.rs:161:28 [INFO] [stdout] | [INFO] [stdout] 161 | (Pal, Medium, 0...0xFF) => v, [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/hardware/sms_vdp/vdp_interface.rs:162:32 [INFO] [stdout] | [INFO] [stdout] 162 | (Pal, Medium, 0x100...0x102) => v - 0x100, [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/hardware/sms_vdp/vdp_interface.rs:164:26 [INFO] [stdout] | [INFO] [stdout] 164 | (Pal, High, 0...0xFF) => v, [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/hardware/sms_vdp/vdp_interface.rs:165:30 [INFO] [stdout] | [INFO] [stdout] 165 | (Pal, High, 0x100...0x10A) => v - 0x100, [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/hardware/z80/no.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | (false, 0...9, false, 0...9) => 0, [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/hardware/z80/no.rs:85:36 [INFO] [stdout] | [INFO] [stdout] 85 | (false, 0...9, false, 0...9) => 0, [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/hardware/z80/no.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | (false, 0...9, true, 0...9) => 0x6, [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/hardware/z80/no.rs:86:35 [INFO] [stdout] | [INFO] [stdout] 86 | (false, 0...9, true, 0...9) => 0x6, [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/hardware/z80/no.rs:87:22 [INFO] [stdout] | [INFO] [stdout] 87 | (false, 0...8, _, 0xA...0xF) => 0x6, [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/hardware/z80/no.rs:87:34 [INFO] [stdout] | [INFO] [stdout] 87 | (false, 0...8, _, 0xA...0xF) => 0x6, [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/hardware/z80/no.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | (false, 0xA...0xF, false, 0...9) => 0x60, [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/hardware/z80/no.rs:88:40 [INFO] [stdout] | [INFO] [stdout] 88 | (false, 0xA...0xF, false, 0...9) => 0x60, [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/hardware/z80/no.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | (true, _, false, 0...9) => 0x60, [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/hardware/z80/no.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | (false, 0...9, 0...9) => 0, [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/hardware/z80/no.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | (false, 0...9, 0...9) => 0, [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/hardware/z80/no.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | (false, 0...8, 0xA...0xF) => 0, [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/hardware/z80/no.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | (false, 0...8, 0xA...0xF) => 0, [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/hardware/z80/no.rs:100:27 [INFO] [stdout] | [INFO] [stdout] 100 | (false, _, 0xA...0xF) => 1, [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/hardware/z80/no.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | (true, true, 0...5) => 1, [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 function `bincode::config`: please use `options()` instead [INFO] [stdout] --> src/save.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | bincode::config() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `bincode::config`: please use `options()` instead [INFO] [stdout] --> src/save.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | bincode::config() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `bincode::config`: please use `options()` instead [INFO] [stdout] --> src/save.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | bincode::config() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `bincode::config`: please use `options()` instead [INFO] [stdout] --> src/save.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | bincode::config() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `bincode::config`: please use `options()` instead [INFO] [stdout] --> src/save.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | bincode::config() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `bincode::config`: please use `options()` instead [INFO] [stdout] --> src/save.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | bincode::config() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `bincode::config`: please use `options()` instead [INFO] [stdout] --> src/save.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | bincode::config() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `bincode::config`: please use `options()` instead [INFO] [stdout] --> src/save.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | bincode::config() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hardware/sms_vdp/debug.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | let mut pattern = v.vram(pattern_table + name + tile_line); [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/hardware/z80/instruction.rs:1002:9 [INFO] [stdout] | [INFO] [stdout] 1002 | _ => unimplemented!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/hardware/z80/instruction.rs:1002:9 [INFO] [stdout] | [INFO] [stdout] 746 | 0x00 => regular!{z, 4, no, Nop, nop, () }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 747 | 0x01 => nn_inst!{z, nn, 10, mem, Ld16, ld16, ([BC] [nn]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 748 | 0x02 => regular!{z, 7, mem, Ld, ld, ([Address(BC)] [A]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 749 | 0x03 => regular!{z, 6, no, Inc16, inc16, ([BC]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1002 | _ => unimplemented!(), [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/hardware/z80/instruction.rs:1286:9 [INFO] [stdout] | [INFO] [stdout] 1286 | _ => unimplemented!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/hardware/z80/instruction.rs:1286:9 [INFO] [stdout] | [INFO] [stdout] 1018 | 0x00 => regular!{z, 8, no, Nop, nop, () }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 1019 | 0x01 => regular!{z, 8, no, Nop, nop, () }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 1020 | 0x02 => regular!{z, 8, no, Nop, nop, () }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 1021 | 0x03 => regular!{z, 8, no, Nop, nop, () }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1286 | _ => unimplemented!(), [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hardware/sms_vdp/debug.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | let mut pattern = v.vram(pattern_table + name + tile_line); [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/hardware/z80/instruction.rs:1002:9 [INFO] [stdout] | [INFO] [stdout] 1002 | _ => unimplemented!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/hardware/z80/instruction.rs:1002:9 [INFO] [stdout] | [INFO] [stdout] 746 | 0x00 => regular!{z, 4, no, Nop, nop, () }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 747 | 0x01 => nn_inst!{z, nn, 10, mem, Ld16, ld16, ([BC] [nn]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 748 | 0x02 => regular!{z, 7, mem, Ld, ld, ([Address(BC)] [A]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 749 | 0x03 => regular!{z, 6, no, Inc16, inc16, ([BC]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1002 | _ => unimplemented!(), [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/hardware/z80/instruction.rs:1558:9 [INFO] [stdout] | [INFO] [stdout] 1558 | _ => unimplemented!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/hardware/z80/instruction.rs:1558:9 [INFO] [stdout] | [INFO] [stdout] 1302 | 0x00 => regular!{z, 8, mem, Rlc, rlc, ([B]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 1303 | 0x01 => regular!{z, 8, mem, Rlc, rlc, ([C]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 1304 | 0x02 => regular!{z, 8, mem, Rlc, rlc, ([D]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 1305 | 0x03 => regular!{z, 8, mem, Rlc, rlc, ([E]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1558 | _ => unimplemented!(), [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/hardware/z80/instruction.rs:1286:9 [INFO] [stdout] | [INFO] [stdout] 1286 | _ => unimplemented!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/hardware/z80/instruction.rs:1286:9 [INFO] [stdout] | [INFO] [stdout] 1018 | 0x00 => regular!{z, 8, no, Nop, nop, () }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 1019 | 0x01 => regular!{z, 8, no, Nop, nop, () }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 1020 | 0x02 => regular!{z, 8, no, Nop, nop, () }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 1021 | 0x03 => regular!{z, 8, no, Nop, nop, () }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1286 | _ => unimplemented!(), [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/hardware/z80/instruction.rs:1831:9 [INFO] [stdout] | [INFO] [stdout] 1831 | _ => unimplemented!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/hardware/z80/instruction.rs:1831:9 [INFO] [stdout] | [INFO] [stdout] 1575 | 0x00 => regular!{z, 4, no, Nop, nop, () }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 1576 | 0x01 => nn_inst!{z, nn, 10, mem, Ld16, ld16, ([BC] [nn]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 1577 | 0x02 => regular!{z, 7, mem, Ld, ld, ([Address(BC)] [A]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 1578 | 0x03 => regular!{z, 6, no, Inc16, inc16, ([BC]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1831 | _ => unimplemented!(), [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/hardware/z80/instruction.rs:1558:9 [INFO] [stdout] | [INFO] [stdout] 1558 | _ => unimplemented!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/hardware/z80/instruction.rs:1558:9 [INFO] [stdout] | [INFO] [stdout] 1302 | 0x00 => regular!{z, 8, mem, Rlc, rlc, ([B]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 1303 | 0x01 => regular!{z, 8, mem, Rlc, rlc, ([C]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 1304 | 0x02 => regular!{z, 8, mem, Rlc, rlc, ([D]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 1305 | 0x03 => regular!{z, 8, mem, Rlc, rlc, ([E]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1558 | _ => unimplemented!(), [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/hardware/z80/instruction.rs:1831:9 [INFO] [stdout] | [INFO] [stdout] 1831 | _ => unimplemented!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/hardware/z80/instruction.rs:1831:9 [INFO] [stdout] | [INFO] [stdout] 1575 | 0x00 => regular!{z, 4, no, Nop, nop, () }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 1576 | 0x01 => nn_inst!{z, nn, 10, mem, Ld16, ld16, ([BC] [nn]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 1577 | 0x02 => regular!{z, 7, mem, Ld, ld, ([Address(BC)] [A]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 1578 | 0x03 => regular!{z, 6, no, Inc16, inc16, ([BC]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1831 | _ => unimplemented!(), [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/hardware/z80/instruction.rs:2104:9 [INFO] [stdout] | [INFO] [stdout] 2104 | _ => unimplemented!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/hardware/z80/instruction.rs:2104:9 [INFO] [stdout] | [INFO] [stdout] 1848 | 0x00 => regular!{z, 4, no, Nop, nop, () }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 1849 | 0x01 => nn_inst!{z, nn, 10, mem, Ld16, ld16, ([BC] [nn]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 1850 | 0x02 => regular!{z, 7, mem, Ld, ld, ([Address(BC)] [A]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 1851 | 0x03 => regular!{z, 6, no, Inc16, inc16, ([BC]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 2104 | _ => unimplemented!(), [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/hardware/z80/instruction.rs:2104:9 [INFO] [stdout] | [INFO] [stdout] 2104 | _ => unimplemented!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/hardware/z80/instruction.rs:2104:9 [INFO] [stdout] | [INFO] [stdout] 1848 | 0x00 => regular!{z, 4, no, Nop, nop, () }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 1849 | 0x01 => nn_inst!{z, nn, 10, mem, Ld16, ld16, ([BC] [nn]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 1850 | 0x02 => regular!{z, 7, mem, Ld, ld, ([Address(BC)] [A]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 1851 | 0x03 => regular!{z, 6, no, Inc16, inc16, ([BC]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 2104 | _ => unimplemented!(), [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/hardware/z80/instruction.rs:2378:9 [INFO] [stdout] | [INFO] [stdout] 2378 | _ => unimplemented!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/hardware/z80/instruction.rs:2378:9 [INFO] [stdout] | [INFO] [stdout] 2122 | 0x00 => regular!{z, 19, mem, RlcStore, rlc_store, ([Shift(IX, d)] [B]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 2123 | 0x01 => regular!{z, 19, mem, RlcStore, rlc_store, ([Shift(IX, d)] [C]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 2124 | 0x02 => regular!{z, 19, mem, RlcStore, rlc_store, ([Shift(IX, d)] [D]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 2125 | 0x03 => regular!{z, 19, mem, RlcStore, rlc_store, ([Shift(IX, d)] [E]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 2378 | _ => unimplemented!(), [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/hardware/z80/instruction.rs:2378:9 [INFO] [stdout] | [INFO] [stdout] 2378 | _ => unimplemented!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/hardware/z80/instruction.rs:2378:9 [INFO] [stdout] | [INFO] [stdout] 2122 | 0x00 => regular!{z, 19, mem, RlcStore, rlc_store, ([Shift(IX, d)] [B]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 2123 | 0x01 => regular!{z, 19, mem, RlcStore, rlc_store, ([Shift(IX, d)] [C]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 2124 | 0x02 => regular!{z, 19, mem, RlcStore, rlc_store, ([Shift(IX, d)] [D]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 2125 | 0x03 => regular!{z, 19, mem, RlcStore, rlc_store, ([Shift(IX, d)] [E]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 2378 | _ => unimplemented!(), [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/hardware/z80/instruction.rs:2652:9 [INFO] [stdout] | [INFO] [stdout] 2652 | _ => unimplemented!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/hardware/z80/instruction.rs:2652:9 [INFO] [stdout] | [INFO] [stdout] 2396 | 0x00 => regular!{z, 19, mem, RlcStore, rlc_store, ([Shift(IY, d)] [B]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 2397 | 0x01 => regular!{z, 19, mem, RlcStore, rlc_store, ([Shift(IY, d)] [C]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 2398 | 0x02 => regular!{z, 19, mem, RlcStore, rlc_store, ([Shift(IY, d)] [D]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 2399 | 0x03 => regular!{z, 19, mem, RlcStore, rlc_store, ([Shift(IY, d)] [E]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 2652 | _ => unimplemented!(), [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/hardware/z80/instruction.rs:2652:9 [INFO] [stdout] | [INFO] [stdout] 2652 | _ => unimplemented!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/hardware/z80/instruction.rs:2652:9 [INFO] [stdout] | [INFO] [stdout] 2396 | 0x00 => regular!{z, 19, mem, RlcStore, rlc_store, ([Shift(IY, d)] [B]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 2397 | 0x01 => regular!{z, 19, mem, RlcStore, rlc_store, ([Shift(IY, d)] [C]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 2398 | 0x02 => regular!{z, 19, mem, RlcStore, rlc_store, ([Shift(IY, d)] [D]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 2399 | 0x03 => regular!{z, 19, mem, RlcStore, rlc_store, ([Shift(IY, d)] [E]) }, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 2652 | _ => unimplemented!(), [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArrayWrap` is never constructed [INFO] [stdout] --> src/utilities.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct ArrayWrap(pub T); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArrayVisitor` is never constructed [INFO] [stdout] --> src/utilities.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | struct ArrayVisitor(PhantomData); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/hardware/sms_memory.rs:644:21 [INFO] [stdout] | [INFO] [stdout] 644 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_SmsMemoryLoadError` [INFO] [stdout] 645 | pub enum SmsMemoryLoadError { [INFO] [stdout] | ------------------ `SmsMemoryLoadError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/hardware/sms_memory.rs:644:21 [INFO] [stdout] | [INFO] [stdout] 644 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_SmsMemoryLoadError` [INFO] [stdout] 645 | pub enum SmsMemoryLoadError { [INFO] [stdout] | ------------------ `SmsMemoryLoadError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/hardware/sms_roms.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_SmsRomError` [INFO] [stdout] 17 | pub enum SmsRomError { [INFO] [stdout] | ----------- `SmsRomError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/hardware/sms_roms.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_SmsRomError` [INFO] [stdout] 17 | pub enum SmsRomError { [INFO] [stdout] | ----------- `SmsRomError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/hardware/sms_vdp/graphics.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_SmsVdpGraphicsError` [INFO] [stdout] 15 | pub enum SmsVdpGraphicsError { [INFO] [stdout] | ------------------- `SmsVdpGraphicsError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/hardware/sms_vdp/graphics.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_SmsVdpGraphicsError` [INFO] [stdout] 15 | pub enum SmsVdpGraphicsError { [INFO] [stdout] | ------------------- `SmsVdpGraphicsError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/systems/sms/emulator.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_SmsEmulationError` [INFO] [stdout] 256 | pub enum SmsEmulationError { [INFO] [stdout] | ----------------- `SmsEmulationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/systems/sms/emulator.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_SmsEmulationError` [INFO] [stdout] 256 | pub enum SmsEmulationError { [INFO] [stdout] | ----------------- `SmsEmulationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/systems/sms/emulator.rs:281:21 [INFO] [stdout] | [INFO] [stdout] 281 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_SmsCreationError` [INFO] [stdout] 282 | pub enum SmsCreationError { [INFO] [stdout] | ---------------- `SmsCreationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/systems/sms/emulator.rs:281:21 [INFO] [stdout] | [INFO] [stdout] 281 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_SmsCreationError` [INFO] [stdout] 282 | pub enum SmsCreationError { [INFO] [stdout] | ---------------- `SmsCreationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArrayWrap` is never constructed [INFO] [stdout] --> src/utilities.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct ArrayWrap(pub T); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArrayVisitor` is never constructed [INFO] [stdout] --> src/utilities.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | struct ArrayVisitor(PhantomData); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/hardware/sms_memory.rs:644:21 [INFO] [stdout] | [INFO] [stdout] 644 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_SmsMemoryLoadError` [INFO] [stdout] 645 | pub enum SmsMemoryLoadError { [INFO] [stdout] | ------------------ `SmsMemoryLoadError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/hardware/sms_memory.rs:644:21 [INFO] [stdout] | [INFO] [stdout] 644 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_SmsMemoryLoadError` [INFO] [stdout] 645 | pub enum SmsMemoryLoadError { [INFO] [stdout] | ------------------ `SmsMemoryLoadError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/hardware/sms_roms.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_SmsRomError` [INFO] [stdout] 17 | pub enum SmsRomError { [INFO] [stdout] | ----------- `SmsRomError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/hardware/sms_roms.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_SmsRomError` [INFO] [stdout] 17 | pub enum SmsRomError { [INFO] [stdout] | ----------- `SmsRomError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/hardware/sms_vdp/graphics.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_SmsVdpGraphicsError` [INFO] [stdout] 15 | pub enum SmsVdpGraphicsError { [INFO] [stdout] | ------------------- `SmsVdpGraphicsError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/hardware/sms_vdp/graphics.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_SmsVdpGraphicsError` [INFO] [stdout] 15 | pub enum SmsVdpGraphicsError { [INFO] [stdout] | ------------------- `SmsVdpGraphicsError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/systems/sms/emulator.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_SmsEmulationError` [INFO] [stdout] 256 | pub enum SmsEmulationError { [INFO] [stdout] | ----------------- `SmsEmulationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/systems/sms/emulator.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_SmsEmulationError` [INFO] [stdout] 256 | pub enum SmsEmulationError { [INFO] [stdout] | ----------------- `SmsEmulationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/systems/sms/emulator.rs:281:21 [INFO] [stdout] | [INFO] [stdout] 281 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_SmsCreationError` [INFO] [stdout] 282 | pub enum SmsCreationError { [INFO] [stdout] | ---------------- `SmsCreationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/systems/sms/emulator.rs:281:21 [INFO] [stdout] | [INFO] [stdout] 281 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_SmsCreationError` [INFO] [stdout] 282 | pub enum SmsCreationError { [INFO] [stdout] | ---------------- `SmsCreationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: trait `Changeable` is private [INFO] [stdout] --> examples/test_z80_against.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | Changeable, Z80Internal, Z80Irq, Z80MemT, Z80Run, Z80RunImpler, Z80State, [INFO] [stdout] | ^^^^^^^^^^ private trait [INFO] [stdout] | [INFO] [stdout] note: the trait `Changeable` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/hardware/z80/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use self::mem::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: import `Changeable` directly [INFO] [stdout] | [INFO] [stdout] 63 | euphrates::hardware::z80::mem::Changeable, Z80Internal, Z80Irq, Z80MemT, Z80Run, Z80RunImpler, Z80State, [INFO] [stdout] | +++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: trait `Z80MemT` is private [INFO] [stdout] --> examples/test_z80_against.rs:63:38 [INFO] [stdout] | [INFO] [stdout] 63 | Changeable, Z80Internal, Z80Irq, Z80MemT, Z80Run, Z80RunImpler, Z80State, [INFO] [stdout] | ^^^^^^^ private trait [INFO] [stdout] | [INFO] [stdout] note: the trait `Z80MemT` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/hardware/z80/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use self::mem::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: import `Z80MemT` directly [INFO] [stdout] | [INFO] [stdout] 63 | Changeable, Z80Internal, Z80Irq, euphrates::hardware::z80::mem::Z80MemT, Z80Run, Z80RunImpler, Z80State, [INFO] [stdout] | +++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0603`. [INFO] [stdout] [INFO] [stderr] error: could not compile `euphrates` (example "test_z80_against") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "18b8d852ea0b32c91d6d1f92811415a4b665d5c12ee2ef5150152e78aa9bb147", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18b8d852ea0b32c91d6d1f92811415a4b665d5c12ee2ef5150152e78aa9bb147", kill_on_drop: false }` [INFO] [stdout] 18b8d852ea0b32c91d6d1f92811415a4b665d5c12ee2ef5150152e78aa9bb147