[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.55.0 for beta-1.56-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpixlark%2Frust-2048" "/workspace/builds/worker-24/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-24/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/pixlark/rust-2048 on toolchain 1.55.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-24/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.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2a75be5209bcb9971730c0ec1ee236644291a9c7b51fa63a3864420190ac698f
[INFO] running `Command { std: "docker" "start" "-a" "2a75be5209bcb9971730c0ec1ee236644291a9c7b51fa63a3864420190ac698f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2a75be5209bcb9971730c0ec1ee236644291a9c7b51fa63a3864420190ac698f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a75be5209bcb9971730c0ec1ee236644291a9c7b51fa63a3864420190ac698f", kill_on_drop: false }`
[INFO] [stdout] 2a75be5209bcb9971730c0ec1ee236644291a9c7b51fa63a3864420190ac698f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 657babcfe396d2f91a9d05e3dff20748d13af408a1f94158f4318831d99a296a
[INFO] running `Command { std: "docker" "start" "-a" "657babcfe396d2f91a9d05e3dff20748d13af408a1f94158f4318831d99a296a", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling libc v0.2.44
[INFO] [stderr]    Compiling rand_core v0.3.0
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling num-iter v0.1.37
[INFO] [stderr]    Compiling cfg-if v0.1.6
[INFO] [stderr]    Compiling game-2048 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling bitflags v0.7.0
[INFO] [stderr]    Compiling lazy_static v0.2.11
[INFO] [stderr]    Compiling lazy_static v1.2.0
[INFO] [stderr]    Compiling rand_pcg v0.1.1
[INFO] [stderr]    Compiling rand_chacha v0.1.0
[INFO] [stderr]    Compiling rand v0.6.1
[INFO] [stderr]    Compiling sdl2-sys v0.31.0
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_xorshift v0.1.0
[INFO] [stderr]    Compiling rand_isaac v0.1.0
[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:13
[INFO] [stdout]     |
[INFO] [stdout] 321 |     let mut state_stack: Vec<Box<dyn GameState>> = 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<Box<dyn GameState>> = 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<u64, Color> = {
[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 `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 status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/game_2048-9dfa8b7e86d453c1.game_2048.53a5e4ef-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-9dfa8b7e86d453c1.game_2048.53a5e4ef-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-9dfa8b7e86d453c1.game_2048.53a5e4ef-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-9dfa8b7e86d453c1.game_2048.53a5e4ef-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-9dfa8b7e86d453c1.game_2048.53a5e4ef-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-9dfa8b7e86d453c1.game_2048.53a5e4ef-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-9dfa8b7e86d453c1.game_2048.53a5e4ef-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-9dfa8b7e86d453c1.game_2048.53a5e4ef-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-9dfa8b7e86d453c1.game_2048.53a5e4ef-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-9dfa8b7e86d453c1.game_2048.53a5e4ef-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-9dfa8b7e86d453c1.game_2048.53a5e4ef-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-9dfa8b7e86d453c1.game_2048.53a5e4ef-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-9dfa8b7e86d453c1.game_2048.53a5e4ef-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-9dfa8b7e86d453c1.game_2048.53a5e4ef-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-9dfa8b7e86d453c1.game_2048.53a5e4ef-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-9dfa8b7e86d453c1.game_2048.53a5e4ef-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-9dfa8b7e86d453c1.515oa0q60cu6ni2q.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/liblazy_static-be5b982b5ab50524.rlib" "/opt/rustwide/target/debug/deps/libsdl2-55ab2fc37911c8aa.rlib" "/opt/rustwide/target/debug/deps/librand-528405b96d363be9.rlib" "/opt/rustwide/target/debug/deps/librand-da34d29dbb537993.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-ba3df18d2f92c9a1.rlib" "/opt/rustwide/target/debug/deps/libbitflags-b22133e6ab819f70.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-0225df2dd3a5ccbd.rlib" "/opt/rustwide/target/debug/deps/libnum-a7ce411a471a0407.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-77c2892a13620e91.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-d661466bc03c66ca.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-a4e313a328b70edb.rlib" "/opt/rustwide/target/debug/deps/librand-dcec2f5be2350321.rlib" "/opt/rustwide/target/debug/deps/liblibc-88e7d96d64d82cbb.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-23322f70348dfc42.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-ae2d9044603830cf.rlib" "/opt/rustwide/target/debug/deps/librand_hc-440bf3db590eeed7.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-45ca1b7487863cc9.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-3eab071ba0a70085.rlib" "/opt/rustwide/target/debug/deps/librand_core-2c7e3ff7546cac4b.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-008055cc7d873802.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-06f01ac2578bda94.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f9a3c3274a1835e0.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d4cbb754ee9f4daa.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-95c14e1c1e3ebcc4.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d489f0ca872880cc.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-75f07df0b18fea39.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c35b278736219a2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e530649c9a06e3c6.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-6b148909d375a785.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-cd15fa647f4775d1.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74be3a703f788ba2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8f2c5b445c28b2e3.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8480e85e0be96197.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac23a75f6f42004e.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-557ba8776e04d182.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4beb03d03503c439.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dd7db1bec6909f24.rlib" "-Wl,-Bdynamic" "-lSDL2_ttf" "-lSDL2" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/game_2048-9dfa8b7e86d453c1" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs"
[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` due to 2 previous errors; 9 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "657babcfe396d2f91a9d05e3dff20748d13af408a1f94158f4318831d99a296a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "657babcfe396d2f91a9d05e3dff20748d13af408a1f94158f4318831d99a296a", kill_on_drop: false }`
[INFO] [stdout] 657babcfe396d2f91a9d05e3dff20748d13af408a1f94158f4318831d99a296a
