[INFO] cloning repository https://github.com/beep-boop-robot/sand [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/beep-boop-robot/sand" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeep-boop-robot%2Fsand", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeep-boop-robot%2Fsand'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0340be5e314e570a442ef07f5f33cdb45fd7f9df [INFO] testing beep-boop-robot/sand against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeep-boop-robot%2Fsand" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/beep-boop-robot/sand on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/beep-boop-robot/sand [INFO] finished tweaking git repo https://github.com/beep-boop-robot/sand [INFO] tweaked toml for git repo https://github.com/beep-boop-robot/sand written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/beep-boop-robot/sand already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", 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] 485b98fbc99e445fbc10d1161afd2a0b330b61e9205439a27c4d9831333fb410 [INFO] running `Command { std: "docker" "start" "-a" "485b98fbc99e445fbc10d1161afd2a0b330b61e9205439a27c4d9831333fb410", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "485b98fbc99e445fbc10d1161afd2a0b330b61e9205439a27c4d9831333fb410", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "485b98fbc99e445fbc10d1161afd2a0b330b61e9205439a27c4d9831333fb410", kill_on_drop: false }` [INFO] [stdout] 485b98fbc99e445fbc10d1161afd2a0b330b61e9205439a27c4d9831333fb410 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8099bddcd76e6f81222c5c9ccc0aa507c10b91ca621d675af3aeca9c3220cab3 [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" "8099bddcd76e6f81222c5c9ccc0aa507c10b91ca621d675af3aeca9c3220cab3", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling sand v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::pixels::Color` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::pixels::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cell` [INFO] [stdout] --> src/lib.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use cells::{Cell, RadialSpawner}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | if(frame_end < Duration::from_millis(16)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `frame_start` is never read [INFO] [stdout] --> src/lib.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut frame_start = Instant::now(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `frames` is assigned to, but never used [INFO] [stdout] --> src/lib.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let mut frames = 0u32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_frames` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let mut frame_end = frame_start.elapsed(); [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: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | / canvas.with_texture_canvas(write_state.get_tex(), |c| { [INFO] [stdout] 74 | | c.copy(read_state.get_tex(), None, None); [INFO] [stdout] 75 | | }); [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | c.copy(read_state.get_tex(), None, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/game.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | self.texture.update(r, &vec![255u8; 16 * 16 * 3], 16 * 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/game.rs:153:25 [INFO] [stdout] | [INFO] [stdout] 153 | self.texture.update(r, &vec![c.r, c.g, c.b], 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/game.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | self.texture.update(r, &vec![0u8; (render::MAP_SIZE * render::MAP_SIZE * 3) as usize], 256 * 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [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/sand-6c3f16dc212f0617.sand.2d0858bb-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/sand-6c3f16dc212f0617.sand.2d0858bb-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/sand-6c3f16dc212f0617.sand.2d0858bb-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/sand-6c3f16dc212f0617.sand.2d0858bb-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/sand-6c3f16dc212f0617.sand.2d0858bb-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/sand-6c3f16dc212f0617.sand.2d0858bb-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/sand-6c3f16dc212f0617.sand.2d0858bb-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/sand-6c3f16dc212f0617.sand.2d0858bb-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/sand-6c3f16dc212f0617.sgm715b2am807rz.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsand-40f765503258403f.rlib" "/opt/rustwide/target/debug/deps/libsdl2-0e92c4d17b335bec.rlib" "/opt/rustwide/target/debug/deps/librand-67617ead41c44b29.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-ab505d75aae818f3.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-d7ce2f11f8c84738.rlib" "/opt/rustwide/target/debug/deps/librand_hc-a0a75dd4af812220.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-dba76580cf2ee4ff.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-13a854f61f415c86.rlib" "/opt/rustwide/target/debug/deps/librand_core-a03f340c157b8ac6.rlib" "/opt/rustwide/target/debug/deps/librand_os-148edb7176615f4a.rlib" "/opt/rustwide/target/debug/deps/librand_jitter-60352e5bd5110e26.rlib" "/opt/rustwide/target/debug/deps/librand_core-3a46beeb136e9cca.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-c81bdbb0c9f59e81.rlib" "/opt/rustwide/target/debug/deps/libbitflags-603a79344a96ee73.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-f67718dd40129317.rlib" "/opt/rustwide/target/debug/deps/liblibc-292556879ad16416.rlib" "/opt/rustwide/target/debug/deps/libnum-ede198e2f646c150.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-26e61618ae755979.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-888180d47b609909.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-c244e83104064720.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-37fdd654777c296f.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-d883bf2137e9181a.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-22ab8f3db88b586e.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-0167c9242d0931d5.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-361790a1a5505fc5.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-01c2ffe1ecd05a67.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-ec79e29a889fe805.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-001a3456e8a8331b.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e8f1404290f0f040.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-76f46d0f23360a60.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-baf0bdc5eb131895.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3a6a4ee6592d9370.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1cc90d9dd57195f8.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0e91863ffbec5148.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-69528f2eac185ac9.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d1241f7bd234a268.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_ttf" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/sand-6c3f16dc212f0617" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sand` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "8099bddcd76e6f81222c5c9ccc0aa507c10b91ca621d675af3aeca9c3220cab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8099bddcd76e6f81222c5c9ccc0aa507c10b91ca621d675af3aeca9c3220cab3", kill_on_drop: false }` [INFO] [stdout] 8099bddcd76e6f81222c5c9ccc0aa507c10b91ca621d675af3aeca9c3220cab3