[INFO] cloning repository https://github.com/shelvacu/warsim
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shelvacu/warsim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshelvacu%2Fwarsim", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshelvacu%2Fwarsim'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 249f2402abd2a87cafae9a2a4772dbea63b6093a
[INFO] checking shelvacu/warsim against try#012cd62c9add58ab3910e44c137d87db3ab70f61 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshelvacu%2Fwarsim" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/shelvacu/warsim
[INFO] finished tweaking git repo https://github.com/shelvacu/warsim
[INFO] tweaked toml for git repo https://github.com/shelvacu/warsim written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/shelvacu/warsim on toolchain 012cd62c9add58ab3910e44c137d87db3ab70f61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/shelvacu/warsim 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" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7b264b4fd926888b751d9591bb9afe028861632286f9a7606e65c62b1e0e7d2c
[INFO] running `Command { std: "docker" "start" "-a" "7b264b4fd926888b751d9591bb9afe028861632286f9a7606e65c62b1e0e7d2c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7b264b4fd926888b751d9591bb9afe028861632286f9a7606e65c62b1e0e7d2c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b264b4fd926888b751d9591bb9afe028861632286f9a7606e65c62b1e0e7d2c", kill_on_drop: false }`
[INFO] [stdout] 7b264b4fd926888b751d9591bb9afe028861632286f9a7606e65c62b1e0e7d2c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 802a2fd56f32d96549be19317afc70fcaa9fd8bf2f2409c47dd469635d550ced
[INFO] running `Command { std: "docker" "start" "-a" "802a2fd56f32d96549be19317afc70fcaa9fd8bf2f2409c47dd469635d550ced", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.26
[INFO] [stderr]    Compiling libc v0.2.93
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling syn v1.0.68
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]     Checking rand_core v0.6.2
[INFO] [stderr]     Checking rand_chacha v0.3.0
[INFO] [stderr]     Checking rand v0.8.3
[INFO] [stderr]    Compiling arr_macro_impl v0.1.3
[INFO] [stderr]     Checking arr_macro v0.1.3
[INFO] [stderr]     Checking warsim v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the feature `array_map` has been stable since 1.55.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(array_map)]
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `array_map` has been stable since 1.55.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(array_map)]
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:229:17
[INFO] [stdout]     |
[INFO] [stdout] 229 |             let mut winners:Vec<usize> = competing_cards
[INFO] [stdout]     |                 ----^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `h`
[INFO] [stdout]    --> src/main.rs:267:99
[INFO] [stdout]     |
[INFO] [stdout] 267 |         let players_in:Vec<_> = self.hands.iter().enumerate().filter(|(i,h)| h.len() > 0).map(|(i,h)| i).collect();
[INFO] [stdout]     |                                                                                                   ^ help: if this is intentional, prefix it with an underscore: `_h`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:267:72
[INFO] [stdout]     |
[INFO] [stdout] 267 |         let players_in:Vec<_> = self.hands.iter().enumerate().filter(|(i,h)| h.len() > 0).map(|(i,h)| i).collect();
[INFO] [stdout]     |                                                                        ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]    --> src/main.rs:233:26
[INFO] [stdout]     |
[INFO] [stdout] 233 |                 .map(|(i,c)| *i)
[INFO] [stdout]     |                          ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:232:31
[INFO] [stdout]     |
[INFO] [stdout] 232 |                 .take_while(|(i,c)| *c==winning_card)
[INFO] [stdout]     |                               ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:225:52
[INFO] [stdout]     |
[INFO] [stdout] 225 |             competing_cards.sort_unstable_by_key(|(a,b)| *b);
[INFO] [stdout]     |                                                    ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `history` is never used
[INFO] [stdout]    --> src/main.rs:132:12
[INFO] [stdout]     |
[INFO] [stdout] 131 | impl<T> HistoryQueue<T> {
[INFO] [stdout]     | ----------------------- method in this implementation
[INFO] [stdout] 132 |     pub fn history(&self) -> &[T] {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:229:17
[INFO] [stdout]     |
[INFO] [stdout] 229 |             let mut winners:Vec<usize> = competing_cards
[INFO] [stdout]     |                 ----^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `h`
[INFO] [stdout]    --> src/main.rs:267:99
[INFO] [stdout]     |
[INFO] [stdout] 267 |         let players_in:Vec<_> = self.hands.iter().enumerate().filter(|(i,h)| h.len() > 0).map(|(i,h)| i).collect();
[INFO] [stdout]     |                                                                                                   ^ help: if this is intentional, prefix it with an underscore: `_h`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:267:72
[INFO] [stdout]     |
[INFO] [stdout] 267 |         let players_in:Vec<_> = self.hands.iter().enumerate().filter(|(i,h)| h.len() > 0).map(|(i,h)| i).collect();
[INFO] [stdout]     |                                                                        ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]    --> src/main.rs:233:26
[INFO] [stdout]     |
[INFO] [stdout] 233 |                 .map(|(i,c)| *i)
[INFO] [stdout]     |                          ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:232:31
[INFO] [stdout]     |
[INFO] [stdout] 232 |                 .take_while(|(i,c)| *c==winning_card)
[INFO] [stdout]     |                               ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:225:52
[INFO] [stdout]     |
[INFO] [stdout] 225 |             competing_cards.sort_unstable_by_key(|(a,b)| *b);
[INFO] [stdout]     |                                                    ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `history` is never used
[INFO] [stdout]    --> src/main.rs:132:12
[INFO] [stdout]     |
[INFO] [stdout] 131 | impl<T> HistoryQueue<T> {
[INFO] [stdout]     | ----------------------- method in this implementation
[INFO] [stdout] 132 |     pub fn history(&self) -> &[T] {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.98s
[INFO] running `Command { std: "docker" "inspect" "802a2fd56f32d96549be19317afc70fcaa9fd8bf2f2409c47dd469635d550ced", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "802a2fd56f32d96549be19317afc70fcaa9fd8bf2f2409c47dd469635d550ced", kill_on_drop: false }`
[INFO] [stdout] 802a2fd56f32d96549be19317afc70fcaa9fd8bf2f2409c47dd469635d550ced
