[INFO] cloning repository https://github.com/jmmaloney4/rps-ngrams
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jmmaloney4/rps-ngrams" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmmaloney4%2Frps-ngrams", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmmaloney4%2Frps-ngrams'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 678165f74aedffb25c100ab03f0ecff071731d22
[INFO] checking jmmaloney4/rps-ngrams against master#4eb62535fc12dd1a63fd43a4173e224e79313c4d for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmmaloney4%2Frps-ngrams" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jmmaloney4/rps-ngrams
[INFO] finished tweaking git repo https://github.com/jmmaloney4/rps-ngrams
[INFO] tweaked toml for git repo https://github.com/jmmaloney4/rps-ngrams written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jmmaloney4/rps-ngrams on toolchain 4eb62535fc12dd1a63fd43a4173e224e79313c4d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jmmaloney4/rps-ngrams already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded snafu-derive v0.7.1
[INFO] [stderr]   Downloaded unicode-ident v1.0.3
[INFO] [stderr]   Downloaded snafu v0.7.1
[INFO] [stderr]   Downloaded quote v1.0.21
[INFO] [stderr]   Downloaded cfg-if v1.0.0
[INFO] [stderr]   Downloaded autocfg v1.1.0
[INFO] [stderr]   Downloaded doc-comment v0.3.3
[INFO] [stderr]   Downloaded newline-converter v0.2.0
[INFO] [stderr]   Downloaded version_check v0.9.4
[INFO] [stderr]   Downloaded heck v0.4.0
[INFO] [stderr]   Downloaded lazy_static v1.4.0
[INFO] [stderr]   Downloaded generic-array v0.14.6
[INFO] [stderr]   Downloaded either v1.8.0
[INFO] [stderr]   Downloaded crossterm_winapi v0.9.0
[INFO] [stderr]   Downloaded rand_chacha v0.3.1
[INFO] [stderr]   Downloaded signal-hook-mio v0.2.3
[INFO] [stderr]   Downloaded thiserror-impl v1.0.32
[INFO] [stderr]   Downloaded scopeguard v1.1.0
[INFO] [stderr]   Downloaded unicode-width v0.1.9
[INFO] [stderr]   Downloaded thiserror v1.0.32
[INFO] [stderr]   Downloaded dyn-clone v1.0.9
[INFO] [stderr]   Downloaded getrandom v0.2.7
[INFO] [stderr]   Downloaded wasi v0.11.0+wasi-snapshot-preview1
[INFO] [stderr]   Downloaded signal-hook-registry v1.4.0
[INFO] [stderr]   Downloaded ppv-lite86 v0.2.16
[INFO] [stderr]   Downloaded smallvec v1.9.0
[INFO] [stderr]   Downloaded rand_core v0.6.3
[INFO] [stderr]   Downloaded redox_syscall v0.2.16
[INFO] [stderr]   Downloaded bitflags v1.3.2
[INFO] [stderr]   Downloaded lock_api v0.4.7
[INFO] [stderr]   Downloaded syn v1.0.99
[INFO] [stderr]   Downloaded log v0.4.17
[INFO] [stderr]   Downloaded proc-macro2 v1.0.43
[INFO] [stderr]   Downloaded parking_lot_core v0.9.3
[INFO] [stderr]   Downloaded inquire v0.3.0
[INFO] [stderr]   Downloaded parking_lot v0.12.1
[INFO] [stderr]   Downloaded signal-hook v0.3.14
[INFO] [stderr]   Downloaded typenum v1.15.0
[INFO] [stderr]   Downloaded mio v0.8.4
[INFO] [stderr]   Downloaded rand v0.8.5
[INFO] [stderr]   Downloaded unicode-segmentation v1.9.0
[INFO] [stderr]   Downloaded itertools v0.10.3
[INFO] [stderr]   Downloaded crossterm v0.25.0
[INFO] [stderr]   Downloaded libc v0.2.132
[INFO] [stderr]   Downloaded windows_x86_64_msvc v0.36.1
[INFO] [stderr]   Downloaded windows_aarch64_msvc v0.36.1
[INFO] [stderr]   Downloaded windows_i686_msvc v0.36.1
[INFO] [stderr]   Downloaded windows_x86_64_gnu v0.36.1
[INFO] [stderr]   Downloaded windows_i686_gnu v0.36.1
[INFO] [stderr]   Downloaded winapi v0.3.9
[INFO] [stderr]   Downloaded winapi-i686-pc-windows-gnu v0.4.0
[INFO] [stderr]   Downloaded winapi-x86_64-pc-windows-gnu v0.4.0
[INFO] [stderr]   Downloaded windows-sys v0.36.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ade28e71291cd7a42244af5bfbbfde5618ada1ad2cb201ea2aa01e3a187d8440
[INFO] running `Command { std: "docker" "start" "ade28e71291cd7a42244af5bfbbfde5618ada1ad2cb201ea2aa01e3a187d8440", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ade28e71291cd7a42244af5bfbbfde5618ada1ad2cb201ea2aa01e3a187d8440", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ade28e71291cd7a42244af5bfbbfde5618ada1ad2cb201ea2aa01e3a187d8440" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ade28e71291cd7a42244af5bfbbfde5618ada1ad2cb201ea2aa01e3a187d8440", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ade28e71291cd7a42244af5bfbbfde5618ada1ad2cb201ea2aa01e3a187d8440" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling signal-hook v0.3.14
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]     Checking smallvec v1.9.0
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking newline-converter v0.2.0
[INFO] [stderr]     Checking unicode-segmentation v1.9.0
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking either v1.8.0
[INFO] [stderr]     Checking unicode-width v0.1.9
[INFO] [stderr]     Checking dyn-clone v1.0.9
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking mio v0.8.4
[INFO] [stderr]     Checking itertools v0.10.3
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking signal-hook-mio v0.2.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking crossterm v0.25.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.32
[INFO] [stderr]    Compiling snafu-derive v0.7.1
[INFO] [stderr]     Checking thiserror v1.0.32
[INFO] [stderr]     Checking inquire v0.3.0
[INFO] [stderr]     Checking snafu v0.7.1
[INFO] [stderr]     Checking rps-ngram v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `ArrayLength` and `GenericArray`
[INFO] [stdout]  --> src/main.rs:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 | use generic_array::{ArrayLength, GenericArray};
[INFO] [stdout]   |                     ^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ArrayLength` and `GenericArray`
[INFO] [stdout]  --> src/main.rs:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 | use generic_array::{ArrayLength, GenericArray};
[INFO] [stdout]   |                     ^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/main.rs:211:5
[INFO] [stdout]     |
[INFO] [stdout] 200 | /     loop {
[INFO] [stdout] 201 | |         let res = turn(&mut human, &mut cpu)?;
[INFO] [stdout] 202 | |         results.push(res);
[INFO] [stdout] 203 | |         let winrate = results.iter().fold((0, 0), |(w, t), r| match r {
[INFO] [stdout] ...   |
[INFO] [stdout] 208 | |         println!("{}", (winrate.0 as f64) / (winrate.1 as f64));
[INFO] [stdout] 209 | |     }
[INFO] [stdout]     | |_____- any code following this expression is unreachable
[INFO] [stdout] 210 |
[INFO] [stdout] 211 |       Ok(())
[INFO] [stdout]     |       ^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/main.rs:211:5
[INFO] [stdout]     |
[INFO] [stdout] 200 | /     loop {
[INFO] [stdout] 201 | |         let res = turn(&mut human, &mut cpu)?;
[INFO] [stdout] 202 | |         results.push(res);
[INFO] [stdout] 203 | |         let winrate = results.iter().fold((0, 0), |(w, t), r| match r {
[INFO] [stdout] ...   |
[INFO] [stdout] 208 | |         println!("{}", (winrate.0 as f64) / (winrate.1 as f64));
[INFO] [stdout] 209 | |     }
[INFO] [stdout]     | |_____- any code following this expression is unreachable
[INFO] [stdout] 210 |
[INFO] [stdout] 211 |       Ok(())
[INFO] [stdout]     |       ^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RNGPlayer` is never constructed
[INFO] [stdout]   --> src/main.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | struct RNGPlayer {}
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RNGPlayer` is never constructed
[INFO] [stdout]   --> src/main.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | struct RNGPlayer {}
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `ngrams` is never used
[INFO] [stdout]    --> src/main.rs:117:8
[INFO] [stdout]     |
[INFO] [stdout] 116 | impl NGramsPlayer {
[INFO] [stdout]     | ----------------- associated function in this implementation
[INFO] [stdout] 117 |     fn ngrams(n: usize) -> Vec<Vec<RPS>> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `ngrams` is never used
[INFO] [stdout]    --> src/main.rs:117:8
[INFO] [stdout]     |
[INFO] [stdout] 116 | impl NGramsPlayer {
[INFO] [stdout]     | ----------------- associated function in this implementation
[INFO] [stdout] 117 |     fn ngrams(n: usize) -> Vec<Vec<RPS>> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.42s
[INFO] running `Command { std: "docker" "inspect" "ade28e71291cd7a42244af5bfbbfde5618ada1ad2cb201ea2aa01e3a187d8440", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ade28e71291cd7a42244af5bfbbfde5618ada1ad2cb201ea2aa01e3a187d8440", kill_on_drop: false }`
[INFO] [stdout] ade28e71291cd7a42244af5bfbbfde5618ada1ad2cb201ea2aa01e3a187d8440
