[INFO] cloning repository https://github.com/pixlark/rust-chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pixlark/rust-chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpixlark%2Frust-chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpixlark%2Frust-chess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5574de551476386e7c852d19d296848b03d0bd15 [INFO] testing pixlark/rust-chess against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpixlark%2Frust-chess" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pixlark/rust-chess on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pixlark/rust-chess [INFO] finished tweaking git repo https://github.com/pixlark/rust-chess [INFO] tweaked toml for git repo https://github.com/pixlark/rust-chess written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/pixlark/rust-chess already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8beb384aa2f0a433734c31aaffe8036a565a3d91dcb477084f4ecfaf98911d8e [INFO] running `Command { std: "docker" "start" "-a" "8beb384aa2f0a433734c31aaffe8036a565a3d91dcb477084f4ecfaf98911d8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8beb384aa2f0a433734c31aaffe8036a565a3d91dcb477084f4ecfaf98911d8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8beb384aa2f0a433734c31aaffe8036a565a3d91dcb477084f4ecfaf98911d8e", kill_on_drop: false }` [INFO] [stdout] 8beb384aa2f0a433734c31aaffe8036a565a3d91dcb477084f4ecfaf98911d8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc24ccbe29bf38f587529bad3de2de829529b02eb3c0195a327d058aa284e8bc [INFO] running `Command { std: "docker" "start" "-a" "dc24ccbe29bf38f587529bad3de2de829529b02eb3c0195a327d058aa284e8bc", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling sdl2 v0.31.0 [INFO] [stderr] Compiling game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 418 | _ => panic!("Movement not implemented for this yet..."), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sdl_image_context` [INFO] [stdout] --> src/main.rs:590:9 [INFO] [stdout] | [INFO] [stdout] 590 | let sdl_image_context = image::init(image::InitFlag::all()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sdl_image_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | for i in 0..3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flipped` [INFO] [stdout] --> src/main.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn flipped(self: &Side) -> Side { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `starting` [INFO] [stdout] --> src/main.rs:203:8 [INFO] [stdout] | [INFO] [stdout] 203 | fn starting() -> Board { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `capture_on_line` [INFO] [stdout] --> src/main.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | fn capture_on_line( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:468:9 [INFO] [stdout] | [INFO] [stdout] 468 | / canvas.copy( [INFO] [stdout] 469 | | texture_table.table[tex_index.0][tex_index.1] [INFO] [stdout] 470 | | .as_ref() [INFO] [stdout] 471 | | .unwrap(), [INFO] [stdout] ... | [INFO] [stdout] 478 | | )), [INFO] [stdout] 479 | | ); [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/main.rs:570:13 [INFO] [stdout] | [INFO] [stdout] 570 | / canvas.copy( [INFO] [stdout] 571 | | texture_table.table[tex_index.0][tex_index.1] [INFO] [stdout] 572 | | .as_ref() [INFO] [stdout] 573 | | .unwrap(), [INFO] [stdout] ... | [INFO] [stdout] 580 | | )), [INFO] [stdout] 581 | | ); [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" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-Wl,--as-needed" "-L" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/game-6b6489b4aaabec89.game.copullyg-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/game-6b6489b4aaabec89.game.copullyg-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/game-6b6489b4aaabec89.game.copullyg-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/game-6b6489b4aaabec89.game.copullyg-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/game-6b6489b4aaabec89.game.copullyg-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/game-6b6489b4aaabec89.game.copullyg-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/game-6b6489b4aaabec89.game.copullyg-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/game-6b6489b4aaabec89.game.copullyg-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/game-6b6489b4aaabec89.game.copullyg-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/game-6b6489b4aaabec89.game.copullyg-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/game-6b6489b4aaabec89.game.copullyg-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/game-6b6489b4aaabec89.game.copullyg-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/game-6b6489b4aaabec89.game.copullyg-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/game-6b6489b4aaabec89.game.copullyg-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/game-6b6489b4aaabec89.game.copullyg-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/game-6b6489b4aaabec89.game.copullyg-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/game-6b6489b4aaabec89" "/opt/rustwide/target/debug/deps/game-6b6489b4aaabec89.2phxmkn2ab06o9at.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl2-427a90617498d7dd.rlib" "/opt/rustwide/target/debug/deps/librand-53dcafac008ee02d.rlib" "/opt/rustwide/target/debug/deps/librand-866d36b003493537.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-5b89382142d6affa.rlib" "/opt/rustwide/target/debug/deps/libbitflags-451632c3bdd53d67.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-dbe219c565973cc2.rlib" "/opt/rustwide/target/debug/deps/liblibc-7a70711042a43204.rlib" "/opt/rustwide/target/debug/deps/libnum-4535e4ce007bf66c.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-9b3c910537d75c98.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-e67644c1b5d64fa6.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-a616ef0b114947c8.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-21256c14e4504640.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-986e7fea4474d4d2.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-91d85f45babdb06e.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-756509c31813f9a6.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-5c2ef587e740c0cc.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-ad8f9371d31db1b3.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-402820fb3b4d3dd8.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-5e8e903f07dc8747.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-7ab9ae5080c07187.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-c8e8d47c6bf14de2.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5a02dbb58abd015a.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-cedc8fec61444895.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a1c96351c52bc56a.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-e41c6d24baeb2249.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-62493b241881590c.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-a1fd7734706d5518.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-c8ded1707ad10767.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-1eec8756baa5bc24.rlib" "-Wl,-Bdynamic" "-lSDL2_image" "-lSDL2" "-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] [stdout] error: aborting due to previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `game` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "dc24ccbe29bf38f587529bad3de2de829529b02eb3c0195a327d058aa284e8bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc24ccbe29bf38f587529bad3de2de829529b02eb3c0195a327d058aa284e8bc", kill_on_drop: false }` [INFO] [stdout] dc24ccbe29bf38f587529bad3de2de829529b02eb3c0195a327d058aa284e8bc