[INFO] cloning repository https://github.com/matt-36/rust-sdl2-minigame
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matt-36/rust-sdl2-minigame" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatt-36%2Frust-sdl2-minigame", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatt-36%2Frust-sdl2-minigame'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b05574b975b7fc2215e4e8669adeb34293c9ee49
[INFO] testing matt-36/rust-sdl2-minigame against beta-2022-07-16 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatt-36%2Frust-sdl2-minigame" "/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/matt-36/rust-sdl2-minigame on toolchain beta-2022-07-16
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/matt-36/rust-sdl2-minigame
[INFO] finished tweaking git repo https://github.com/matt-36/rust-sdl2-minigame
[INFO] tweaked toml for git repo https://github.com/matt-36/rust-sdl2-minigame written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] crate git repo https://github.com/matt-36/rust-sdl2-minigame already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7e65fd7bafa71eceaf4e145ca94f25e9dbcc0198a545cd6ad11ddc1f0f562b15
[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" "7e65fd7bafa71eceaf4e145ca94f25e9dbcc0198a545cd6ad11ddc1f0f562b15", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7e65fd7bafa71eceaf4e145ca94f25e9dbcc0198a545cd6ad11ddc1f0f562b15", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7e65fd7bafa71eceaf4e145ca94f25e9dbcc0198a545cd6ad11ddc1f0f562b15", kill_on_drop: false }`
[INFO] [stdout] 7e65fd7bafa71eceaf4e145ca94f25e9dbcc0198a545cd6ad11ddc1f0f562b15
[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=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-16" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 04f225ef00395d704924cc7c6b9e35c212eb4c6c9fca9d1b7b6211f40c96ef31
[INFO] running `Command { std: "docker" "start" "-a" "04f225ef00395d704924cc7c6b9e35c212eb4c6c9fca9d1b7b6211f40c96ef31", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.104
[INFO] [stderr]    Compiling proc-macro2 v1.0.30
[INFO] [stderr]    Compiling version-compare v0.1.0
[INFO] [stderr]    Compiling sdl2 v0.35.1
[INFO] [stderr]    Compiling sdl2-sys v0.35.1
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling syn v1.0.80
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.4
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling serde_json v1.0.69
[INFO] [stderr]    Compiling test1 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `WindowCanvas`
[INFO] [stdout]  --> src/rgame/room.rs:9:22
[INFO] [stdout]   |
[INFO] [stdout] 9 |     render::{Canvas, WindowCanvas},
[INFO] [stdout]   |                      ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WindowCanvas`
[INFO] [stdout]  --> src/types/collision.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 |     render::{Texture, WindowCanvas},
[INFO] [stdout]   |                       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WindowCanvas`
[INFO] [stdout]  --> src/types/entity.rs:8:34
[INFO] [stdout]   |
[INFO] [stdout] 8 |     render::{BlendMode, Texture, WindowCanvas},
[INFO] [stdout]   |                                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::menu::Menu`
[INFO] [stdout]   --> src/main.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | use crate::menu::Menu;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `menu`
[INFO] [stdout]   --> src/main.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let menu = menu::Menu::new();
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_menu`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `wall`
[INFO] [stdout]   --> src/main.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 91 |     let wall = collision::Collider::new(
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_wall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `canvas`
[INFO] [stdout]   --> src/rgame/menu.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn render(&self, canvas: &mut WindowCanvas) {
[INFO] [stdout]    |                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_canvas`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `chests`
[INFO] [stdout]   --> src/rgame/room.rs:90:29
[INFO] [stdout]    |
[INFO] [stdout] 90 |             RoomType::Chest(chests) => {
[INFO] [stdout]    |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_chests`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]    --> src/rgame/room.rs:158:35
[INFO] [stdout]     |
[INFO] [stdout] 158 |             RenderType::Minimap { options } => {}
[INFO] [stdout]     |                                   ^^^^^^^ help: try ignoring the field: `options: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scaled_rect`
[INFO] [stdout]    --> src/types/entity.rs:226:21
[INFO] [stdout]     |
[INFO] [stdout] 226 |                 let scaled_rect = crate::minimap_scaled_rect!(self.dest, options);
[INFO] [stdout]     |                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scaled_rect`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rgame/room.rs:91:21
[INFO] [stdout]    |
[INFO] [stdout] 91 |                 let mut chests = Vec::new();
[INFO] [stdout]    |                     ----^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `buttons` is never read
[INFO] [stdout]  --> src/rgame/menu.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Menu {
[INFO] [stdout]   |            ---- field in this struct
[INFO] [stdout] 4 |     buttons: Vec<Rect>
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `items` is never read
[INFO] [stdout]  --> src/types/misc.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Chest {
[INFO] [stdout]   |            ----- field in this struct
[INFO] [stdout] 2 |     items: Vec<Item>
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-m64" "/tmp/rustcc1N1rj/symbols.o" "/opt/rustwide/target/debug/deps/test1-fdc46c46a1b29723.test1.b5d28956-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/test1-fdc46c46a1b29723.test1.b5d28956-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/test1-fdc46c46a1b29723.test1.b5d28956-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/test1-fdc46c46a1b29723.test1.b5d28956-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/test1-fdc46c46a1b29723.test1.b5d28956-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/test1-fdc46c46a1b29723.test1.b5d28956-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/test1-fdc46c46a1b29723.test1.b5d28956-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/test1-fdc46c46a1b29723.test1.b5d28956-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/test1-fdc46c46a1b29723.test1.b5d28956-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/test1-fdc46c46a1b29723.test1.b5d28956-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/test1-fdc46c46a1b29723.test1.b5d28956-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/test1-fdc46c46a1b29723.test1.b5d28956-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/test1-fdc46c46a1b29723.test1.b5d28956-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/test1-fdc46c46a1b29723.test1.b5d28956-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/test1-fdc46c46a1b29723.test1.b5d28956-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/test1-fdc46c46a1b29723.test1.b5d28956-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/test1-fdc46c46a1b29723.1fdnco8q3jthp4s1.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/librand-4062b240868fba00.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-1f3840165d664bba.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-fdccdc155075ee6f.rlib" "/opt/rustwide/target/debug/deps/librand_core-9f278213f7771388.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-0fb69ae420001656.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-97437e183f3ae6e4.rlib" "/opt/rustwide/target/debug/deps/libserde_json-c176edd1958b65a8.rlib" "/opt/rustwide/target/debug/deps/libryu-9e35d986fcbafb23.rlib" "/opt/rustwide/target/debug/deps/libitoa-215e7daa7cb51b46.rlib" "/opt/rustwide/target/debug/deps/libserde-a8076879d25a613a.rlib" "/opt/rustwide/target/debug/deps/libsdl2-82f4ef425a24de59.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-ed13166b02199456.rlib" "/opt/rustwide/target/debug/deps/libbitflags-610a73087f46ba3b.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-86422d76b8bd90ed.rlib" "/opt/rustwide/target/debug/deps/liblibc-f6345ef635d1d8ce.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e057554754fbed42.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-16-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-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-11bb6e96feb6c746.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-f838a014ab1c7d32.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-710883455c4be2e0.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-e96d9169d2effbe1.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-16-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-16-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-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-c49e63298582420e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-16-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-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-8f95e5205524a698.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-16-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-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3020ed0b606b73e5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-16-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-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-3c27a7ce9d667fb8.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-4dd309b4657699ca.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-16-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-16-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-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-21f08c242946afef.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_image" "-lSDL2_ttf" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/test1-fdc46c46a1b29723" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: cannot find -lSDL2_image
[INFO] [stdout]           /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; 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `test1` due to 2 previous errors; 13 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "04f225ef00395d704924cc7c6b9e35c212eb4c6c9fca9d1b7b6211f40c96ef31", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "04f225ef00395d704924cc7c6b9e35c212eb4c6c9fca9d1b7b6211f40c96ef31", kill_on_drop: false }`
[INFO] [stdout] 04f225ef00395d704924cc7c6b9e35c212eb4c6c9fca9d1b7b6211f40c96ef31
