[INFO] cloning repository https://github.com/Borthralla/2048 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Borthralla/2048" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBorthralla%2F2048", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBorthralla%2F2048'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4b777c33aced36d1cd46f3473a1998b9f82c17b1 [INFO] checking Borthralla/2048 against try#82acd1d76add2232e19c1f0feb250d2a19ec6efe for pr-81213 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBorthralla%2F2048" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Borthralla/2048 on toolchain 82acd1d76add2232e19c1f0feb250d2a19ec6efe [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+82acd1d76add2232e19c1f0feb250d2a19ec6efe" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Borthralla/2048 [INFO] finished tweaking git repo https://github.com/Borthralla/2048 [INFO] tweaked toml for git repo https://github.com/Borthralla/2048 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/Borthralla/2048 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+82acd1d76add2232e19c1f0feb250d2a19ec6efe" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+82acd1d76add2232e19c1f0feb250d2a19ec6efe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a0db7de66abf2e1f1536f8b263171d45e2f33df3b52018b96aa4f5e1eee30e4 [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" "9a0db7de66abf2e1f1536f8b263171d45e2f33df3b52018b96aa4f5e1eee30e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a0db7de66abf2e1f1536f8b263171d45e2f33df3b52018b96aa4f5e1eee30e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a0db7de66abf2e1f1536f8b263171d45e2f33df3b52018b96aa4f5e1eee30e4", kill_on_drop: false }` [INFO] [stdout] 9a0db7de66abf2e1f1536f8b263171d45e2f33df3b52018b96aa4f5e1eee30e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+82acd1d76add2232e19c1f0feb250d2a19ec6efe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fc7744275f9c2de7c095bdfc83932b8f0cc5849cfc0792e3f2d5bc1bc8ab200 [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" "2fc7744275f9c2de7c095bdfc83932b8f0cc5849cfc0792e3f2d5bc1bc8ab200", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking play_2048 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:106:7 [INFO] [stdout] | [INFO] [stdout] 106 | if (*val != 0u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/main.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | while(next_states.len() > 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/main.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 204 | while(next_states.len() > 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/main.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 214 | while(next_states.len() > 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:231:8 [INFO] [stdout] | [INFO] [stdout] 231 | if (val != 0) { [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:106:7 [INFO] [stdout] | [INFO] [stdout] 106 | if (*val != 0u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/main.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | while(next_states.len() > 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/main.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 204 | while(next_states.len() > 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/main.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 214 | while(next_states.len() > 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:231:8 [INFO] [stdout] | [INFO] [stdout] 231 | if (val != 0) { [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `average_score` [INFO] [stdout] --> src/main.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | fn average_score(&self, iterations: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_best_move` [INFO] [stdout] --> src/main.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | fn make_best_move(&mut self, iterations: i32, next_states: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `play_best_game` [INFO] [stdout] --> src/main.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | fn play_best_game(&mut self, iterations: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parallel_timed_make_best_move` [INFO] [stdout] --> src/main.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | fn parallel_timed_make_best_move(&mut self, duration: i32, next_states: Vec, num_threads: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parallel_timed_play_best_game` [INFO] [stdout] --> src/main.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | fn parallel_timed_play_best_game(&mut self, duration: i32, num_threads: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:253:6 [INFO] [stdout] | [INFO] [stdout] 253 | writeln!(file, "{}", my_state); [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] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `average_score` [INFO] [stdout] --> src/main.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | fn average_score(&self, iterations: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_best_move` [INFO] [stdout] --> src/main.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | fn make_best_move(&mut self, iterations: i32, next_states: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `play_best_game` [INFO] [stdout] --> src/main.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | fn play_best_game(&mut self, iterations: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parallel_timed_make_best_move` [INFO] [stdout] --> src/main.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | fn parallel_timed_make_best_move(&mut self, duration: i32, next_states: Vec, num_threads: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parallel_timed_play_best_game` [INFO] [stdout] --> src/main.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | fn parallel_timed_play_best_game(&mut self, duration: i32, num_threads: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:253:6 [INFO] [stdout] | [INFO] [stdout] 253 | writeln!(file, "{}", my_state); [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] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.55s [INFO] running `Command { std: "docker" "inspect" "2fc7744275f9c2de7c095bdfc83932b8f0cc5849cfc0792e3f2d5bc1bc8ab200", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fc7744275f9c2de7c095bdfc83932b8f0cc5849cfc0792e3f2d5bc1bc8ab200", kill_on_drop: false }` [INFO] [stdout] 2fc7744275f9c2de7c095bdfc83932b8f0cc5849cfc0792e3f2d5bc1bc8ab200