[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] checking pixlark/rust-2048 against try#85cc1486e1f000dce4bb8e1b3cfab2b654b102a8 for pr-73323 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpixlark%2Frust-2048" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] [stderr] 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 85cc1486e1f000dce4bb8e1b3cfab2b654b102a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "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-6/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" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0097161233dbfaef0963943cceeff7690b67eb4f0664779c829d04fb1e835287 [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" "0097161233dbfaef0963943cceeff7690b67eb4f0664779c829d04fb1e835287", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0097161233dbfaef0963943cceeff7690b67eb4f0664779c829d04fb1e835287", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0097161233dbfaef0963943cceeff7690b67eb4f0664779c829d04fb1e835287", kill_on_drop: false }` [INFO] [stdout] 0097161233dbfaef0963943cceeff7690b67eb4f0664779c829d04fb1e835287 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=forbid" "-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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6c22b1d1d3ffb8f6e690cd56e04a1ff162ba29e8dbd5cb201d057dafce63726 [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" "e6c22b1d1d3ffb8f6e690cd56e04a1ff162ba29e8dbd5cb201d057dafce63726", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Compiling game-2048 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Checking rand_isaac v0.1.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] Checking num v0.1.42 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking 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] 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: 9 warnings emitted [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] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.36s [INFO] running `Command { std: "docker" "inspect" "e6c22b1d1d3ffb8f6e690cd56e04a1ff162ba29e8dbd5cb201d057dafce63726", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6c22b1d1d3ffb8f6e690cd56e04a1ff162ba29e8dbd5cb201d057dafce63726", kill_on_drop: false }` [INFO] [stdout] e6c22b1d1d3ffb8f6e690cd56e04a1ff162ba29e8dbd5cb201d057dafce63726