[INFO] cloning repository https://github.com/aconbere/anders-gameboy-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aconbere/anders-gameboy-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faconbere%2Fanders-gameboy-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faconbere%2Fanders-gameboy-emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c87381272b60c484de4984f1f989f88d99cc252 [INFO] testing aconbere/anders-gameboy-emulator against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faconbere%2Fanders-gameboy-emulator" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aconbere/anders-gameboy-emulator on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aconbere/anders-gameboy-emulator [INFO] finished tweaking git repo https://github.com/aconbere/anders-gameboy-emulator [INFO] tweaked toml for git repo https://github.com/aconbere/anders-gameboy-emulator written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/aconbere/anders-gameboy-emulator already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 735099015b0272d4476e0c3550ec54b8aac17ce0592865453d7aad318ff62af6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "735099015b0272d4476e0c3550ec54b8aac17ce0592865453d7aad318ff62af6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "735099015b0272d4476e0c3550ec54b8aac17ce0592865453d7aad318ff62af6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "735099015b0272d4476e0c3550ec54b8aac17ce0592865453d7aad318ff62af6", kill_on_drop: false }` [INFO] [stdout] 735099015b0272d4476e0c3550ec54b8aac17ce0592865453d7aad318ff62af6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed095955136ba788e4f4c9ffa68a8221eb2a62f2e7c50b8396bbcb634c0c4aa9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ed095955136ba788e4f4c9ffa68a8221eb2a62f2e7c50b8396bbcb634c0c4aa9", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.4 [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling cfg-if v0.1.3 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling atty v0.2.10 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling num-integer v0.1.38 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling sdl2 v0.31.0 [INFO] [stderr] Compiling anders-gameboy-emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/device/mod.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | 0x0000...0x00FF => Kind::RestartAndInterrupt, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/device/mod.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | 0x00FF...0x014F => Kind::CartridgeHeader, [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/device/mod.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | 0x014F...0x3FFF => Kind::CartridgeROMBank0, [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/device/mod.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | 0x3FFF...0x7FFF => Kind::CartridgeROMBank1, [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/device/mod.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | 0x8000...0x8FFF => Kind::TileData1, [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/device/mod.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | 0x8800...0x97FF => Kind::TileData2, [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/device/mod.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | 0x9800...0x9BFF => Kind::TileMap1, [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/device/mod.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | 0x9C00...0x9FFF => Kind::TileMap2, [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/device/mod.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | 0xA000...0xBFFF => Kind::CartridgeRAM, [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/device/mod.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | 0xC000...0xCFFF => Kind::InternalRAMBank0, [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/device/mod.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | 0xD000...0xDFFF => Kind::InternalRAMBank1, [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/device/mod.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | 0xE000...0xFDFF => Kind::EchoRAM, [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/device/mod.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | 0xFE00...0xFE9F => Kind::ObjectAttributeMemory, [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/device/mod.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | 0xFEA0...0xFEFF => Kind::UnusableMemory, [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/device/mod.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | 0xFF00...0xFF7F => Kind::HardwareIORegisters, [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/device/mod.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | 0xFF80...0xFFFE => Kind::ZeroPage, [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/device/mod.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | 0xFFFF...0xFFFF => Kind::InterruptEnableFlag, [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: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/device/mod.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 34 | 0x0000...0x00FF => Kind::RestartAndInterrupt, [INFO] [stdout] | --------------- this range overlaps on `255_u16`... [INFO] [stdout] ... [INFO] [stdout] 37 | 0x00FF...0x014F => Kind::CartridgeHeader, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(overlapping_range_endpoints)]` on by default [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/device/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | 0x00FF...0x014F => Kind::CartridgeHeader, [INFO] [stdout] | --------------- this range overlaps on `335_u16`... [INFO] [stdout] 38 | 0x014F...0x3FFF => Kind::CartridgeROMBank0, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/device/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | 0x014F...0x3FFF => Kind::CartridgeROMBank0, [INFO] [stdout] | --------------- this range overlaps on `16383_u16`... [INFO] [stdout] 39 | 0x3FFF...0x7FFF => Kind::CartridgeROMBank1, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/device/mod.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | _ => panic!("WTF: address: {:X} isn't covered", address), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WindowTileSelect` [INFO] [stdout] --> src/device/hardware_io.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | WindowTileSelect, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WindowDisplayEnable` [INFO] [stdout] --> src/device/hardware_io.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | WindowDisplayEnable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ObjectSize` [INFO] [stdout] --> src/device/hardware_io.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | ObjectSize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ObjectDisplayEnable` [INFO] [stdout] --> src/device/hardware_io.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | ObjectDisplayEnable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BackgroundDisplay` [INFO] [stdout] --> src/device/hardware_io.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | BackgroundDisplay, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `LCDModes` [INFO] [stdout] --> src/device/hardware_io.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum LCDModes { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `LCDStatusFlag` [INFO] [stdout] --> src/device/hardware_io.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | pub enum LCDStatusFlag { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_index` [INFO] [stdout] --> src/device/hardware_io.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn get_index(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_flag` [INFO] [stdout] --> src/device/hardware_io.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn set_flag(&mut self, f: LCDStatusFlag, t: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_flag` [INFO] [stdout] --> src/device/hardware_io.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn get_flag(&self, f: LCDStatusFlag) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `flags` [INFO] [stdout] --> src/device/interrupt.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn flags(enabled: u8, requested: u8) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> src/device/tile_data.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | kind: TileDataKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_zero` [INFO] [stdout] --> src/tile.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn is_zero(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `LD8Args` [INFO] [stdout] --> src/instructions.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum LD8Args { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mem` [INFO] [stdout] --> src/instructions.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Mem(Registers16), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DAA` [INFO] [stdout] --> src/instructions.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | DAA, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `State` [INFO] [stdout] --> src/repl.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Repl` [INFO] [stdout] --> src/repl.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Repl { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `new` [INFO] [stdout] --> src/repl.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(state:State) -> Repl { [INFO] [stdout] | ^^^ [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/anders_gameboy_emulator-c22facfbf6f4ebee.anders_gameboy_emulator.527d789e-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/anders_gameboy_emulator-c22facfbf6f4ebee.anders_gameboy_emulator.527d789e-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/anders_gameboy_emulator-c22facfbf6f4ebee.anders_gameboy_emulator.527d789e-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/anders_gameboy_emulator-c22facfbf6f4ebee.anders_gameboy_emulator.527d789e-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/anders_gameboy_emulator-c22facfbf6f4ebee.anders_gameboy_emulator.527d789e-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/anders_gameboy_emulator-c22facfbf6f4ebee.anders_gameboy_emulator.527d789e-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/anders_gameboy_emulator-c22facfbf6f4ebee.anders_gameboy_emulator.527d789e-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/anders_gameboy_emulator-c22facfbf6f4ebee.anders_gameboy_emulator.527d789e-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/anders_gameboy_emulator-c22facfbf6f4ebee.anders_gameboy_emulator.527d789e-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/anders_gameboy_emulator-c22facfbf6f4ebee.anders_gameboy_emulator.527d789e-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/anders_gameboy_emulator-c22facfbf6f4ebee.anders_gameboy_emulator.527d789e-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/anders_gameboy_emulator-c22facfbf6f4ebee.anders_gameboy_emulator.527d789e-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/anders_gameboy_emulator-c22facfbf6f4ebee.anders_gameboy_emulator.527d789e-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/anders_gameboy_emulator-c22facfbf6f4ebee.anders_gameboy_emulator.527d789e-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/anders_gameboy_emulator-c22facfbf6f4ebee.anders_gameboy_emulator.527d789e-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/anders_gameboy_emulator-c22facfbf6f4ebee.anders_gameboy_emulator.527d789e-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/anders_gameboy_emulator-c22facfbf6f4ebee.1r41u4ppgcpme4z4.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libclap-25036b169a85a0b6.rlib" "/opt/rustwide/target/debug/deps/libvec_map-11539489c7468588.rlib" "/opt/rustwide/target/debug/deps/libtextwrap-6150aefb2733d976.rlib" "/opt/rustwide/target/debug/deps/libunicode_width-1c5c393aa49a23dd.rlib" "/opt/rustwide/target/debug/deps/libstrsim-086f10016726ef86.rlib" "/opt/rustwide/target/debug/deps/libbitflags-d4ada631758d8768.rlib" "/opt/rustwide/target/debug/deps/libatty-a787d1d79ff7fba3.rlib" "/opt/rustwide/target/debug/deps/libansi_term-76ca62e328105e50.rlib" "/opt/rustwide/target/debug/deps/libsdl2-7470112254a9bc69.rlib" "/opt/rustwide/target/debug/deps/librand-a4eae05ed71cc936.rlib" "/opt/rustwide/target/debug/deps/librand-2dcba8162aa7c276.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-832f8bec9e2a2642.rlib" "/opt/rustwide/target/debug/deps/libbitflags-e0f7dbb2934afe82.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-edf244ecdb61ba64.rlib" "/opt/rustwide/target/debug/deps/liblibc-d3e2538f62e14c74.rlib" "/opt/rustwide/target/debug/deps/libnum-dde76f5e69401092.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-f9d24349923f5c2b.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-c7ba55f42a722783.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-e7ea0e8b1c677ff3.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-29e5e596e889a0aa.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1b145d9fcdc08832.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-5b037ee6b77e2ff0.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-9635a64fca0ebd28.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-a7574eb9bb7a8fc5.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-f5fa1dc334dcaeeb.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-6ee570a898e75ef0.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-afb62f29a0815772.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-a632746535fd9988.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-25acc307bcb1d7b6.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-377721a625f6ace7.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-43c01431c8a4ee6f.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-5f74725679453254.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-2b35d8999819161d.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a81f2980c3f58cf2.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-57b4679830289815.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2a6a2797f7a73818.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-13b419dfbcf9c1f8.rlib" "-Wl,-Bdynamic" "-lSDL2_ttf" "-lSDL2" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/anders_gameboy_emulator-c22facfbf6f4ebee" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lSDL2_ttf [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `anders-gameboy-emulator` due to 2 previous errors; 40 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ed095955136ba788e4f4c9ffa68a8221eb2a62f2e7c50b8396bbcb634c0c4aa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed095955136ba788e4f4c9ffa68a8221eb2a62f2e7c50b8396bbcb634c0c4aa9", kill_on_drop: false }` [INFO] [stdout] ed095955136ba788e4f4c9ffa68a8221eb2a62f2e7c50b8396bbcb634c0c4aa9