[INFO] cloning repository https://github.com/NivenT/RGB [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NivenT/RGB" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNivenT%2FRGB", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNivenT%2FRGB'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f2f0889499ee076448c68af335d497e54f64370c [INFO] testing NivenT/RGB against master#159ba8a92c9e2fa4121f106176309521f4af87e9+rustflags=-Copt-level=3 for pr-107051 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNivenT%2FRGB" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NivenT/RGB on toolchain 159ba8a92c9e2fa4121f106176309521f4af87e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/NivenT/RGB [INFO] finished tweaking git repo https://github.com/NivenT/RGB [INFO] tweaked toml for git repo https://github.com/NivenT/RGB written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/NivenT/RGB already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdl2-sys v0.27.3 [INFO] [stderr] Downloaded core-foundation-sys v0.4.4 [INFO] [stderr] Downloaded freetype-sys v0.4.0 [INFO] [stderr] Downloaded backtrace-sys v0.1.12 [INFO] [stderr] Downloaded libz-sys v1.0.16 [INFO] [stderr] Downloaded x11-dl v2.15.0 [INFO] [stderr] Downloaded core-foundation v0.4.4 [INFO] [stderr] Downloaded tini v0.1.1 [INFO] [stderr] Downloaded fps_clock v2.0.0 [INFO] [stderr] Downloaded shared_library v0.1.7 [INFO] [stderr] Downloaded tempfile v2.1.6 [INFO] [stderr] Downloaded sdl2 v0.27.3 [INFO] [stderr] Downloaded glium_sdl2 v0.13.0 [INFO] [stderr] Downloaded glium_text v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad6e61d3fb0359fa222217d8c61ef364d9407e7690e7bac691b3e88fe456d454 [INFO] running `Command { std: "docker" "start" "-a" "ad6e61d3fb0359fa222217d8c61ef364d9407e7690e7bac691b3e88fe456d454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad6e61d3fb0359fa222217d8c61ef364d9407e7690e7bac691b3e88fe456d454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad6e61d3fb0359fa222217d8c61ef364d9407e7690e7bac691b3e88fe456d454", kill_on_drop: false }` [INFO] [stdout] ad6e61d3fb0359fa222217d8c61ef364d9407e7690e7bac691b3e88fe456d454 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b22517a7c89917b5a1dc1340427f994af0d5f1d231285738adacee6b1c3b727f [INFO] running `Command { std: "docker" "start" "-a" "b22517a7c89917b5a1dc1340427f994af0d5f1d231285738adacee6b1c3b727f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.30 [INFO] [stderr] Compiling siphasher v0.2.2 [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling itoa v0.3.3 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling khronos_api v1.0.1 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling crossbeam v0.2.10 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling rustc-demangle v0.1.5 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling sdl2-sys v0.27.3 [INFO] [stderr] Compiling smallvec v0.1.8 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling tini v0.1.1 [INFO] [stderr] Compiling fps_clock v2.0.0 [INFO] [stderr] Compiling rand v0.3.16 [INFO] [stderr] Compiling shared_library v0.1.7 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling num-integer v0.1.35 [INFO] [stderr] Compiling memmap v0.2.3 [INFO] [stderr] Compiling time v0.1.38 [INFO] [stderr] Compiling num-iter v0.1.34 [INFO] [stderr] Compiling wayland-scanner v0.5.11 [INFO] [stderr] Compiling num v0.1.40 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling x11-dl v2.15.0 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Compiling tempfile v2.1.6 [INFO] [stderr] Compiling freetype-sys v0.4.0 [INFO] [stderr] Compiling sdl2 v0.27.3 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling wayland-client v0.5.12 [INFO] [stderr] Compiling glutin v0.6.2 [INFO] [stderr] Compiling glium v0.15.0 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling backtrace-sys v0.1.12 [INFO] [stderr] Compiling libz-sys v1.0.16 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Compiling dlib v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.5.11 [INFO] [stderr] Compiling wayland-window v0.2.3 [INFO] [stderr] Compiling wayland-kbd v0.3.6 [INFO] [stderr] Compiling glium_sdl2 v0.13.0 [INFO] [stderr] Compiling glium_text v0.10.0 [INFO] [stderr] Compiling rgb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/emulator/rom_info.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | n @ 0...7 => Some(2usize.pow(n+5)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/emulator/mbc.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | 1...3 => Some(CartridgeType::MBC1), [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/emulator/mbc.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | 15...19 => Some(CartridgeType::MBC3), [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/emulator/mbc.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | 25...30 => Some(CartridgeType::MBC5), [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/emulator/instructions.rs:539:44 [INFO] [stdout] | [INFO] [stdout] 539 | pub type InstructionFunc = Option<&'static Fn(&mut Emulator, u16) -> u64>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 539 | pub type InstructionFunc = Option<&'static dyn Fn(&mut Emulator, u16) -> u64>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/emulator/cb_instructions.rs:312:46 [INFO] [stdout] | [INFO] [stdout] 312 | pub type CBInstructionFunc = Option<&'static Fn(&mut Emulator) -> u64>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 312 | pub type CBInstructionFunc = Option<&'static dyn Fn(&mut Emulator) -> u64>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 17s [INFO] running `Command { std: "docker" "inspect" "b22517a7c89917b5a1dc1340427f994af0d5f1d231285738adacee6b1c3b727f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b22517a7c89917b5a1dc1340427f994af0d5f1d231285738adacee6b1c3b727f", kill_on_drop: false }` [INFO] [stdout] b22517a7c89917b5a1dc1340427f994af0d5f1d231285738adacee6b1c3b727f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 176a3513a236aca6cbd543edeead5b4928d010ab18776259eb44b023dbfeb811 [INFO] running `Command { std: "docker" "start" "-a" "176a3513a236aca6cbd543edeead5b4928d010ab18776259eb44b023dbfeb811", kill_on_drop: false }` [INFO] [stderr] Compiling rgb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/emulator/rom_info.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | n @ 0...7 => Some(2usize.pow(n+5)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/emulator/mbc.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | 1...3 => Some(CartridgeType::MBC1), [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/emulator/mbc.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | 15...19 => Some(CartridgeType::MBC3), [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/emulator/mbc.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | 25...30 => Some(CartridgeType::MBC5), [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/emulator/instructions.rs:539:44 [INFO] [stdout] | [INFO] [stdout] 539 | pub type InstructionFunc = Option<&'static Fn(&mut Emulator, u16) -> u64>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 539 | pub type InstructionFunc = Option<&'static dyn Fn(&mut Emulator, u16) -> u64>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/emulator/cb_instructions.rs:312:46 [INFO] [stdout] | [INFO] [stdout] 312 | pub type CBInstructionFunc = Option<&'static Fn(&mut Emulator) -> u64>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 312 | pub type CBInstructionFunc = Option<&'static dyn Fn(&mut Emulator) -> u64>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.33s [INFO] running `Command { std: "docker" "inspect" "176a3513a236aca6cbd543edeead5b4928d010ab18776259eb44b023dbfeb811", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "176a3513a236aca6cbd543edeead5b4928d010ab18776259eb44b023dbfeb811", kill_on_drop: false }` [INFO] [stdout] 176a3513a236aca6cbd543edeead5b4928d010ab18776259eb44b023dbfeb811 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9325c40c41dd8e00a0bd18be20002a4d4f67fcfa8a668fd6b47953bcaeb4478f [INFO] running `Command { std: "docker" "start" "-a" "9325c40c41dd8e00a0bd18be20002a4d4f67fcfa8a668fd6b47953bcaeb4478f", kill_on_drop: false }` [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/emulator/rom_info.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | n @ 0...7 => Some(2usize.pow(n+5)), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/emulator/mbc.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | 1...3 => Some(CartridgeType::MBC1), [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/emulator/mbc.rs:23:6 [INFO] [stderr] | [INFO] [stderr] 23 | 15...19 => Some(CartridgeType::MBC3), [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/emulator/mbc.rs:24:6 [INFO] [stderr] | [INFO] [stderr] 24 | 25...30 => Some(CartridgeType::MBC5), [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/emulator/instructions.rs:539:44 [INFO] [stderr] | [INFO] [stderr] 539 | pub type InstructionFunc = Option<&'static Fn(&mut Emulator, u16) -> u64>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 539 | pub type InstructionFunc = Option<&'static dyn Fn(&mut Emulator, u16) -> u64>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/emulator/cb_instructions.rs:312:46 [INFO] [stderr] | [INFO] [stderr] 312 | pub type CBInstructionFunc = Option<&'static Fn(&mut Emulator) -> u64>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 312 | pub type CBInstructionFunc = Option<&'static dyn Fn(&mut Emulator) -> u64>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `rgb` (bin "rgb" test) generated 6 warnings (run `cargo fix --bin "rgb" --tests` to apply 6 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rgb-13a2ca813598b85f) [INFO] [stdout] [INFO] [stdout] running 30 tests [INFO] [stdout] test emulator::cb_instructions::test::test_bit ... ok [INFO] [stdout] test emulator::cb_instructions::test::test_rl ... ok [INFO] [stdout] test emulator::instructions::test::test_inc_dec ... ok [INFO] [stdout] test emulator::instructions::test::test_jr_nz ... ok [INFO] [stdout] test emulator::instructions::test::test_ld_hl_spr8 ... ok [INFO] [stdout] test emulator::instructions::test::test_ld_hld_a ... ok [INFO] [stdout] test emulator::instructions::test::test_push_pop ... ok [INFO] [stdout] test emulator::instructions::test::test_ret ... ok [INFO] [stdout] test emulator::cb_instructions::test::test_res ... ok [INFO] [stdout] test emulator::instructions::test::test_implemented_all_instructions ... ok [INFO] [stdout] test emulator::instructions::test::test_add_hl_sp ... ok [INFO] [stdout] test emulator::instructions::test::test_call ... ok [INFO] [stdout] test emulator::instructions::test::test_cp ... ok [INFO] [stdout] test emulator::cb_instructions::test::test_rr ... ok [INFO] [stdout] test emulator::cb_instructions::test::test_swap ... ok [INFO] [stdout] test emulator::cb_instructions::test::test_srl ... ok [INFO] [stdout] test emulator::cb_instructions::test::test_set ... ok [INFO] [stdout] test emulator::cb_instructions::test::test_sla ... ok [INFO] [stdout] test emulator::cb_instructions::test::test_sra ... ok [INFO] [stdout] test emulator::instructions::test::test_cpl ... ok [INFO] [stdout] test emulator::cb_instructions::test::test_rrc ... ok [INFO] [stdout] test emulator::registers::test::test_ind_reg ... ok [INFO] [stdout] test emulator::registers::test::test_joint_reg ... ok [INFO] [stdout] test emulator::instructions::test::test_rla ... ok [INFO] [stdout] test emulator::instructions::test::test_rst ... ok [INFO] [stdout] test emulator::instructions::test::test_xor ... ok [INFO] [stdout] test emulator::cb_instructions::test::test_rlc ... ok [INFO] [stdout] test emulator::instructions::test::test_sbc ... ok [INFO] [stdout] test emulator::instructions::test::test_daa ... ok [INFO] [stdout] test emulator::instructions::test::test_rrca ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 30 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9325c40c41dd8e00a0bd18be20002a4d4f67fcfa8a668fd6b47953bcaeb4478f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9325c40c41dd8e00a0bd18be20002a4d4f67fcfa8a668fd6b47953bcaeb4478f", kill_on_drop: false }` [INFO] [stdout] 9325c40c41dd8e00a0bd18be20002a4d4f67fcfa8a668fd6b47953bcaeb4478f