[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 master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspinjam%2Fsdltest" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/spinjam/sdltest on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "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-12/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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7944c93a822fc66439bff5595dbd2bcbd1308223aaead90be69e99b51af9edc [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" "c7944c93a822fc66439bff5595dbd2bcbd1308223aaead90be69e99b51af9edc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7944c93a822fc66439bff5595dbd2bcbd1308223aaead90be69e99b51af9edc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7944c93a822fc66439bff5595dbd2bcbd1308223aaead90be69e99b51af9edc", kill_on_drop: false }` [INFO] [stdout] c7944c93a822fc66439bff5595dbd2bcbd1308223aaead90be69e99b51af9edc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "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] 265593941a4caa84116804bf2856931dd131db2604c60c7bea4c99b5ce74a9ae [INFO] running `Command { std: "docker" "start" "-a" "265593941a4caa84116804bf2856931dd131db2604c60c7bea4c99b5ce74a9ae", 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 scopeguard v1.1.0 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ahash v0.3.3 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling atom v0.3.5 [INFO] [stderr] Compiling rle-decode-fast v1.0.1 [INFO] [stderr] Compiling sdl2 v0.34.0 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling shrev v1.1.1 [INFO] [stderr] Compiling tuple_utils v0.3.0 [INFO] [stderr] Compiling find_folder v0.3.0 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling sdl2-sys v0.34.0 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling libflate v0.1.27 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling rayon-core v1.7.0 [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 hibitset v0.6.3 [INFO] [stderr] Compiling shred v0.10.2 [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] [stderr] error: could not compile `sdltest` [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/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/sdltest-7c50a69c6619c2ad.sdltest.dk7c52el-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/sdltest-7c50a69c6619c2ad.sdltest.dk7c52el-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/sdltest-7c50a69c6619c2ad.sdltest.dk7c52el-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/sdltest-7c50a69c6619c2ad.sdltest.dk7c52el-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/sdltest-7c50a69c6619c2ad.sdltest.dk7c52el-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/sdltest-7c50a69c6619c2ad.sdltest.dk7c52el-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/sdltest-7c50a69c6619c2ad.sdltest.dk7c52el-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/sdltest-7c50a69c6619c2ad.sdltest.dk7c52el-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/sdltest-7c50a69c6619c2ad.sdltest.dk7c52el-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/sdltest-7c50a69c6619c2ad.sdltest.dk7c52el-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/sdltest-7c50a69c6619c2ad.sdltest.dk7c52el-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/sdltest-7c50a69c6619c2ad.sdltest.dk7c52el-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/sdltest-7c50a69c6619c2ad.sdltest.dk7c52el-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/sdltest-7c50a69c6619c2ad.sdltest.dk7c52el-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/sdltest-7c50a69c6619c2ad.sdltest.dk7c52el-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/sdltest-7c50a69c6619c2ad.sdltest.dk7c52el-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/sdltest-7c50a69c6619c2ad" "/opt/rustwide/target/debug/deps/sdltest-7c50a69c6619c2ad.4hqpbcnhdx7tetxo.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libfind_folder-82c9931e5857e354.rlib" "/opt/rustwide/target/debug/deps/libtiled-d54c0050882d45a4.rlib" "/opt/rustwide/target/debug/deps/liblibflate-307fc941759bad05.rlib" "/opt/rustwide/target/debug/deps/libtake_mut-208a477adfc691f3.rlib" "/opt/rustwide/target/debug/deps/librle_decode_fast-343b2f6c2b7b3fe5.rlib" "/opt/rustwide/target/debug/deps/libcrc32fast-c26169e315fbc542.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-4c6be1962c556cf0.rlib" "/opt/rustwide/target/debug/deps/libadler32-9f25c8b4bfdf98a3.rlib" "/opt/rustwide/target/debug/deps/libxml-d065233fe49e7371.rlib" "/opt/rustwide/target/debug/deps/libbase64-f0f16e1e8c809c8a.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-dd535ee656aacf25.rlib" "/opt/rustwide/target/debug/deps/libsdl2-4a8fc96b4f2db711.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-06100fee0dbe64b9.rlib" "/opt/rustwide/target/debug/deps/libbitflags-df474a8ca45884a8.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-cd2401a06b1676f6.rlib" "/opt/rustwide/target/debug/deps/liblibc-daffcee0a8e7580d.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-c659455244c9d2ca.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-448643d99e633b5d.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-c7c3d631a525883a.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d7659a11bb201e01.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-9aceb6f83a33a9b6.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-876c3057c8a2a7c2.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-2f02aa3e24d2aa49.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-1d4694108f8cb543.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-79eaa6e630880f50.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-0df1a4ec96f80cf7.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-bba9b0f0f4d77257.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-f848f9c987265235.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0d5ea4f2d39b8e27.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-c22053fa5fc00a3b.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-c52e5d6301e1bd59.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-2675a9a46b5cec89.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-6e3d052afeb9f711.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_image" "-lutil" "-ldl" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" [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] [stderr] [INFO] [stdout] error: aborting due to previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "265593941a4caa84116804bf2856931dd131db2604c60c7bea4c99b5ce74a9ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "265593941a4caa84116804bf2856931dd131db2604c60c7bea4c99b5ce74a9ae", kill_on_drop: false }` [INFO] [stdout] 265593941a4caa84116804bf2856931dd131db2604c60c7bea4c99b5ce74a9ae