[INFO] cloning 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" "clone" "--bare" "https://github.com/pixlark/rust-2048" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpixlark%2Frust-2048", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpixlark%2Frust-2048'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c4cad366c974d5471e6db2a1b727b8c9133b342 [INFO] testing pixlark/rust-2048 against 1.49.0 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpixlark%2Frust-2048" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pixlark/rust-2048 on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "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-0/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.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23b86aece14beb03f90c8bd6a47f93a10922852e80180bdbab4d121744d31250 [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" "23b86aece14beb03f90c8bd6a47f93a10922852e80180bdbab4d121744d31250", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23b86aece14beb03f90c8bd6a47f93a10922852e80180bdbab4d121744d31250", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23b86aece14beb03f90c8bd6a47f93a10922852e80180bdbab4d121744d31250", kill_on_drop: false }` [INFO] [stdout] 23b86aece14beb03f90c8bd6a47f93a10922852e80180bdbab4d121744d31250 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c156200bc18551c7dfce45288d1154517e4f4f08f7435b23bc68f58aebf3099 [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" "5c156200bc18551c7dfce45288d1154517e4f4f08f7435b23bc68f58aebf3099", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling game-2048 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling rand_xorshift v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.0 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand v0.6.1 [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] [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 associated function `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/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/game_2048-0d9e084472b8ae42.game_2048.92djaxks-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-0d9e084472b8ae42.game_2048.92djaxks-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-0d9e084472b8ae42.game_2048.92djaxks-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-0d9e084472b8ae42.game_2048.92djaxks-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-0d9e084472b8ae42.game_2048.92djaxks-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-0d9e084472b8ae42.game_2048.92djaxks-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-0d9e084472b8ae42.game_2048.92djaxks-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-0d9e084472b8ae42.game_2048.92djaxks-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-0d9e084472b8ae42.game_2048.92djaxks-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-0d9e084472b8ae42.game_2048.92djaxks-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-0d9e084472b8ae42.game_2048.92djaxks-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-0d9e084472b8ae42.game_2048.92djaxks-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-0d9e084472b8ae42.game_2048.92djaxks-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-0d9e084472b8ae42.game_2048.92djaxks-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-0d9e084472b8ae42.game_2048.92djaxks-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-0d9e084472b8ae42.game_2048.92djaxks-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/game_2048-0d9e084472b8ae42" "/opt/rustwide/target/debug/deps/game_2048-0d9e084472b8ae42.2teazgudhyenhkn3.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/liblazy_static-bdaffc3be0f3e345.rlib" "/opt/rustwide/target/debug/deps/libsdl2-6005ac895b03d158.rlib" "/opt/rustwide/target/debug/deps/librand-ed1d6c447ba243b9.rlib" "/opt/rustwide/target/debug/deps/librand-eb9b33a316fc0e0f.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-b36e4d72eda82a98.rlib" "/opt/rustwide/target/debug/deps/libbitflags-2660c594cf04f3b5.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-9850e1ed257f46c2.rlib" "/opt/rustwide/target/debug/deps/libnum-95c9af438eaba823.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-03aae3250d88cfab.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-f166a3be6c2d9c93.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-0d14380347a326c6.rlib" "/opt/rustwide/target/debug/deps/librand-a41cd5b73ac314e6.rlib" "/opt/rustwide/target/debug/deps/liblibc-83e121192af6c49f.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-e41b327aa9b627b3.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-46dc5087f9cf2c19.rlib" "/opt/rustwide/target/debug/deps/librand_hc-d268684e255bd713.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-c44ade5b3197130f.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-78eadcd3487cfa81.rlib" "/opt/rustwide/target/debug/deps/librand_core-741068a56e7d3da6.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e12de7683a34c500.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-446a53c2e468675f.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-86fef9fb252a2d33.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-3bed9bfd30304751.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-0e38eeb474a7b386.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-a846ed547b824740.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-c9540f0a4fb9265d.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-7d2ca66c92c356eb.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-147e2c808f949493.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-bd2a4369506670e9.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74bfdd0ce7d0ed48.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-6777f47f1c491841.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-b104f1790174f2be.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-db37898996f45c13.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-25b7435131fc4938.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9d4b6f3c097e876e.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-3f953ad652ab829a.rlib" "-Wl,-Bdynamic" "-lSDL2_ttf" "-lSDL2" "-lutil" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" [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" "5c156200bc18551c7dfce45288d1154517e4f4f08f7435b23bc68f58aebf3099", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c156200bc18551c7dfce45288d1154517e4f4f08f7435b23bc68f58aebf3099", kill_on_drop: false }` [INFO] [stdout] 5c156200bc18551c7dfce45288d1154517e4f4f08f7435b23bc68f58aebf3099