[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 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNivenT%2FRGB" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NivenT/RGB on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-3/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: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "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] 0a3cce1a73c5c66875740fa25863b2b3471dadacb877c6820477d50fa098e57c [INFO] running `Command { std: "docker" "start" "-a" "0a3cce1a73c5c66875740fa25863b2b3471dadacb877c6820477d50fa098e57c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a3cce1a73c5c66875740fa25863b2b3471dadacb877c6820477d50fa098e57c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a3cce1a73c5c66875740fa25863b2b3471dadacb877c6820477d50fa098e57c", kill_on_drop: false }` [INFO] [stdout] 0a3cce1a73c5c66875740fa25863b2b3471dadacb877c6820477d50fa098e57c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e57a61704d58d6d50517e0fafe75b545f25b4afff0e076e82ae6be273e4868b3 [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" "e57a61704d58d6d50517e0fafe75b545f25b4afff0e076e82ae6be273e4868b3", kill_on_drop: false }` [INFO] [stderr] Compiling itoa v0.3.3 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling khronos_api v1.0.1 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling crossbeam v0.2.10 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling sdl2-sys v0.27.3 [INFO] [stderr] Compiling smallvec v0.1.8 [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 time v0.1.38 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling x11-dl v2.15.0 [INFO] [stderr] Compiling shared_library v0.1.7 [INFO] [stderr] Compiling freetype-sys v0.4.0 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling memmap v0.2.3 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Compiling backtrace-sys v0.1.12 [INFO] [stderr] Compiling libz-sys v1.0.16 [INFO] [stderr] Compiling wayland-scanner v0.5.11 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling tempfile v2.1.6 [INFO] [stderr] Compiling sdl2 v0.27.3 [INFO] [stderr] Compiling phf_codegen v0.7.21 [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 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_text v0.10.0 [INFO] [stderr] Compiling glium_sdl2 v0.13.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] = 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/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] = 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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 539 - pub type InstructionFunc = Option<&'static Fn(&mut Emulator, u16) -> u64>; [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 Fn(&mut Emulator) -> u64>; [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 1m 58s [INFO] running `Command { std: "docker" "inspect" "e57a61704d58d6d50517e0fafe75b545f25b4afff0e076e82ae6be273e4868b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e57a61704d58d6d50517e0fafe75b545f25b4afff0e076e82ae6be273e4868b3", kill_on_drop: false }` [INFO] [stdout] e57a61704d58d6d50517e0fafe75b545f25b4afff0e076e82ae6be273e4868b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e7dde69d457c5e4a7448dc4c6086ba7b6ff15f99a6eabcaa02ecb23fe54c6d7 [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" "8e7dde69d457c5e4a7448dc4c6086ba7b6ff15f99a6eabcaa02ecb23fe54c6d7", 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] = 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/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] = 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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 539 - pub type InstructionFunc = Option<&'static Fn(&mut Emulator, u16) -> u64>; [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 Fn(&mut Emulator) -> u64>; [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.37s [INFO] running `Command { std: "docker" "inspect" "8e7dde69d457c5e4a7448dc4c6086ba7b6ff15f99a6eabcaa02ecb23fe54c6d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e7dde69d457c5e4a7448dc4c6086ba7b6ff15f99a6eabcaa02ecb23fe54c6d7", kill_on_drop: false }` [INFO] [stdout] 8e7dde69d457c5e4a7448dc4c6086ba7b6ff15f99a6eabcaa02ecb23fe54c6d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4e9f8dd3ba9c76c0f14bd908ef58bfe938d0471e6f1c33dbd8f227930eff919a [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" "4e9f8dd3ba9c76c0f14bd908ef58bfe938d0471e6f1c33dbd8f227930eff919a", 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] = 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/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] = 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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 539 - pub type InstructionFunc = Option<&'static Fn(&mut Emulator, u16) -> u64>; [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 Fn(&mut Emulator) -> u64>; [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 [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rgb-98f5aa7fb6e66274) [INFO] [stdout] [INFO] [stdout] running 30 tests [INFO] [stdout] test emulator::cb_instructions::test::test_rrc ... ok [INFO] [stdout] test emulator::instructions::test::test_implemented_all_instructions ... ok [INFO] [stdout] test emulator::cb_instructions::test::test_res ... ok [INFO] [stdout] test emulator::cb_instructions::test::test_rl ... ok [INFO] [stdout] test emulator::instructions::test::test_cp ... ok [INFO] [stdout] test emulator::instructions::test::test_cpl ... ok [INFO] [stdout] test emulator::instructions::test::test_daa ... ok [INFO] [stdout] test emulator::cb_instructions::test::test_sla ... ok [INFO] [stdout] test emulator::cb_instructions::test::test_srl ... ok [INFO] [stdout] test emulator::cb_instructions::test::test_rlc ... ok [INFO] [stdout] test emulator::cb_instructions::test::test_sra ... ok [INFO] [stdout] test emulator::instructions::test::test_inc_dec ... 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::cb_instructions::test::test_swap ... ok [INFO] [stdout] test emulator::instructions::test::test_ld_hl_spr8 ... ok [INFO] [stdout] test emulator::instructions::test::test_push_pop ... ok [INFO] [stdout] test emulator::cb_instructions::test::test_set ... ok [INFO] [stdout] test emulator::cb_instructions::test::test_bit ... ok [INFO] [stdout] test emulator::cb_instructions::test::test_rr ... ok [INFO] [stdout] test emulator::instructions::test::test_jr_nz ... ok [INFO] [stdout] test emulator::instructions::test::test_ld_hld_a ... ok [INFO] [stdout] test emulator::instructions::test::test_ret ... ok [INFO] [stdout] test emulator::registers::test::test_joint_reg ... ok [INFO] [stdout] test emulator::instructions::test::test_rrca ... ok [INFO] [stdout] test emulator::instructions::test::test_sbc ... ok [INFO] [stdout] test emulator::instructions::test::test_rla ... ok [INFO] [stdout] test emulator::instructions::test::test_xor ... ok [INFO] [stdout] test emulator::registers::test::test_ind_reg ... ok [INFO] [stdout] test emulator::instructions::test::test_rst ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 30 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4e9f8dd3ba9c76c0f14bd908ef58bfe938d0471e6f1c33dbd8f227930eff919a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e9f8dd3ba9c76c0f14bd908ef58bfe938d0471e6f1c33dbd8f227930eff919a", kill_on_drop: false }` [INFO] [stdout] 4e9f8dd3ba9c76c0f14bd908ef58bfe938d0471e6f1c33dbd8f227930eff919a