[INFO] crate animal_chess 0.1.1 is already in cache [INFO] testing animal_chess-0.1.1 against 1.45.2 for beta-1.46-1 [INFO] extracting crate animal_chess 0.1.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate animal_chess 0.1.1 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate animal_chess 0.1.1 [INFO] finished tweaking crates.io crate animal_chess 0.1.1 [INFO] tweaked toml for crates.io crate animal_chess 0.1.1 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate crates.io crate animal_chess 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 841e5b94c3aa4a7d74a4e19882ab295f57a2034c92f73e843a38c23def9734e5 [INFO] running `Command { std: "docker" "start" "-a" "841e5b94c3aa4a7d74a4e19882ab295f57a2034c92f73e843a38c23def9734e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "841e5b94c3aa4a7d74a4e19882ab295f57a2034c92f73e843a38c23def9734e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "841e5b94c3aa4a7d74a4e19882ab295f57a2034c92f73e843a38c23def9734e5", kill_on_drop: false }` [INFO] [stdout] 841e5b94c3aa4a7d74a4e19882ab295f57a2034c92f73e843a38c23def9734e5 [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" "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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5c56e80c74dc8d25b6b045cc55a9819bf1b8034c7e3d48cfb14630fa9cfec802 [INFO] running `Command { std: "docker" "start" "-a" "5c56e80c74dc8d25b6b045cc55a9819bf1b8034c7e3d48cfb14630fa9cfec802", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling sdl2 v0.34.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling sdl2-sys v0.34.0 [INFO] [stderr] Compiling animal_chess v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/ai.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `max_depth` is assigned to, but never used [INFO] [stdout] --> src/ai.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let mut max_depth = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_max_depth` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `max_depth` is never read [INFO] [stdout] --> src/ai.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | max_depth = d; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/animal_chess-eeaa7d654889cc15.animal_chess.7oxquzqh-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/animal_chess-eeaa7d654889cc15.animal_chess.7oxquzqh-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/animal_chess-eeaa7d654889cc15.animal_chess.7oxquzqh-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/animal_chess-eeaa7d654889cc15.animal_chess.7oxquzqh-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/animal_chess-eeaa7d654889cc15.animal_chess.7oxquzqh-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/animal_chess-eeaa7d654889cc15.animal_chess.7oxquzqh-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/animal_chess-eeaa7d654889cc15.animal_chess.7oxquzqh-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/animal_chess-eeaa7d654889cc15.animal_chess.7oxquzqh-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/animal_chess-eeaa7d654889cc15.animal_chess.7oxquzqh-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/animal_chess-eeaa7d654889cc15.animal_chess.7oxquzqh-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/animal_chess-eeaa7d654889cc15.animal_chess.7oxquzqh-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/animal_chess-eeaa7d654889cc15.animal_chess.7oxquzqh-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/animal_chess-eeaa7d654889cc15.animal_chess.7oxquzqh-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/animal_chess-eeaa7d654889cc15.animal_chess.7oxquzqh-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/animal_chess-eeaa7d654889cc15.animal_chess.7oxquzqh-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/animal_chess-eeaa7d654889cc15.animal_chess.7oxquzqh-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/animal_chess-eeaa7d654889cc15" "/opt/rustwide/target/debug/deps/animal_chess-eeaa7d654889cc15.18dbzswigwwto2my.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl2-5271de68cc7325c9.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-ad802c47c803e43a.rlib" "/opt/rustwide/target/debug/deps/libbitflags-02fffe573fe5be1a.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-660ab907323d6aba.rlib" "/opt/rustwide/target/debug/deps/liblibc-4f80335c1c505af7.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8bb11f807a7b6b4c.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-ca8087507780d964.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-259c92b387c1c166.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-16e0a2fbbb8e14b3.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-8a1651b8e23d2aaf.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-23bdd98b0574083e.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-855a92055ec33e2e.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-24c70dd44fbacdfb.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-b326273841bae587.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-ac3c1f0e16507051.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-a5729542b65954aa.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-09bd1119ab1cad7d.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9a787681bfbeaf61.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-5a0398ee67f74664.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_image" "-lutil" "-ldl" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [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; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `animal_chess`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "5c56e80c74dc8d25b6b045cc55a9819bf1b8034c7e3d48cfb14630fa9cfec802", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c56e80c74dc8d25b6b045cc55a9819bf1b8034c7e3d48cfb14630fa9cfec802", kill_on_drop: false }` [INFO] [stdout] 5c56e80c74dc8d25b6b045cc55a9819bf1b8034c7e3d48cfb14630fa9cfec802