[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.46.0 for beta-1.47-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpixlark%2Frust-2048" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/pixlark/rust-2048 on toolchain 1.46.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.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-3/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.46.0" "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" "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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "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] 562bc64a6b3a428fc18e3c33b928c3a2aacd8d09501dd210a9639c473a966bc5
[INFO] running `Command { std: "docker" "start" "-a" "562bc64a6b3a428fc18e3c33b928c3a2aacd8d09501dd210a9639c473a966bc5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "562bc64a6b3a428fc18e3c33b928c3a2aacd8d09501dd210a9639c473a966bc5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "562bc64a6b3a428fc18e3c33b928c3a2aacd8d09501dd210a9639c473a966bc5", kill_on_drop: false }`
[INFO] [stdout] 562bc64a6b3a428fc18e3c33b928c3a2aacd8d09501dd210a9639c473a966bc5
[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" "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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5ca1b2d42c38c08da6e7e766ff57dea684dde6f1ff7a01732a185e32d34ca379
[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" "5ca1b2d42c38c08da6e7e766ff57dea684dde6f1ff7a01732a185e32d34ca379", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.44
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling num-iter v0.1.37
[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 num v0.1.42
[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<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 `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.46.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/game_2048-fe2a7d6d96aaac73.game_2048.970y81r3-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-fe2a7d6d96aaac73.game_2048.970y81r3-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-fe2a7d6d96aaac73.game_2048.970y81r3-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-fe2a7d6d96aaac73.game_2048.970y81r3-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-fe2a7d6d96aaac73.game_2048.970y81r3-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-fe2a7d6d96aaac73.game_2048.970y81r3-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-fe2a7d6d96aaac73.game_2048.970y81r3-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-fe2a7d6d96aaac73.game_2048.970y81r3-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-fe2a7d6d96aaac73.game_2048.970y81r3-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-fe2a7d6d96aaac73.game_2048.970y81r3-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-fe2a7d6d96aaac73.game_2048.970y81r3-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-fe2a7d6d96aaac73.game_2048.970y81r3-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-fe2a7d6d96aaac73.game_2048.970y81r3-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-fe2a7d6d96aaac73.game_2048.970y81r3-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-fe2a7d6d96aaac73.game_2048.970y81r3-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-fe2a7d6d96aaac73.game_2048.970y81r3-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/game_2048-fe2a7d6d96aaac73" "/opt/rustwide/target/debug/deps/game_2048-fe2a7d6d96aaac73.4zfck0stjee757te.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.46.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/liblazy_static-7789e9f765edeba9.rlib" "/opt/rustwide/target/debug/deps/libsdl2-0d63e20c79d25878.rlib" "/opt/rustwide/target/debug/deps/librand-3a828dde1cb66d41.rlib" "/opt/rustwide/target/debug/deps/librand-ecae85346f66f883.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-4bab2815a33eac47.rlib" "/opt/rustwide/target/debug/deps/libbitflags-2c8bb18952ef3171.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-c08b4e03e2730630.rlib" "/opt/rustwide/target/debug/deps/libnum-f786d2bbf2564b9a.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-a82d3c229ce43b16.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-07df204a2e710a78.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-f5f92416c13edaff.rlib" "/opt/rustwide/target/debug/deps/librand-a90eb1415ed8e350.rlib" "/opt/rustwide/target/debug/deps/liblibc-bda6326d659c0e85.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-4ab5f4b3a00ffd80.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-dfdf312e796e8ac8.rlib" "/opt/rustwide/target/debug/deps/librand_hc-27996792a8f97444.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-9232320cb8101c49.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-5abe83e8700a55fa.rlib" "/opt/rustwide/target/debug/deps/librand_core-6072da4539d090a8.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.46.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-cf0f33af3a901778.rlib" "/opt/rustwide/rustup-home/toolchains/1.46.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-daf8c2d692e6eca4.rlib" "/opt/rustwide/rustup-home/toolchains/1.46.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-24e8f97647425e48.rlib" "/opt/rustwide/rustup-home/toolchains/1.46.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-85ed7d2b484c05a9.rlib" "/opt/rustwide/rustup-home/toolchains/1.46.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-89de2c581262ec09.rlib" "/opt/rustwide/rustup-home/toolchains/1.46.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-3b0db98e62ed7d75.rlib" "/opt/rustwide/rustup-home/toolchains/1.46.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-c60847f9a163de82.rlib" "/opt/rustwide/rustup-home/toolchains/1.46.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-0bb9b63424f4fc5d.rlib" "/opt/rustwide/rustup-home/toolchains/1.46.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-3f74d829e37fa40e.rlib" "/opt/rustwide/rustup-home/toolchains/1.46.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0e9d83ff06f1a7ad.rlib" "/opt/rustwide/rustup-home/toolchains/1.46.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-2c8c904efaf7c40b.rlib" "/opt/rustwide/rustup-home/toolchains/1.46.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-cbfb51de52131460.rlib" "/opt/rustwide/rustup-home/toolchains/1.46.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-97497c26fddb7882.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.46.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f1a9d8c443e20b5e.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" "5ca1b2d42c38c08da6e7e766ff57dea684dde6f1ff7a01732a185e32d34ca379", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5ca1b2d42c38c08da6e7e766ff57dea684dde6f1ff7a01732a185e32d34ca379", kill_on_drop: false }`
[INFO] [stdout] 5ca1b2d42c38c08da6e7e766ff57dea684dde6f1ff7a01732a185e32d34ca379
