[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 try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpixlark%2Frust-2048" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pixlark/rust-2048 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-9/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_isaac v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] edba7c7a5e7f4221d34b1d55f0a205b718b3956e10954bb305734073c6555d44 [INFO] running `Command { std: "docker" "start" "-a" "edba7c7a5e7f4221d34b1d55f0a205b718b3956e10954bb305734073c6555d44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edba7c7a5e7f4221d34b1d55f0a205b718b3956e10954bb305734073c6555d44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edba7c7a5e7f4221d34b1d55f0a205b718b3956e10954bb305734073c6555d44", kill_on_drop: false }` [INFO] [stdout] edba7c7a5e7f4221d34b1d55f0a205b718b3956e10954bb305734073c6555d44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=forbid" "-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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b914ea831c2220fa7b73d670f2dde59f4f9c48f86763a0d50b553781d87067c [INFO] running `Command { std: "docker" "start" "-a" "3b914ea831c2220fa7b73d670f2dde59f4f9c48f86763a0d50b553781d87067c", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [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 rand_isaac v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.0 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [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 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> = 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 `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" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-Wl,--as-needed" "-L" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.game_2048.dmyox1qa-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.game_2048.dmyox1qa-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.game_2048.dmyox1qa-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.game_2048.dmyox1qa-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.game_2048.dmyox1qa-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.game_2048.dmyox1qa-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.game_2048.dmyox1qa-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.game_2048.dmyox1qa-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.game_2048.dmyox1qa-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.game_2048.dmyox1qa-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.game_2048.dmyox1qa-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.game_2048.dmyox1qa-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.game_2048.dmyox1qa-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.game_2048.dmyox1qa-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.game_2048.dmyox1qa-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.game_2048.dmyox1qa-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700" "/opt/rustwide/target/debug/deps/game_2048-a2510c16254f3700.418eeopbwgmkxysd.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/liblazy_static-4ba9c026e96e4251.rlib" "/opt/rustwide/target/debug/deps/libsdl2-fe34f4c7df23e29e.rlib" "/opt/rustwide/target/debug/deps/librand-7b6c81f2cfe3f948.rlib" "/opt/rustwide/target/debug/deps/librand-7df4bf2b096065c8.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-f08e97baef68bda0.rlib" "/opt/rustwide/target/debug/deps/libbitflags-451632c3bdd53d67.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-dbe219c565973cc2.rlib" "/opt/rustwide/target/debug/deps/libnum-4535e4ce007bf66c.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-9b3c910537d75c98.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-e67644c1b5d64fa6.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-a616ef0b114947c8.rlib" "/opt/rustwide/target/debug/deps/librand-49c337dafbcafae8.rlib" "/opt/rustwide/target/debug/deps/liblibc-981b8f56645ced90.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-09885145c87a592a.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-656677771e74bc31.rlib" "/opt/rustwide/target/debug/deps/librand_hc-1b41c3ebe76ed6a7.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-093bb29291aa3b47.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-c2b6c5a0b5d16c1b.rlib" "/opt/rustwide/target/debug/deps/librand_core-3156305059e3b6e2.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-21256c14e4504640.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-986e7fea4474d4d2.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-91d85f45babdb06e.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-756509c31813f9a6.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-5c2ef587e740c0cc.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-ad8f9371d31db1b3.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-402820fb3b4d3dd8.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-5e8e903f07dc8747.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-7ab9ae5080c07187.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-c8e8d47c6bf14de2.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5a02dbb58abd015a.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-cedc8fec61444895.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a1c96351c52bc56a.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-e41c6d24baeb2249.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-62493b241881590c.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-a1fd7734706d5518.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-c8ded1707ad10767.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-1eec8756baa5bc24.rlib" "-Wl,-Bdynamic" "-lSDL2_ttf" "-lSDL2" "-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" "3b914ea831c2220fa7b73d670f2dde59f4f9c48f86763a0d50b553781d87067c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b914ea831c2220fa7b73d670f2dde59f4f9c48f86763a0d50b553781d87067c", kill_on_drop: false }` [INFO] [stdout] 3b914ea831c2220fa7b73d670f2dde59f4f9c48f86763a0d50b553781d87067c