[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#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshelvacu%2Fwarsim" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/shelvacu/warsim on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 84b82b12c111ed2ff74aa1697c6e1e8f871d8679a7a1a9efd3ab09c80b9f8b90
[INFO] running `Command { std: "docker" "start" "-a" "84b82b12c111ed2ff74aa1697c6e1e8f871d8679a7a1a9efd3ab09c80b9f8b90", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "84b82b12c111ed2ff74aa1697c6e1e8f871d8679a7a1a9efd3ab09c80b9f8b90", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "84b82b12c111ed2ff74aa1697c6e1e8f871d8679a7a1a9efd3ab09c80b9f8b90", kill_on_drop: false }`
[INFO] [stdout] 84b82b12c111ed2ff74aa1697c6e1e8f871d8679a7a1a9efd3ab09c80b9f8b90
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 118bb7b396626005eac0b5e69833de906042740100b81632ca5e3a07f57d5eee
[INFO] running `Command { std: "docker" "start" "-a" "118bb7b396626005eac0b5e69833de906042740100b81632ca5e3a07f57d5eee", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.93
[INFO] [stderr]    Compiling proc-macro2 v1.0.26
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling syn v1.0.68
[INFO] [stderr]     Checking ppv-lite86 v0.2.10
[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 3.46s
[INFO] running `Command { std: "docker" "inspect" "118bb7b396626005eac0b5e69833de906042740100b81632ca5e3a07f57d5eee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "118bb7b396626005eac0b5e69833de906042740100b81632ca5e3a07f57d5eee", kill_on_drop: false }`
[INFO] [stdout] 118bb7b396626005eac0b5e69833de906042740100b81632ca5e3a07f57d5eee
