[INFO] cloning repository https://github.com/kyren/rsgb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kyren/rsgb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyren%2Frsgb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyren%2Frsgb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 265788bae175ca52fbfdba1c8ca6b8cb48db044f [INFO] building kyren/rsgb against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyren%2Frsgb" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kyren/rsgb on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kyren/rsgb [INFO] finished tweaking git repo https://github.com/kyren/rsgb [INFO] tweaked toml for git repo https://github.com/kyren/rsgb written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kyren/rsgb 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded png v0.6.2 [INFO] [stderr] Downloaded num-traits v0.1.37 [INFO] [stderr] Downloaded num-iter v0.1.33 [INFO] [stderr] Downloaded num_cpus v1.3.0 [INFO] [stderr] Downloaded enum_primitive v0.1.1 [INFO] [stderr] Downloaded byteorder v1.0.0 [INFO] [stderr] Downloaded num-rational v0.1.36 [INFO] [stderr] Downloaded deque v0.3.1 [INFO] [stderr] Downloaded lzw v0.10.0 [INFO] [stderr] Downloaded gif v0.9.1 [INFO] [stderr] Downloaded rand v0.3.15 [INFO] [stderr] Downloaded rayon-core v1.0.0 [INFO] [stderr] Downloaded deflate v0.7.6 [INFO] [stderr] Downloaded rayon v0.7.0 [INFO] [stderr] Downloaded libc v0.2.21 [INFO] [stderr] Downloaded jpeg-decoder v0.1.12 [INFO] [stderr] Downloaded lazy_static v0.2.8 [INFO] [stderr] Downloaded bitflags v0.7.0 [INFO] [stderr] Downloaded scoped_threadpool v0.1.7 [INFO] [stderr] Downloaded inflate v0.1.1 [INFO] [stderr] Downloaded num-integer v0.1.34 [INFO] [stderr] Downloaded color_quant v1.0.0 [INFO] [stderr] Downloaded adler32 v1.0.0 [INFO] [stderr] Downloaded image v0.12.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27e107d59314631f90f6d1d86956ac5bdd318faf562dc072cc02ff459342cde9 [INFO] running `Command { std: "docker" "start" "-a" "27e107d59314631f90f6d1d86956ac5bdd318faf562dc072cc02ff459342cde9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27e107d59314631f90f6d1d86956ac5bdd318faf562dc072cc02ff459342cde9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27e107d59314631f90f6d1d86956ac5bdd318faf562dc072cc02ff459342cde9", kill_on_drop: false }` [INFO] [stdout] 27e107d59314631f90f6d1d86956ac5bdd318faf562dc072cc02ff459342cde9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d161fffcd4c0f35f2537a3e53f492204d6dddacc84c4b3bc524eeac71e587c6 [INFO] running `Command { std: "docker" "start" "-a" "7d161fffcd4c0f35f2537a3e53f492204d6dddacc84c4b3bc524eeac71e587c6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.21 [INFO] [stderr] Compiling num-traits v0.1.37 [INFO] [stderr] Compiling rayon-core v1.0.0 [INFO] [stderr] Compiling byteorder v1.0.0 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling adler32 v1.0.0 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling inflate v0.1.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.7 [INFO] [stderr] Compiling deflate v0.7.6 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling num-integer v0.1.34 [INFO] [stderr] Compiling num_cpus v1.3.0 [INFO] [stderr] Compiling num-iter v0.1.33 [INFO] [stderr] Compiling num-rational v0.1.36 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling gif v0.9.1 [INFO] [stderr] Compiling png v0.6.2 [INFO] [stderr] Compiling deque v0.3.1 [INFO] [stderr] Compiling rayon v0.7.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.12 [INFO] [stderr] Compiling image v0.12.4 [INFO] [stderr] Compiling rsgb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/emulator.rs:186:14 [INFO] [stdout] | [INFO] [stdout] 186 | 0...0x3fff => Ok(self.cartridge_rom_bank0[addr 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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/emulator.rs:187:19 [INFO] [stdout] | [INFO] [stdout] 187 | 0x4000...0x7fff => Ok(self.cartridge_rom_bank1[addr as usize - 0x4000]), [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.rs:188:19 [INFO] [stdout] | [INFO] [stdout] 188 | 0x8000...0x97ff => Ok(self.character_ram[addr as usize - 0x8000]), [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.rs:189:19 [INFO] [stdout] | [INFO] [stdout] 189 | 0x9800...0x9fff => Ok(self.bg_map_data[addr as usize - 0x9800]), [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.rs:190:19 [INFO] [stdout] | [INFO] [stdout] 190 | 0xa000...0xbfff => Err(format!("Illegal read from cartridge ram bank {}", addr).into()), [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.rs:191:19 [INFO] [stdout] | [INFO] [stdout] 191 | 0xc000...0xcfff => Ok(self.internal_ram_bank0[addr as usize - 0xc000]), [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.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | 0xd000...0xdfff => Ok(self.internal_ram_bank1[addr as usize - 0xd000]), [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.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 193 | 0xe000...0xfdff => self.get_memory(addr - 0x2000), [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.rs:194:19 [INFO] [stdout] | [INFO] [stdout] 194 | 0xfe00...0xfe99 => Ok(self.sprite_attribute_data[addr as usize - 0xfe00]), [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.rs:195:19 [INFO] [stdout] | [INFO] [stdout] 195 | 0xfea0...0xfeff => { [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.rs:198:19 [INFO] [stdout] | [INFO] [stdout] 198 | 0xff00...0xff7f => Ok(0x0), // TODO: Implement hardware registers [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.rs:199:19 [INFO] [stdout] | [INFO] [stdout] 199 | 0xff80...0xfffe => Ok(self.zero_page[addr as usize - 0xff80]), [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.rs:209:14 [INFO] [stdout] | [INFO] [stdout] 209 | 0...0x3fff => Err(format!("Illegal write to cartridge rom {}", addr).into()), [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.rs:210:19 [INFO] [stdout] | [INFO] [stdout] 210 | 0x4000...0x7fff => Err(format!("Illegal write to cartridge rom {}", addr).into()), [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.rs:211:19 [INFO] [stdout] | [INFO] [stdout] 211 | 0x8000...0x97ff => Ok(self.character_ram[addr as usize - 0x8000] = n), [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.rs:212:19 [INFO] [stdout] | [INFO] [stdout] 212 | 0x9800...0x9fff => Ok(self.bg_map_data[addr as usize - 0x9800] = n), [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.rs:213:19 [INFO] [stdout] | [INFO] [stdout] 213 | 0xa000...0xbfff => Err(format!("Illegal write to cartridge ram bank {}", addr).into()), [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.rs:214:19 [INFO] [stdout] | [INFO] [stdout] 214 | 0xc000...0xcfff => Ok(self.internal_ram_bank0[addr as usize - 0xc000] = n), [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.rs:215:19 [INFO] [stdout] | [INFO] [stdout] 215 | 0xd000...0xdfff => Ok(self.internal_ram_bank1[addr as usize - 0xd000] = n), [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.rs:216:19 [INFO] [stdout] | [INFO] [stdout] 216 | 0xe000...0xfdff => self.set_memory(addr - 0x2000, n), [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.rs:217:19 [INFO] [stdout] | [INFO] [stdout] 217 | 0xfe00...0xfe99 => Ok(self.sprite_attribute_data[addr as usize - 0xfe00] = n), [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.rs:218:19 [INFO] [stdout] | [INFO] [stdout] 218 | 0xfea0...0xfeff => { [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.rs:221:19 [INFO] [stdout] | [INFO] [stdout] 221 | 0xff00...0xff7f => Ok(()), // TODO: Implement hardware registers [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.rs:222:19 [INFO] [stdout] | [INFO] [stdout] 222 | 0xff80...0xfffe => Ok(self.zero_page[addr as usize - 0xff80] = n), [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/util.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | pub type Error = Box; [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | pub type Error = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/decoding.rs:598:17 [INFO] [stdout] | [INFO] [stdout] 598 | b => Err(format!("Improper instruction byte {:x} following 0xcb", b).into()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/decoding.rs:598:17 [INFO] [stdout] | [INFO] [stdout] 310 | 0x37 => Ok(SWAP_R(ARegister)), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 311 | 0x30 => Ok(SWAP_R(BRegister)), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 312 | 0x31 => Ok(SWAP_R(CRegister)), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 313 | 0x32 => Ok(SWAP_R(DRegister)), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 598 | b => Err(format!("Improper instruction byte {:x} following 0xcb", b).into()), [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 22.62s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "7d161fffcd4c0f35f2537a3e53f492204d6dddacc84c4b3bc524eeac71e587c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d161fffcd4c0f35f2537a3e53f492204d6dddacc84c4b3bc524eeac71e587c6", kill_on_drop: false }` [INFO] [stdout] 7d161fffcd4c0f35f2537a3e53f492204d6dddacc84c4b3bc524eeac71e587c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88f29816e466e86f269669976d701f4c047ce818b902b9e564bdc4433905e789 [INFO] running `Command { std: "docker" "start" "-a" "88f29816e466e86f269669976d701f4c047ce818b902b9e564bdc4433905e789", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/emulator.rs:186:14 [INFO] [stdout] | [INFO] [stdout] 186 | 0...0x3fff => Ok(self.cartridge_rom_bank0[addr 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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/emulator.rs:187:19 [INFO] [stdout] | [INFO] [stdout] 187 | 0x4000...0x7fff => Ok(self.cartridge_rom_bank1[addr as usize - 0x4000]), [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] [stderr] Compiling rsgb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/emulator.rs:188:19 [INFO] [stdout] | [INFO] [stdout] 188 | 0x8000...0x97ff => Ok(self.character_ram[addr as usize - 0x8000]), [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.rs:189:19 [INFO] [stdout] | [INFO] [stdout] 189 | 0x9800...0x9fff => Ok(self.bg_map_data[addr as usize - 0x9800]), [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.rs:190:19 [INFO] [stdout] | [INFO] [stdout] 190 | 0xa000...0xbfff => Err(format!("Illegal read from cartridge ram bank {}", addr).into()), [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.rs:191:19 [INFO] [stdout] | [INFO] [stdout] 191 | 0xc000...0xcfff => Ok(self.internal_ram_bank0[addr as usize - 0xc000]), [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.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | 0xd000...0xdfff => Ok(self.internal_ram_bank1[addr as usize - 0xd000]), [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.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 193 | 0xe000...0xfdff => self.get_memory(addr - 0x2000), [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.rs:194:19 [INFO] [stdout] | [INFO] [stdout] 194 | 0xfe00...0xfe99 => Ok(self.sprite_attribute_data[addr as usize - 0xfe00]), [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.rs:195:19 [INFO] [stdout] | [INFO] [stdout] 195 | 0xfea0...0xfeff => { [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.rs:198:19 [INFO] [stdout] | [INFO] [stdout] 198 | 0xff00...0xff7f => Ok(0x0), // TODO: Implement hardware registers [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.rs:199:19 [INFO] [stdout] | [INFO] [stdout] 199 | 0xff80...0xfffe => Ok(self.zero_page[addr as usize - 0xff80]), [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.rs:209:14 [INFO] [stdout] | [INFO] [stdout] 209 | 0...0x3fff => Err(format!("Illegal write to cartridge rom {}", addr).into()), [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.rs:210:19 [INFO] [stdout] | [INFO] [stdout] 210 | 0x4000...0x7fff => Err(format!("Illegal write to cartridge rom {}", addr).into()), [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.rs:211:19 [INFO] [stdout] | [INFO] [stdout] 211 | 0x8000...0x97ff => Ok(self.character_ram[addr as usize - 0x8000] = n), [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.rs:212:19 [INFO] [stdout] | [INFO] [stdout] 212 | 0x9800...0x9fff => Ok(self.bg_map_data[addr as usize - 0x9800] = n), [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.rs:213:19 [INFO] [stdout] | [INFO] [stdout] 213 | 0xa000...0xbfff => Err(format!("Illegal write to cartridge ram bank {}", addr).into()), [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.rs:214:19 [INFO] [stdout] | [INFO] [stdout] 214 | 0xc000...0xcfff => Ok(self.internal_ram_bank0[addr as usize - 0xc000] = n), [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.rs:215:19 [INFO] [stdout] | [INFO] [stdout] 215 | 0xd000...0xdfff => Ok(self.internal_ram_bank1[addr as usize - 0xd000] = n), [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.rs:216:19 [INFO] [stdout] | [INFO] [stdout] 216 | 0xe000...0xfdff => self.set_memory(addr - 0x2000, n), [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.rs:217:19 [INFO] [stdout] | [INFO] [stdout] 217 | 0xfe00...0xfe99 => Ok(self.sprite_attribute_data[addr as usize - 0xfe00] = n), [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.rs:218:19 [INFO] [stdout] | [INFO] [stdout] 218 | 0xfea0...0xfeff => { [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.rs:221:19 [INFO] [stdout] | [INFO] [stdout] 221 | 0xff00...0xff7f => Ok(()), // TODO: Implement hardware registers [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.rs:222:19 [INFO] [stdout] | [INFO] [stdout] 222 | 0xff80...0xfffe => Ok(self.zero_page[addr as usize - 0xff80] = n), [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/util.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | pub type Error = Box; [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | pub type Error = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/decoding.rs:598:17 [INFO] [stdout] | [INFO] [stdout] 598 | b => Err(format!("Improper instruction byte {:x} following 0xcb", b).into()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/decoding.rs:598:17 [INFO] [stdout] | [INFO] [stdout] 310 | 0x37 => Ok(SWAP_R(ARegister)), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 311 | 0x30 => Ok(SWAP_R(BRegister)), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 312 | 0x31 => Ok(SWAP_R(CRegister)), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 313 | 0x32 => Ok(SWAP_R(DRegister)), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 598 | b => Err(format!("Improper instruction byte {:x} following 0xcb", b).into()), [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/emulator.rs:186:14 [INFO] [stdout] | [INFO] [stdout] 186 | 0...0x3fff => Ok(self.cartridge_rom_bank0[addr 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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/emulator.rs:187:19 [INFO] [stdout] | [INFO] [stdout] 187 | 0x4000...0x7fff => Ok(self.cartridge_rom_bank1[addr as usize - 0x4000]), [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.rs:188:19 [INFO] [stdout] | [INFO] [stdout] 188 | 0x8000...0x97ff => Ok(self.character_ram[addr as usize - 0x8000]), [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.rs:189:19 [INFO] [stdout] | [INFO] [stdout] 189 | 0x9800...0x9fff => Ok(self.bg_map_data[addr as usize - 0x9800]), [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.rs:190:19 [INFO] [stdout] | [INFO] [stdout] 190 | 0xa000...0xbfff => Err(format!("Illegal read from cartridge ram bank {}", addr).into()), [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.rs:191:19 [INFO] [stdout] | [INFO] [stdout] 191 | 0xc000...0xcfff => Ok(self.internal_ram_bank0[addr as usize - 0xc000]), [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.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | 0xd000...0xdfff => Ok(self.internal_ram_bank1[addr as usize - 0xd000]), [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.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 193 | 0xe000...0xfdff => self.get_memory(addr - 0x2000), [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.rs:194:19 [INFO] [stdout] | [INFO] [stdout] 194 | 0xfe00...0xfe99 => Ok(self.sprite_attribute_data[addr as usize - 0xfe00]), [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.rs:195:19 [INFO] [stdout] | [INFO] [stdout] 195 | 0xfea0...0xfeff => { [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.rs:198:19 [INFO] [stdout] | [INFO] [stdout] 198 | 0xff00...0xff7f => Ok(0x0), // TODO: Implement hardware registers [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.rs:199:19 [INFO] [stdout] | [INFO] [stdout] 199 | 0xff80...0xfffe => Ok(self.zero_page[addr as usize - 0xff80]), [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.rs:209:14 [INFO] [stdout] | [INFO] [stdout] 209 | 0...0x3fff => Err(format!("Illegal write to cartridge rom {}", addr).into()), [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.rs:210:19 [INFO] [stdout] | [INFO] [stdout] 210 | 0x4000...0x7fff => Err(format!("Illegal write to cartridge rom {}", addr).into()), [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.rs:211:19 [INFO] [stdout] | [INFO] [stdout] 211 | 0x8000...0x97ff => Ok(self.character_ram[addr as usize - 0x8000] = n), [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.rs:212:19 [INFO] [stdout] | [INFO] [stdout] 212 | 0x9800...0x9fff => Ok(self.bg_map_data[addr as usize - 0x9800] = n), [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.rs:213:19 [INFO] [stdout] | [INFO] [stdout] 213 | 0xa000...0xbfff => Err(format!("Illegal write to cartridge ram bank {}", addr).into()), [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.rs:214:19 [INFO] [stdout] | [INFO] [stdout] 214 | 0xc000...0xcfff => Ok(self.internal_ram_bank0[addr as usize - 0xc000] = n), [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.rs:215:19 [INFO] [stdout] | [INFO] [stdout] 215 | 0xd000...0xdfff => Ok(self.internal_ram_bank1[addr as usize - 0xd000] = n), [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.rs:216:19 [INFO] [stdout] | [INFO] [stdout] 216 | 0xe000...0xfdff => self.set_memory(addr - 0x2000, n), [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.rs:217:19 [INFO] [stdout] | [INFO] [stdout] 217 | 0xfe00...0xfe99 => Ok(self.sprite_attribute_data[addr as usize - 0xfe00] = n), [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.rs:218:19 [INFO] [stdout] | [INFO] [stdout] 218 | 0xfea0...0xfeff => { [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.rs:221:19 [INFO] [stdout] | [INFO] [stdout] 221 | 0xff00...0xff7f => Ok(()), // TODO: Implement hardware registers [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.rs:222:19 [INFO] [stdout] | [INFO] [stdout] 222 | 0xff80...0xfffe => Ok(self.zero_page[addr as usize - 0xff80] = n), [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/util.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | pub type Error = Box; [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | pub type Error = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/decoding.rs:598:17 [INFO] [stdout] | [INFO] [stdout] 598 | b => Err(format!("Improper instruction byte {:x} following 0xcb", b).into()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/decoding.rs:598:17 [INFO] [stdout] | [INFO] [stdout] 310 | 0x37 => Ok(SWAP_R(ARegister)), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 311 | 0x30 => Ok(SWAP_R(BRegister)), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 312 | 0x31 => Ok(SWAP_R(CRegister)), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 313 | 0x32 => Ok(SWAP_R(DRegister)), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 598 | b => Err(format!("Improper instruction byte {:x} following 0xcb", b).into()), [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.84s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "88f29816e466e86f269669976d701f4c047ce818b902b9e564bdc4433905e789", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88f29816e466e86f269669976d701f4c047ce818b902b9e564bdc4433905e789", kill_on_drop: false }` [INFO] [stdout] 88f29816e466e86f269669976d701f4c047ce818b902b9e564bdc4433905e789