[INFO] updating cached repository https://github.com/pixlark/rust-chess [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 5574de551476386e7c852d19d296848b03d0bd15 [INFO] testing pixlark/rust-chess against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpixlark%2Frust-chess" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pixlark/rust-chess on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [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-6/source/Cargo.toml [INFO] crate git repo https://github.com/pixlark/rust-chess already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bf7a9db1b9cf72a378824e450df260166d9d3836f5b1bef84b1301e62f987a8c [INFO] running `"docker" "start" "-a" "bf7a9db1b9cf72a378824e450df260166d9d3836f5b1bef84b1301e62f987a8c"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [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] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/main.rs:418:13 [INFO] [stderr] | [INFO] [stderr] 418 | _ => panic!("Movement not implemented for this yet..."), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sdl_image_context` [INFO] [stderr] --> src/main.rs:590:9 [INFO] [stderr] | [INFO] [stderr] 590 | let sdl_image_context = image::init(image::InitFlag::all()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sdl_image_context` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/main.rs:85:13 [INFO] [stderr] | [INFO] [stderr] 85 | for i in 0..3 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `flipped` [INFO] [stderr] --> src/main.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | fn flipped(self: &Side) -> Side { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `starting` [INFO] [stderr] --> src/main.rs:203:8 [INFO] [stderr] | [INFO] [stderr] 203 | fn starting() -> Board { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `capture_on_line` [INFO] [stderr] --> src/main.rs:263:8 [INFO] [stderr] | [INFO] [stderr] 263 | fn capture_on_line( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/main.rs:468:9 [INFO] [stderr] | [INFO] [stderr] 468 | / canvas.copy( [INFO] [stderr] 469 | | texture_table.table[tex_index.0][tex_index.1] [INFO] [stderr] 470 | | .as_ref() [INFO] [stderr] 471 | | .unwrap(), [INFO] [stderr] ... | [INFO] [stderr] 478 | | )), [INFO] [stderr] 479 | | ); [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/main.rs:570:13 [INFO] [stderr] | [INFO] [stderr] 570 | / canvas.copy( [INFO] [stderr] 571 | | texture_table.table[tex_index.0][tex_index.1] [INFO] [stderr] 572 | | .as_ref() [INFO] [stderr] 573 | | .unwrap(), [INFO] [stderr] ... | [INFO] [stderr] 580 | | )), [INFO] [stderr] 581 | | ); [INFO] [stderr] | |______________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] error: linking with `cc` failed: exit code: 1 [INFO] [stderr] | [INFO] [stderr] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/game-81d8bd756af0fd41.game.l0ef4d9q-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/game-81d8bd756af0fd41.game.l0ef4d9q-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/game-81d8bd756af0fd41.game.l0ef4d9q-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/game-81d8bd756af0fd41.game.l0ef4d9q-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/game-81d8bd756af0fd41.game.l0ef4d9q-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/game-81d8bd756af0fd41.game.l0ef4d9q-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/game-81d8bd756af0fd41.game.l0ef4d9q-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/game-81d8bd756af0fd41.game.l0ef4d9q-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/game-81d8bd756af0fd41.game.l0ef4d9q-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/game-81d8bd756af0fd41.game.l0ef4d9q-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/game-81d8bd756af0fd41.game.l0ef4d9q-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/game-81d8bd756af0fd41.game.l0ef4d9q-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/game-81d8bd756af0fd41.game.l0ef4d9q-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/game-81d8bd756af0fd41.game.l0ef4d9q-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/game-81d8bd756af0fd41.game.l0ef4d9q-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/game-81d8bd756af0fd41.game.l0ef4d9q-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/game-81d8bd756af0fd41" "/opt/rustwide/target/debug/deps/game-81d8bd756af0fd41.nwiespesihdq8d8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl2-2e30e852631c9a47.rlib" "/opt/rustwide/target/debug/deps/librand-19dbd5179c962b82.rlib" "/opt/rustwide/target/debug/deps/librand-25f29dffa94ab2f5.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-b540a2327e3b067c.rlib" "/opt/rustwide/target/debug/deps/libbitflags-2106c394414ab29b.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-ee0374dd376fa810.rlib" "/opt/rustwide/target/debug/deps/liblibc-4a054305212779d5.rlib" "/opt/rustwide/target/debug/deps/libnum-9a297167c0d9582a.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-c1513566ed9b83d2.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-2537ebd90fe78151.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-78d40517ea4b6655.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-44f8eb3d0b2fad61.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-abc626f09920d361.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-546e83c8973f1a65.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-12768dfc68674934.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-e06867e4497f2ee8.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-cbc579f43f6df57b.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-7abd6d5a7ebf9a23.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-46423c7bc03bd327.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fc3773ed7bc68f07.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-9cdc98176efd27e2.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-02d88502a763e06b.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-8cdc9d38dd6cd3ce.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-336f7d63e72901ef.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-57917b1be5233117.rlib" "-Wl,-Bdynamic" "-lSDL2_image" "-lSDL2" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stderr] = note: /usr/bin/ld: cannot find -lSDL2_image [INFO] [stderr] collect2: error: ld returned 1 exit status [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 8 warnings emitted [INFO] [stderr] [INFO] [stderr] error: could not compile `game`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "bf7a9db1b9cf72a378824e450df260166d9d3836f5b1bef84b1301e62f987a8c"` [INFO] running `"docker" "rm" "-f" "bf7a9db1b9cf72a378824e450df260166d9d3836f5b1bef84b1301e62f987a8c"` [INFO] [stdout] bf7a9db1b9cf72a378824e450df260166d9d3836f5b1bef84b1301e62f987a8c