[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 try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplanet-s%2Fsokoban-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/planet-s/sokoban-rs on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/planet-s/sokoban-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1886d232fa089647aef504303122a667f40b60f83379717fe87e913dff2cd5f3 [INFO] running `Command { std: "docker" "start" "-a" "1886d232fa089647aef504303122a667f40b60f83379717fe87e913dff2cd5f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1886d232fa089647aef504303122a667f40b60f83379717fe87e913dff2cd5f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1886d232fa089647aef504303122a667f40b60f83379717fe87e913dff2cd5f3", kill_on_drop: false }` [INFO] [stdout] 1886d232fa089647aef504303122a667f40b60f83379717fe87e913dff2cd5f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43d2b3a9969c4900399be6b3ff93508b73256b10b15aaebe7e86a4d6bf1b56be [INFO] running `Command { std: "docker" "start" "-a" "43d2b3a9969c4900399be6b3ff93508b73256b10b15aaebe7e86a4d6bf1b56be", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling sdl2-sys v0.27.3 [INFO] [stderr] Compiling libc v0.2.31 [INFO] [stderr] Compiling vec_map v0.4.0 [INFO] [stderr] Compiling ansi_term v0.7.5 [INFO] [stderr] Compiling strsim v0.4.1 [INFO] [stderr] Compiling bitflags v0.7.0 [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 lazy_static v0.2.9 [INFO] [stderr] Compiling bitflags v0.6.0 [INFO] [stderr] Compiling xml-rs v0.2.2 [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 clap v1.5.6 [INFO] [stderr] Compiling sdl2 v0.27.3 [INFO] [stderr] Compiling sokoban-rs v1.1.0 (/opt/rustwide/workdir) [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] 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] 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: 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] | ^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 370 | type Target = dyn TileSet; [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 97 | let _ = self.renderer.copy(&texture, original_rect, final_rect); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 183 | let _ = self.renderer.copy(&texture, None, Some(Rect::new(x, y, w, h))); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 196 | let _ = self.renderer.copy(self.tileset.texture(), tile_rect, target_rect); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcNcuRqu/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libxml-d6494d724951c1be,libbitflags-2fa2dc27b08124d3,libsdl2-c57b9e010d019aed,librand-13af880c0717a115,libsdl2_sys-4b2a2bacb0286394,libbitflags-ed87549ac517e209,liblazy_static-f334220e17759e36,liblibc-d946582cc258fd00,libnum-2c5d0e0347a705d5,libnum_iter-180869240d321f90,libnum_integer-047276de7c2f8723,libnum_traits-0c0a13e99e766966,libclap-61110deb99ad251a,libvec_map-2854750311049aae,libbitflags-a0b0a60a76dfff95,libyaml_rust-1d5ff0dcf58e1a7a,libansi_term-152ae764671b515d,libstrsim-6cedbf208e1412e2,libbitflags-cf0e6924054c14d8}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lSDL2_ttf" "-lSDL2_image" "-lSDL2" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcNcuRqu/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/sokoban_rs-01da107ae01ce0a1" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lSDL2_ttf [INFO] [stdout] rust-lld: error: unable to find library -lSDL2_image [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sokoban-rs` (bin "sokoban-rs") due to 1 previous error; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "43d2b3a9969c4900399be6b3ff93508b73256b10b15aaebe7e86a4d6bf1b56be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43d2b3a9969c4900399be6b3ff93508b73256b10b15aaebe7e86a4d6bf1b56be", kill_on_drop: false }` [INFO] [stdout] 43d2b3a9969c4900399be6b3ff93508b73256b10b15aaebe7e86a4d6bf1b56be