[INFO] cloning repository https://github.com/ablakey/gameboy
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ablakey/gameboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fablakey%2Fgameboy", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fablakey%2Fgameboy'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dc2abcae57f271cb7873f9fd5cc77cd6e30fb4d1
[INFO] testing ablakey/gameboy against beta-2022-07-10 for beta-1.63-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fablakey%2Fgameboy" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ablakey/gameboy on toolchain beta-2022-07-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ablakey/gameboy
[INFO] finished tweaking git repo https://github.com/ablakey/gameboy
[INFO] tweaked toml for git repo https://github.com/ablakey/gameboy written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/ablakey/gameboy already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dc7ba881881171ffa6867728493384e75d997cb517f8d501261cddffd370a4fe
[INFO] running `Command { std: "docker" "start" "-a" "dc7ba881881171ffa6867728493384e75d997cb517f8d501261cddffd370a4fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dc7ba881881171ffa6867728493384e75d997cb517f8d501261cddffd370a4fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc7ba881881171ffa6867728493384e75d997cb517f8d501261cddffd370a4fe", kill_on_drop: false }`
[INFO] [stdout] dc7ba881881171ffa6867728493384e75d997cb517f8d501261cddffd370a4fe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3cefca318ff988ce65cc834b68fa81c881f9409fc07982c66f3be661a54a20c5
[INFO] running `Command { std: "docker" "start" "-a" "3cefca318ff988ce65cc834b68fa81c881f9409fc07982c66f3be661a54a20c5", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.64
[INFO] [stderr]    Compiling serde_derive v1.0.124
[INFO] [stderr]    Compiling libc v0.2.90
[INFO] [stderr]    Compiling serde v1.0.124
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling sdl2 v0.33.0
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling c_vec v1.3.3
[INFO] [stderr]    Compiling pretty-hex v0.2.1
[INFO] [stderr]    Compiling sdl2-sys v0.33.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling gameboy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `address`
[INFO] [stdout]    --> src/guest/mmu/apu.rs:146:22
[INFO] [stdout]     |
[INFO] [stdout] 146 |     pub fn rb(&self, address: u16) -> u8 {
[INFO] [stdout]     |                      ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `length_enabled`
[INFO] [stdout]   --> src/guest/systems/apu/square.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |         length_enabled: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_length_enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `square1`, `square2` and `wave` are never read
[INFO] [stdout]   --> src/guest/systems/apu/mod.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct APU {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] 14 |     clock: usize,
[INFO] [stdout] 15 |     square1: SquareVoice,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     square2: SquareVoice,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 17 |     wave: WaveVoice,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DUTY_CYCLES` is never used
[INFO] [stdout]  --> src/guest/systems/apu/square.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | / const DUTY_CYCLES: [[i32; 8]; 4] = [
[INFO] [stdout] 5 | |     [0, 0, 0, 0, 0, 0, 0, 1], // 12.5%
[INFO] [stdout] 6 | |     [1, 0, 0, 0, 0, 0, 0, 1], // 25%
[INFO] [stdout] 7 | |     [1, 0, 0, 0, 0, 1, 1, 1], // 50%
[INFO] [stdout] 8 | |     [0, 1, 1, 1, 1, 1, 1, 1], // 75%
[INFO] [stdout] 9 | | ];
[INFO] [stdout]   | |__^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `clock`, `duty_phase` and `volume` are never read
[INFO] [stdout]   --> src/guest/systems/apu/square.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct SquareVoice {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 12 |     clock: usize,      // Track where we are in playing the current phase of the duty_cycle.
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 13 |     duty_phase: usize, // Track which of the 8 steps in the current duty cycle we're playing.
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     volume: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `tick` is never used
[INFO] [stdout]   --> src/guest/systems/apu/square.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn tick(
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OUTPUT_VOLUME` is never used
[INFO] [stdout]  --> src/guest/systems/apu/wave.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | const OUTPUT_VOLUME: [f32; 4] = [0.0, 1.0, 0.5, 0.25];
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `clock` and `sample_index` are never read
[INFO] [stdout]  --> src/guest/systems/apu/wave.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct WaveVoice {
[INFO] [stdout]   |            --------- fields in this struct
[INFO] [stdout] 7 |     clock: usize,        // Track where we are in playing the current wave sample.
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 8 |     sample_index: usize, // Current sample (0-31) being played.
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `tick` is never used
[INFO] [stdout]   --> src/guest/systems/apu/wave.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn tick(&mut self, mmu: &MMU) -> f32 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-m64" "/tmp/rustcWy7yKN/symbols.o" "/opt/rustwide/target/debug/deps/gameboy-69ac3cbba3b3d400.gameboy.fedf686b-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-69ac3cbba3b3d400.gameboy.fedf686b-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-69ac3cbba3b3d400.gameboy.fedf686b-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-69ac3cbba3b3d400.gameboy.fedf686b-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-69ac3cbba3b3d400.gameboy.fedf686b-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-69ac3cbba3b3d400.gameboy.fedf686b-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-69ac3cbba3b3d400.gameboy.fedf686b-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-69ac3cbba3b3d400.gameboy.fedf686b-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-69ac3cbba3b3d400.gameboy.fedf686b-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-69ac3cbba3b3d400.gameboy.fedf686b-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-69ac3cbba3b3d400.gameboy.fedf686b-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-69ac3cbba3b3d400.gameboy.fedf686b-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-69ac3cbba3b3d400.gameboy.fedf686b-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-69ac3cbba3b3d400.gameboy.fedf686b-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-69ac3cbba3b3d400.gameboy.fedf686b-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-69ac3cbba3b3d400.gameboy.fedf686b-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-69ac3cbba3b3d400.smo38mxhsw3u58a.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libserde_json-5f02881ebe327b5c.rlib" "/opt/rustwide/target/debug/deps/libryu-9e35d986fcbafb23.rlib" "/opt/rustwide/target/debug/deps/libitoa-7c14328d9548cc59.rlib" "/opt/rustwide/target/debug/deps/libserde-bbb0fa2c9350eb61.rlib" "/opt/rustwide/target/debug/deps/libsdl2-461a0dd459897499.rlib" "/opt/rustwide/target/debug/deps/libc_vec-1cbd7a9e8a59e235.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-eeb77fc155ac0892.rlib" "/opt/rustwide/target/debug/deps/libbitflags-c6d9dc90f7379932.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-86422d76b8bd90ed.rlib" "/opt/rustwide/target/debug/deps/liblibc-57b7ea560fe2e96d.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e057554754fbed42.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-38f4500c8e36887e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-11bb6e96feb6c746.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-f838a014ab1c7d32.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-710883455c4be2e0.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-e96d9169d2effbe1.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-215934dc20828268.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-3e26c049c5c32aac.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-c49e63298582420e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-5d5f00eb3990a6bc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-8f95e5205524a698.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-1ef477c6e479434a.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3020ed0b606b73e5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-7f274de0dcfe29d9.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-3c27a7ce9d667fb8.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-4dd309b4657699ca.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-21f08c242946afef.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_gfx" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/gameboy-69ac3cbba3b3d400" "-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; 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gameboy` due to 2 previous errors; 9 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "3cefca318ff988ce65cc834b68fa81c881f9409fc07982c66f3be661a54a20c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3cefca318ff988ce65cc834b68fa81c881f9409fc07982c66f3be661a54a20c5", kill_on_drop: false }`
[INFO] [stdout] 3cefca318ff988ce65cc834b68fa81c881f9409fc07982c66f3be661a54a20c5
