[INFO] cloning repository https://github.com/planet-s/sokoban-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/planet-s/sokoban-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplanet-s%2Fsokoban-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplanet-s%2Fsokoban-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e08c603d1b73189a249bc2b1a2534ea54f30f58 [INFO] testing planet-s/sokoban-rs against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplanet-s%2Fsokoban-rs" "/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/planet-s/sokoban-rs on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/planet-s/sokoban-rs [INFO] finished tweaking git repo https://github.com/planet-s/sokoban-rs [INFO] tweaked toml for git repo https://github.com/planet-s/sokoban-rs written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/planet-s/sokoban-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91716433fa2083e256d1e4f01985e7f8e4a6daa4cb24a382f317b547364d295a [INFO] running `Command { std: "docker" "start" "-a" "91716433fa2083e256d1e4f01985e7f8e4a6daa4cb24a382f317b547364d295a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91716433fa2083e256d1e4f01985e7f8e4a6daa4cb24a382f317b547364d295a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91716433fa2083e256d1e4f01985e7f8e4a6daa4cb24a382f317b547364d295a", kill_on_drop: false }` [INFO] [stdout] 91716433fa2083e256d1e4f01985e7f8e4a6daa4cb24a382f317b547364d295a [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3735c6f57d4683673badd2a34b210d2b1a5bb702a60d0a4c480160b7e7321cc0 [INFO] running `Command { std: "docker" "start" "-a" "3735c6f57d4683673badd2a34b210d2b1a5bb702a60d0a4c480160b7e7321cc0", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling libc v0.2.31 [INFO] [stderr] Compiling sdl2-sys v0.27.3 [INFO] [stderr] Compiling lazy_static v0.2.9 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling bitflags v0.3.3 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling vec_map v0.4.0 [INFO] [stderr] Compiling ansi_term v0.7.5 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling strsim v0.4.1 [INFO] [stderr] Compiling bitflags v0.6.0 [INFO] [stderr] Compiling xml-rs v0.2.2 [INFO] [stderr] Compiling clap v1.5.6 [INFO] [stderr] Compiling rand v0.3.16 [INFO] [stderr] Compiling num-integer v0.1.35 [INFO] [stderr] Compiling num-iter v0.1.34 [INFO] [stderr] Compiling num v0.1.40 [INFO] [stderr] Compiling sdl2 v0.27.3 [INFO] [stderr] Compiling sokoban-rs v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/render.rs:370:19 [INFO] [stdout] | [INFO] [stdout] 370 | type Target = TileSet; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn TileSet` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/render.rs:380:1 [INFO] [stdout] | [INFO] [stdout] 380 | / bitflags!( [INFO] [stdout] 381 | | /// Represents the different kind of shadows that can be cast [INFO] [stdout] 382 | | /// onto a floor tile. [INFO] [stdout] 383 | | flags ShadowFlags: i32 { [INFO] [stdout] ... | [INFO] [stdout] 400 | | } [INFO] [stdout] 401 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/render.rs:380:1 [INFO] [stdout] | [INFO] [stdout] 380 | / bitflags!( [INFO] [stdout] 381 | | /// Represents the different kind of shadows that can be cast [INFO] [stdout] 382 | | /// onto a floor tile. [INFO] [stdout] 383 | | flags ShadowFlags: i32 { [INFO] [stdout] ... | [INFO] [stdout] 400 | | } [INFO] [stdout] 401 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 138 | let file = try!(File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:158:37 [INFO] [stdout] | [INFO] [stdout] 158 | let mut level = try!(Level::from_str(&level_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | self.renderer.copy(&texture, original_rect, final_rect); [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/render.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | self.renderer.copy(&texture, None, Some(Rect::new(x, y, w, h))); [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/render.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | self.renderer.copy(self.tileset.texture(), tile_rect, target_rect); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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/sokoban_rs-500599b041630fa6.sokoban_rs.82210fff-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/sokoban_rs-500599b041630fa6.sokoban_rs.82210fff-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/sokoban_rs-500599b041630fa6.sokoban_rs.82210fff-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/sokoban_rs-500599b041630fa6.sokoban_rs.82210fff-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/sokoban_rs-500599b041630fa6.sokoban_rs.82210fff-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/sokoban_rs-500599b041630fa6.sokoban_rs.82210fff-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/sokoban_rs-500599b041630fa6.sokoban_rs.82210fff-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/sokoban_rs-500599b041630fa6.sokoban_rs.82210fff-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/sokoban_rs-500599b041630fa6.sokoban_rs.82210fff-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/sokoban_rs-500599b041630fa6.sokoban_rs.82210fff-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/sokoban_rs-500599b041630fa6.sokoban_rs.82210fff-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/sokoban_rs-500599b041630fa6.sokoban_rs.82210fff-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/sokoban_rs-500599b041630fa6.sokoban_rs.82210fff-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/sokoban_rs-500599b041630fa6.sokoban_rs.82210fff-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/sokoban_rs-500599b041630fa6.sokoban_rs.82210fff-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/sokoban_rs-500599b041630fa6.sokoban_rs.82210fff-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/sokoban_rs-500599b041630fa6.3uyf1uctpbvc3e3i.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libxml-6a344f9909672429.rlib" "/opt/rustwide/target/debug/deps/libbitflags-0d7aefa8a3afc682.rlib" "/opt/rustwide/target/debug/deps/libsdl2-a10561ec2b9cfd5d.rlib" "/opt/rustwide/target/debug/deps/librand-dd38426ec170a163.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-2929c85abf287854.rlib" "/opt/rustwide/target/debug/deps/libbitflags-80053f417b3b3269.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-7c2a983e4e14fd6a.rlib" "/opt/rustwide/target/debug/deps/liblibc-d5f83fa884cd846c.rlib" "/opt/rustwide/target/debug/deps/libnum-60f3afbfef3a9bed.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-ab0f64e9804a58c5.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-3a24aaecd5ff8598.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-99b860c0f707136a.rlib" "/opt/rustwide/target/debug/deps/libclap-4701fbebc3416a1c.rlib" "/opt/rustwide/target/debug/deps/libvec_map-b9a424ca57ec6bbf.rlib" "/opt/rustwide/target/debug/deps/libbitflags-49c4d650958fe230.rlib" "/opt/rustwide/target/debug/deps/libyaml_rust-16895bbd21460947.rlib" "/opt/rustwide/target/debug/deps/libansi_term-4f77f1e53f91e83f.rlib" "/opt/rustwide/target/debug/deps/libstrsim-1e54fb6dcd802679.rlib" "/opt/rustwide/target/debug/deps/libbitflags-cdb5110014c93dd0.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-37fdd654777c296f.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-d883bf2137e9181a.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-22ab8f3db88b586e.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-0167c9242d0931d5.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-361790a1a5505fc5.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-01c2ffe1ecd05a67.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-ec79e29a889fe805.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-001a3456e8a8331b.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e8f1404290f0f040.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-76f46d0f23360a60.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-baf0bdc5eb131895.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3a6a4ee6592d9370.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1cc90d9dd57195f8.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0e91863ffbec5148.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-69528f2eac185ac9.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d1241f7bd234a268.rlib" "-Wl,-Bdynamic" "-lSDL2_ttf" "-lSDL2_image" "-lSDL2" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/sokoban_rs-500599b041630fa6" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lSDL2_ttf [INFO] [stdout] /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; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sokoban-rs` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "3735c6f57d4683673badd2a34b210d2b1a5bb702a60d0a4c480160b7e7321cc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3735c6f57d4683673badd2a34b210d2b1a5bb702a60d0a4c480160b7e7321cc0", kill_on_drop: false }` [INFO] [stdout] 3735c6f57d4683673badd2a34b210d2b1a5bb702a60d0a4c480160b7e7321cc0