[INFO] cloning repository https://github.com/chrisbutcher/gameboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chrisbutcher/gameboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisbutcher%2Fgameboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisbutcher%2Fgameboy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ac1093be588df5877f95b9af50a5bb970b788c08 [INFO] testing chrisbutcher/gameboy against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisbutcher%2Fgameboy" "/workspace/builds/worker-16/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-16/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chrisbutcher/gameboy on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chrisbutcher/gameboy [INFO] finished tweaking git repo https://github.com/chrisbutcher/gameboy [INFO] tweaked toml for git repo https://github.com/chrisbutcher/gameboy written to /workspace/builds/worker-16/source/Cargo.toml [INFO] crate git repo https://github.com/chrisbutcher/gameboy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded env_logger v0.3.5 [INFO] [stderr] Downloaded sdl2 v0.31.0 [INFO] [stderr] Downloaded lazy_static v0.2.4 [INFO] [stderr] Downloaded num-integer v0.1.33 [INFO] [stderr] Downloaded unicode-segmentation v1.1.0 [INFO] [stderr] Downloaded textwrap v0.6.0 [INFO] [stderr] Downloaded clap v2.25.0 [INFO] [stderr] Downloaded num v0.1.37 [INFO] [stderr] Downloaded sdl2-sys v0.31.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db103712361b87f738283486c15e3e7a961ce3880119d16c8983d7570583b863 [INFO] running `Command { std: "docker" "start" "-a" "db103712361b87f738283486c15e3e7a961ce3880119d16c8983d7570583b863", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db103712361b87f738283486c15e3e7a961ce3880119d16c8983d7570583b863", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db103712361b87f738283486c15e3e7a961ce3880119d16c8983d7570583b863", kill_on_drop: false }` [INFO] [stdout] db103712361b87f738283486c15e3e7a961ce3880119d16c8983d7570583b863 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28e0757e1470b19dfe826b3c339fd8ce0802486c89fe54dcef36d2fe534e0b1a [INFO] running `Command { std: "docker" "start" "-a" "28e0757e1470b19dfe826b3c339fd8ce0802486c89fe54dcef36d2fe534e0b1a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.20 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling num-traits v0.1.37 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling lazy_static v0.2.4 [INFO] [stderr] Compiling gameboy v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling unicode-segmentation v1.1.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling num-integer v0.1.33 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling term_size v0.3.0 [INFO] [stderr] Compiling atty v0.2.2 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling time v0.1.36 [INFO] [stderr] Compiling num-iter v0.1.33 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling textwrap v0.6.0 [INFO] [stderr] Compiling num v0.1.37 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling sdl2 v0.31.0 [INFO] [stderr] Compiling clap v2.25.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mmu.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | 0x0000...0x7FFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mmu.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | 0x8000...0x9FFF => { [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mmu.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | 0xA000...0xBFFF => { [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mmu.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | 0xC000...0xDFFF => { [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mmu.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | 0xE000...0xFDFF => { [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mmu.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | 0xFE00...0xFE9F => { [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mmu.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | 0xFF04...0xFF07 => { [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mmu.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | 0xFF01...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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mmu.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | 0xFF10...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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mmu.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | addr @ 0xFF40...0xFF7F => { [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mmu.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | 0xFF40...0xFF7F => { [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mmu.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | 0xFF80...0xFFFE => { [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mmu.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | 0x0000...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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mmu.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | 0x8000...0x9FFF => { [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mmu.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | 0xA000...0xBFFF => { [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mmu.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | 0xC000...0xDFFF => { [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mmu.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | 0xE000...0xFDFF => self.write(address - 0xC000 - 0x2000, data), // ECHO work ram [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mmu.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | 0xFE00...0xFE9F => { [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mmu.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | 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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mmu.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | 0xFF04...0xFF07 => { [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mmu.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | 0xFF01...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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mmu.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | 0xFF10...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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mmu.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | 0xFF40...0xFF45 | 0xFF47...0xFF7F => { [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mmu.rs:187:31 [INFO] [stdout] | [INFO] [stdout] 187 | 0xFF40...0xFF45 | 0xFF47...0xFF7F => { [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mmu.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | 0xFF80...0xFFFE => { [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/main.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | 'frame_limiter: loop { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/mod.rs:1615:7 [INFO] [stdout] | [INFO] [stdout] 1615 | _ => self.explode(format!("Unexpected CB opcode: {:#X}", opcode)), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/opcode_cycles.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | _ => panic!("Unexpected opcode: {:#X}", opcode), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/opcode_cycles.rs:522:5 [INFO] [stdout] | [INFO] [stdout] 522 | _ => panic!("Unexpected opcode: {:#X}", opcode), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/mmu.rs:203:7 [INFO] [stdout] | [INFO] [stdout] 203 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cpu/mod.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | panic!(message) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 180 | panic!("{}", message) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 180 | std::panic::panic_any(message) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::num::::wrapping_sub` that must be used [INFO] [stdout] --> src/gb.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | cycles_this_frame.wrapping_sub(cycles_per_frame); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this returns the result of the operation, without modifying the original [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/gameboy-bc4f89f2cf0b045c.gameboy.ce567acc-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-bc4f89f2cf0b045c.gameboy.ce567acc-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-bc4f89f2cf0b045c.gameboy.ce567acc-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-bc4f89f2cf0b045c.gameboy.ce567acc-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-bc4f89f2cf0b045c.gameboy.ce567acc-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-bc4f89f2cf0b045c.gameboy.ce567acc-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-bc4f89f2cf0b045c.gameboy.ce567acc-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-bc4f89f2cf0b045c.gameboy.ce567acc-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-bc4f89f2cf0b045c.gameboy.ce567acc-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-bc4f89f2cf0b045c.gameboy.ce567acc-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-bc4f89f2cf0b045c.gameboy.ce567acc-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-bc4f89f2cf0b045c.gameboy.ce567acc-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-bc4f89f2cf0b045c.gameboy.ce567acc-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-bc4f89f2cf0b045c.gameboy.ce567acc-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-bc4f89f2cf0b045c.gameboy.ce567acc-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-bc4f89f2cf0b045c.gameboy.ce567acc-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-bc4f89f2cf0b045c.3nzzzj9blhmccnob.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl2-8713c2f4c9b13af9.rlib" "/opt/rustwide/target/debug/deps/librand-4748a560a1157954.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-7787fc6be61cbe07.rlib" "/opt/rustwide/target/debug/deps/libbitflags-b22133e6ab819f70.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-4917b97dc3923041.rlib" "/opt/rustwide/target/debug/deps/libnum-76bbbadb32f32d30.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-43e545eb969361c5.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-4e836d0732389c29.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-007d2c4875d33d89.rlib" "/opt/rustwide/target/debug/deps/libenv_logger-ede5f18f48bcb901.rlib" "/opt/rustwide/target/debug/deps/libregex-099564a641ea34b6.rlib" "/opt/rustwide/target/debug/deps/libutf8_ranges-2afdba8a0ad5c4a9.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-8e78c73f392501eb.rlib" "/opt/rustwide/target/debug/deps/libthread_local-2f02654e5ac39646.rlib" "/opt/rustwide/target/debug/deps/libthread_id-d0af48b990980cce.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-56cdba6b8a20b73e.rlib" "/opt/rustwide/target/debug/deps/libmemchr-7fc87f78f5191683.rlib" "/opt/rustwide/target/debug/deps/liblog-56bce85b9a1a72af.rlib" "/opt/rustwide/target/debug/deps/libtime-339aedacaafafa70.rlib" "/opt/rustwide/target/debug/deps/libclap-f078fd05184521b0.rlib" "/opt/rustwide/target/debug/deps/libatty-607e833f6ddd2554.rlib" "/opt/rustwide/target/debug/deps/libunicode_segmentation-fe383780c33196b8.rlib" "/opt/rustwide/target/debug/deps/libtextwrap-3b65ad5b826f4ec1.rlib" "/opt/rustwide/target/debug/deps/libterm_size-f40bf65869d0cd7d.rlib" "/opt/rustwide/target/debug/deps/liblibc-8744f5e22a919e9b.rlib" "/opt/rustwide/target/debug/deps/libvec_map-e9a2b02de537328d.rlib" "/opt/rustwide/target/debug/deps/libbitflags-55019e6e8c013093.rlib" "/opt/rustwide/target/debug/deps/libunicode_width-ba60f538e872aa15.rlib" "/opt/rustwide/target/debug/deps/libansi_term-1a9baba848e97b33.rlib" "/opt/rustwide/target/debug/deps/libstrsim-3b89ae3d9d44405e.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-008055cc7d873802.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-06f01ac2578bda94.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f9a3c3274a1835e0.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d4cbb754ee9f4daa.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-95c14e1c1e3ebcc4.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d489f0ca872880cc.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-75f07df0b18fea39.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c35b278736219a2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e530649c9a06e3c6.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-6b148909d375a785.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-cd15fa647f4775d1.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74be3a703f788ba2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8f2c5b445c28b2e3.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8480e85e0be96197.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac23a75f6f42004e.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-557ba8776e04d182.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4beb03d03503c439.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dd7db1bec6909f24.rlib" "-Wl,-Bdynamic" "-lSDL2_image" "-lSDL2" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/gameboy-bc4f89f2cf0b045c" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lSDL2_image [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gameboy` due to 2 previous errors; 32 warnings emitted [INFO] running `Command { std: "docker" "inspect" "28e0757e1470b19dfe826b3c339fd8ce0802486c89fe54dcef36d2fe534e0b1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28e0757e1470b19dfe826b3c339fd8ce0802486c89fe54dcef36d2fe534e0b1a", kill_on_drop: false }` [INFO] [stdout] 28e0757e1470b19dfe826b3c339fd8ce0802486c89fe54dcef36d2fe534e0b1a