[INFO] cloning repository https://github.com/happenslol/n3-sdl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/happenslol/n3-sdl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhappenslol%2Fn3-sdl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhappenslol%2Fn3-sdl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d6b6f44be1b5624d132919fd2ce7ceb3ea9a53e2 [INFO] testing happenslol/n3-sdl against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhappenslol%2Fn3-sdl" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/happenslol/n3-sdl on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/happenslol/n3-sdl [INFO] finished tweaking git repo https://github.com/happenslol/n3-sdl [INFO] tweaked toml for git repo https://github.com/happenslol/n3-sdl written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/happenslol/n3-sdl already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 711421fc1cc3815410c4854bf0d488cbca460985170991ce73922cabec503fab [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" "711421fc1cc3815410c4854bf0d488cbca460985170991ce73922cabec503fab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "711421fc1cc3815410c4854bf0d488cbca460985170991ce73922cabec503fab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "711421fc1cc3815410c4854bf0d488cbca460985170991ce73922cabec503fab", kill_on_drop: false }` [INFO] [stdout] 711421fc1cc3815410c4854bf0d488cbca460985170991ce73922cabec503fab [INFO] running `Command { std: "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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76973e01707116d923b5234204f3231567485e2c3868f8488bda97d01e63ec1b [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" "76973e01707116d923b5234204f3231567485e2c3868f8488bda97d01e63ec1b", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.1.37 [INFO] [stderr] Compiling libc v0.2.21 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling sdl2-sys v0.27.2 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling serde v0.9.13 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling byteorder v1.0.0 [INFO] [stderr] Compiling lazy_static v0.2.4 [INFO] [stderr] Compiling itoa v0.3.1 [INFO] [stderr] Compiling dtoa v0.4.1 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling base64 v0.4.1 [INFO] [stderr] Compiling syn v0.11.10 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling time v0.1.36 [INFO] [stderr] Compiling num-integer v0.1.33 [INFO] [stderr] Compiling num-iter v0.1.33 [INFO] [stderr] Compiling num v0.1.37 [INFO] [stderr] Compiling sdl2 v0.29.0 [INFO] [stderr] Compiling cgmath v0.13.1 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Compiling serde_derive v0.9.13 [INFO] [stderr] Compiling serde_json v0.9.9 [INFO] [stderr] Compiling n3-sdl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/context.rs:132:56 [INFO] [stdout] | [INFO] [stdout] 132 | self.render_buffer.sort_by_key(|e| e.z as i32);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scene/game_scene.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(mut ctx: &mut Context) -> GameScene { [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: variable does not need to be mutable [INFO] [stdout] --> src/scene/game_scene.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | fn draw(&self, mut ctx: &mut Context, a: f32) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entity/player.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn draw(&self, mut ctx: &mut Context, a: f32) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tilemap/mod.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(mut ctx: &mut Context) -> Tilemap { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tilemap/mod.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn draw(&self, mut ctx: &mut Context) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scale` [INFO] [stdout] --> src/sprite/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | scale: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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/n3_sdl-46ee718a2c77edc0.n3_sdl.6365f83d-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/n3_sdl-46ee718a2c77edc0.n3_sdl.6365f83d-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/n3_sdl-46ee718a2c77edc0.n3_sdl.6365f83d-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/n3_sdl-46ee718a2c77edc0.n3_sdl.6365f83d-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/n3_sdl-46ee718a2c77edc0.n3_sdl.6365f83d-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/n3_sdl-46ee718a2c77edc0.n3_sdl.6365f83d-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/n3_sdl-46ee718a2c77edc0.n3_sdl.6365f83d-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/n3_sdl-46ee718a2c77edc0.n3_sdl.6365f83d-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/n3_sdl-46ee718a2c77edc0.n3_sdl.6365f83d-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/n3_sdl-46ee718a2c77edc0.n3_sdl.6365f83d-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/n3_sdl-46ee718a2c77edc0.n3_sdl.6365f83d-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/n3_sdl-46ee718a2c77edc0.n3_sdl.6365f83d-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/n3_sdl-46ee718a2c77edc0.n3_sdl.6365f83d-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/n3_sdl-46ee718a2c77edc0.n3_sdl.6365f83d-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/n3_sdl-46ee718a2c77edc0.n3_sdl.6365f83d-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/n3_sdl-46ee718a2c77edc0.n3_sdl.6365f83d-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/n3_sdl-46ee718a2c77edc0.4c5syc0k1tyky1rt.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libbase64-133c6173e013dd22.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-f995c68fedb10eb3.rlib" "/opt/rustwide/target/debug/deps/libserde_json-2398ed6cbead686c.rlib" "/opt/rustwide/target/debug/deps/libdtoa-435e39d6ec3d3c13.rlib" "/opt/rustwide/target/debug/deps/libitoa-4f7e4f3d3ac519c1.rlib" "/opt/rustwide/target/debug/deps/libserde-646fdd2a81d33a02.rlib" "/opt/rustwide/target/debug/deps/libtime-ed4796040976a5a8.rlib" "/opt/rustwide/target/debug/deps/libcgmath-53e022b3cf6e2ad0.rlib" "/opt/rustwide/target/debug/deps/libapprox-0590e35717fbdf53.rlib" "/opt/rustwide/target/debug/deps/libsdl2-2a2c2c10d6e3375d.rlib" "/opt/rustwide/target/debug/deps/librand-ad33cc35bf50c8ab.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-31e771594d65d20c.rlib" "/opt/rustwide/target/debug/deps/libbitflags-e0f7dbb2934afe82.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-5960fb8aa5f4b1e3.rlib" "/opt/rustwide/target/debug/deps/liblibc-59ba6606fa8ee7af.rlib" "/opt/rustwide/target/debug/deps/libnum-1069e8d705a85e6a.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-10795f6b4524d421.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-0feb20880d87fdec.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-cc2f2b366697568c.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-29e5e596e889a0aa.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1b145d9fcdc08832.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-5b037ee6b77e2ff0.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-9635a64fca0ebd28.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-a7574eb9bb7a8fc5.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-f5fa1dc334dcaeeb.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-6ee570a898e75ef0.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-afb62f29a0815772.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-a632746535fd9988.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-25acc307bcb1d7b6.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-377721a625f6ace7.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-43c01431c8a4ee6f.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-5f74725679453254.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-2b35d8999819161d.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a81f2980c3f58cf2.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-57b4679830289815.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2a6a2797f7a73818.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-13b419dfbcf9c1f8.rlib" "-Wl,-Bdynamic" "-lSDL2_image" "-lSDL2" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/n3_sdl-46ee718a2c77edc0" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lSDL2_image [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `n3-sdl` due to 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "76973e01707116d923b5234204f3231567485e2c3868f8488bda97d01e63ec1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76973e01707116d923b5234204f3231567485e2c3868f8488bda97d01e63ec1b", kill_on_drop: false }` [INFO] [stdout] 76973e01707116d923b5234204f3231567485e2c3868f8488bda97d01e63ec1b