[INFO] cloning repository https://github.com/nosferatu500/Gameboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nosferatu500/Gameboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnosferatu500%2FGameboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnosferatu500%2FGameboy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eadfc12fe26bdca17cbe6feeff58938d7ec952f7 [INFO] checking nosferatu500/Gameboy against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnosferatu500%2FGameboy" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nosferatu500/Gameboy on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nosferatu500/Gameboy [INFO] finished tweaking git repo https://github.com/nosferatu500/Gameboy [INFO] tweaked toml for git repo https://github.com/nosferatu500/Gameboy written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nosferatu500/Gameboy 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded atty v0.2.8 [INFO] [stderr] Downloaded sdl2 v0.31.0 [INFO] [stderr] Downloaded sdl2-sys v0.31.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de2a4596b24b77c2e1d9915c34a8f651e2a3f3c187f9baa85fcaa7d66a6192de [INFO] running `Command { std: "docker" "start" "-a" "de2a4596b24b77c2e1d9915c34a8f651e2a3f3c187f9baa85fcaa7d66a6192de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de2a4596b24b77c2e1d9915c34a8f651e2a3f3c187f9baa85fcaa7d66a6192de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de2a4596b24b77c2e1d9915c34a8f651e2a3f3c187f9baa85fcaa7d66a6192de", kill_on_drop: false }` [INFO] [stdout] de2a4596b24b77c2e1d9915c34a8f651e2a3f3c187f9baa85fcaa7d66a6192de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1518420377a2f35a2d16557c2a0f579fea29be6f84240adb3272aeff4ed0c7fe [INFO] running `Command { std: "docker" "start" "-a" "1518420377a2f35a2d16557c2a0f579fea29be6f84240adb3272aeff4ed0c7fe", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Checking num-traits v0.2.2 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking nom v1.2.4 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking atty v0.2.8 [INFO] [stderr] Checking clap v2.31.2 [INFO] [stderr] Checking num-integer v0.1.36 [INFO] [stderr] Checking num-iter v0.1.35 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking sdl2 v0.31.0 [INFO] [stderr] Checking gameboy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/bus.rs:465:24 [INFO] [stdout] | [INFO] [stdout] 465 | 0xFF08 ... 0xFF0E => { [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/bus.rs:465:24 [INFO] [stdout] | [INFO] [stdout] 465 | 0xFF08 ... 0xFF0E => { [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/bus.rs:676:24 [INFO] [stdout] | [INFO] [stdout] 676 | 0xFF27 ... 0xFF2F => { [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/bus.rs:676:24 [INFO] [stdout] | [INFO] [stdout] 676 | 0xFF27 ... 0xFF2F => { [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/bus.rs:679:24 [INFO] [stdout] | [INFO] [stdout] 679 | 0xFF30 ... 0xFF3F => { [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/bus.rs:679:24 [INFO] [stdout] | [INFO] [stdout] 679 | 0xFF30 ... 0xFF3F => { [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: unnecessary trailing semicolon [INFO] [stdout] --> src/cpu.rs:536:69 [INFO] [stdout] | [INFO] [stdout] 536 | self.register.flag.c = (self.register.a == 1) as u8;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/cpu.rs:536:69 [INFO] [stdout] | [INFO] [stdout] 536 | self.register.flag.c = (self.register.a == 1) as u8;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mbc/mbc1.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | 0x0000 ... 0x1FFF => { [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/mbc/mbc1.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | 0x0000 ... 0x1FFF => { [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/mbc/mbc1.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | 0x6000 ... 0x7FFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mbc/mod.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | try!(check_checksum(&buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mbc/mbc1.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | 0x6000 ... 0x7FFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mbc/mod.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | try!(check_checksum(&buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mbc/mod.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | 0x01 ... 0x03 => mbc1::MBC1::new(buf).map(|v| Box::new(v) as Box), [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/mbc/mod.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | 0x01 ... 0x03 => mbc1::MBC1::new(buf).map(|v| Box::new(v) as Box), [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/bus.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | mbc: Box<::mbc::MBC+'static>, [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 | mbc: Box, [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bus.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | mbc: Box<::mbc::MBC+'static>, [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 | mbc: Box, [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bus.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new(mbc: Box<::mbc::MBC+'static>) -> Bus { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new(mbc: Box) -> Bus { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bus.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new(mbc: Box<::mbc::MBC+'static>) -> Bus { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new(mbc: Box) -> Bus { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mbc/mod.rs:51:60 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_mbc>(path: P) -> ::StrResult> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_mbc>(path: P) -> ::StrResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mbc/mod.rs:51:60 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_mbc>(path: P) -> ::StrResult> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_mbc>(path: P) -> ::StrResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/debugger.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 74 | panic!("{:x}", addr); [INFO] [stdout] | -------------------- any code following this expression is unreachable [INFO] [stdout] 75 | / while self.cpu.get_pc() != addr { [INFO] [stdout] 76 | | self.cpu.update_ime(); [INFO] [stdout] 77 | | self.cpu.run_next_instruction(false); [INFO] [stdout] 78 | | } [INFO] [stdout] | |_________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/debugger.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 74 | panic!("{:x}", addr); [INFO] [stdout] | -------------------- any code following this expression is unreachable [INFO] [stdout] 75 | / while self.cpu.get_pc() != addr { [INFO] [stdout] 76 | | self.cpu.update_ime(); [INFO] [stdout] 77 | | self.cpu.run_next_instruction(false); [INFO] [stdout] 78 | | } [INFO] [stdout] | |_________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mbc/mod.rs:61:65 [INFO] [stdout] | [INFO] [stdout] 61 | 0x00 => mbc0::MBC0::new(buf).map(|v| Box::new(v) as 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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | 0x00 => mbc0::MBC0::new(buf).map(|v| Box::new(v) as Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mbc/mod.rs:62:74 [INFO] [stdout] | [INFO] [stdout] 62 | 0x01 ... 0x03 => mbc1::MBC1::new(buf).map(|v| Box::new(v) as 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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | 0x01 ... 0x03 => mbc1::MBC1::new(buf).map(|v| Box::new(v) as Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mbc/mod.rs:61:65 [INFO] [stdout] | [INFO] [stdout] 61 | 0x00 => mbc0::MBC0::new(buf).map(|v| Box::new(v) as 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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | 0x00 => mbc0::MBC0::new(buf).map(|v| Box::new(v) as Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mbc/mod.rs:62:74 [INFO] [stdout] | [INFO] [stdout] 62 | 0x01 ... 0x03 => mbc1::MBC1::new(buf).map(|v| Box::new(v) as 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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | 0x01 ... 0x03 => mbc1::MBC1::new(buf).map(|v| Box::new(v) as Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:118:21 [INFO] [stdout] | [INFO] [stdout] 118 | if let Some(offset) = map::VIDEO_RAM.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:118:21 [INFO] [stdout] | [INFO] [stdout] 118 | if let Some(offset) = map::VIDEO_RAM.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | if let Some(offset) = map::CHARACTER_DATA.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | if let Some(offset) = map::CHARACTER_DATA.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | if let Some(offset) = map::BG_DISPLAY_DATA_1.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | if let Some(offset) = map::BG_DISPLAY_DATA_1.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | if let Some(offset) = map::BG_DISPLAY_DATA_2.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | if let Some(offset) = map::BG_DISPLAY_DATA_2.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | if let Some(offset) = map::NOT_USABLE_1.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | if let Some(offset) = map::NOT_USABLE_1.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | if let Some(offset) = map::NOT_USABLE_2.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | if let Some(offset) = map::NOT_USABLE_2.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | if let Some(offset) = map::IO.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | if let Some(offset) = map::IO.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:383:21 [INFO] [stdout] | [INFO] [stdout] 383 | if let Some(offset) = map::NOT_USABLE_1.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:387:21 [INFO] [stdout] | [INFO] [stdout] 387 | if let Some(offset) = map::NOT_USABLE_2.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:391:21 [INFO] [stdout] | [INFO] [stdout] 391 | if let Some(offset) = map::VIDEO_RAM.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:393:25 [INFO] [stdout] | [INFO] [stdout] 393 | if let Some(offset) = map::CHARACTER_DATA.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:383:21 [INFO] [stdout] | [INFO] [stdout] 383 | if let Some(offset) = map::NOT_USABLE_1.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:397:25 [INFO] [stdout] | [INFO] [stdout] 397 | if let Some(offset) = map::BG_DISPLAY_DATA_1.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:387:21 [INFO] [stdout] | [INFO] [stdout] 387 | if let Some(offset) = map::NOT_USABLE_2.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:401:25 [INFO] [stdout] | [INFO] [stdout] 401 | if let Some(offset) = map::BG_DISPLAY_DATA_2.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:418:21 [INFO] [stdout] | [INFO] [stdout] 418 | if let Some(offset) = map::IO.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:391:21 [INFO] [stdout] | [INFO] [stdout] 391 | if let Some(offset) = map::VIDEO_RAM.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:393:25 [INFO] [stdout] | [INFO] [stdout] 393 | if let Some(offset) = map::CHARACTER_DATA.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:397:25 [INFO] [stdout] | [INFO] [stdout] 397 | if let Some(offset) = map::BG_DISPLAY_DATA_1.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:401:25 [INFO] [stdout] | [INFO] [stdout] 401 | if let Some(offset) = map::BG_DISPLAY_DATA_2.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:418:21 [INFO] [stdout] | [INFO] [stdout] 418 | if let Some(offset) = map::IO.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nn` [INFO] [stdout] --> src/cpu.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | let nn = (self.bus.load(self.current_pc + 2) as u16) << 8 [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_nn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/cpu.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | let n = self.bus.load(self.current_pc + 1); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nn` [INFO] [stdout] --> src/cpu.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | let nn = (self.bus.load(self.current_pc + 2) as u16) << 8 [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_nn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/cpu.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | let n = self.bus.load(self.current_pc + 1); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `black` [INFO] [stdout] --> src/main.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let black = sdl2::pixels::Color::RGB(0, 0, 0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_black` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `black` [INFO] [stdout] --> src/main.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let black = sdl2::pixels::Color::RGB(0, 0, 0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_black` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_data` is never used [INFO] [stdout] --> src/bus.rs:847:12 [INFO] [stdout] | [INFO] [stdout] 836 | impl InterruptEnable { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 847 | pub fn get_data(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_data` is never used [INFO] [stdout] --> src/bus.rs:847:12 [INFO] [stdout] | [INFO] [stdout] 836 | impl InterruptEnable { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 847 | pub fn get_data(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cartrige_type` is never read [INFO] [stdout] --> src/cpu.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Cpu { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | cartrige_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cartrige_type` is never read [INFO] [stdout] --> src/cpu.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Cpu { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | cartrige_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_SPRITES` is never used [INFO] [stdout] --> src/gui.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const MAX_SPRITES: u32 = 40; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_SPRITES` is never used [INFO] [stdout] --> src/gui.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const MAX_SPRITES: u32 = 40; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_LINE` is never used [INFO] [stdout] --> src/gui.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const MAX_LINE: u32 = 10; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_LINE` is never used [INFO] [stdout] --> src/gui.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const MAX_LINE: u32 = 10; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OAM` is never constructed [INFO] [stdout] --> src/gui.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct OAM { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OAM` is never constructed [INFO] [stdout] --> src/gui.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct OAM { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bg_tile_map` and `color` are never read [INFO] [stdout] --> src/gui.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Gui { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub bg_tile_map: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bg_tile_map` and `color` are never read [INFO] [stdout] --> src/gui.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Gui { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub bg_tile_map: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXTERNAL_CLOCK` is never used [INFO] [stdout] --> src/serial.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const EXTERNAL_CLOCK: u32 = 500 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXTERNAL_CLOCK` is never used [INFO] [stdout] --> src/serial.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const EXTERNAL_CLOCK: u32 = 500 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INTERNAL_CLOCK` is never used [INFO] [stdout] --> src/serial.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const INTERNAL_CLOCK: u32 = 8192; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INTERNAL_CLOCK` is never used [INFO] [stdout] --> src/serial.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const INTERNAL_CLOCK: u32 = 8192; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `writeram` is never used [INFO] [stdout] --> src/mbc/mod.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait MBC { [INFO] [stdout] | --- method in this trait [INFO] [stdout] ... [INFO] [stdout] 48 | fn writeram(&mut self, address: u16, value: u8); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `writeram` is never used [INFO] [stdout] --> src/mbc/mod.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait MBC { [INFO] [stdout] | --- method in this trait [INFO] [stdout] ... [INFO] [stdout] 48 | fn writeram(&mut self, address: u16, value: u8); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.02s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0, nom v1.2.4 [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" "1518420377a2f35a2d16557c2a0f579fea29be6f84240adb3272aeff4ed0c7fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1518420377a2f35a2d16557c2a0f579fea29be6f84240adb3272aeff4ed0c7fe", kill_on_drop: false }` [INFO] [stdout] 1518420377a2f35a2d16557c2a0f579fea29be6f84240adb3272aeff4ed0c7fe [INFO] checking nosferatu500/Gameboy against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnosferatu500%2FGameboy" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nosferatu500/Gameboy on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nosferatu500/Gameboy [INFO] finished tweaking git repo https://github.com/nosferatu500/Gameboy [INFO] tweaked toml for git repo https://github.com/nosferatu500/Gameboy written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/nosferatu500/Gameboy 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b479eac5074d52cba5afd84d8f4dc63c0e413dee13e17a3404123d108879154 [INFO] running `Command { std: "docker" "start" "-a" "4b479eac5074d52cba5afd84d8f4dc63c0e413dee13e17a3404123d108879154", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b479eac5074d52cba5afd84d8f4dc63c0e413dee13e17a3404123d108879154", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b479eac5074d52cba5afd84d8f4dc63c0e413dee13e17a3404123d108879154", kill_on_drop: false }` [INFO] [stdout] 4b479eac5074d52cba5afd84d8f4dc63c0e413dee13e17a3404123d108879154 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2030a01500c046219e8ebcfc65d469026b4162bd8ad0028ac39f086d12edea5 [INFO] running `Command { std: "docker" "start" "-a" "a2030a01500c046219e8ebcfc65d469026b4162bd8ad0028ac39f086d12edea5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Checking num-traits v0.2.2 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking nom v1.2.4 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking atty v0.2.8 [INFO] [stderr] Checking clap v2.31.2 [INFO] [stderr] Checking num-integer v0.1.36 [INFO] [stderr] Checking num-iter v0.1.35 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking sdl2 v0.31.0 [INFO] [stderr] Checking gameboy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/bus.rs:465:24 [INFO] [stdout] | [INFO] [stdout] 465 | 0xFF08 ... 0xFF0E => { [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/bus.rs:465:24 [INFO] [stdout] | [INFO] [stdout] 465 | 0xFF08 ... 0xFF0E => { [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/bus.rs:676:24 [INFO] [stdout] | [INFO] [stdout] 676 | 0xFF27 ... 0xFF2F => { [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/bus.rs:679:24 [INFO] [stdout] | [INFO] [stdout] 679 | 0xFF30 ... 0xFF3F => { [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/bus.rs:676:24 [INFO] [stdout] | [INFO] [stdout] 676 | 0xFF27 ... 0xFF2F => { [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: unnecessary trailing semicolon [INFO] [stdout] --> src/cpu.rs:536:69 [INFO] [stdout] | [INFO] [stdout] 536 | self.register.flag.c = (self.register.a == 1) as u8;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/bus.rs:679:24 [INFO] [stdout] | [INFO] [stdout] 679 | 0xFF30 ... 0xFF3F => { [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: unnecessary trailing semicolon [INFO] [stdout] --> src/cpu.rs:536:69 [INFO] [stdout] | [INFO] [stdout] 536 | self.register.flag.c = (self.register.a == 1) as u8;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mbc/mbc1.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | 0x0000 ... 0x1FFF => { [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/mbc/mbc1.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | 0x0000 ... 0x1FFF => { [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/mbc/mbc1.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | 0x6000 ... 0x7FFF => { [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/mbc/mbc1.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | 0x6000 ... 0x7FFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mbc/mod.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | try!(check_checksum(&buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mbc/mod.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | try!(check_checksum(&buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mbc/mod.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | 0x01 ... 0x03 => mbc1::MBC1::new(buf).map(|v| Box::new(v) as Box), [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/mbc/mod.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | 0x01 ... 0x03 => mbc1::MBC1::new(buf).map(|v| Box::new(v) as Box), [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/bus.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | mbc: Box<::mbc::MBC+'static>, [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 | mbc: Box, [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bus.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | mbc: Box<::mbc::MBC+'static>, [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 | mbc: Box, [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bus.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new(mbc: Box<::mbc::MBC+'static>) -> Bus { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new(mbc: Box) -> Bus { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bus.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new(mbc: Box<::mbc::MBC+'static>) -> Bus { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new(mbc: Box) -> Bus { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mbc/mod.rs:51:60 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_mbc>(path: P) -> ::StrResult> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_mbc>(path: P) -> ::StrResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mbc/mod.rs:51:60 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_mbc>(path: P) -> ::StrResult> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_mbc>(path: P) -> ::StrResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/debugger.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 74 | panic!("{:x}", addr); [INFO] [stdout] | -------------------- any code following this expression is unreachable [INFO] [stdout] 75 | / while self.cpu.get_pc() != addr { [INFO] [stdout] 76 | | self.cpu.update_ime(); [INFO] [stdout] 77 | | self.cpu.run_next_instruction(false); [INFO] [stdout] 78 | | } [INFO] [stdout] | |_________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/debugger.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 74 | panic!("{:x}", addr); [INFO] [stdout] | -------------------- any code following this expression is unreachable [INFO] [stdout] 75 | / while self.cpu.get_pc() != addr { [INFO] [stdout] 76 | | self.cpu.update_ime(); [INFO] [stdout] 77 | | self.cpu.run_next_instruction(false); [INFO] [stdout] 78 | | } [INFO] [stdout] | |_________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mbc/mod.rs:61:65 [INFO] [stdout] | [INFO] [stdout] 61 | 0x00 => mbc0::MBC0::new(buf).map(|v| Box::new(v) as 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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | 0x00 => mbc0::MBC0::new(buf).map(|v| Box::new(v) as Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mbc/mod.rs:61:65 [INFO] [stdout] | [INFO] [stdout] 61 | 0x00 => mbc0::MBC0::new(buf).map(|v| Box::new(v) as 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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | 0x00 => mbc0::MBC0::new(buf).map(|v| Box::new(v) as Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mbc/mod.rs:62:74 [INFO] [stdout] | [INFO] [stdout] 62 | 0x01 ... 0x03 => mbc1::MBC1::new(buf).map(|v| Box::new(v) as 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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | 0x01 ... 0x03 => mbc1::MBC1::new(buf).map(|v| Box::new(v) as Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mbc/mod.rs:62:74 [INFO] [stdout] | [INFO] [stdout] 62 | 0x01 ... 0x03 => mbc1::MBC1::new(buf).map(|v| Box::new(v) as 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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | 0x01 ... 0x03 => mbc1::MBC1::new(buf).map(|v| Box::new(v) as Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:118:21 [INFO] [stdout] | [INFO] [stdout] 118 | if let Some(offset) = map::VIDEO_RAM.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | if let Some(offset) = map::CHARACTER_DATA.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:118:21 [INFO] [stdout] | [INFO] [stdout] 118 | if let Some(offset) = map::VIDEO_RAM.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | if let Some(offset) = map::BG_DISPLAY_DATA_1.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | if let Some(offset) = map::BG_DISPLAY_DATA_2.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | if let Some(offset) = map::CHARACTER_DATA.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | if let Some(offset) = map::NOT_USABLE_1.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | if let Some(offset) = map::NOT_USABLE_2.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | if let Some(offset) = map::BG_DISPLAY_DATA_1.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | if let Some(offset) = map::IO.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | if let Some(offset) = map::BG_DISPLAY_DATA_2.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | if let Some(offset) = map::NOT_USABLE_1.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | if let Some(offset) = map::NOT_USABLE_2.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | if let Some(offset) = map::IO.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:383:21 [INFO] [stdout] | [INFO] [stdout] 383 | if let Some(offset) = map::NOT_USABLE_1.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:383:21 [INFO] [stdout] | [INFO] [stdout] 383 | if let Some(offset) = map::NOT_USABLE_1.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:387:21 [INFO] [stdout] | [INFO] [stdout] 387 | if let Some(offset) = map::NOT_USABLE_2.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:387:21 [INFO] [stdout] | [INFO] [stdout] 387 | if let Some(offset) = map::NOT_USABLE_2.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:391:21 [INFO] [stdout] | [INFO] [stdout] 391 | if let Some(offset) = map::VIDEO_RAM.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:393:25 [INFO] [stdout] | [INFO] [stdout] 393 | if let Some(offset) = map::CHARACTER_DATA.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:397:25 [INFO] [stdout] | [INFO] [stdout] 397 | if let Some(offset) = map::BG_DISPLAY_DATA_1.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:401:25 [INFO] [stdout] | [INFO] [stdout] 401 | if let Some(offset) = map::BG_DISPLAY_DATA_2.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:418:21 [INFO] [stdout] | [INFO] [stdout] 418 | if let Some(offset) = map::IO.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:391:21 [INFO] [stdout] | [INFO] [stdout] 391 | if let Some(offset) = map::VIDEO_RAM.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:393:25 [INFO] [stdout] | [INFO] [stdout] 393 | if let Some(offset) = map::CHARACTER_DATA.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:397:25 [INFO] [stdout] | [INFO] [stdout] 397 | if let Some(offset) = map::BG_DISPLAY_DATA_1.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:401:25 [INFO] [stdout] | [INFO] [stdout] 401 | if let Some(offset) = map::BG_DISPLAY_DATA_2.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/bus.rs:418:21 [INFO] [stdout] | [INFO] [stdout] 418 | if let Some(offset) = map::IO.contains(addr) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nn` [INFO] [stdout] --> src/cpu.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | let nn = (self.bus.load(self.current_pc + 2) as u16) << 8 [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_nn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nn` [INFO] [stdout] --> src/cpu.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | let nn = (self.bus.load(self.current_pc + 2) as u16) << 8 [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_nn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/cpu.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | let n = self.bus.load(self.current_pc + 1); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/cpu.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | let n = self.bus.load(self.current_pc + 1); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `black` [INFO] [stdout] --> src/main.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let black = sdl2::pixels::Color::RGB(0, 0, 0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_black` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `black` [INFO] [stdout] --> src/main.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let black = sdl2::pixels::Color::RGB(0, 0, 0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_black` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_data` is never used [INFO] [stdout] --> src/bus.rs:847:12 [INFO] [stdout] | [INFO] [stdout] 836 | impl InterruptEnable { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 847 | pub fn get_data(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cartrige_type` is never read [INFO] [stdout] --> src/cpu.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Cpu { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | cartrige_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_SPRITES` is never used [INFO] [stdout] --> src/gui.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const MAX_SPRITES: u32 = 40; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_LINE` is never used [INFO] [stdout] --> src/gui.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const MAX_LINE: u32 = 10; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OAM` is never constructed [INFO] [stdout] --> src/gui.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct OAM { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bg_tile_map` and `color` are never read [INFO] [stdout] --> src/gui.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Gui { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub bg_tile_map: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXTERNAL_CLOCK` is never used [INFO] [stdout] --> src/serial.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const EXTERNAL_CLOCK: u32 = 500 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INTERNAL_CLOCK` is never used [INFO] [stdout] --> src/serial.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const INTERNAL_CLOCK: u32 = 8192; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `writeram` is never used [INFO] [stdout] --> src/mbc/mod.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait MBC { [INFO] [stdout] | --- method in this trait [INFO] [stdout] ... [INFO] [stdout] 48 | fn writeram(&mut self, address: u16, value: u8); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_data` is never used [INFO] [stdout] --> src/bus.rs:847:12 [INFO] [stdout] | [INFO] [stdout] 836 | impl InterruptEnable { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 847 | pub fn get_data(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cartrige_type` is never read [INFO] [stdout] --> src/cpu.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Cpu { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | cartrige_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_SPRITES` is never used [INFO] [stdout] --> src/gui.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const MAX_SPRITES: u32 = 40; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_LINE` is never used [INFO] [stdout] --> src/gui.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const MAX_LINE: u32 = 10; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OAM` is never constructed [INFO] [stdout] --> src/gui.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct OAM { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bg_tile_map` and `color` are never read [INFO] [stdout] --> src/gui.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Gui { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub bg_tile_map: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXTERNAL_CLOCK` is never used [INFO] [stdout] --> src/serial.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const EXTERNAL_CLOCK: u32 = 500 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INTERNAL_CLOCK` is never used [INFO] [stdout] --> src/serial.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const INTERNAL_CLOCK: u32 = 8192; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `writeram` is never used [INFO] [stdout] --> src/mbc/mod.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait MBC { [INFO] [stdout] | --- method in this trait [INFO] [stdout] ... [INFO] [stdout] 48 | fn writeram(&mut self, address: u16, value: u8); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mbc/mod.rs:61:46 [INFO] [stdout] | [INFO] [stdout] 61 | 0x00 => mbc0::MBC0::new(buf).map(|v| Box::new(v) as Box), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mbc/mod.rs:62:55 [INFO] [stdout] | [INFO] [stdout] 62 | 0x01 ... 0x03 => mbc1::MBC1::new(buf).map(|v| Box::new(v) as Box), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mbc/mod.rs:61:46 [INFO] [stdout] | [INFO] [stdout] 61 | 0x00 => mbc0::MBC0::new(buf).map(|v| Box::new(v) as Box), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mbc/mod.rs:62:55 [INFO] [stdout] | [INFO] [stdout] 62 | 0x01 ... 0x03 => mbc1::MBC1::new(buf).map(|v| Box::new(v) as Box), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gameboy` (bin "gameboy" test) due to 3 previous errors; 40 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `gameboy` (bin "gameboy") due to 3 previous errors; 40 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a2030a01500c046219e8ebcfc65d469026b4162bd8ad0028ac39f086d12edea5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2030a01500c046219e8ebcfc65d469026b4162bd8ad0028ac39f086d12edea5", kill_on_drop: false }` [INFO] [stdout] a2030a01500c046219e8ebcfc65d469026b4162bd8ad0028ac39f086d12edea5