[INFO] updating cached repository https://github.com/pixlark/rust-2048 [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c4cad366c974d5471e6db2a1b727b8c9133b342 [INFO] testing pixlark/rust-2048 against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpixlark%2Frust-2048" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 91% (41/45) Checking out files: 93% (42/45) Checking out files: 95% (43/45) Checking out files: 97% (44/45) Checking out files: 100% (45/45) Checking out files: 100% (45/45), done. [INFO] validating manifest of git repo https://github.com/pixlark/rust-2048 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 git repo https://github.com/pixlark/rust-2048 [INFO] finished tweaking git repo https://github.com/pixlark/rust-2048 [INFO] tweaked toml for git repo https://github.com/pixlark/rust-2048 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/pixlark/rust-2048 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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] [stdout] f1598dcce5938ca73992bff83f4cfa19bb2129cdfdf9cfeca26def5842e0cb4a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f1598dcce5938ca73992bff83f4cfa19bb2129cdfdf9cfeca26def5842e0cb4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1598dcce5938ca73992bff83f4cfa19bb2129cdfdf9cfeca26def5842e0cb4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1598dcce5938ca73992bff83f4cfa19bb2129cdfdf9cfeca26def5842e0cb4a", kill_on_drop: false }` [INFO] [stdout] f1598dcce5938ca73992bff83f4cfa19bb2129cdfdf9cfeca26def5842e0cb4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] a2cad623a1f182f245644bc37eda18cb76ac1bd97d8a5a4bc827f901157df9a6 [INFO] running `Command { std: "docker" "start" "-a" "a2cad623a1f182f245644bc37eda18cb76ac1bd97d8a5a4bc827f901157df9a6", kill_on_drop: false }` [INFO] [stderr] Compiling game-2048 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling sdl2 v0.31.0 [INFO] [stdout] warning: unused import: `sdl2::video::WindowContext` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use sdl2::video::WindowContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `v2` should have an upper camel case name [INFO] [stdout] --> src/main.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | struct v2 { [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `V2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'rand::Rng::choose': use SliceRandom::choose instead [INFO] [stdout] --> src/main.rs:267:32 [INFO] [stdout] | [INFO] [stdout] 267 | let choice: u64 = *rng.choose(&[2, 4]).unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state_stack` [INFO] [stdout] --> src/main.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | let mut state_stack: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_state_stack` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | let mut state_stack: Vec> = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_fitness` [INFO] [stdout] --> src/main.rs:270:8 [INFO] [stdout] | [INFO] [stdout] 270 | fn get_fitness(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PlayingState` [INFO] [stdout] --> src/main.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 301 | struct PlayingState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `color_map` should have an upper case name [INFO] [stdout] --> src/main.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | static ref color_map: HashMap = { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `COLOR_MAP` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:159:21 [INFO] [stdout] | [INFO] [stdout] 159 | / canvas.copy( [INFO] [stdout] 160 | | &texture, [INFO] [stdout] 161 | | None, [INFO] [stdout] 162 | | Some(Rect::new( [INFO] [stdout] ... | [INFO] [stdout] 167 | | )), [INFO] [stdout] 168 | | ); [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] 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/game_2048-87d458f8304c82dc.game_2048.3ancfubp-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-87d458f8304c82dc.game_2048.3ancfubp-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-87d458f8304c82dc.game_2048.3ancfubp-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-87d458f8304c82dc.game_2048.3ancfubp-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-87d458f8304c82dc.game_2048.3ancfubp-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-87d458f8304c82dc.game_2048.3ancfubp-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-87d458f8304c82dc.game_2048.3ancfubp-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-87d458f8304c82dc.game_2048.3ancfubp-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-87d458f8304c82dc.game_2048.3ancfubp-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-87d458f8304c82dc.game_2048.3ancfubp-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-87d458f8304c82dc.game_2048.3ancfubp-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-87d458f8304c82dc.game_2048.3ancfubp-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-87d458f8304c82dc.game_2048.3ancfubp-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-87d458f8304c82dc.game_2048.3ancfubp-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-87d458f8304c82dc.game_2048.3ancfubp-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-87d458f8304c82dc.game_2048.3ancfubp-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/game_2048-87d458f8304c82dc" "/opt/rustwide/target/debug/deps/game_2048-87d458f8304c82dc.51347hbbar09m6xj.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/liblazy_static-0c44697ac28cf26a.rlib" "/opt/rustwide/target/debug/deps/libsdl2-1e6fec43fa001d80.rlib" "/opt/rustwide/target/debug/deps/librand-9b0376e8da69ffc3.rlib" "/opt/rustwide/target/debug/deps/librand-3a4fee3d5d55f5d4.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-8b2227f60bafda84.rlib" "/opt/rustwide/target/debug/deps/libbitflags-12fb577444bcad11.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-cbf4e74d25b393ff.rlib" "/opt/rustwide/target/debug/deps/libnum-7776c808f3981920.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-0072aa6ed468b655.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-ee535da76a16751b.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-0e331abae535600b.rlib" "/opt/rustwide/target/debug/deps/librand-ea5047b5d9427051.rlib" "/opt/rustwide/target/debug/deps/liblibc-5839fb669631501b.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-47416f109dac9f3e.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-df22a298f3b50d43.rlib" "/opt/rustwide/target/debug/deps/librand_hc-244c88fbf4e63396.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-8142db218b78c3fc.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-dfa767815a8a3cbf.rlib" "/opt/rustwide/target/debug/deps/librand_core-b7089351777b095b.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_ttf" "-lSDL2" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lSDL2_ttf [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `game-2048`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "a2cad623a1f182f245644bc37eda18cb76ac1bd97d8a5a4bc827f901157df9a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2cad623a1f182f245644bc37eda18cb76ac1bd97d8a5a4bc827f901157df9a6", kill_on_drop: false }` [INFO] [stdout] a2cad623a1f182f245644bc37eda18cb76ac1bd97d8a5a4bc827f901157df9a6