[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 master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshelvacu%2Fwarsim" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shelvacu/warsim on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc1/source/Cargo.toml [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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded arr_macro_impl v0.1.3 [INFO] [stderr] Downloaded arr_macro v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb977a6607f875f433cb85ff2541202a59747e1e69a9bebacd418353ccc5944d [INFO] running `Command { std: "docker" "start" "-a" "cb977a6607f875f433cb85ff2541202a59747e1e69a9bebacd418353ccc5944d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb977a6607f875f433cb85ff2541202a59747e1e69a9bebacd418353ccc5944d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb977a6607f875f433cb85ff2541202a59747e1e69a9bebacd418353ccc5944d", kill_on_drop: false }` [INFO] [stdout] cb977a6607f875f433cb85ff2541202a59747e1e69a9bebacd418353ccc5944d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] daeac814e6cc464d3fad3768e19ed4a29ef82cb2478a848dfab5a7be13fb6ffa [INFO] running `Command { std: "docker" "start" "-a" "daeac814e6cc464d3fad3768e19ed4a29ef82cb2478a848dfab5a7be13fb6ffa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling libc v0.2.93 [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] 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: 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] = note: `#[warn(unused_variables)]` on by default [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: `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: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: `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] [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 = competing_cards [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [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 HistoryQueue { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 132 | pub fn history(&self) -> &[T] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [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] = note: `#[warn(unused_variables)]` on by default [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: `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: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: `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] [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 = competing_cards [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [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 HistoryQueue { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 132 | pub fn history(&self) -> &[T] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.76s [INFO] running `Command { std: "docker" "inspect" "daeac814e6cc464d3fad3768e19ed4a29ef82cb2478a848dfab5a7be13fb6ffa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "daeac814e6cc464d3fad3768e19ed4a29ef82cb2478a848dfab5a7be13fb6ffa", kill_on_drop: false }` [INFO] [stdout] daeac814e6cc464d3fad3768e19ed4a29ef82cb2478a848dfab5a7be13fb6ffa [INFO] checking shelvacu/warsim against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshelvacu%2Fwarsim" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shelvacu/warsim on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc2/source/Cargo.toml [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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6c0a3f0f16c3a0926cd362bed54a6f5ed01d7e11d09f3ecc9d19dad93c25b05 [INFO] running `Command { std: "docker" "start" "-a" "f6c0a3f0f16c3a0926cd362bed54a6f5ed01d7e11d09f3ecc9d19dad93c25b05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6c0a3f0f16c3a0926cd362bed54a6f5ed01d7e11d09f3ecc9d19dad93c25b05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6c0a3f0f16c3a0926cd362bed54a6f5ed01d7e11d09f3ecc9d19dad93c25b05", kill_on_drop: false }` [INFO] [stdout] f6c0a3f0f16c3a0926cd362bed54a6f5ed01d7e11d09f3ecc9d19dad93c25b05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e4962a727c42bdd74cb0b6f385bb6d954ab3c5152df943004accc87b16b017f [INFO] running `Command { std: "docker" "start" "-a" "3e4962a727c42bdd74cb0b6f385bb6d954ab3c5152df943004accc87b16b017f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling libc v0.2.93 [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] 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: 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] = note: `#[warn(unused_variables)]` on by default [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: `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: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: `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] [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 = competing_cards [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [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 HistoryQueue { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 132 | pub fn history(&self) -> &[T] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [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] = note: `#[warn(unused_variables)]` on by default [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: `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: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: `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] [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 = competing_cards [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [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 HistoryQueue { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 132 | pub fn history(&self) -> &[T] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.23s [INFO] running `Command { std: "docker" "inspect" "3e4962a727c42bdd74cb0b6f385bb6d954ab3c5152df943004accc87b16b017f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e4962a727c42bdd74cb0b6f385bb6d954ab3c5152df943004accc87b16b017f", kill_on_drop: false }` [INFO] [stdout] 3e4962a727c42bdd74cb0b6f385bb6d954ab3c5152df943004accc87b16b017f