[INFO] cloning repository https://github.com/Dooskington/SPIMQuest [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dooskington/SPIMQuest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDooskington%2FSPIMQuest"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDooskington%2FSPIMQuest'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 9d89b3d0d77be1c375c7c425825bed8bbcf0a506 [INFO] testing Dooskington/SPIMQuest against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDooskington%2FSPIMQuest" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Dooskington/SPIMQuest on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/Dooskington/SPIMQuest [INFO] finished tweaking git repo https://github.com/Dooskington/SPIMQuest [INFO] tweaked toml for git repo https://github.com/Dooskington/SPIMQuest written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Dooskington/SPIMQuest already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+beta-2020-06-03" "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] 7b9d7cf2e224c8f4f6402987afa093e8509c017db7f0ba370ae03bccee825d87 [INFO] running `"docker" "start" "-a" "7b9d7cf2e224c8f4f6402987afa093e8509c017db7f0ba370ae03bccee825d87"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling libc v0.2.33 [INFO] [stderr] Compiling matrixmultiply v0.1.14 [INFO] [stderr] Compiling either v1.3.0 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling sdl2-sys v0.30.0 [INFO] [stderr] Compiling ndarray v0.10.12 [INFO] [stderr] Compiling c_vec v1.0.12 [INFO] [stderr] Compiling lazy_static v0.2.9 [INFO] [stderr] Compiling itertools v0.7.2 [INFO] [stderr] Compiling rand v0.3.17 [INFO] [stderr] Compiling time v0.1.38 [INFO] [stderr] Compiling num-integer v0.1.35 [INFO] [stderr] Compiling num-complex v0.1.40 [INFO] [stderr] Compiling num-iter v0.1.34 [INFO] [stderr] Compiling num v0.1.40 [INFO] [stderr] Compiling sdl2 v0.30.0 [INFO] [stderr] Compiling pathfinding v0.1.19 [INFO] [stderr] Compiling spimquest v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `Ref` [INFO] [stderr] --> src/main.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | use std::cell::{Ref, RefCell}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `sdl2::pixels::PixelFormatEnum` [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use sdl2::pixels::PixelFormatEnum; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:235:16 [INFO] [stderr] | [INFO] [stderr] 235 | if (ent.texture_id == TEXTURE_MONSTER) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/main.rs:773:90 [INFO] [stderr] | [INFO] [stderr] 773 | let mut color: Color = floor_texture.get_pixel(texture_x, texture_y);; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::borrow::BorrowMut` [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::borrow::BorrowMut; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `total_time` [INFO] [stderr] --> src/main.rs:527:17 [INFO] [stderr] | [INFO] [stderr] 527 | let total_time: Duration = current_time - self.start_time; [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_time` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tile` [INFO] [stderr] --> src/main.rs:719:17 [INFO] [stderr] | [INFO] [stderr] 719 | let tile = self.map.get_tile(intersection.tile_x as i32, intersection.tile_y as i32).unwrap(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:209:17 [INFO] [stderr] | [INFO] [stderr] 209 | let mut result = astar(&start.clone(), |p| self.get_neighbors(p.clone()), |p| Position::distance(p, &goal), |p| *p == goal); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:210:25 [INFO] [stderr] | [INFO] [stderr] 210 | if let Some(mut value) = result { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:940:21 [INFO] [stderr] | [INFO] [stderr] 940 | let mut distance_x: f64 = ray_position_x - origin_x; [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:941:21 [INFO] [stderr] | [INFO] [stderr] 941 | let mut distance_y: f64 = ray_position_y - origin_y; [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/main.rs:468:13 [INFO] [stderr] | [INFO] [stderr] 468 | sdl_window.set_fullscreen(FullscreenType::True); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/main.rs:668:17 [INFO] [stderr] | [INFO] [stderr] 668 | self.sdl_canvas.string(10, 10, &format!("CSE 341 Difficulty: {}", self.difficulty), COLOR_WHITE); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/main.rs:669:17 [INFO] [stderr] | [INFO] [stderr] 669 | self.sdl_canvas.string(10, 20, &format!("MIPS Knowledge: {}", self.score), COLOR_WHITE); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/main.rs:895:21 [INFO] [stderr] | [INFO] [stderr] 895 | self.sdl_canvas.pixel(sprite_screen_row as i16, sprite_screen_col as i16, color); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [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/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/spimquest-4e7da777ba07531e.spimquest.c6bnyr9e-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/spimquest-4e7da777ba07531e.spimquest.c6bnyr9e-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/spimquest-4e7da777ba07531e.spimquest.c6bnyr9e-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/spimquest-4e7da777ba07531e.spimquest.c6bnyr9e-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/spimquest-4e7da777ba07531e.spimquest.c6bnyr9e-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/spimquest-4e7da777ba07531e.spimquest.c6bnyr9e-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/spimquest-4e7da777ba07531e.spimquest.c6bnyr9e-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/spimquest-4e7da777ba07531e.spimquest.c6bnyr9e-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/spimquest-4e7da777ba07531e.spimquest.c6bnyr9e-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/spimquest-4e7da777ba07531e.spimquest.c6bnyr9e-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/spimquest-4e7da777ba07531e.spimquest.c6bnyr9e-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/spimquest-4e7da777ba07531e.spimquest.c6bnyr9e-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/spimquest-4e7da777ba07531e.spimquest.c6bnyr9e-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/spimquest-4e7da777ba07531e.spimquest.c6bnyr9e-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/spimquest-4e7da777ba07531e.spimquest.c6bnyr9e-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/spimquest-4e7da777ba07531e.spimquest.c6bnyr9e-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/spimquest-4e7da777ba07531e" "/opt/rustwide/target/debug/deps/spimquest-4e7da777ba07531e.2r0uv6ynguwufoaw.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libpathfinding-45dd0612af96fbfb.rlib" "/opt/rustwide/target/debug/deps/libndarray-e4cf4720bfd50caa.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-2392e775c3efaf7d.rlib" "/opt/rustwide/target/debug/deps/libitertools-6c74e0b590a89f94.rlib" "/opt/rustwide/target/debug/deps/libeither-9508b710f7a189de.rlib" "/opt/rustwide/target/debug/deps/libmatrixmultiply-6da284a24205368d.rlib" "/opt/rustwide/target/debug/deps/librawpointer-17d31d634d793217.rlib" "/opt/rustwide/target/debug/deps/libtime-fcc7c8c52252a680.rlib" "/opt/rustwide/target/debug/deps/libsdl2-109f46e9c330b478.rlib" "/opt/rustwide/target/debug/deps/librand-3e651b2e78762612.rlib" "/opt/rustwide/target/debug/deps/libc_vec-98bc4417a7d1df72.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-5524b2ec7690213c.rlib" "/opt/rustwide/target/debug/deps/libbitflags-2106c394414ab29b.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-120650fcfaedde43.rlib" "/opt/rustwide/target/debug/deps/liblibc-90a7467ca7bec189.rlib" "/opt/rustwide/target/debug/deps/libnum-b8153d73d7cec4fe.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-f9783eddec33d0c6.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-f764f5b74564f412.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-c095807cf4e69f24.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-44f8eb3d0b2fad61.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-abc626f09920d361.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-546e83c8973f1a65.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-12768dfc68674934.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-e06867e4497f2ee8.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-cbc579f43f6df57b.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-7abd6d5a7ebf9a23.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-46423c7bc03bd327.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fc3773ed7bc68f07.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-9cdc98176efd27e2.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-02d88502a763e06b.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-8cdc9d38dd6cd3ce.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-336f7d63e72901ef.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-57917b1be5233117.rlib" "-Wl,-Bdynamic" "-lSDL2_image" "-lSDL2_gfx" "-lSDL2" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stderr] = note: /usr/bin/ld: cannot find -lSDL2_image [INFO] [stderr] /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; 15 warnings emitted [INFO] [stderr] [INFO] [stderr] error: could not compile `spimquest`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "7b9d7cf2e224c8f4f6402987afa093e8509c017db7f0ba370ae03bccee825d87"` [INFO] running `"docker" "rm" "-f" "7b9d7cf2e224c8f4f6402987afa093e8509c017db7f0ba370ae03bccee825d87"` [INFO] [stdout] 7b9d7cf2e224c8f4f6402987afa093e8509c017db7f0ba370ae03bccee825d87