[INFO] updating cached repository https://github.com/alaughlin/rustyboi
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 88ee04f51bdd908859aafe00b3d8172ec6d1aa97
[INFO] testing alaughlin/rustyboi against 1.40.0 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falaughlin%2Frustyboi" "/workspace/builds/worker-13/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/alaughlin/rustyboi on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[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-13/source/Cargo.toml
[INFO] crate git repo https://github.com/alaughlin/rustyboi already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[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]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.40.0" "build" "--frozen"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 931e6b9ab1323f71646fb65a91c791568f916e56e92669ee8aa3caf900387491
[INFO] running `"docker" "start" "-a" "931e6b9ab1323f71646fb65a91c791568f916e56e92669ee8aa3caf900387491"`
[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 c_vec v1.3.0
[INFO] [stderr]    Compiling num-integer v0.1.36
[INFO] [stderr]    Compiling sdl2-sys v0.31.0
[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] [stderr] warning: unused import: `sdl2::event::Event`
[INFO] [stderr]  --> src/main.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use sdl2::event::Event;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `sdl2::pixels`
[INFO] [stderr]  --> src/main.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use sdl2::pixels;
[INFO] [stderr]   |     ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `sdl2::keyboard::Keycode`
[INFO] [stderr]  --> src/main.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use sdl2::keyboard::Keycode;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `sdl2::gfx::primitives::DrawRenderer`
[INFO] [stderr]  --> src/main.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use sdl2::gfx::primitives::DrawRenderer;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::vec::Vec`
[INFO] [stderr]   --> src/main.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use std::vec::Vec;
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'core::str::<impl str>::trim_right_matches': superseded by `trim_end_matches`
[INFO] [stderr]   --> src/gameboy/mmu.rs:97:24
[INFO] [stderr]    |
[INFO] [stderr] 97 |             Ok(v) => v.trim_right_matches(char::from(0)),
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method is never used: `get_game_title`
[INFO] [stderr]   --> src/gameboy/mmu.rs:93:5
[INFO] [stderr]    |
[INFO] [stderr] 93 |     pub fn get_game_title(&mut self) -> &str {
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method is never used: `get_game_title`
[INFO] [stderr]   --> src/gameboy/mod.rs:45:5
[INFO] [stderr]    |
[INFO] [stderr] 45 |     pub fn get_game_title(&mut self) -> &str {
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant item is never used: `SCREEN_WIDTH`
[INFO] [stderr]   --> src/main.rs:15:1
[INFO] [stderr]    |
[INFO] [stderr] 15 | const SCREEN_WIDTH: u32 = 160;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant item is never used: `SCREEN_HEIGHT`
[INFO] [stderr]   --> src/main.rs:16:1
[INFO] [stderr]    |
[INFO] [stderr] 16 | const SCREEN_HEIGHT: u32 = 144;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `get_canvas`
[INFO] [stderr]   --> src/main.rs:78:1
[INFO] [stderr]    |
[INFO] [stderr] 78 | fn get_canvas(context: &sdl2::Sdl, title: &str) -> Result<sdl2::render::WindowCanvas, sdl2::IntegerOrSdlError> {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: comparison is useless due to type limits
[INFO] [stderr]    --> src/gameboy/opcodes.rs:219:8
[INFO] [stderr]     |
[INFO] [stderr] 219 |     if sp + (n as u16) > 0b1111111111111111 {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error: linking with `cc` failed: exit code: 1
[INFO] [stderr]   |
[INFO] [stderr]   = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/rustyboi-fafe2e894f4c8bba.rustyboi.52uw0lgk-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/rustyboi-fafe2e894f4c8bba.rustyboi.52uw0lgk-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/rustyboi-fafe2e894f4c8bba.rustyboi.52uw0lgk-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/rustyboi-fafe2e894f4c8bba.rustyboi.52uw0lgk-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/rustyboi-fafe2e894f4c8bba.rustyboi.52uw0lgk-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/rustyboi-fafe2e894f4c8bba.rustyboi.52uw0lgk-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/rustyboi-fafe2e894f4c8bba.rustyboi.52uw0lgk-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/rustyboi-fafe2e894f4c8bba.rustyboi.52uw0lgk-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/rustyboi-fafe2e894f4c8bba.rustyboi.52uw0lgk-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/rustyboi-fafe2e894f4c8bba.rustyboi.52uw0lgk-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/rustyboi-fafe2e894f4c8bba.rustyboi.52uw0lgk-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/rustyboi-fafe2e894f4c8bba.rustyboi.52uw0lgk-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/rustyboi-fafe2e894f4c8bba.rustyboi.52uw0lgk-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/rustyboi-fafe2e894f4c8bba.rustyboi.52uw0lgk-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/rustyboi-fafe2e894f4c8bba.rustyboi.52uw0lgk-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/rustyboi-fafe2e894f4c8bba.rustyboi.52uw0lgk-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/rustyboi-fafe2e894f4c8bba" "/opt/rustwide/target/debug/deps/rustyboi-fafe2e894f4c8bba.10x0486uxp071w98.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl2-c1826b1afe6f2603.rlib" "/opt/rustwide/target/debug/deps/librand-e9d634e23e7d1029.rlib" "/opt/rustwide/target/debug/deps/librand-d2f406a7cfa32ac7.rlib" "/opt/rustwide/target/debug/deps/libc_vec-d77aaeb94d60b310.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-a1d1702f9e6cb4f3.rlib" "/opt/rustwide/target/debug/deps/libbitflags-718d5825b530a286.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-5fd30f5459b1a3f5.rlib" "/opt/rustwide/target/debug/deps/liblibc-4740954c08b7fa28.rlib" "/opt/rustwide/target/debug/deps/libnum-6e7311c90d3684ce.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-b0f888ef4cff0f8c.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-9a2b59e6d28dcb2b.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-545e154f2fdad147.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-74488c47a41eb313.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-efbc2c947951b8cc.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-b177382d9a04ffbe.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-ba7d2244d33447d5.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-39569dc87e4ea301.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-cd9e255bd82ddb5c.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-f83165e777dccb8d.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-10b085de263b1750.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-9a4a22edf44da957.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-68fabc677efa98de.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-026dc0061b48e8b6.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-7bf75bb619341145.rlib" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-ef54709e300503ed.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.40.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-4ed27d8420cb4abc.rlib" "-Wl,-Bdynamic" "-lSDL2_gfx" "-lSDL2" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
[INFO] [stderr]   = note: /usr/bin/ld: cannot find -lSDL2_gfx
[INFO] [stderr]           collect2: error: ld returned 1 exit status
[INFO] [stderr]           
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to previous error
[INFO] [stderr] 
[INFO] [stderr] error: could not compile `rustyboi`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "931e6b9ab1323f71646fb65a91c791568f916e56e92669ee8aa3caf900387491"`
[INFO] running `"docker" "rm" "-f" "931e6b9ab1323f71646fb65a91c791568f916e56e92669ee8aa3caf900387491"`
[INFO] [stdout] 931e6b9ab1323f71646fb65a91c791568f916e56e92669ee8aa3caf900387491
