[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.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNivenT%2FRGB" "/workspace/builds/worker-61/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-61/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NivenT/RGB on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.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-61/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.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded core-foundation v0.4.4 [INFO] [stderr] Downloaded rustc-demangle v0.1.5 [INFO] [stderr] Downloaded core-foundation-sys v0.4.4 [INFO] [stderr] Downloaded gcc v0.3.54 [INFO] [stderr] Downloaded shared_library v0.1.7 [INFO] [stderr] Downloaded memmap v0.2.3 [INFO] [stderr] Downloaded backtrace-sys v0.1.12 [INFO] [stderr] Downloaded libz-sys v1.0.16 [INFO] [stderr] Downloaded fps_clock v2.0.0 [INFO] [stderr] Downloaded sdl2-sys v0.27.3 [INFO] [stderr] Downloaded crossbeam v0.2.10 [INFO] [stderr] Downloaded wayland-kbd v0.3.6 [INFO] [stderr] Downloaded freetype-sys v0.4.0 [INFO] [stderr] Downloaded tempfile v2.1.6 [INFO] [stderr] Downloaded wayland-scanner v0.5.11 [INFO] [stderr] Downloaded itoa v0.3.3 [INFO] [stderr] Downloaded sdl2 v0.27.3 [INFO] [stderr] Downloaded x11-dl v2.15.0 [INFO] [stderr] Downloaded lazy_static v0.1.16 [INFO] [stderr] Downloaded glium_sdl2 v0.13.0 [INFO] [stderr] Downloaded glium_text v0.10.0 [INFO] [stderr] Downloaded glium v0.15.0 [INFO] [stderr] Downloaded glutin v0.6.2 [INFO] [stderr] Downloaded libc v0.2.30 [INFO] [stderr] Downloaded wayland-client v0.5.12 [INFO] [stderr] Downloaded wayland-sys v0.5.11 [INFO] [stderr] Downloaded wayland-window v0.2.3 [INFO] [stderr] Downloaded tini v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ef0415775375f846adb27e18b1ca840aa8285ec9a561046f23935643e564d0a [INFO] running `Command { std: "docker" "start" "-a" "4ef0415775375f846adb27e18b1ca840aa8285ec9a561046f23935643e564d0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ef0415775375f846adb27e18b1ca840aa8285ec9a561046f23935643e564d0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ef0415775375f846adb27e18b1ca840aa8285ec9a561046f23935643e564d0a", kill_on_drop: false }` [INFO] [stdout] 4ef0415775375f846adb27e18b1ca840aa8285ec9a561046f23935643e564d0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1942f99ecdc9a7e49393c9992f2581820f3cb676ef767bd3f53d3e1931aa41a7 [INFO] running `Command { std: "docker" "start" "-a" "1942f99ecdc9a7e49393c9992f2581820f3cb676ef767bd3f53d3e1931aa41a7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.30 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling itoa v0.3.3 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling winapi v0.2.8 [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 byteorder v0.5.3 [INFO] [stderr] Compiling rustc-demangle v0.1.5 [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 phf_shared v0.7.21 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling x11-dl v2.15.0 [INFO] [stderr] Compiling freetype-sys v0.4.0 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling rand v0.3.16 [INFO] [stderr] Compiling shared_library v0.1.7 [INFO] [stderr] Compiling time v0.1.38 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling backtrace-sys v0.1.12 [INFO] [stderr] Compiling libz-sys v1.0.16 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Compiling wayland-scanner v0.5.11 [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 phf_generator v0.7.21 [INFO] [stderr] Compiling tempfile v2.1.6 [INFO] [stderr] Compiling sdl2 v0.27.3 [INFO] [stderr] Compiling memmap v0.2.3 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Compiling wayland-client v0.5.12 [INFO] [stderr] Compiling target_build_utils v0.3.1 [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 13s [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1942f99ecdc9a7e49393c9992f2581820f3cb676ef767bd3f53d3e1931aa41a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1942f99ecdc9a7e49393c9992f2581820f3cb676ef767bd3f53d3e1931aa41a7", kill_on_drop: false }` [INFO] [stdout] 1942f99ecdc9a7e49393c9992f2581820f3cb676ef767bd3f53d3e1931aa41a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb9c6762b0be675ea4cef53b0b3ebcb03242ba1a3b390d6518ffe96f4002f566 [INFO] running `Command { std: "docker" "start" "-a" "fb9c6762b0be675ea4cef53b0b3ebcb03242ba1a3b390d6518ffe96f4002f566", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 40.61s [INFO] running `Command { std: "docker" "inspect" "fb9c6762b0be675ea4cef53b0b3ebcb03242ba1a3b390d6518ffe96f4002f566", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb9c6762b0be675ea4cef53b0b3ebcb03242ba1a3b390d6518ffe96f4002f566", kill_on_drop: false }` [INFO] [stdout] fb9c6762b0be675ea4cef53b0b3ebcb03242ba1a3b390d6518ffe96f4002f566 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f0e636a47ed03f7611bbef9dcd3008a28c1e3ef68fa4c085a42ff0d8deb3971b [INFO] running `Command { std: "docker" "start" "-a" "f0e636a47ed03f7611bbef9dcd3008a28c1e3ef68fa4c085a42ff0d8deb3971b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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.75s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rgb-d7a81e408ddc6d99) [INFO] [stdout] [INFO] [stdout] running 30 tests [INFO] [stdout] test emulator::cb_instructions::test::test_res ... ok [INFO] [stdout] test emulator::cb_instructions::test::test_bit ... ok [INFO] [stdout] test emulator::cb_instructions::test::test_rlc ... ok [INFO] [stdout] test emulator::cb_instructions::test::test_rl ... ok [INFO] [stdout] test emulator::cb_instructions::test::test_rr ... ok [INFO] [stdout] test emulator::instructions::test::test_add_hl_sp ... ok [INFO] [stdout] test emulator::cb_instructions::test::test_sla ... ok [INFO] [stdout] test emulator::cb_instructions::test::test_set ... ok [INFO] [stdout] test emulator::instructions::test::test_cp ... ok [INFO] [stdout] test emulator::instructions::test::test_implemented_all_instructions ... ok [INFO] [stdout] test emulator::cb_instructions::test::test_rrc ... ok [INFO] [stdout] test emulator::cb_instructions::test::test_srl ... ok [INFO] [stdout] test emulator::instructions::test::test_inc_dec ... 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_sra ... ok [INFO] [stdout] test emulator::cb_instructions::test::test_swap ... ok [INFO] [stdout] test emulator::instructions::test::test_rla ... 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_call ... ok [INFO] [stdout] test emulator::instructions::test::test_ld_hl_spr8 ... ok [INFO] [stdout] test emulator::instructions::test::test_jr_nz ... ok [INFO] [stdout] test emulator::instructions::test::test_ret ... 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_rrca ... ok [INFO] [stdout] test emulator::instructions::test::test_sbc ... ok [INFO] [stdout] test emulator::instructions::test::test_xor ... 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" "f0e636a47ed03f7611bbef9dcd3008a28c1e3ef68fa4c085a42ff0d8deb3971b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0e636a47ed03f7611bbef9dcd3008a28c1e3ef68fa4c085a42ff0d8deb3971b", kill_on_drop: false }` [INFO] [stdout] f0e636a47ed03f7611bbef9dcd3008a28c1e3ef68fa4c085a42ff0d8deb3971b