[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#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpixlark%2Frust-chess" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pixlark/rust-chess on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "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-3/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c894bc19680ff0b9b659b5ddb4cfd2d46c1406828407513f8fff7b18c501415 [INFO] running `Command { std: "docker" "start" "-a" "0c894bc19680ff0b9b659b5ddb4cfd2d46c1406828407513f8fff7b18c501415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c894bc19680ff0b9b659b5ddb4cfd2d46c1406828407513f8fff7b18c501415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c894bc19680ff0b9b659b5ddb4cfd2d46c1406828407513f8fff7b18c501415", kill_on_drop: false }` [INFO] [stdout] 0c894bc19680ff0b9b659b5ddb4cfd2d46c1406828407513f8fff7b18c501415 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3de087c63e87b1a758cd92225b36490c8fc08cdf4ca4c6ff8b3e653f24a49368 [INFO] running `Command { std: "docker" "start" "-a" "3de087c63e87b1a758cd92225b36490c8fc08cdf4ca4c6ff8b3e653f24a49368", 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 bitflags v0.7.0 [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" "/opt/rustwide/target/debug/deps/game-2626550e0dc8ff4e.game.4498b6ae-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/game-2626550e0dc8ff4e.game.4498b6ae-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/game-2626550e0dc8ff4e.game.4498b6ae-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/game-2626550e0dc8ff4e.game.4498b6ae-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/game-2626550e0dc8ff4e.game.4498b6ae-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/game-2626550e0dc8ff4e.game.4498b6ae-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/game-2626550e0dc8ff4e.game.4498b6ae-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/game-2626550e0dc8ff4e.game.4498b6ae-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/game-2626550e0dc8ff4e.game.4498b6ae-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/game-2626550e0dc8ff4e.game.4498b6ae-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/game-2626550e0dc8ff4e.game.4498b6ae-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/game-2626550e0dc8ff4e.game.4498b6ae-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/game-2626550e0dc8ff4e.game.4498b6ae-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/game-2626550e0dc8ff4e.game.4498b6ae-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/game-2626550e0dc8ff4e.game.4498b6ae-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/game-2626550e0dc8ff4e.game.4498b6ae-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/game-2626550e0dc8ff4e.1ywcpjbyh5izloxw.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl2-ccca0808bc92c4b1.rlib" "/opt/rustwide/target/debug/deps/librand-6086f2ac63aa0360.rlib" "/opt/rustwide/target/debug/deps/librand-514b24e8130f1785.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-7953f91f0273e66e.rlib" "/opt/rustwide/target/debug/deps/libbitflags-80053f417b3b3269.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-e7ca4d0d8274d779.rlib" "/opt/rustwide/target/debug/deps/liblibc-bcb46937e7421e15.rlib" "/opt/rustwide/target/debug/deps/libnum-a64921edb5c7213e.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-b5a90f8942b2f573.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-c86ff70ebcf01844.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-bf28edad26a0550e.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-37fdd654777c296f.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-d883bf2137e9181a.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-22ab8f3db88b586e.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-0167c9242d0931d5.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-361790a1a5505fc5.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-01c2ffe1ecd05a67.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-ec79e29a889fe805.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-001a3456e8a8331b.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e8f1404290f0f040.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-76f46d0f23360a60.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-baf0bdc5eb131895.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3a6a4ee6592d9370.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1cc90d9dd57195f8.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0e91863ffbec5148.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-69528f2eac185ac9.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d1241f7bd234a268.rlib" "-Wl,-Bdynamic" "-lSDL2_image" "-lSDL2" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/game-2626550e0dc8ff4e" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [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" "3de087c63e87b1a758cd92225b36490c8fc08cdf4ca4c6ff8b3e653f24a49368", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3de087c63e87b1a758cd92225b36490c8fc08cdf4ca4c6ff8b3e653f24a49368", kill_on_drop: false }` [INFO] [stdout] 3de087c63e87b1a758cd92225b36490c8fc08cdf4ca4c6ff8b3e653f24a49368