[INFO] cloning repository https://github.com/spinjam/sdltest [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/spinjam/sdltest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspinjam%2Fsdltest", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspinjam%2Fsdltest'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f5ed42f0bf365cdb5c09f1ec5624a91d8535e0e9 [INFO] testing spinjam/sdltest against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspinjam%2Fsdltest" "/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/spinjam/sdltest on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/spinjam/sdltest [INFO] finished tweaking git repo https://github.com/spinjam/sdltest [INFO] tweaked toml for git repo https://github.com/spinjam/sdltest written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/spinjam/sdltest already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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] 421a8956cdf3ec176be92bb0503f4df01f545ddb9f0dc766fcde935f35dce85b [INFO] running `Command { std: "docker" "start" "-a" "421a8956cdf3ec176be92bb0503f4df01f545ddb9f0dc766fcde935f35dce85b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "421a8956cdf3ec176be92bb0503f4df01f545ddb9f0dc766fcde935f35dce85b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "421a8956cdf3ec176be92bb0503f4df01f545ddb9f0dc766fcde935f35dce85b", kill_on_drop: false }` [INFO] [stdout] 421a8956cdf3ec176be92bb0503f4df01f545ddb9f0dc766fcde935f35dce85b [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a414a82223d54cd38947dad12a0ba915770a6389d3a85897afcc81f8cd56d6a [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" "7a414a82223d54cd38947dad12a0ba915770a6389d3a85897afcc81f8cd56d6a", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling ahash v0.3.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling rle-decode-fast v1.0.1 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling sdl2 v0.34.0 [INFO] [stderr] Compiling tuple_utils v0.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling sdl2-sys v0.34.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Compiling libflate v0.1.27 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling tiled v0.9.1 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling tynm v0.1.4 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Compiling shred v0.10.2 [INFO] [stderr] Compiling hibitset v0.6.3 [INFO] [stderr] Compiling specs v0.16.1 [INFO] [stderr] Compiling sdltest v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/map.rs:189:18 [INFO] [stdout] | [INFO] [stdout] 189 | for (y, row) in tiles.iter().rev().enumerate().clone() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/map.rs:191:22 [INFO] [stdout] | [INFO] [stdout] 191 | for (x, &tile) in row.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/map.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let mut sprites:Vec> = 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 is never read: `tex_gids` [INFO] [stdout] --> src/map.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | tex_gids: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sprites` [INFO] [stdout] --> src/map.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | sprites: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tc` [INFO] [stdout] --> src/resources.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | tc: &'a TextureCreator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `root_path` [INFO] [stdout] --> src/resources.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | root_path: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `textures` [INFO] [stdout] --> src/resources.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | textures: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tex` [INFO] [stdout] --> src/sprite.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | tex: Rc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `src` [INFO] [stdout] --> src/sprite.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | src: Rect, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/sprite.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(texture: Texture) -> Sprite { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_zone` [INFO] [stdout] --> src/sprite.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn set_zone(&mut self, x:i32, y:i32, w:u32, h:u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/sdltest-6215fd315375498f.sdltest.e0bxoqvq-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/sdltest-6215fd315375498f.sdltest.e0bxoqvq-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/sdltest-6215fd315375498f.sdltest.e0bxoqvq-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/sdltest-6215fd315375498f.sdltest.e0bxoqvq-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/sdltest-6215fd315375498f.sdltest.e0bxoqvq-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/sdltest-6215fd315375498f.sdltest.e0bxoqvq-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/sdltest-6215fd315375498f.sdltest.e0bxoqvq-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/sdltest-6215fd315375498f.sdltest.e0bxoqvq-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/sdltest-6215fd315375498f.sdltest.e0bxoqvq-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/sdltest-6215fd315375498f.sdltest.e0bxoqvq-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/sdltest-6215fd315375498f.sdltest.e0bxoqvq-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/sdltest-6215fd315375498f.sdltest.e0bxoqvq-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/sdltest-6215fd315375498f.sdltest.e0bxoqvq-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/sdltest-6215fd315375498f.sdltest.e0bxoqvq-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/sdltest-6215fd315375498f.sdltest.e0bxoqvq-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/sdltest-6215fd315375498f.sdltest.e0bxoqvq-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/sdltest-6215fd315375498f" "/opt/rustwide/target/debug/deps/sdltest-6215fd315375498f.3kh4g8e8g2684dld.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libfind_folder-61a97c3824fe6bf5.rlib" "/opt/rustwide/target/debug/deps/libtiled-1c02255debb4bd80.rlib" "/opt/rustwide/target/debug/deps/liblibflate-b3961aa04039f240.rlib" "/opt/rustwide/target/debug/deps/libtake_mut-fbab7048ac8d239f.rlib" "/opt/rustwide/target/debug/deps/librle_decode_fast-3c3379d8167def29.rlib" "/opt/rustwide/target/debug/deps/libcrc32fast-730991321300d642.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-b00c34326580381c.rlib" "/opt/rustwide/target/debug/deps/libadler32-2b02d44fcddd2c34.rlib" "/opt/rustwide/target/debug/deps/libxml-0cf6008610ba5334.rlib" "/opt/rustwide/target/debug/deps/libbase64-12649289d5edbfa5.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-8e7ddb72171cc91f.rlib" "/opt/rustwide/target/debug/deps/libsdl2-e78e6a2eae0cc74f.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-ae212dea1da6824b.rlib" "/opt/rustwide/target/debug/deps/libbitflags-56eca94422237621.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-7c0477ae3415ac1f.rlib" "/opt/rustwide/target/debug/deps/liblibc-aadda8a52fdf135c.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-5989bcf78182f65e.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-4d6da34bc177af8d.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-10e0d6c948699482.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-c2318e2415657781.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-3815b93ed84badbb.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-d7999143d95238cb.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-c58298a0d40df8b8.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-b7de97e2ba6fb4e2.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-6f71c9f654d72cce.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-95ea48ddc44a311b.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-7402cd4761aebc14.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-68f423c59dc48a40.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-54580c7798bf2225.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-95a4d456339b7385.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_image" "-lutil" "-ldl" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [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; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sdltest`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "7a414a82223d54cd38947dad12a0ba915770a6389d3a85897afcc81f8cd56d6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a414a82223d54cd38947dad12a0ba915770a6389d3a85897afcc81f8cd56d6a", kill_on_drop: false }` [INFO] [stdout] 7a414a82223d54cd38947dad12a0ba915770a6389d3a85897afcc81f8cd56d6a