[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 beta-2020-07-24 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-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 48% (22/45) Checking out files: 51% (23/45) Checking out files: 53% (24/45) Checking out files: 55% (25/45) Checking out files: 57% (26/45) Checking out files: 60% (27/45) Checking out files: 62% (28/45) Checking out files: 64% (29/45) Checking out files: 66% (30/45) Checking out files: 68% (31/45) Checking out files: 71% (32/45) Checking out files: 73% (33/45) Checking out files: 75% (34/45) Checking out files: 77% (35/45) Checking out files: 80% (36/45) Checking out files: 82% (37/45) Checking out files: 84% (38/45) Checking out files: 86% (39/45) Checking out files: 88% (40/45) 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 beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-12/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" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd98bec016425f446d7dc351cffed655f502f15b538df37d7a03626aea75cf45 [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" "fd98bec016425f446d7dc351cffed655f502f15b538df37d7a03626aea75cf45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd98bec016425f446d7dc351cffed655f502f15b538df37d7a03626aea75cf45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd98bec016425f446d7dc351cffed655f502f15b538df37d7a03626aea75cf45", kill_on_drop: false }` [INFO] [stdout] fd98bec016425f446d7dc351cffed655f502f15b538df37d7a03626aea75cf45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 836ff18c817e96aa365d79a33fa8d082c832eb887444c351167fd126e8458315 [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" "836ff18c817e96aa365d79a33fa8d082c832eb887444c351167fd126e8458315", 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 rand_isaac v0.1.0 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling rand v0.6.1 [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" "-Wl,--eh-frame-hdr" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/game_2048-6482264d872d8c52.game_2048.4tpjn3sl-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-6482264d872d8c52.game_2048.4tpjn3sl-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-6482264d872d8c52.game_2048.4tpjn3sl-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-6482264d872d8c52.game_2048.4tpjn3sl-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-6482264d872d8c52.game_2048.4tpjn3sl-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-6482264d872d8c52.game_2048.4tpjn3sl-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-6482264d872d8c52.game_2048.4tpjn3sl-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-6482264d872d8c52.game_2048.4tpjn3sl-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-6482264d872d8c52.game_2048.4tpjn3sl-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-6482264d872d8c52.game_2048.4tpjn3sl-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-6482264d872d8c52.game_2048.4tpjn3sl-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-6482264d872d8c52.game_2048.4tpjn3sl-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-6482264d872d8c52.game_2048.4tpjn3sl-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-6482264d872d8c52.game_2048.4tpjn3sl-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-6482264d872d8c52.game_2048.4tpjn3sl-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-6482264d872d8c52.game_2048.4tpjn3sl-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/game_2048-6482264d872d8c52" "/opt/rustwide/target/debug/deps/game_2048-6482264d872d8c52.2zjgmctyiiqwyaya.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-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/liblazy_static-7fc82a6b87fbdfeb.rlib" "/opt/rustwide/target/debug/deps/libsdl2-475f9b9259158f4d.rlib" "/opt/rustwide/target/debug/deps/librand-e6f5659db1a2c26f.rlib" "/opt/rustwide/target/debug/deps/librand-cf4b060e692fa8ce.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-663d538f22b32eec.rlib" "/opt/rustwide/target/debug/deps/libbitflags-7b15d77b989f677d.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-2ea69cae54b65af6.rlib" "/opt/rustwide/target/debug/deps/libnum-40c02d75b8f4456d.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-d638954e43e05d15.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-6f06a2f01512f241.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-cdbb2c93d82ff0aa.rlib" "/opt/rustwide/target/debug/deps/librand-5f1a368793ca3f69.rlib" "/opt/rustwide/target/debug/deps/liblibc-9f120d1438bf7694.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-5cd90886be4d9a7f.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-d5759e5f5493784c.rlib" "/opt/rustwide/target/debug/deps/librand_hc-23033943f22d2152.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-00dfa57b4e70de4d.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-a65fd57bc051effa.rlib" "/opt/rustwide/target/debug/deps/librand_core-54649d434ae40dcc.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-d66e0ceb8eaec9b8.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-9717ec0599b569a0.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-04369de9ba916647.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-997d622c2e4dbe5c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-0359c4288a5ef89f.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-1b25ede22d698ab3.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-37940b486a68e488.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-06b77c27e794c7c6.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-4d07e02a8df36da1.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-fb29e0695c0a0f79.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e16188b4cf97e8bb.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-5eb391c8dabdee77.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-b0689b528b222bee.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ed072ac495e62e7a.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" "836ff18c817e96aa365d79a33fa8d082c832eb887444c351167fd126e8458315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "836ff18c817e96aa365d79a33fa8d082c832eb887444c351167fd126e8458315", kill_on_drop: false }` [INFO] [stdout] 836ff18c817e96aa365d79a33fa8d082c832eb887444c351167fd126e8458315