[INFO] cloning repository https://github.com/alaughlin/rustyboi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alaughlin/rustyboi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falaughlin%2Frustyboi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falaughlin%2Frustyboi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 88ee04f51bdd908859aafe00b3d8172ec6d1aa97 [INFO] testing alaughlin/rustyboi against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falaughlin%2Frustyboi" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alaughlin/rustyboi on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alaughlin/rustyboi [INFO] finished tweaking git repo https://github.com/alaughlin/rustyboi [INFO] tweaked toml for git repo https://github.com/alaughlin/rustyboi written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/alaughlin/rustyboi already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (sdl2) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.sdl2.sdl2 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded c_vec v1.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66739fd864f1597e4b892f899b0c4d5982f367f2e5b582cab1d65251b47a6807 [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" "66739fd864f1597e4b892f899b0c4d5982f367f2e5b582cab1d65251b47a6807", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66739fd864f1597e4b892f899b0c4d5982f367f2e5b582cab1d65251b47a6807", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66739fd864f1597e4b892f899b0c4d5982f367f2e5b582cab1d65251b47a6807", kill_on_drop: false }` [INFO] [stdout] 66739fd864f1597e4b892f899b0c4d5982f367f2e5b582cab1d65251b47a6807 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b500c86ca4f0e2fa84231b7418345e7ea90df0b3ed65f33e99736f2e7cd57819 [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" "b500c86ca4f0e2fa84231b7418345e7ea90df0b3ed65f33e99736f2e7cd57819", kill_on_drop: false }` [INFO] [stderr] warning: dependency (sdl2) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.sdl2.sdl2 [INFO] [stderr] Compiling num-traits v0.2.2 [INFO] [stderr] Compiling c_vec v1.3.0 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling num-iter v0.1.35 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling sdl2 v0.31.0 [INFO] [stderr] Compiling rustyboi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sdl2::event::Event` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sdl2::event::Event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::pixels` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2::pixels; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::keyboard::Keycode` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sdl2::keyboard::Keycode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::gfx::primitives::DrawRenderer` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use sdl2::gfx::primitives::DrawRenderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec::Vec` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/gameboy/mmu.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | Ok(v) => v.trim_right_matches(char::from(0)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_game_title` [INFO] [stdout] --> src/gameboy/mmu.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn get_game_title(&mut self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_game_title` [INFO] [stdout] --> src/gameboy/mod.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn get_game_title(&mut self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SCREEN_WIDTH` [INFO] [stdout] --> src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const SCREEN_WIDTH: u32 = 160; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SCREEN_HEIGHT` [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | const SCREEN_HEIGHT: u32 = 144; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_canvas` [INFO] [stdout] --> src/main.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn get_canvas(context: &sdl2::Sdl, title: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/gameboy/opcodes.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 219 | if sp + (n as u16) > 0b1111111111111111 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [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/rustyboi-131743280302fc66.rustyboi.47212167-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/rustyboi-131743280302fc66.rustyboi.47212167-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/rustyboi-131743280302fc66.rustyboi.47212167-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/rustyboi-131743280302fc66.rustyboi.47212167-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/rustyboi-131743280302fc66.rustyboi.47212167-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/rustyboi-131743280302fc66.rustyboi.47212167-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/rustyboi-131743280302fc66.rustyboi.47212167-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/rustyboi-131743280302fc66.rustyboi.47212167-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/rustyboi-131743280302fc66.rustyboi.47212167-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/rustyboi-131743280302fc66.rustyboi.47212167-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/rustyboi-131743280302fc66.rustyboi.47212167-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/rustyboi-131743280302fc66.rustyboi.47212167-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/rustyboi-131743280302fc66.rustyboi.47212167-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/rustyboi-131743280302fc66.rustyboi.47212167-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/rustyboi-131743280302fc66.rustyboi.47212167-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/rustyboi-131743280302fc66.rustyboi.47212167-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/rustyboi-131743280302fc66.1js6899z33wttbrv.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl2-1770a7b29013b463.rlib" "/opt/rustwide/target/debug/deps/librand-d65f6d88870b4d64.rlib" "/opt/rustwide/target/debug/deps/librand-ea7eacfa488563da.rlib" "/opt/rustwide/target/debug/deps/libc_vec-f7aafead6a29bd2c.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-3a4be741ce294e8b.rlib" "/opt/rustwide/target/debug/deps/libbitflags-a90aa1b00e6334cb.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-9ac9d5d2c1fb6325.rlib" "/opt/rustwide/target/debug/deps/liblibc-65af3ff429240972.rlib" "/opt/rustwide/target/debug/deps/libnum-7e27be4eb429eefe.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-780c29a9ba4de2e0.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-79bb7209eb2c5015.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-cc26497c43c55f8c.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a46a068050a12a4b.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1df56095db9453cb.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-9062de483386e50b.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-b988ab269ff13602.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-1bc822d886d4f7bd.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-963eca8df4c224a6.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d805b480c9102e58.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-06dfdbc22b935051.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-d7523a4d118e6572.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-5d7898c7fac3a07d.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-8c2bdbab4845bf3d.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-d578639df0547b30.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-58bbb7b1efa3a5e2.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-4c9b082d197c16f8.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-70f9ed6d8e7a5ce6.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-8c0a241d0360fa53.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-bad7ed93fdd31371.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-98b4d121af2b7335.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-1d9f7e5920635d15.rlib" "-Wl,-Bdynamic" "-lSDL2_gfx" "-lSDL2" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/rustyboi-131743280302fc66" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lSDL2_gfx [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustyboi` due to 2 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b500c86ca4f0e2fa84231b7418345e7ea90df0b3ed65f33e99736f2e7cd57819", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b500c86ca4f0e2fa84231b7418345e7ea90df0b3ed65f33e99736f2e7cd57819", kill_on_drop: false }` [INFO] [stdout] b500c86ca4f0e2fa84231b7418345e7ea90df0b3ed65f33e99736f2e7cd57819