[INFO] cloning repository https://github.com/Daedrus/rustz80emu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Daedrus/rustz80emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaedrus%2Frustz80emu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaedrus%2Frustz80emu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 46b41ee06bfa50ebcf170df1563c35ec374089cf [INFO] testing Daedrus/rustz80emu against 1.75.0 for beta-1.76-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaedrus%2Frustz80emu" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Daedrus/rustz80emu on toolchain 1.75.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Daedrus/rustz80emu [INFO] finished tweaking git repo https://github.com/Daedrus/rustz80emu [INFO] tweaked toml for git repo https://github.com/Daedrus/rustz80emu written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Daedrus/rustz80emu 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" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memchr v2.0.2 [INFO] [stderr] Downloaded cfg-if v0.1.5 [INFO] [stderr] Downloaded ucd-util v0.1.1 [INFO] [stderr] Downloaded enum_primitive v0.1.1 [INFO] [stderr] Downloaded bincode v1.0.1 [INFO] [stderr] Downloaded num-rational v0.2.1 [INFO] [stderr] Downloaded quick-error v1.2.2 [INFO] [stderr] Downloaded humantime v1.1.1 [INFO] [stderr] Downloaded winapi-util v0.1.1 [INFO] [stderr] Downloaded utf8-ranges v1.0.1 [INFO] [stderr] Downloaded log v0.4.4 [INFO] [stderr] Downloaded nom v3.2.1 [INFO] [stderr] Downloaded regex-syntax v0.6.2 [INFO] [stderr] Downloaded regex v1.0.4 [INFO] [stderr] Downloaded sdl2-sys v0.31.0 [INFO] [stderr] Downloaded winapi v0.3.5 [INFO] [stderr] Downloaded text_io v0.1.7 [INFO] [stderr] Downloaded num-bigint v0.2.0 [INFO] [stderr] Downloaded sdl2 v0.31.0 [INFO] [stderr] Downloaded serde v1.0.75 [INFO] [stderr] Downloaded env_logger v0.5.13 [INFO] [stderr] Downloaded getopts v0.2.18 [INFO] [stderr] Downloaded memchr v1.0.2 [INFO] [stderr] Downloaded num-complex v0.2.0 [INFO] [stderr] Downloaded num-traits v0.2.5 [INFO] [stderr] Downloaded termcolor v1.0.3 [INFO] [stderr] Downloaded num-iter v0.1.37 [INFO] [stderr] Downloaded num v0.2.0 [INFO] [stderr] Downloaded wincolor v1.0.1 [INFO] [stderr] Downloaded version_check v0.1.4 [INFO] [stderr] Downloaded aho-corasick v0.6.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0f5e2e632a088b5ba669ca80563268da1bafa67d763ce3ea8171e5bc4d85f57 [INFO] running `Command { std: "docker" "start" "-a" "d0f5e2e632a088b5ba669ca80563268da1bafa67d763ce3ea8171e5bc4d85f57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0f5e2e632a088b5ba669ca80563268da1bafa67d763ce3ea8171e5bc4d85f57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0f5e2e632a088b5ba669ca80563268da1bafa67d763ce3ea8171e5bc4d85f57", kill_on_drop: false }` [INFO] [stdout] d0f5e2e632a088b5ba669ca80563268da1bafa67d763ce3ea8171e5bc4d85f57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 799a1acf01d2f298d8174bd6aaf3b3db9e9f4654ace0dd999d62d7c1574762c8 [INFO] running `Command { std: "docker" "start" "-a" "799a1acf01d2f298d8174bd6aaf3b3db9e9f4654ace0dd999d62d7c1574762c8", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling num-bigint v0.2.0 [INFO] [stderr] Compiling regex v1.0.4 [INFO] [stderr] Compiling memchr v2.0.2 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling serde v1.0.75 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling num-complex v0.2.0 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling log v0.4.4 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling termcolor v1.0.3 [INFO] [stderr] Compiling getopts v0.2.18 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling text_io v0.1.7 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling sdl2 v0.31.0 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling bincode v1.0.1 [INFO] [stderr] Compiling rustz80emu v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/cpu/cpu.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone, Copy, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/cpu/cpu.rs:11:46 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone, Copy, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/cpu/cpu.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone, Copy, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/cpu/cpu.rs:65:46 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone, Copy, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/cpu/cpu.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/cpu/cpu.rs:79:26 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/cpu/cpu.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/cpu/cpu.rs:96:26 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/cpu.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / bitflags! { [INFO] [stdout] 79 | | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] 80 | | pub struct StatusIndicatorFlags: u8 { [INFO] [stdout] 81 | | const EMPTY_FLAGS = 0b00000000; [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/cpu.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / bitflags! { [INFO] [stdout] 79 | | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] 80 | | pub struct StatusIndicatorFlags: u8 { [INFO] [stdout] 81 | | const EMPTY_FLAGS = 0b00000000; [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/cpu.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / bitflags! { [INFO] [stdout] 79 | | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] 80 | | pub struct StatusIndicatorFlags: u8 { [INFO] [stdout] 81 | | const EMPTY_FLAGS = 0b00000000; [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/cpu/cpu.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 298 | (((high as u16) << 8) | low as u16) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 298 - (((high as u16) << 8) | low as u16) [INFO] [stdout] 298 + ((high as u16) << 8) | low as u16 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/cpu/instructions.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | fn execute(&self, &mut Cpu); [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Cpu` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/cpu/instructions.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_string(&self, &Cpu, &Memory) -> String; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Cpu` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/cpu/instructions.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_string(&self, &Cpu, &Memory) -> String; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Memory` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu/instructions.rs:604:24 [INFO] [stdout] | [INFO] [stdout] 604 | (false, 0x0...0x9, false, 0x0...0x9) => 0x00, [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/cpu/instructions.rs:604:42 [INFO] [stdout] | [INFO] [stdout] 604 | (false, 0x0...0x9, false, 0x0...0x9) => 0x00, [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/cpu/instructions.rs:605:24 [INFO] [stdout] | [INFO] [stdout] 605 | (false, 0x0...0x9, true , 0x0...0x9) => 0x06, [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/cpu/instructions.rs:605:42 [INFO] [stdout] | [INFO] [stdout] 605 | (false, 0x0...0x9, true , 0x0...0x9) => 0x06, [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/cpu/instructions.rs:606:24 [INFO] [stdout] | [INFO] [stdout] 606 | (false, 0x0...0x8, _ , 0xA...0xF) => 0x06, [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/cpu/instructions.rs:606:42 [INFO] [stdout] | [INFO] [stdout] 606 | (false, 0x0...0x8, _ , 0xA...0xF) => 0x06, [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/cpu/instructions.rs:607:24 [INFO] [stdout] | [INFO] [stdout] 607 | (false, 0xA...0xF, false, 0x0...0x9) => 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/cpu/instructions.rs:607:42 [INFO] [stdout] | [INFO] [stdout] 607 | (false, 0xA...0xF, false, 0x0...0x9) => 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/cpu/instructions.rs:608:42 [INFO] [stdout] | [INFO] [stdout] 608 | (true , _ , false, 0x0...0x9) => 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/cpu/instructions.rs:609:42 [INFO] [stdout] | [INFO] [stdout] 609 | (true , _ , true , 0x0...0x9) => 0x66, [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/cpu/instructions.rs:610:42 [INFO] [stdout] | [INFO] [stdout] 610 | (true , _ , _ , 0xA...0xF) => 0x66, [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/cpu/instructions.rs:611:24 [INFO] [stdout] | [INFO] [stdout] 611 | (false, 0x9...0xF, _ , 0xA...0xF) => 0x66, [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/cpu/instructions.rs:611:42 [INFO] [stdout] | [INFO] [stdout] 611 | (false, 0x9...0xF, _ , 0xA...0xF) => 0x66, [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/cpu/instructions.rs:612:24 [INFO] [stdout] | [INFO] [stdout] 612 | (false, 0xA...0xF, true , 0x0...0x9) => 0x66, [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/cpu/instructions.rs:612:42 [INFO] [stdout] | [INFO] [stdout] 612 | (false, 0xA...0xF, true , 0x0...0x9) => 0x66, [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/cpu/instructions.rs:626:31 [INFO] [stdout] | [INFO] [stdout] 626 | (false, _ , 0x0...0x9) => false, [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/cpu/instructions.rs:627:31 [INFO] [stdout] | [INFO] [stdout] 627 | (false, _ , 0xA...0xF) => true , [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/cpu/instructions.rs:629:31 [INFO] [stdout] | [INFO] [stdout] 629 | (true , true , 0x6...0xF) => false, [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/cpu/instructions.rs:630:31 [INFO] [stdout] | [INFO] [stdout] 630 | (true , true , 0x0...0x5) => true , [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/cpu/instructions.rs:637:24 [INFO] [stdout] | [INFO] [stdout] 637 | (false, 0x0...0x9, 0x0...0x9) => false, [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/cpu/instructions.rs:637:35 [INFO] [stdout] | [INFO] [stdout] 637 | (false, 0x0...0x9, 0x0...0x9) => false, [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/cpu/instructions.rs:638:24 [INFO] [stdout] | [INFO] [stdout] 638 | (false, 0x0...0x8, 0xA...0xF) => false, [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/cpu/instructions.rs:638:35 [INFO] [stdout] | [INFO] [stdout] 638 | (false, 0x0...0x8, 0xA...0xF) => false, [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/cpu/instructions.rs:639:24 [INFO] [stdout] | [INFO] [stdout] 639 | (false, 0x9...0xF, 0xA...0xF) => true , [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/cpu/instructions.rs:639:35 [INFO] [stdout] | [INFO] [stdout] 639 | (false, 0x9...0xF, 0xA...0xF) => true , [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/cpu/instructions.rs:640:24 [INFO] [stdout] | [INFO] [stdout] 640 | (false, 0xA...0xF, 0x0...0x9) => true , [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/cpu/instructions.rs:640:35 [INFO] [stdout] | [INFO] [stdout] 640 | (false, 0xA...0xF, 0x0...0x9) => true , [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 macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/interconnect.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/interconnect.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/peripherals/memory.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/peripherals/memory.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/peripherals/memory.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | 0x0000...0x3FFF => { [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/peripherals/memory.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | 0x4000...0x7FFF => self.bank[self.ram_0x4000_0x7fff][(addr - 0x4000) as usize], [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/peripherals/memory.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | 0x8000...0xBFFF => self.bank[self.ram_0x8000_0xbfff][(addr - 0x8000) as usize], [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/peripherals/memory.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | 0xC000...0xFFFF => self.bank[self.ram_0xc000_0xffff][(addr - 0xC000) as usize], [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 macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/peripherals/ay.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/peripherals/ay.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/peripherals/ula.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/peripherals/ula.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/debugger/debugger.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | / bitflags! { [INFO] [stdout] 119 | | pub struct OutputRegisters: u32 { [INFO] [stdout] 120 | | const ONONE = 0x00000000; [INFO] [stdout] 121 | | [INFO] [stdout] ... | [INFO] [stdout] 150 | | } [INFO] [stdout] 151 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/debugger/debugger.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | / bitflags! { [INFO] [stdout] 119 | | pub struct OutputRegisters: u32 { [INFO] [stdout] 120 | | const ONONE = 0x00000000; [INFO] [stdout] 121 | | [INFO] [stdout] ... | [INFO] [stdout] 150 | | } [INFO] [stdout] 151 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/debugger/debugger.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | / bitflags! { [INFO] [stdout] 119 | | pub struct OutputRegisters: u32 { [INFO] [stdout] 120 | | const ONONE = 0x00000000; [INFO] [stdout] 121 | | [INFO] [stdout] ... | [INFO] [stdout] 150 | | } [INFO] [stdout] 151 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions.rs:2308:34 [INFO] [stdout] | [INFO] [stdout] 2308 | pub const INSTR_TABLE: [&'static Instruction; 256] = [ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 2308 | pub const INSTR_TABLE: [&'static dyn Instruction; 256] = [ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_fdcb.rs:617:39 [INFO] [stdout] | [INFO] [stdout] 617 | pub const INSTR_TABLE_FDCB: [&'static Instruction; 256] = [ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 617 | pub const INSTR_TABLE_FDCB: [&'static dyn Instruction; 256] = [ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_ddcb.rs:617:39 [INFO] [stdout] | [INFO] [stdout] 617 | pub const INSTR_TABLE_DDCB: [&'static Instruction; 256] = [ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 617 | pub const INSTR_TABLE_DDCB: [&'static dyn Instruction; 256] = [ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_cb.rs:584:37 [INFO] [stdout] | [INFO] [stdout] 584 | pub const INSTR_TABLE_CB: [&'static Instruction; 256] = [ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 584 | pub const INSTR_TABLE_CB: [&'static dyn Instruction; 256] = [ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_ed.rs:983:37 [INFO] [stdout] | [INFO] [stdout] 983 | pub const INSTR_TABLE_ED: [&'static Instruction; 256] = [ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 983 | pub const INSTR_TABLE_ED: [&'static dyn Instruction; 256] = [ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_dd.rs:614:37 [INFO] [stdout] | [INFO] [stdout] 614 | pub const INSTR_TABLE_DD: [&'static Instruction; 256] = [ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 614 | pub const INSTR_TABLE_DD: [&'static dyn Instruction; 256] = [ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_fd.rs:612:37 [INFO] [stdout] | [INFO] [stdout] 612 | pub const INSTR_TABLE_FD: [&'static Instruction; 256] = [ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 612 | pub const INSTR_TABLE_FD: [&'static dyn Instruction; 256] = [ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/cpu/instructions.rs:611:21 [INFO] [stdout] | [INFO] [stdout] 604 | (false, 0x0...0x9, false, 0x0...0x9) => 0x00, [INFO] [stdout] | --------- this range overlaps on `9_u8`... [INFO] [stdout] 605 | (false, 0x0...0x9, true , 0x0...0x9) => 0x06, [INFO] [stdout] | --------- this range overlaps on `9_u8`... [INFO] [stdout] ... [INFO] [stdout] 611 | (false, 0x9...0xF, _ , 0xA...0xF) => 0x66, [INFO] [stdout] | ^^^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] = note: `#[warn(overlapping_range_endpoints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/cpu/instructions.rs:639:21 [INFO] [stdout] | [INFO] [stdout] 637 | (false, 0x0...0x9, 0x0...0x9) => false, [INFO] [stdout] | --------- this range overlaps on `9_u8`... [INFO] [stdout] 638 | (false, 0x0...0x8, 0xA...0xF) => false, [INFO] [stdout] 639 | (false, 0x9...0xF, 0xA...0xF) => true , [INFO] [stdout] | ^^^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/peripherals/memory.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | _ => unreachable!(), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/cpu/cpu.rs:461:17 [INFO] [stdout] | [INFO] [stdout] 461 | &INSTR_TABLE_CB[i1 as usize].execute(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 461 | let _ = &INSTR_TABLE_CB[i1 as usize].execute(self); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/cpu/cpu.rs:477:25 [INFO] [stdout] | [INFO] [stdout] 477 | &INSTR_TABLE_DDCB[i3 as usize].execute(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 477 | let _ = &INSTR_TABLE_DDCB[i3 as usize].execute(self); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/cpu/cpu.rs:483:25 [INFO] [stdout] | [INFO] [stdout] 483 | &INSTR_TABLE_DD[i1 as usize].execute(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 483 | let _ = &INSTR_TABLE_DD[i1 as usize].execute(self); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/cpu/cpu.rs:491:17 [INFO] [stdout] | [INFO] [stdout] 491 | &INSTR_TABLE_ED[i1 as usize].execute(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 491 | let _ = &INSTR_TABLE_ED[i1 as usize].execute(self); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/cpu/cpu.rs:507:25 [INFO] [stdout] | [INFO] [stdout] 507 | &INSTR_TABLE_FDCB[i3 as usize].execute(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 507 | let _ = &INSTR_TABLE_FDCB[i3 as usize].execute(self); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/cpu/cpu.rs:513:25 [INFO] [stdout] | [INFO] [stdout] 513 | &INSTR_TABLE_FD[i1 as usize].execute(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 513 | let _ = &INSTR_TABLE_FD[i1 as usize].execute(self); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/cpu/cpu.rs:519:17 [INFO] [stdout] | [INFO] [stdout] 519 | &INSTR_TABLE[i0 as usize].execute(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 519 | let _ = &INSTR_TABLE[i0 as usize].execute(self); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 74 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | Err(f) => { panic!(f.to_string()) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 31 | Err(f) => { panic!("{}", f.to_string()) } [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.00s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1, rustc-serialize v0.3.24 [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" "799a1acf01d2f298d8174bd6aaf3b3db9e9f4654ace0dd999d62d7c1574762c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "799a1acf01d2f298d8174bd6aaf3b3db9e9f4654ace0dd999d62d7c1574762c8", kill_on_drop: false }` [INFO] [stdout] 799a1acf01d2f298d8174bd6aaf3b3db9e9f4654ace0dd999d62d7c1574762c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4f8f8a3e3e6b3841582d81758a77fdb40e018b627c683807136d3ec4da2eabc [INFO] running `Command { std: "docker" "start" "-a" "d4f8f8a3e3e6b3841582d81758a77fdb40e018b627c683807136d3ec4da2eabc", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/cpu/cpu.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone, Copy, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/cpu/cpu.rs:11:46 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone, Copy, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/cpu/cpu.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone, Copy, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/cpu/cpu.rs:65:46 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone, Copy, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/cpu/cpu.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/cpu/cpu.rs:79:26 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/cpu/cpu.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/cpu/cpu.rs:96:26 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/cpu.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / bitflags! { [INFO] [stdout] 79 | | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] 80 | | pub struct StatusIndicatorFlags: u8 { [INFO] [stdout] 81 | | const EMPTY_FLAGS = 0b00000000; [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/cpu.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / bitflags! { [INFO] [stdout] 79 | | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] 80 | | pub struct StatusIndicatorFlags: u8 { [INFO] [stdout] 81 | | const EMPTY_FLAGS = 0b00000000; [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/cpu.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / bitflags! { [INFO] [stdout] 79 | | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] 80 | | pub struct StatusIndicatorFlags: u8 { [INFO] [stdout] 81 | | const EMPTY_FLAGS = 0b00000000; [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/cpu/cpu.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 298 | (((high as u16) << 8) | low as u16) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 298 - (((high as u16) << 8) | low as u16) [INFO] [stdout] 298 + ((high as u16) << 8) | low as u16 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/cpu/instructions.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | fn execute(&self, &mut Cpu); [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Cpu` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/cpu/instructions.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_string(&self, &Cpu, &Memory) -> String; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Cpu` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/cpu/instructions.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_string(&self, &Cpu, &Memory) -> String; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Memory` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu/instructions.rs:604:24 [INFO] [stdout] | [INFO] [stdout] 604 | (false, 0x0...0x9, false, 0x0...0x9) => 0x00, [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/cpu/instructions.rs:604:42 [INFO] [stdout] | [INFO] [stdout] 604 | (false, 0x0...0x9, false, 0x0...0x9) => 0x00, [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/cpu/instructions.rs:605:24 [INFO] [stdout] | [INFO] [stdout] 605 | (false, 0x0...0x9, true , 0x0...0x9) => 0x06, [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/cpu/instructions.rs:605:42 [INFO] [stdout] | [INFO] [stdout] 605 | (false, 0x0...0x9, true , 0x0...0x9) => 0x06, [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/cpu/instructions.rs:606:24 [INFO] [stdout] | [INFO] [stdout] 606 | (false, 0x0...0x8, _ , 0xA...0xF) => 0x06, [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/cpu/instructions.rs:606:42 [INFO] [stdout] | [INFO] [stdout] 606 | (false, 0x0...0x8, _ , 0xA...0xF) => 0x06, [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/cpu/instructions.rs:607:24 [INFO] [stdout] | [INFO] [stdout] 607 | (false, 0xA...0xF, false, 0x0...0x9) => 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/cpu/instructions.rs:607:42 [INFO] [stdout] | [INFO] [stdout] 607 | (false, 0xA...0xF, false, 0x0...0x9) => 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/cpu/instructions.rs:608:42 [INFO] [stdout] | [INFO] [stdout] 608 | (true , _ , false, 0x0...0x9) => 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/cpu/instructions.rs:609:42 [INFO] [stdout] | [INFO] [stdout] 609 | (true , _ , true , 0x0...0x9) => 0x66, [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/cpu/instructions.rs:610:42 [INFO] [stdout] | [INFO] [stdout] 610 | (true , _ , _ , 0xA...0xF) => 0x66, [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/cpu/instructions.rs:611:24 [INFO] [stdout] | [INFO] [stdout] 611 | (false, 0x9...0xF, _ , 0xA...0xF) => 0x66, [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/cpu/instructions.rs:611:42 [INFO] [stdout] | [INFO] [stdout] 611 | (false, 0x9...0xF, _ , 0xA...0xF) => 0x66, [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/cpu/instructions.rs:612:24 [INFO] [stdout] | [INFO] [stdout] 612 | (false, 0xA...0xF, true , 0x0...0x9) => 0x66, [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/cpu/instructions.rs:612:42 [INFO] [stdout] | [INFO] [stdout] 612 | (false, 0xA...0xF, true , 0x0...0x9) => 0x66, [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/cpu/instructions.rs:626:31 [INFO] [stdout] | [INFO] [stdout] 626 | (false, _ , 0x0...0x9) => false, [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/cpu/instructions.rs:627:31 [INFO] [stdout] | [INFO] [stdout] 627 | (false, _ , 0xA...0xF) => true , [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/cpu/instructions.rs:629:31 [INFO] [stdout] | [INFO] [stdout] 629 | (true , true , 0x6...0xF) => false, [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/cpu/instructions.rs:630:31 [INFO] [stdout] | [INFO] [stdout] 630 | (true , true , 0x0...0x5) => true , [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/cpu/instructions.rs:637:24 [INFO] [stdout] | [INFO] [stdout] 637 | (false, 0x0...0x9, 0x0...0x9) => false, [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/cpu/instructions.rs:637:35 [INFO] [stdout] | [INFO] [stdout] 637 | (false, 0x0...0x9, 0x0...0x9) => false, [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/cpu/instructions.rs:638:24 [INFO] [stdout] | [INFO] [stdout] 638 | (false, 0x0...0x8, 0xA...0xF) => false, [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/cpu/instructions.rs:638:35 [INFO] [stdout] | [INFO] [stdout] 638 | (false, 0x0...0x8, 0xA...0xF) => false, [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/cpu/instructions.rs:639:24 [INFO] [stdout] | [INFO] [stdout] 639 | (false, 0x9...0xF, 0xA...0xF) => true , [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/cpu/instructions.rs:639:35 [INFO] [stdout] | [INFO] [stdout] 639 | (false, 0x9...0xF, 0xA...0xF) => true , [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/cpu/instructions.rs:640:24 [INFO] [stdout] | [INFO] [stdout] 640 | (false, 0xA...0xF, 0x0...0x9) => true , [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/cpu/instructions.rs:640:35 [INFO] [stdout] | [INFO] [stdout] 640 | (false, 0xA...0xF, 0x0...0x9) => true , [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 macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/interconnect.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/interconnect.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/peripherals/memory.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/peripherals/memory.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/peripherals/memory.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | 0x0000...0x3FFF => { [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/peripherals/memory.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | 0x4000...0x7FFF => self.bank[self.ram_0x4000_0x7fff][(addr - 0x4000) as usize], [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/peripherals/memory.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | 0x8000...0xBFFF => self.bank[self.ram_0x8000_0xbfff][(addr - 0x8000) as usize], [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/peripherals/memory.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | 0xC000...0xFFFF => self.bank[self.ram_0xc000_0xffff][(addr - 0xC000) as usize], [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 macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/peripherals/ay.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/peripherals/ay.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/peripherals/ula.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/peripherals/ula.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/debugger/debugger.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | / bitflags! { [INFO] [stdout] 119 | | pub struct OutputRegisters: u32 { [INFO] [stdout] 120 | | const ONONE = 0x00000000; [INFO] [stdout] 121 | | [INFO] [stdout] ... | [INFO] [stdout] 150 | | } [INFO] [stdout] 151 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/debugger/debugger.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | / bitflags! { [INFO] [stdout] 119 | | pub struct OutputRegisters: u32 { [INFO] [stdout] 120 | | const ONONE = 0x00000000; [INFO] [stdout] 121 | | [INFO] [stdout] ... | [INFO] [stdout] 150 | | } [INFO] [stdout] 151 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/debugger/debugger.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | / bitflags! { [INFO] [stdout] 119 | | pub struct OutputRegisters: u32 { [INFO] [stdout] 120 | | const ONONE = 0x00000000; [INFO] [stdout] 121 | | [INFO] [stdout] ... | [INFO] [stdout] 150 | | } [INFO] [stdout] 151 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions.rs:2308:34 [INFO] [stdout] | [INFO] [stdout] 2308 | pub const INSTR_TABLE: [&'static Instruction; 256] = [ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 2308 | pub const INSTR_TABLE: [&'static dyn Instruction; 256] = [ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_fdcb.rs:617:39 [INFO] [stdout] | [INFO] [stdout] 617 | pub const INSTR_TABLE_FDCB: [&'static Instruction; 256] = [ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 617 | pub const INSTR_TABLE_FDCB: [&'static dyn Instruction; 256] = [ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_ddcb.rs:617:39 [INFO] [stdout] | [INFO] [stdout] 617 | pub const INSTR_TABLE_DDCB: [&'static Instruction; 256] = [ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 617 | pub const INSTR_TABLE_DDCB: [&'static dyn Instruction; 256] = [ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_cb.rs:584:37 [INFO] [stdout] | [INFO] [stdout] 584 | pub const INSTR_TABLE_CB: [&'static Instruction; 256] = [ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 584 | pub const INSTR_TABLE_CB: [&'static dyn Instruction; 256] = [ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_ed.rs:983:37 [INFO] [stdout] | [INFO] [stdout] 983 | pub const INSTR_TABLE_ED: [&'static Instruction; 256] = [ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 983 | pub const INSTR_TABLE_ED: [&'static dyn Instruction; 256] = [ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_dd.rs:614:37 [INFO] [stdout] | [INFO] [stdout] 614 | pub const INSTR_TABLE_DD: [&'static Instruction; 256] = [ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 614 | pub const INSTR_TABLE_DD: [&'static dyn Instruction; 256] = [ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_fd.rs:612:37 [INFO] [stdout] | [INFO] [stdout] 612 | pub const INSTR_TABLE_FD: [&'static Instruction; 256] = [ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 612 | pub const INSTR_TABLE_FD: [&'static dyn Instruction; 256] = [ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/cpu/instructions.rs:611:21 [INFO] [stdout] | [INFO] [stdout] 604 | (false, 0x0...0x9, false, 0x0...0x9) => 0x00, [INFO] [stdout] | --------- this range overlaps on `9_u8`... [INFO] [stdout] 605 | (false, 0x0...0x9, true , 0x0...0x9) => 0x06, [INFO] [stdout] | --------- this range overlaps on `9_u8`... [INFO] [stdout] ... [INFO] [stdout] 611 | (false, 0x9...0xF, _ , 0xA...0xF) => 0x66, [INFO] [stdout] | ^^^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] = note: `#[warn(overlapping_range_endpoints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/cpu/instructions.rs:639:21 [INFO] [stdout] | [INFO] [stdout] 637 | (false, 0x0...0x9, 0x0...0x9) => false, [INFO] [stdout] | --------- this range overlaps on `9_u8`... [INFO] [stdout] 638 | (false, 0x0...0x8, 0xA...0xF) => false, [INFO] [stdout] 639 | (false, 0x9...0xF, 0xA...0xF) => true , [INFO] [stdout] | ^^^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/peripherals/memory.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | _ => unreachable!(), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustz80emu v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/cpu/cpu.rs:461:17 [INFO] [stdout] | [INFO] [stdout] 461 | &INSTR_TABLE_CB[i1 as usize].execute(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 461 | let _ = &INSTR_TABLE_CB[i1 as usize].execute(self); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/cpu/cpu.rs:477:25 [INFO] [stdout] | [INFO] [stdout] 477 | &INSTR_TABLE_DDCB[i3 as usize].execute(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 477 | let _ = &INSTR_TABLE_DDCB[i3 as usize].execute(self); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/cpu/cpu.rs:483:25 [INFO] [stdout] | [INFO] [stdout] 483 | &INSTR_TABLE_DD[i1 as usize].execute(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 483 | let _ = &INSTR_TABLE_DD[i1 as usize].execute(self); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/cpu/cpu.rs:491:17 [INFO] [stdout] | [INFO] [stdout] 491 | &INSTR_TABLE_ED[i1 as usize].execute(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 491 | let _ = &INSTR_TABLE_ED[i1 as usize].execute(self); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/cpu/cpu.rs:507:25 [INFO] [stdout] | [INFO] [stdout] 507 | &INSTR_TABLE_FDCB[i3 as usize].execute(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 507 | let _ = &INSTR_TABLE_FDCB[i3 as usize].execute(self); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/cpu/cpu.rs:513:25 [INFO] [stdout] | [INFO] [stdout] 513 | &INSTR_TABLE_FD[i1 as usize].execute(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 513 | let _ = &INSTR_TABLE_FD[i1 as usize].execute(self); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/cpu/cpu.rs:519:17 [INFO] [stdout] | [INFO] [stdout] 519 | &INSTR_TABLE[i0 as usize].execute(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 519 | let _ = &INSTR_TABLE[i0 as usize].execute(self); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 74 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | Err(f) => { panic!(f.to_string()) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 31 | Err(f) => { panic!("{}", f.to_string()) } [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/fuse.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] extern crate text_io; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> tests/zex.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | &INSTR_TABLE[0xC9].execute(cpu); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | let _ = &INSTR_TABLE[0xC9].execute(cpu); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/cpu/cpu.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone, Copy, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/cpu/cpu.rs:11:46 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone, Copy, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/cpu/cpu.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone, Copy, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/cpu/cpu.rs:65:46 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone, Copy, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/cpu/cpu.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/cpu/cpu.rs:79:26 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/cpu/cpu.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/cpu/cpu.rs:96:26 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/cpu.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / bitflags! { [INFO] [stdout] 79 | | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] 80 | | pub struct StatusIndicatorFlags: u8 { [INFO] [stdout] 81 | | const EMPTY_FLAGS = 0b00000000; [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/cpu.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / bitflags! { [INFO] [stdout] 79 | | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] 80 | | pub struct StatusIndicatorFlags: u8 { [INFO] [stdout] 81 | | const EMPTY_FLAGS = 0b00000000; [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/cpu.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / bitflags! { [INFO] [stdout] 79 | | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] 80 | | pub struct StatusIndicatorFlags: u8 { [INFO] [stdout] 81 | | const EMPTY_FLAGS = 0b00000000; [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/cpu/cpu.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 298 | (((high as u16) << 8) | low as u16) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 298 - (((high as u16) << 8) | low as u16) [INFO] [stdout] 298 + ((high as u16) << 8) | low as u16 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/cpu/instructions.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | fn execute(&self, &mut Cpu); [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Cpu` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/cpu/instructions.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_string(&self, &Cpu, &Memory) -> String; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Cpu` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/cpu/instructions.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_string(&self, &Cpu, &Memory) -> String; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Memory` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/cpu/instructions.rs:604:24 [INFO] [stdout] | [INFO] [stdout] 604 | (false, 0x0...0x9, false, 0x0...0x9) => 0x00, [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/cpu/instructions.rs:604:42 [INFO] [stdout] | [INFO] [stdout] 604 | (false, 0x0...0x9, false, 0x0...0x9) => 0x00, [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/cpu/instructions.rs:605:24 [INFO] [stdout] | [INFO] [stdout] 605 | (false, 0x0...0x9, true , 0x0...0x9) => 0x06, [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/cpu/instructions.rs:605:42 [INFO] [stdout] | [INFO] [stdout] 605 | (false, 0x0...0x9, true , 0x0...0x9) => 0x06, [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/cpu/instructions.rs:606:24 [INFO] [stdout] | [INFO] [stdout] 606 | (false, 0x0...0x8, _ , 0xA...0xF) => 0x06, [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/cpu/instructions.rs:606:42 [INFO] [stdout] | [INFO] [stdout] 606 | (false, 0x0...0x8, _ , 0xA...0xF) => 0x06, [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/cpu/instructions.rs:607:24 [INFO] [stdout] | [INFO] [stdout] 607 | (false, 0xA...0xF, false, 0x0...0x9) => 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/cpu/instructions.rs:607:42 [INFO] [stdout] | [INFO] [stdout] 607 | (false, 0xA...0xF, false, 0x0...0x9) => 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/cpu/instructions.rs:608:42 [INFO] [stdout] | [INFO] [stdout] 608 | (true , _ , false, 0x0...0x9) => 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/cpu/instructions.rs:609:42 [INFO] [stdout] | [INFO] [stdout] 609 | (true , _ , true , 0x0...0x9) => 0x66, [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/cpu/instructions.rs:610:42 [INFO] [stdout] | [INFO] [stdout] 610 | (true , _ , _ , 0xA...0xF) => 0x66, [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/cpu/instructions.rs:611:24 [INFO] [stdout] | [INFO] [stdout] 611 | (false, 0x9...0xF, _ , 0xA...0xF) => 0x66, [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/cpu/instructions.rs:611:42 [INFO] [stdout] | [INFO] [stdout] 611 | (false, 0x9...0xF, _ , 0xA...0xF) => 0x66, [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/cpu/instructions.rs:612:24 [INFO] [stdout] | [INFO] [stdout] 612 | (false, 0xA...0xF, true , 0x0...0x9) => 0x66, [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/cpu/instructions.rs:612:42 [INFO] [stdout] | [INFO] [stdout] 612 | (false, 0xA...0xF, true , 0x0...0x9) => 0x66, [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/cpu/instructions.rs:626:31 [INFO] [stdout] | [INFO] [stdout] 626 | (false, _ , 0x0...0x9) => false, [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/cpu/instructions.rs:627:31 [INFO] [stdout] | [INFO] [stdout] 627 | (false, _ , 0xA...0xF) => true , [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/cpu/instructions.rs:629:31 [INFO] [stdout] | [INFO] [stdout] 629 | (true , true , 0x6...0xF) => false, [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/cpu/instructions.rs:630:31 [INFO] [stdout] | [INFO] [stdout] 630 | (true , true , 0x0...0x5) => true , [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/cpu/instructions.rs:637:24 [INFO] [stdout] | [INFO] [stdout] 637 | (false, 0x0...0x9, 0x0...0x9) => false, [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/cpu/instructions.rs:637:35 [INFO] [stdout] | [INFO] [stdout] 637 | (false, 0x0...0x9, 0x0...0x9) => false, [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/cpu/instructions.rs:638:24 [INFO] [stdout] | [INFO] [stdout] 638 | (false, 0x0...0x8, 0xA...0xF) => false, [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/cpu/instructions.rs:638:35 [INFO] [stdout] | [INFO] [stdout] 638 | (false, 0x0...0x8, 0xA...0xF) => false, [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/cpu/instructions.rs:639:24 [INFO] [stdout] | [INFO] [stdout] 639 | (false, 0x9...0xF, 0xA...0xF) => true , [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/cpu/instructions.rs:639:35 [INFO] [stdout] | [INFO] [stdout] 639 | (false, 0x9...0xF, 0xA...0xF) => true , [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/cpu/instructions.rs:640:24 [INFO] [stdout] | [INFO] [stdout] 640 | (false, 0xA...0xF, 0x0...0x9) => true , [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/cpu/instructions.rs:640:35 [INFO] [stdout] | [INFO] [stdout] 640 | (false, 0xA...0xF, 0x0...0x9) => true , [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 macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/interconnect.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/interconnect.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/peripherals/memory.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/peripherals/memory.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/peripherals/memory.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | 0x0000...0x3FFF => { [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/peripherals/memory.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | 0x4000...0x7FFF => self.bank[self.ram_0x4000_0x7fff][(addr - 0x4000) as usize], [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/peripherals/memory.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | 0x8000...0xBFFF => self.bank[self.ram_0x8000_0xbfff][(addr - 0x8000) as usize], [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/peripherals/memory.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | 0xC000...0xFFFF => self.bank[self.ram_0xc000_0xffff][(addr - 0xC000) as usize], [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 macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/peripherals/ay.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/peripherals/ay.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/peripherals/ula.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/peripherals/ula.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/debugger/debugger.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | / bitflags! { [INFO] [stdout] 119 | | pub struct OutputRegisters: u32 { [INFO] [stdout] 120 | | const ONONE = 0x00000000; [INFO] [stdout] 121 | | [INFO] [stdout] ... | [INFO] [stdout] 150 | | } [INFO] [stdout] 151 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/debugger/debugger.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | / bitflags! { [INFO] [stdout] 119 | | pub struct OutputRegisters: u32 { [INFO] [stdout] 120 | | const ONONE = 0x00000000; [INFO] [stdout] 121 | | [INFO] [stdout] ... | [INFO] [stdout] 150 | | } [INFO] [stdout] 151 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/debugger/debugger.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | / bitflags! { [INFO] [stdout] 119 | | pub struct OutputRegisters: u32 { [INFO] [stdout] 120 | | const ONONE = 0x00000000; [INFO] [stdout] 121 | | [INFO] [stdout] ... | [INFO] [stdout] 150 | | } [INFO] [stdout] 151 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions.rs:2308:34 [INFO] [stdout] | [INFO] [stdout] 2308 | pub const INSTR_TABLE: [&'static Instruction; 256] = [ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 2308 | pub const INSTR_TABLE: [&'static dyn Instruction; 256] = [ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_fdcb.rs:617:39 [INFO] [stdout] | [INFO] [stdout] 617 | pub const INSTR_TABLE_FDCB: [&'static Instruction; 256] = [ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 617 | pub const INSTR_TABLE_FDCB: [&'static dyn Instruction; 256] = [ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_ddcb.rs:617:39 [INFO] [stdout] | [INFO] [stdout] 617 | pub const INSTR_TABLE_DDCB: [&'static Instruction; 256] = [ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 617 | pub const INSTR_TABLE_DDCB: [&'static dyn Instruction; 256] = [ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_cb.rs:584:37 [INFO] [stdout] | [INFO] [stdout] 584 | pub const INSTR_TABLE_CB: [&'static Instruction; 256] = [ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 584 | pub const INSTR_TABLE_CB: [&'static dyn Instruction; 256] = [ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_ed.rs:983:37 [INFO] [stdout] | [INFO] [stdout] 983 | pub const INSTR_TABLE_ED: [&'static Instruction; 256] = [ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 983 | pub const INSTR_TABLE_ED: [&'static dyn Instruction; 256] = [ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_dd.rs:614:37 [INFO] [stdout] | [INFO] [stdout] 614 | pub const INSTR_TABLE_DD: [&'static Instruction; 256] = [ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 614 | pub const INSTR_TABLE_DD: [&'static dyn Instruction; 256] = [ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_fd.rs:612:37 [INFO] [stdout] | [INFO] [stdout] 612 | pub const INSTR_TABLE_FD: [&'static Instruction; 256] = [ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 612 | pub const INSTR_TABLE_FD: [&'static dyn Instruction; 256] = [ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/cpu/instructions.rs:611:21 [INFO] [stdout] | [INFO] [stdout] 604 | (false, 0x0...0x9, false, 0x0...0x9) => 0x00, [INFO] [stdout] | --------- this range overlaps on `9_u8`... [INFO] [stdout] 605 | (false, 0x0...0x9, true , 0x0...0x9) => 0x06, [INFO] [stdout] | --------- this range overlaps on `9_u8`... [INFO] [stdout] ... [INFO] [stdout] 611 | (false, 0x9...0xF, _ , 0xA...0xF) => 0x66, [INFO] [stdout] | ^^^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] = note: `#[warn(overlapping_range_endpoints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/cpu/instructions.rs:639:21 [INFO] [stdout] | [INFO] [stdout] 637 | (false, 0x0...0x9, 0x0...0x9) => false, [INFO] [stdout] | --------- this range overlaps on `9_u8`... [INFO] [stdout] 638 | (false, 0x0...0x8, 0xA...0xF) => false, [INFO] [stdout] 639 | (false, 0x9...0xF, 0xA...0xF) => true , [INFO] [stdout] | ^^^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/peripherals/memory.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | _ => unreachable!(), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/cpu/cpu.rs:461:17 [INFO] [stdout] | [INFO] [stdout] 461 | &INSTR_TABLE_CB[i1 as usize].execute(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 461 | let _ = &INSTR_TABLE_CB[i1 as usize].execute(self); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/cpu/cpu.rs:477:25 [INFO] [stdout] | [INFO] [stdout] 477 | &INSTR_TABLE_DDCB[i3 as usize].execute(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 477 | let _ = &INSTR_TABLE_DDCB[i3 as usize].execute(self); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/cpu/cpu.rs:483:25 [INFO] [stdout] | [INFO] [stdout] 483 | &INSTR_TABLE_DD[i1 as usize].execute(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 483 | let _ = &INSTR_TABLE_DD[i1 as usize].execute(self); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/cpu/cpu.rs:491:17 [INFO] [stdout] | [INFO] [stdout] 491 | &INSTR_TABLE_ED[i1 as usize].execute(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 491 | let _ = &INSTR_TABLE_ED[i1 as usize].execute(self); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/cpu/cpu.rs:507:25 [INFO] [stdout] | [INFO] [stdout] 507 | &INSTR_TABLE_FDCB[i3 as usize].execute(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 507 | let _ = &INSTR_TABLE_FDCB[i3 as usize].execute(self); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/cpu/cpu.rs:513:25 [INFO] [stdout] | [INFO] [stdout] 513 | &INSTR_TABLE_FD[i1 as usize].execute(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 513 | let _ = &INSTR_TABLE_FD[i1 as usize].execute(self); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/cpu/cpu.rs:519:17 [INFO] [stdout] | [INFO] [stdout] 519 | &INSTR_TABLE[i0 as usize].execute(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 519 | let _ = &INSTR_TABLE[i0 as usize].execute(self); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 74 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.66s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1, rustc-serialize v0.3.24 [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" "d4f8f8a3e3e6b3841582d81758a77fdb40e018b627c683807136d3ec4da2eabc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4f8f8a3e3e6b3841582d81758a77fdb40e018b627c683807136d3ec4da2eabc", kill_on_drop: false }` [INFO] [stdout] d4f8f8a3e3e6b3841582d81758a77fdb40e018b627c683807136d3ec4da2eabc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 13786c7bbfedc56b4cdbeaa44c1567f3cf3b13ee4e17ac9012bfaa2149c0624f [INFO] running `Command { std: "docker" "start" "-a" "13786c7bbfedc56b4cdbeaa44c1567f3cf3b13ee4e17ac9012bfaa2149c0624f", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/cpu/cpu.rs:11:30 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Clone, Copy, RustcEncodable, RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/cpu/cpu.rs:11:46 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Clone, Copy, RustcEncodable, RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/cpu/cpu.rs:65:30 [INFO] [stderr] | [INFO] [stderr] 65 | #[derive(Debug, Clone, Copy, RustcEncodable, RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/cpu/cpu.rs:65:46 [INFO] [stderr] | [INFO] [stderr] 65 | #[derive(Debug, Clone, Copy, RustcEncodable, RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/cpu/cpu.rs:79:10 [INFO] [stderr] | [INFO] [stderr] 79 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/cpu/cpu.rs:79:26 [INFO] [stderr] | [INFO] [stderr] 79 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/cpu/cpu.rs:96:10 [INFO] [stderr] | [INFO] [stderr] 96 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/cpu/cpu.rs:96:26 [INFO] [stderr] | [INFO] [stderr] 96 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/cpu/cpu.rs:78:1 [INFO] [stderr] | [INFO] [stderr] 78 | / bitflags! { [INFO] [stderr] 79 | | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stderr] 80 | | pub struct StatusIndicatorFlags: u8 { [INFO] [stderr] 81 | | const EMPTY_FLAGS = 0b00000000; [INFO] [stderr] ... | [INFO] [stderr] 93 | | } [INFO] [stderr] 94 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/cpu/cpu.rs:298:17 [INFO] [stderr] | [INFO] [stderr] 298 | (((high as u16) << 8) | low as u16) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 298 - (((high as u16) << 8) | low as u16) [INFO] [stderr] 298 + ((high as u16) << 8) | low as u16 [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/cpu/instructions.rs:7:23 [INFO] [stderr] | [INFO] [stderr] 7 | fn execute(&self, &mut Cpu); [INFO] [stderr] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Cpu` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/cpu/instructions.rs:9:26 [INFO] [stderr] | [INFO] [stderr] 9 | fn get_string(&self, &Cpu, &Memory) -> String; [INFO] [stderr] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Cpu` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/cpu/instructions.rs:9:32 [INFO] [stderr] | [INFO] [stderr] 9 | fn get_string(&self, &Cpu, &Memory) -> String; [INFO] [stderr] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Memory` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/cpu/instructions.rs:604:24 [INFO] [stderr] | [INFO] [stderr] 604 | (false, 0x0...0x9, false, 0x0...0x9) => 0x00, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/cpu/instructions.rs:604:42 [INFO] [stderr] | [INFO] [stderr] 604 | (false, 0x0...0x9, false, 0x0...0x9) => 0x00, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/cpu/instructions.rs:605:24 [INFO] [stderr] | [INFO] [stderr] 605 | (false, 0x0...0x9, true , 0x0...0x9) => 0x06, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/cpu/instructions.rs:605:42 [INFO] [stderr] | [INFO] [stderr] 605 | (false, 0x0...0x9, true , 0x0...0x9) => 0x06, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/cpu/instructions.rs:606:24 [INFO] [stderr] | [INFO] [stderr] 606 | (false, 0x0...0x8, _ , 0xA...0xF) => 0x06, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/cpu/instructions.rs:606:42 [INFO] [stderr] | [INFO] [stderr] 606 | (false, 0x0...0x8, _ , 0xA...0xF) => 0x06, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/cpu/instructions.rs:607:24 [INFO] [stderr] | [INFO] [stderr] 607 | (false, 0xA...0xF, false, 0x0...0x9) => 0x60, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/cpu/instructions.rs:607:42 [INFO] [stderr] | [INFO] [stderr] 607 | (false, 0xA...0xF, false, 0x0...0x9) => 0x60, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/cpu/instructions.rs:608:42 [INFO] [stderr] | [INFO] [stderr] 608 | (true , _ , false, 0x0...0x9) => 0x60, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/cpu/instructions.rs:609:42 [INFO] [stderr] | [INFO] [stderr] 609 | (true , _ , true , 0x0...0x9) => 0x66, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/cpu/instructions.rs:610:42 [INFO] [stderr] | [INFO] [stderr] 610 | (true , _ , _ , 0xA...0xF) => 0x66, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/cpu/instructions.rs:611:24 [INFO] [stderr] | [INFO] [stderr] 611 | (false, 0x9...0xF, _ , 0xA...0xF) => 0x66, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/cpu/instructions.rs:611:42 [INFO] [stderr] | [INFO] [stderr] 611 | (false, 0x9...0xF, _ , 0xA...0xF) => 0x66, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/cpu/instructions.rs:612:24 [INFO] [stderr] | [INFO] [stderr] 612 | (false, 0xA...0xF, true , 0x0...0x9) => 0x66, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/cpu/instructions.rs:612:42 [INFO] [stderr] | [INFO] [stderr] 612 | (false, 0xA...0xF, true , 0x0...0x9) => 0x66, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/cpu/instructions.rs:626:31 [INFO] [stderr] | [INFO] [stderr] 626 | (false, _ , 0x0...0x9) => false, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/cpu/instructions.rs:627:31 [INFO] [stderr] | [INFO] [stderr] 627 | (false, _ , 0xA...0xF) => true , [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/cpu/instructions.rs:629:31 [INFO] [stderr] | [INFO] [stderr] 629 | (true , true , 0x6...0xF) => false, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/cpu/instructions.rs:630:31 [INFO] [stderr] | [INFO] [stderr] 630 | (true , true , 0x0...0x5) => true , [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/cpu/instructions.rs:637:24 [INFO] [stderr] | [INFO] [stderr] 637 | (false, 0x0...0x9, 0x0...0x9) => false, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/cpu/instructions.rs:637:35 [INFO] [stderr] | [INFO] [stderr] 637 | (false, 0x0...0x9, 0x0...0x9) => false, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/cpu/instructions.rs:638:24 [INFO] [stderr] | [INFO] [stderr] 638 | (false, 0x0...0x8, 0xA...0xF) => false, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/cpu/instructions.rs:638:35 [INFO] [stderr] | [INFO] [stderr] 638 | (false, 0x0...0x8, 0xA...0xF) => false, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/cpu/instructions.rs:639:24 [INFO] [stderr] | [INFO] [stderr] 639 | (false, 0x9...0xF, 0xA...0xF) => true , [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/cpu/instructions.rs:639:35 [INFO] [stderr] | [INFO] [stderr] 639 | (false, 0x9...0xF, 0xA...0xF) => true , [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/cpu/instructions.rs:640:24 [INFO] [stderr] | [INFO] [stderr] 640 | (false, 0xA...0xF, 0x0...0x9) => true , [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/cpu/instructions.rs:640:35 [INFO] [stderr] | [INFO] [stderr] 640 | (false, 0xA...0xF, 0x0...0x9) => true , [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/interconnect.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/interconnect.rs:13:26 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/peripherals/memory.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/peripherals/memory.rs:4:26 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/peripherals/memory.rs:21:19 [INFO] [stderr] | [INFO] [stderr] 21 | 0x0000...0x3FFF => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/peripherals/memory.rs:28:19 [INFO] [stderr] | [INFO] [stderr] 28 | 0x4000...0x7FFF => self.bank[self.ram_0x4000_0x7fff][(addr - 0x4000) as usize], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/peripherals/memory.rs:29:19 [INFO] [stderr] | [INFO] [stderr] 29 | 0x8000...0xBFFF => self.bank[self.ram_0x8000_0xbfff][(addr - 0x8000) as usize], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/peripherals/memory.rs:30:19 [INFO] [stderr] | [INFO] [stderr] 30 | 0xC000...0xFFFF => self.bank[self.ram_0xc000_0xffff][(addr - 0xC000) as usize], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/peripherals/ay.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/peripherals/ay.rs:3:26 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/peripherals/ula.rs:86:10 [INFO] [stderr] | [INFO] [stderr] 86 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/peripherals/ula.rs:86:26 [INFO] [stderr] | [INFO] [stderr] 86 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/debugger/debugger.rs:118:5 [INFO] [stderr] | [INFO] [stderr] 118 | / bitflags! { [INFO] [stderr] 119 | | pub struct OutputRegisters: u32 { [INFO] [stderr] 120 | | const ONONE = 0x00000000; [INFO] [stderr] 121 | | [INFO] [stderr] ... | [INFO] [stderr] 150 | | } [INFO] [stderr] 151 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cpu/instructions.rs:2308:34 [INFO] [stderr] | [INFO] [stderr] 2308 | pub const INSTR_TABLE: [&'static Instruction; 256] = [ [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 2308 | pub const INSTR_TABLE: [&'static dyn Instruction; 256] = [ [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cpu/instructions_fdcb.rs:617:39 [INFO] [stderr] | [INFO] [stderr] 617 | pub const INSTR_TABLE_FDCB: [&'static Instruction; 256] = [ [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 617 | pub const INSTR_TABLE_FDCB: [&'static dyn Instruction; 256] = [ [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cpu/instructions_ddcb.rs:617:39 [INFO] [stderr] | [INFO] [stderr] 617 | pub const INSTR_TABLE_DDCB: [&'static Instruction; 256] = [ [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 617 | pub const INSTR_TABLE_DDCB: [&'static dyn Instruction; 256] = [ [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cpu/instructions_cb.rs:584:37 [INFO] [stderr] | [INFO] [stderr] 584 | pub const INSTR_TABLE_CB: [&'static Instruction; 256] = [ [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 584 | pub const INSTR_TABLE_CB: [&'static dyn Instruction; 256] = [ [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cpu/instructions_ed.rs:983:37 [INFO] [stderr] | [INFO] [stderr] 983 | pub const INSTR_TABLE_ED: [&'static Instruction; 256] = [ [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 983 | pub const INSTR_TABLE_ED: [&'static dyn Instruction; 256] = [ [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cpu/instructions_dd.rs:614:37 [INFO] [stderr] | [INFO] [stderr] 614 | pub const INSTR_TABLE_DD: [&'static Instruction; 256] = [ [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 614 | pub const INSTR_TABLE_DD: [&'static dyn Instruction; 256] = [ [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cpu/instructions_fd.rs:612:37 [INFO] [stderr] | [INFO] [stderr] 612 | pub const INSTR_TABLE_FD: [&'static Instruction; 256] = [ [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 612 | pub const INSTR_TABLE_FD: [&'static dyn Instruction; 256] = [ [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: multiple patterns overlap on their endpoints [INFO] [stderr] --> src/cpu/instructions.rs:611:21 [INFO] [stderr] | [INFO] [stderr] 604 | (false, 0x0...0x9, false, 0x0...0x9) => 0x00, [INFO] [stderr] | --------- this range overlaps on `9_u8`... [INFO] [stderr] 605 | (false, 0x0...0x9, true , 0x0...0x9) => 0x06, [INFO] [stderr] | --------- this range overlaps on `9_u8`... [INFO] [stderr] ... [INFO] [stderr] 611 | (false, 0x9...0xF, _ , 0xA...0xF) => 0x66, [INFO] [stderr] | ^^^^^^^^^ ... with this range [INFO] [stderr] | [INFO] [stderr] = note: you likely meant to write mutually exclusive ranges [INFO] [stderr] = note: `#[warn(overlapping_range_endpoints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: multiple patterns overlap on their endpoints [INFO] [stderr] --> src/cpu/instructions.rs:639:21 [INFO] [stderr] | [INFO] [stderr] 637 | (false, 0x0...0x9, 0x0...0x9) => false, [INFO] [stderr] | --------- this range overlaps on `9_u8`... [INFO] [stderr] 638 | (false, 0x0...0x8, 0xA...0xF) => false, [INFO] [stderr] 639 | (false, 0x9...0xF, 0xA...0xF) => true , [INFO] [stderr] | ^^^^^^^^^ ... with this range [INFO] [stderr] | [INFO] [stderr] = note: you likely meant to write mutually exclusive ranges [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/peripherals/memory.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | _ => unreachable!(), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/cpu/cpu.rs:461:17 [INFO] [stderr] | [INFO] [stderr] 461 | &INSTR_TABLE_CB[i1 as usize].execute(self); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 461 | let _ = &INSTR_TABLE_CB[i1 as usize].execute(self); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/cpu/cpu.rs:477:25 [INFO] [stderr] | [INFO] [stderr] 477 | &INSTR_TABLE_DDCB[i3 as usize].execute(self); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 477 | let _ = &INSTR_TABLE_DDCB[i3 as usize].execute(self); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/cpu/cpu.rs:483:25 [INFO] [stderr] | [INFO] [stderr] 483 | &INSTR_TABLE_DD[i1 as usize].execute(self); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 483 | let _ = &INSTR_TABLE_DD[i1 as usize].execute(self); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/cpu/cpu.rs:491:17 [INFO] [stderr] | [INFO] [stderr] 491 | &INSTR_TABLE_ED[i1 as usize].execute(self); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 491 | let _ = &INSTR_TABLE_ED[i1 as usize].execute(self); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/cpu/cpu.rs:507:25 [INFO] [stderr] | [INFO] [stderr] 507 | &INSTR_TABLE_FDCB[i3 as usize].execute(self); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 507 | let _ = &INSTR_TABLE_FDCB[i3 as usize].execute(self); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/cpu/cpu.rs:513:25 [INFO] [stderr] | [INFO] [stderr] 513 | &INSTR_TABLE_FD[i1 as usize].execute(self); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 513 | let _ = &INSTR_TABLE_FD[i1 as usize].execute(self); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/cpu/cpu.rs:519:17 [INFO] [stderr] | [INFO] [stderr] 519 | &INSTR_TABLE[i0 as usize].execute(self); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 519 | let _ = &INSTR_TABLE[i0 as usize].execute(self); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `rustz80emu` (lib) generated 74 warnings (4 duplicates) (run `cargo fix --lib -p rustz80emu` to apply 42 suggestions) [INFO] [stderr] warning: `rustz80emu` (lib test) generated 74 warnings (74 duplicates) [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> tests/zex.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | &INSTR_TABLE[0xC9].execute(cpu); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 38 | let _ = &INSTR_TABLE[0xC9].execute(cpu); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:31:28 [INFO] [stderr] | [INFO] [stderr] 31 | Err(f) => { panic!(f.to_string()) } [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 31 | Err(f) => { panic!("{}", f.to_string()) } [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> tests/fuse.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #[macro_use] extern crate text_io; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rustz80emu` (test "zex") generated 1 warning [INFO] [stderr] warning: `rustz80emu` (bin "z80emubin") generated 1 warning (run `cargo fix --bin "z80emubin"` to apply 1 suggestion) [INFO] [stderr] warning: `rustz80emu` (test "fuse") generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1, rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/z80emulib-a68ac454e19006f8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/fuse.rs (/opt/rustwide/target/debug/deps/fuse-a6b29c2cd1c912e7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/zex.rs (/opt/rustwide/target/debug/deps/zex-7e176f1f7e7920da) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_zex::test_zex ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_zex::test_zex stdout ---- [INFO] [stdout] thread 'test_zex::test_zex' panicked at src/cpu/instructions.rs:396:24: [INFO] [stdout] attempt to subtract with overflow [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55af0218b2bc - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 [INFO] [stdout] 1: 0x55af0218b2bc - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55af0218b2bc - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55af0218b2bc - ::fmt::hed7f999df88cc644 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x55af021b4e20 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9 [INFO] [stdout] 5: 0x55af021b4e20 - core::fmt::write::h3a39390d8560d9c9 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17 [INFO] [stdout] 6: 0x55af02188c6f - std::io::Write::write_fmt::h040b369f3a0f9cbc [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15 [INFO] [stdout] 7: 0x55af0218b0a4 - std::sys_common::backtrace::_print::h894006fb5c6f3d45 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x55af0218b0a4 - std::sys_common::backtrace::print::h23a2d212c6fff936 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x55af0218cd67 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a [INFO] [stdout] 10: 0x55af0218ca53 - std::panicking::default_hook::h6038f2eba384e475 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9 [INFO] [stdout] 11: 0x55af020f3287 - as core::ops::function::Fn>::call::h0ad024c9bdc6d768 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9 [INFO] [stdout] 12: 0x55af020f3287 - test::test_main::{{closure}}::h7500b54257359db6 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21 [INFO] [stdout] 13: 0x55af0218d378 - as core::ops::function::Fn>::call::h1f8f335eaa9cfaee [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9 [INFO] [stdout] 14: 0x55af0218d378 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13 [INFO] [stdout] 15: 0x55af0218d099 - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:649:13 [INFO] [stdout] 16: 0x55af0218b786 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18 [INFO] [stdout] 17: 0x55af0218ce32 - rust_begin_unwind [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5 [INFO] [stdout] 18: 0x55af020bdd55 - core::panicking::panic_fmt::hbf0e066aabfa482c [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x55af020bddf3 - core::panicking::panic::h195fc2a96298d4c3 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:127:5 [INFO] [stdout] 20: 0x55af02101a88 - ::execute::he3bd1bbc23ecd8dc [INFO] [stdout] at /opt/rustwide/workdir/src/cpu/instructions.rs:396:24 [INFO] [stdout] 21: 0x55af0211b301 - z80emulib::cpu::cpu::Cpu::run_instruction::h2e7d8258ccec64a3 [INFO] [stdout] at /opt/rustwide/workdir/src/cpu/cpu.rs:519:18 [INFO] [stdout] 22: 0x55af020bf6ec - zex::test_zex::test_rom::h93a3c20d445f3d32 [INFO] [stdout] at /opt/rustwide/workdir/tests/zex.rs:64:13 [INFO] [stdout] 23: 0x55af020bf8a4 - zex::test_zex::test_zex::h1442250377cf7bb3 [INFO] [stdout] at /opt/rustwide/workdir/tests/zex.rs:75:9 [INFO] [stdout] 24: 0x55af020bf877 - zex::test_zex::test_zex::{{closure}}::heed50eff0b7fed15 [INFO] [stdout] at /opt/rustwide/workdir/tests/zex.rs:74:18 [INFO] [stdout] 25: 0x55af020be7d6 - core::ops::function::FnOnce::call_once::h73f8304bc7a5d0f8 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x55af020f88df - core::ops::function::FnOnce::call_once::h2b5d431d5046312d [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x55af020f88df - test::__rust_begin_short_backtrace::h7714669af176e207 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18 [INFO] [stdout] 28: 0x55af020f78f5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60 [INFO] [stdout] 29: 0x55af020f78f5 - as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x55af020f78f5 - std::panicking::try::do_call::h3bd5d0f6620ee946 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40 [INFO] [stdout] 31: 0x55af020f78f5 - std::panicking::try::h232e535e4744fe31 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19 [INFO] [stdout] 32: 0x55af020f78f5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14 [INFO] [stdout] 33: 0x55af020f78f5 - test::run_test_in_process::hc97b257c9621286a [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27 [INFO] [stdout] 34: 0x55af020f78f5 - test::run_test::{{closure}}::h2aa798823a438d38 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43 [INFO] [stdout] 35: 0x55af020bfbb6 - test::run_test::{{closure}}::h87d231c78fb59832 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41 [INFO] [stdout] 36: 0x55af020bfbb6 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18 [INFO] [stdout] 37: 0x55af020c4c67 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17 [INFO] [stdout] 38: 0x55af020c4c67 - as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x55af020c4c67 - std::panicking::try::do_call::h9057517f80303cd4 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40 [INFO] [stdout] 40: 0x55af020c4c67 - std::panicking::try::he3a30b11ee45340c [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19 [INFO] [stdout] 41: 0x55af020c4c67 - std::panic::catch_unwind::h410458cfd3528b8b [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14 [INFO] [stdout] 42: 0x55af020c4c67 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30 [INFO] [stdout] 43: 0x55af020c4c67 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x55af02191e05 - as core::ops::function::FnOnce>::call_once::hc7eafaff61e32df9 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 45: 0x55af02191e05 - as core::ops::function::FnOnce>::call_once::h6ba4a5de48dd2304 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 46: 0x55af02191e05 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45 [INFO] [stdout] at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 47: 0x7f43be62aac3 - [INFO] [stdout] 48: 0x7f43be6bbbf4 - __clone [INFO] [stdout] 49: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_zex::test_zex [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test zex` [INFO] running `Command { std: "docker" "inspect" "13786c7bbfedc56b4cdbeaa44c1567f3cf3b13ee4e17ac9012bfaa2149c0624f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13786c7bbfedc56b4cdbeaa44c1567f3cf3b13ee4e17ac9012bfaa2149c0624f", kill_on_drop: false }` [INFO] [stdout] 13786c7bbfedc56b4cdbeaa44c1567f3cf3b13ee4e17ac9012bfaa2149c0624f [INFO] testing Daedrus/rustz80emu against beta-2024-01-09 for beta-1.76-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaedrus%2Frustz80emu" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Daedrus/rustz80emu on toolchain beta-2024-01-09 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-01-09" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Daedrus/rustz80emu [INFO] finished tweaking git repo https://github.com/Daedrus/rustz80emu [INFO] tweaked toml for git repo https://github.com/Daedrus/rustz80emu written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Daedrus/rustz80emu 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" "+beta-2024-01-09" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+beta-2024-01-09" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b63422f2175d377c59c98fa2a1619f7d9e5f659d3839c5a59585df2d9f03f834 [INFO] running `Command { std: "docker" "start" "-a" "b63422f2175d377c59c98fa2a1619f7d9e5f659d3839c5a59585df2d9f03f834", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b63422f2175d377c59c98fa2a1619f7d9e5f659d3839c5a59585df2d9f03f834", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b63422f2175d377c59c98fa2a1619f7d9e5f659d3839c5a59585df2d9f03f834", kill_on_drop: false }` [INFO] [stdout] b63422f2175d377c59c98fa2a1619f7d9e5f659d3839c5a59585df2d9f03f834 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-01-09" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 050a1207dd472ae06cc385849a26f32c1fc847df3a85a5e08fda61cea776798c [INFO] running `Command { std: "docker" "start" "-a" "050a1207dd472ae06cc385849a26f32c1fc847df3a85a5e08fda61cea776798c", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling num-bigint v0.2.0 [INFO] [stderr] Compiling regex v1.0.4 [INFO] [stderr] Compiling memchr v2.0.2 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling num-complex v0.2.0 [INFO] [stderr] Compiling serde v1.0.75 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling log v0.4.4 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling termcolor v1.0.3 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling getopts v0.2.18 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling sdl2 v0.31.0 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling text_io v0.1.7 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.24/src/serialize.rs:1155:5 [INFO] [stdout] | [INFO] [stdout] 1155 | fn decode(d: &mut D) -> Result, D::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /rustc/650745ceb2ae60e04f8cd7bfb671fc37239533e4/library/alloc/src/borrow.rs:180:30 [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 1151 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T> [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num v0.2.0 [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-serialize` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "050a1207dd472ae06cc385849a26f32c1fc847df3a85a5e08fda61cea776798c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "050a1207dd472ae06cc385849a26f32c1fc847df3a85a5e08fda61cea776798c", kill_on_drop: false }` [INFO] [stdout] 050a1207dd472ae06cc385849a26f32c1fc847df3a85a5e08fda61cea776798c