[INFO] cloning repository https://github.com/cauebs/secret-hitler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cauebs/secret-hitler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcauebs%2Fsecret-hitler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcauebs%2Fsecret-hitler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 871a9eaac2449b1c29c298d16160607155846d7e [INFO] checking cauebs/secret-hitler against master#568f6a8641e391ffcdcdb03e79d0901731d8d399 for pr-117164 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcauebs%2Fsecret-hitler" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cauebs/secret-hitler on toolchain 568f6a8641e391ffcdcdb03e79d0901731d8d399 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+568f6a8641e391ffcdcdb03e79d0901731d8d399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cauebs/secret-hitler [INFO] finished tweaking git repo https://github.com/cauebs/secret-hitler [INFO] tweaked toml for git repo https://github.com/cauebs/secret-hitler written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/cauebs/secret-hitler 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" "+568f6a8641e391ffcdcdb03e79d0901731d8d399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking cauebs/secret-hitler against try#eb3956d47f58f1c7c0a5694b1d3401945bc41dce for pr-117164 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcauebs%2Fsecret-hitler" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cauebs/secret-hitler on toolchain eb3956d47f58f1c7c0a5694b1d3401945bc41dce [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb3956d47f58f1c7c0a5694b1d3401945bc41dce" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cauebs/secret-hitler [INFO] finished tweaking git repo https://github.com/cauebs/secret-hitler [INFO] tweaked toml for git repo https://github.com/cauebs/secret-hitler written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/cauebs/secret-hitler 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" "+eb3956d47f58f1c7c0a5694b1d3401945bc41dce" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+eb3956d47f58f1c7c0a5694b1d3401945bc41dce" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46ea0f1d497796c186511f630ded2cea595328aaa5d99d3b8cbbcaf110ad8019 [INFO] running `Command { std: "docker" "start" "-a" "46ea0f1d497796c186511f630ded2cea595328aaa5d99d3b8cbbcaf110ad8019", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46ea0f1d497796c186511f630ded2cea595328aaa5d99d3b8cbbcaf110ad8019", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46ea0f1d497796c186511f630ded2cea595328aaa5d99d3b8cbbcaf110ad8019", kill_on_drop: false }` [INFO] [stdout] 46ea0f1d497796c186511f630ded2cea595328aaa5d99d3b8cbbcaf110ad8019 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+eb3956d47f58f1c7c0a5694b1d3401945bc41dce" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 367e127a447c3ff462eacd95eb5ee5443fdfd2bdedc001d920878a12e82485ae [INFO] running `Command { std: "docker" "start" "-a" "367e127a447c3ff462eacd95eb5ee5443fdfd2bdedc001d920878a12e82485ae", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.36 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking secret-hitler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/core/game.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | 0...4 => Err(Error::TooFewPlayers), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/core/game.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | 5...10 => Ok(Self { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/core/policy_tracker.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | (1...2, 9...10) => (Some(InvestigateLoyalty), None), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/core/policy_tracker.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | (1...2, 9...10) => (Some(InvestigateLoyalty), None), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/core/policy_tracker.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | (2, 7...8) => (Some(InvestigateLoyalty), None), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/core/policy_tracker.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | (3, 5...6) => (Some(PolicyPeek), None), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/core/policy_tracker.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | (3, 7...8) => (Some(CallSpecialElection), None), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/core/policy_tracker.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | (3, 9...10) => (Some(PolicyPeek), None), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/core/game.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | 0...4 => Err(Error::TooFewPlayers), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/core/game.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | 5...10 => Ok(Self { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/core/policy_tracker.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | (1...2, 9...10) => (Some(InvestigateLoyalty), None), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/core/policy_tracker.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | (1...2, 9...10) => (Some(InvestigateLoyalty), None), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/core/policy_tracker.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | (2, 7...8) => (Some(InvestigateLoyalty), None), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/core/policy_tracker.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | (3, 5...6) => (Some(PolicyPeek), None), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/core/policy_tracker.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | (3, 7...8) => (Some(CallSpecialElection), None), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/core/policy_tracker.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | (3, 9...10) => (Some(PolicyPeek), None), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `is_liberal` is private [INFO] [stdout] --> src/core/policy_deck.rs:57:49 [INFO] [stdout] | [INFO] [stdout] 57 | assert_eq!(all_cards.filter(Policy::is_liberal).count(), 11); [INFO] [stdout] | ^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: src/core/policy.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | fn is_liberal(&self) -> bool { [INFO] [stdout] | ---------------------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0624`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/game.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | for (mut player, role) in self.players.iter_mut().zip(roles) { [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: fields `policy_deck`, `policy_tracker`, `government_tracker`, and `election_tracker` are never read [INFO] [stdout] --> src/core/game.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 15 | pub players: Vec, [INFO] [stdout] 16 | policy_deck: PolicyDeck, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | policy_tracker: PolicyTracker, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 18 | government_tracker: GovernmentTracker, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | election_tracker: ElectionTracker, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `history` is never read [INFO] [stdout] --> src/core/government.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct GovernmentTracker { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 9 | history: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `player_count` and `consecutive_fails` are never read [INFO] [stdout] --> src/core/government.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ElectionTracker { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 32 | player_count: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 33 | current_poll: HashMap, [INFO] [stdout] 34 | consecutive_fails: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_liberal` and `is_fascist` are never used [INFO] [stdout] --> src/core/policy.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl Policy { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 8 | fn is_liberal(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | fn is_fascist(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `secret-hitler` (lib test) due to 2 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "367e127a447c3ff462eacd95eb5ee5443fdfd2bdedc001d920878a12e82485ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "367e127a447c3ff462eacd95eb5ee5443fdfd2bdedc001d920878a12e82485ae", kill_on_drop: false }` [INFO] [stdout] 367e127a447c3ff462eacd95eb5ee5443fdfd2bdedc001d920878a12e82485ae