[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 master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaedrus%2Frustz80emu" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Daedrus/rustz80emu on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-4/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: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7651bba9fcbe7db46b0748185ebd66af5f9247fdb7b814116b6690049e8c9cd1 [INFO] running `Command { std: "docker" "start" "-a" "7651bba9fcbe7db46b0748185ebd66af5f9247fdb7b814116b6690049e8c9cd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7651bba9fcbe7db46b0748185ebd66af5f9247fdb7b814116b6690049e8c9cd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7651bba9fcbe7db46b0748185ebd66af5f9247fdb7b814116b6690049e8c9cd1", kill_on_drop: false }` [INFO] [stdout] 7651bba9fcbe7db46b0748185ebd66af5f9247fdb7b814116b6690049e8c9cd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff709d261ae78a80d35c218823075b4a7cf798f6de4bcf6c8bffc596525af08f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ff709d261ae78a80d35c218823075b4a7cf798f6de4bcf6c8bffc596525af08f", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling libc v0.2.43 [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 serde v1.0.75 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling regex v1.0.4 [INFO] [stderr] Compiling num-complex v0.2.0 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling termcolor v1.0.3 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling text_io v0.1.7 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling log v0.4.4 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling getopts v0.2.18 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling memchr v2.0.2 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling rand v0.3.22 [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 bincode v1.0.1 [INFO] [stderr] Compiling env_logger v0.5.13 [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` (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` (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` (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] = note: `#[warn(anonymous_parameters)]` on by default [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: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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is 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: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: 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] | ^^^^^^^^^^^ help: use `dyn`: `dyn Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_fdcb.rs:617:39 [INFO] [stdout] | [INFO] [stdout] 617 | pub const INSTR_TABLE_FDCB: [&'static Instruction; 256] = [ [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Instruction` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_ddcb.rs:617:39 [INFO] [stdout] | [INFO] [stdout] 617 | pub const INSTR_TABLE_DDCB: [&'static Instruction; 256] = [ [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Instruction` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_cb.rs:584:37 [INFO] [stdout] | [INFO] [stdout] 584 | pub const INSTR_TABLE_CB: [&'static Instruction; 256] = [ [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Instruction` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_ed.rs:983:37 [INFO] [stdout] | [INFO] [stdout] 983 | pub const INSTR_TABLE_ED: [&'static Instruction; 256] = [ [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Instruction` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_dd.rs:614:37 [INFO] [stdout] | [INFO] [stdout] 614 | pub const INSTR_TABLE_DD: [&'static Instruction; 256] = [ [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Instruction` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_fd.rs:612:37 [INFO] [stdout] | [INFO] [stdout] 612 | pub const INSTR_TABLE_FD: [&'static Instruction; 256] = [ [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Instruction` [INFO] [stdout] | [INFO] [stdout] = warning: this is 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` (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` (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` (in Nightly builds, run with -Z macro-backtrace for more info) [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: 72 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: `#[warn(non_fmt_panics)]` on by default [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] 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 1m 01s [INFO] running `Command { std: "docker" "inspect" "ff709d261ae78a80d35c218823075b4a7cf798f6de4bcf6c8bffc596525af08f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff709d261ae78a80d35c218823075b4a7cf798f6de4bcf6c8bffc596525af08f", kill_on_drop: false }` [INFO] [stdout] ff709d261ae78a80d35c218823075b4a7cf798f6de4bcf6c8bffc596525af08f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae8c8a667a1a454e8ee5ab0a07ef82146c00883fa0e6da8f22cb039f4e2d8225 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ae8c8a667a1a454e8ee5ab0a07ef82146c00883fa0e6da8f22cb039f4e2d8225", 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` (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` (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` (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] = note: `#[warn(anonymous_parameters)]` on by default [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: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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is 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: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: 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] | ^^^^^^^^^^^ help: use `dyn`: `dyn Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_fdcb.rs:617:39 [INFO] [stdout] | [INFO] [stdout] 617 | pub const INSTR_TABLE_FDCB: [&'static Instruction; 256] = [ [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Instruction` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_ddcb.rs:617:39 [INFO] [stdout] | [INFO] [stdout] 617 | pub const INSTR_TABLE_DDCB: [&'static Instruction; 256] = [ [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Instruction` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_cb.rs:584:37 [INFO] [stdout] | [INFO] [stdout] 584 | pub const INSTR_TABLE_CB: [&'static Instruction; 256] = [ [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Instruction` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_ed.rs:983:37 [INFO] [stdout] | [INFO] [stdout] 983 | pub const INSTR_TABLE_ED: [&'static Instruction; 256] = [ [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Instruction` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_dd.rs:614:37 [INFO] [stdout] | [INFO] [stdout] 614 | pub const INSTR_TABLE_DD: [&'static Instruction; 256] = [ [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Instruction` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_fd.rs:612:37 [INFO] [stdout] | [INFO] [stdout] 612 | pub const INSTR_TABLE_FD: [&'static Instruction; 256] = [ [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Instruction` [INFO] [stdout] | [INFO] [stdout] = warning: this is 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` (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` (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` (in Nightly builds, run with -Z macro-backtrace for more info) [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: 72 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustz80emu v0.4.1 (/opt/rustwide/workdir) [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: `#[warn(non_fmt_panics)]` on by default [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] 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` (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` (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` (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] = note: `#[warn(anonymous_parameters)]` on by default [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: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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is 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: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: 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] | ^^^^^^^^^^^ help: use `dyn`: `dyn Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_fdcb.rs:617:39 [INFO] [stdout] | [INFO] [stdout] 617 | pub const INSTR_TABLE_FDCB: [&'static Instruction; 256] = [ [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Instruction` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_ddcb.rs:617:39 [INFO] [stdout] | [INFO] [stdout] 617 | pub const INSTR_TABLE_DDCB: [&'static Instruction; 256] = [ [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Instruction` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_cb.rs:584:37 [INFO] [stdout] | [INFO] [stdout] 584 | pub const INSTR_TABLE_CB: [&'static Instruction; 256] = [ [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Instruction` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_ed.rs:983:37 [INFO] [stdout] | [INFO] [stdout] 983 | pub const INSTR_TABLE_ED: [&'static Instruction; 256] = [ [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Instruction` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_dd.rs:614:37 [INFO] [stdout] | [INFO] [stdout] 614 | pub const INSTR_TABLE_DD: [&'static Instruction; 256] = [ [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Instruction` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/instructions_fd.rs:612:37 [INFO] [stdout] | [INFO] [stdout] 612 | pub const INSTR_TABLE_FD: [&'static Instruction; 256] = [ [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Instruction` [INFO] [stdout] | [INFO] [stdout] = warning: this is 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` (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` (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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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: 72 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.27s [INFO] running `Command { std: "docker" "inspect" "ae8c8a667a1a454e8ee5ab0a07ef82146c00883fa0e6da8f22cb039f4e2d8225", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae8c8a667a1a454e8ee5ab0a07ef82146c00883fa0e6da8f22cb039f4e2d8225", kill_on_drop: false }` [INFO] [stdout] ae8c8a667a1a454e8ee5ab0a07ef82146c00883fa0e6da8f22cb039f4e2d8225 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1eb0c21015e45b845c7d6c74c385df8c39f95fbe257a160f54680b3db5fab48d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1eb0c21015e45b845c7d6c74c385df8c39f95fbe257a160f54680b3db5fab48d", 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` (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] = note: `#[warn(anonymous_parameters)]` on by default [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: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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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: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: 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] | ^^^^^^^^^^^ help: use `dyn`: `dyn Instruction` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [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: 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] | ^^^^^^^^^^^ help: use `dyn`: `dyn Instruction` [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: 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] | ^^^^^^^^^^^ help: use `dyn`: `dyn Instruction` [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: 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] | ^^^^^^^^^^^ help: use `dyn`: `dyn Instruction` [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: 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] | ^^^^^^^^^^^ help: use `dyn`: `dyn Instruction` [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: 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] | ^^^^^^^^^^^ help: use `dyn`: `dyn Instruction` [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: 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] | ^^^^^^^^^^^ help: use `dyn`: `dyn Instruction` [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` (in Nightly builds, run with -Z macro-backtrace for more info) [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 72 warnings (4 duplicates) [INFO] [stderr] warning: `rustz80emu` (lib test) generated 72 warnings (72 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: 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: 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: `#[warn(non_fmt_panics)]` on by default [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] 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: `rustz80emu` (test "zex") generated 1 warning [INFO] [stderr] warning: `rustz80emu` (test "fuse") generated 1 warning [INFO] [stderr] warning: `rustz80emu` (bin "z80emubin") generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/z80emulib-0a7c3e99a94273e6) [INFO] [stdout] running 0 tests [INFO] [stderr] Running tests/fuse.rs (/opt/rustwide/target/debug/deps/fuse-b79a33506f906292) [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] [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-8a357d585876e6cd) [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 'attempt to subtract with overflow', src/cpu/instructions.rs:396:24 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5643cea4093c - std::backtrace_rs::backtrace::libunwind::trace::h7630ba4cba718aa0 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5643cea4093c - std::backtrace_rs::backtrace::trace_unsynchronized::he7498e79c157f5ac [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5643cea4093c - std::sys_common::backtrace::_print_fmt::hdaebadaee17bca49 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5643cea4093c - ::fmt::h82b0e3aaf8a96140 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x5643cea636ec - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x5643cea3c875 - std::io::Write::write_fmt::h21d7683cabdb4c35 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x5643cea42390 - std::sys_common::backtrace::_print::h1c9a1d19c48821c1 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x5643cea42390 - std::sys_common::backtrace::print::h7ce8802039fa9d0e [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x5643cea42390 - std::panicking::default_hook::{{closure}}::hb2a74a8c1499c326 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x5643cea41f76 - std::panicking::default_hook::hf4f180b00076f2b2 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x5643cea42a44 - std::panicking::rust_panic_with_hook::he85ce8435493b711 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x5643cea424f2 - std::panicking::begin_panic_handler::{{closure}}::h31e15f69e6235bd2 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:500:13 [INFO] [stdout] 12: 0x5643cea40df4 - std::sys_common::backtrace::__rust_end_short_backtrace::hfce2fadb61aaa3ae [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x5643cea42489 - rust_begin_unwind [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x5643ce98e871 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/panicking.rs:107:14 [INFO] [stdout] 15: 0x5643ce98e7bd - core::panicking::panic::h50b51d19800453c0 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/panicking.rs:48:5 [INFO] [stdout] 16: 0x5643ce9cd1a6 - ::execute::hb9c6d337f17c6a91 [INFO] [stdout] at /opt/rustwide/workdir/src/cpu/instructions.rs:396:24 [INFO] [stdout] 17: 0x5643ce9f994c - z80emulib::cpu::cpu::Cpu::run_instruction::hf704ce29b5a0f33b [INFO] [stdout] at /opt/rustwide/workdir/src/cpu/cpu.rs:519:18 [INFO] [stdout] 18: 0x5643ce98fa12 - zex::test_zex::test_rom::h16a22f9f71095130 [INFO] [stdout] at /opt/rustwide/workdir/tests/zex.rs:64:13 [INFO] [stdout] 19: 0x5643ce98fb24 - zex::test_zex::test_zex::h804c185dd9857cf4 [INFO] [stdout] at /opt/rustwide/workdir/tests/zex.rs:75:9 [INFO] [stdout] 20: 0x5643ce98fafa - zex::test_zex::test_zex::{{closure}}::hc473f272aafb2d9a [INFO] [stdout] at /opt/rustwide/workdir/tests/zex.rs:74:5 [INFO] [stdout] 21: 0x5643ce98fc5e - core::ops::function::FnOnce::call_once::h39251ee20e294fdf [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x5643ce9c4973 - core::ops::function::FnOnce::call_once::h449577f1c5b077cb [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 23: 0x5643ce9c4973 - test::__rust_begin_short_backtrace::h8c2a0a5090591869 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/test/src/lib.rs:585:5 [INFO] [stdout] 24: 0x5643ce9c3507 - as core::ops::function::FnOnce>::call_once::hea00a22128a38543 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 25: 0x5643ce9c3507 - as core::ops::function::FnOnce<()>>::call_once::he10b35c3c50d78a0 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 26: 0x5643ce9c3507 - std::panicking::try::do_call::hc868e78bbc5af2ab [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:406:40 [INFO] [stdout] 27: 0x5643ce9c3507 - std::panicking::try::he468aede74df1b04 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:370:19 [INFO] [stdout] 28: 0x5643ce9c3507 - std::panic::catch_unwind::hce3c9152e1cf772d [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panic.rs:133:14 [INFO] [stdout] 29: 0x5643ce9c3507 - test::run_test_in_process::h9c4ab8162080cf8c [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/test/src/lib.rs:608:18 [INFO] [stdout] 30: 0x5643ce9c3507 - test::run_test::run_test_inner::{{closure}}::he9483433cef16afe [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/test/src/lib.rs:500:39 [INFO] [stdout] 31: 0x5643ce99084e - test::run_test::run_test_inner::{{closure}}::h479f1f872a5501ea [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/test/src/lib.rs:527:37 [INFO] [stdout] 32: 0x5643ce99084e - std::sys_common::backtrace::__rust_begin_short_backtrace::h0f1e9b1f279687bc [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 33: 0x5643ce995678 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::he5560613c5f5cb83 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/thread/mod.rs:484:17 [INFO] [stdout] 34: 0x5643ce995678 - as core::ops::function::FnOnce<()>>::call_once::h8190a68cb05ab92f [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 35: 0x5643ce995678 - std::panicking::try::do_call::h6ae22f5ac22596e4 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:406:40 [INFO] [stdout] 36: 0x5643ce995678 - std::panicking::try::h2381c25487d6a7c2 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:370:19 [INFO] [stdout] 37: 0x5643ce995678 - std::panic::catch_unwind::hfe902f4d5c9d7b6d [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panic.rs:133:14 [INFO] [stdout] 38: 0x5643ce995678 - std::thread::Builder::spawn_unchecked::{{closure}}::h547fad40771a584e [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/thread/mod.rs:483:30 [INFO] [stdout] 39: 0x5643ce995678 - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8602a9971738410 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 40: 0x5643cea474d3 - as core::ops::function::FnOnce>::call_once::he162a5c338a10a39 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 41: 0x5643cea474d3 - as core::ops::function::FnOnce>::call_once::hb27497b21740dd97 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 42: 0x5643cea474d3 - std::sys::unix::thread::Thread::new::thread_start::he467e990e49c5136 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 43: 0x7f60e13d8609 - start_thread [INFO] [stdout] 44: 0x7f60e11a8293 - clone [INFO] [stdout] 45: 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.07s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test zex' [INFO] running `Command { std: "docker" "inspect" "1eb0c21015e45b845c7d6c74c385df8c39f95fbe257a160f54680b3db5fab48d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1eb0c21015e45b845c7d6c74c385df8c39f95fbe257a160f54680b3db5fab48d", kill_on_drop: false }` [INFO] [stdout] 1eb0c21015e45b845c7d6c74c385df8c39f95fbe257a160f54680b3db5fab48d