[INFO] updating cached repository Borthralla/2048 [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/Borthralla/2048 [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/Borthralla/2048" "work/ex/beta-1.38-1/sources/1.37.0/gh/Borthralla/2048"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/Borthralla/2048'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Borthralla/2048" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/Borthralla/2048"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/Borthralla/2048'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 4b777c33aced36d1cd46f3473a1998b9f82c17b1 [INFO] sha for GitHub repo Borthralla/2048: 4b777c33aced36d1cd46f3473a1998b9f82c17b1 [INFO] validating manifest of Borthralla/2048 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of Borthralla/2048 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing Borthralla/2048 [INFO] finished frobbing Borthralla/2048 [INFO] frobbed toml for Borthralla/2048 written to work/ex/beta-1.38-1/sources/1.37.0/gh/Borthralla/2048/Cargo.toml [INFO] started frobbing Borthralla/2048 [INFO] finished frobbing Borthralla/2048 [INFO] frobbed toml for Borthralla/2048 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/Borthralla/2048/Cargo.toml [INFO] crate Borthralla/2048 already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing Borthralla/2048 against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/Borthralla/2048:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] f8eafd54caaa20c1a93f7ea5b4a02ab0b0e87050875494984071f960c06096c5 [INFO] running `"docker" "start" "-a" "f8eafd54caaa20c1a93f7ea5b4a02ab0b0e87050875494984071f960c06096c5"` [INFO] [stderr] Compiling play_2048 v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `Duration` [INFO] [stderr] --> src/main.rs:4:17 [INFO] [stderr] | [INFO] [stderr] 4 | use std::time::{Duration, Instant}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:106:7 [INFO] [stderr] | [INFO] [stderr] 106 | if (*val != 0u8) { [INFO] [stderr] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_parens)] on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `while` condition [INFO] [stderr] --> src/main.rs:160:8 [INFO] [stderr] | [INFO] [stderr] 160 | while(next_states.len() > 0) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `while` condition [INFO] [stderr] --> src/main.rs:204:8 [INFO] [stderr] | [INFO] [stderr] 204 | while(next_states.len() > 0) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `while` condition [INFO] [stderr] --> src/main.rs:214:8 [INFO] [stderr] | [INFO] [stderr] 214 | while(next_states.len() > 0) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:231:8 [INFO] [stderr] | [INFO] [stderr] 231 | if (val != 0) { [INFO] [stderr] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: method is never used: `average_score` [INFO] [stderr] --> src/main.rs:113:2 [INFO] [stderr] | [INFO] [stderr] 113 | fn average_score(&self, iterations: i32) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `make_best_move` [INFO] [stderr] --> src/main.rs:140:2 [INFO] [stderr] | [INFO] [stderr] 140 | fn make_best_move(&mut self, iterations: i32, next_states: Vec) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `play_best_game` [INFO] [stderr] --> src/main.rs:158:2 [INFO] [stderr] | [INFO] [stderr] 158 | fn play_best_game(&mut self, iterations: i32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `parallel_timed_make_best_move` [INFO] [stderr] --> src/main.rs:181:2 [INFO] [stderr] | [INFO] [stderr] 181 | fn parallel_timed_make_best_move(&mut self, duration: i32, next_states: Vec, num_threads: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `parallel_timed_play_best_game` [INFO] [stderr] --> src/main.rs:212:2 [INFO] [stderr] | [INFO] [stderr] 212 | fn parallel_timed_play_best_game(&mut self, duration: i32, num_threads: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/main.rs:253:6 [INFO] [stderr] | [INFO] [stderr] 253 | writeln!(file, "{}", my_state); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_must_use)] on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.33s [INFO] running `"docker" "inspect" "f8eafd54caaa20c1a93f7ea5b4a02ab0b0e87050875494984071f960c06096c5"` [INFO] running `"docker" "rm" "-f" "f8eafd54caaa20c1a93f7ea5b4a02ab0b0e87050875494984071f960c06096c5"` [INFO] [stdout] f8eafd54caaa20c1a93f7ea5b4a02ab0b0e87050875494984071f960c06096c5 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/Borthralla/2048:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 38a316f36cdf1fda2ea16e02402be889ecdf85df6ee82dacfa3659ae029c8eda [INFO] running `"docker" "start" "-a" "38a316f36cdf1fda2ea16e02402be889ecdf85df6ee82dacfa3659ae029c8eda"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling play_2048 v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `Duration` [INFO] [stderr] --> src/main.rs:4:17 [INFO] [stderr] | [INFO] [stderr] 4 | use std::time::{Duration, Instant}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:106:7 [INFO] [stderr] | [INFO] [stderr] 106 | if (*val != 0u8) { [INFO] [stderr] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_parens)] on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `while` condition [INFO] [stderr] --> src/main.rs:160:8 [INFO] [stderr] | [INFO] [stderr] 160 | while(next_states.len() > 0) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `while` condition [INFO] [stderr] --> src/main.rs:204:8 [INFO] [stderr] | [INFO] [stderr] 204 | while(next_states.len() > 0) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `while` condition [INFO] [stderr] --> src/main.rs:214:8 [INFO] [stderr] | [INFO] [stderr] 214 | while(next_states.len() > 0) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:231:8 [INFO] [stderr] | [INFO] [stderr] 231 | if (val != 0) { [INFO] [stderr] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: method is never used: `average_score` [INFO] [stderr] --> src/main.rs:113:2 [INFO] [stderr] | [INFO] [stderr] 113 | fn average_score(&self, iterations: i32) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `make_best_move` [INFO] [stderr] --> src/main.rs:140:2 [INFO] [stderr] | [INFO] [stderr] 140 | fn make_best_move(&mut self, iterations: i32, next_states: Vec) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `play_best_game` [INFO] [stderr] --> src/main.rs:158:2 [INFO] [stderr] | [INFO] [stderr] 158 | fn play_best_game(&mut self, iterations: i32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `parallel_timed_make_best_move` [INFO] [stderr] --> src/main.rs:181:2 [INFO] [stderr] | [INFO] [stderr] 181 | fn parallel_timed_make_best_move(&mut self, duration: i32, next_states: Vec, num_threads: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `parallel_timed_play_best_game` [INFO] [stderr] --> src/main.rs:212:2 [INFO] [stderr] | [INFO] [stderr] 212 | fn parallel_timed_play_best_game(&mut self, duration: i32, num_threads: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/main.rs:253:6 [INFO] [stderr] | [INFO] [stderr] 253 | writeln!(file, "{}", my_state); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_must_use)] on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.94s [INFO] running `"docker" "inspect" "38a316f36cdf1fda2ea16e02402be889ecdf85df6ee82dacfa3659ae029c8eda"` [INFO] running `"docker" "rm" "-f" "38a316f36cdf1fda2ea16e02402be889ecdf85df6ee82dacfa3659ae029c8eda"` [INFO] [stdout] 38a316f36cdf1fda2ea16e02402be889ecdf85df6ee82dacfa3659ae029c8eda [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/Borthralla/2048:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "test" "--frozen"` [INFO] [stdout] 2460739ffdff91f624d0ce687eed92c8ad78fef1aa820885670e8884ce988806 [INFO] running `"docker" "start" "-a" "2460739ffdff91f624d0ce687eed92c8ad78fef1aa820885670e8884ce988806"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running /opt/crater/target/debug/deps/play_2048-bbb5277ef7c220cc [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "2460739ffdff91f624d0ce687eed92c8ad78fef1aa820885670e8884ce988806"` [INFO] running `"docker" "rm" "-f" "2460739ffdff91f624d0ce687eed92c8ad78fef1aa820885670e8884ce988806"` [INFO] [stdout] 2460739ffdff91f624d0ce687eed92c8ad78fef1aa820885670e8884ce988806