[INFO] cloning repository https://github.com/chairbender/cybersecurity-rrt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chairbender/cybersecurity-rrt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchairbender%2Fcybersecurity-rrt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchairbender%2Fcybersecurity-rrt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0e1df53bc1518ddd6337615045e3cfb2f22e7f23 [INFO] testing chairbender/cybersecurity-rrt against master#61469b682c2b0bf9cebc4622f1859e2bb3b7ebca for pr-91743 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchairbender%2Fcybersecurity-rrt" "/workspace/builds/worker-37/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-37/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chairbender/cybersecurity-rrt on toolchain 61469b682c2b0bf9cebc4622f1859e2bb3b7ebca [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+61469b682c2b0bf9cebc4622f1859e2bb3b7ebca" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chairbender/cybersecurity-rrt [INFO] finished tweaking git repo https://github.com/chairbender/cybersecurity-rrt [INFO] tweaked toml for git repo https://github.com/chairbender/cybersecurity-rrt written to /workspace/builds/worker-37/source/Cargo.toml [INFO] crate git repo https://github.com/chairbender/cybersecurity-rrt already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+61469b682c2b0bf9cebc4622f1859e2bb3b7ebca" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spectral v0.6.0 [INFO] [stderr] Downloaded test-case v2.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+61469b682c2b0bf9cebc4622f1859e2bb3b7ebca" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c3bacf7dc8c12d2f495af07562699acfb2874897915dc879ff8e322af455a7e [INFO] running `Command { std: "docker" "start" "-a" "7c3bacf7dc8c12d2f495af07562699acfb2874897915dc879ff8e322af455a7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c3bacf7dc8c12d2f495af07562699acfb2874897915dc879ff8e322af455a7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c3bacf7dc8c12d2f495af07562699acfb2874897915dc879ff8e322af455a7e", kill_on_drop: false }` [INFO] [stdout] 7c3bacf7dc8c12d2f495af07562699acfb2874897915dc879ff8e322af455a7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+61469b682c2b0bf9cebc4622f1859e2bb3b7ebca" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08c30a8c39dcc93d7e17451bb2622c2f9f9dcfc584953431d5b2ee207527a281 [INFO] running `Command { std: "docker" "start" "-a" "08c30a8c39dcc93d7e17451bb2622c2f9f9dcfc584953431d5b2ee207527a281", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling cybersecurity-rrt v0.1.0 (/opt/rustwide/workdir/cybersecurity-rrt) [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling spectral v0.6.0 [INFO] [stderr] Compiling cybersecurity-rrt-logic v0.1.0 (/opt/rustwide/workdir/cybersecurity-rrt-logic) [INFO] [stdout] warning: unused import: `crate::defs` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::defs; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IteratorRandom` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/logic.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use rand::seq::{IteratorRandom, SliceRandom}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/logic.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::id` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/logic.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::process::id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `Normal` is named the same as one of the variants of the type `Difficulty` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/logic.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | Normal => (2, 7), [INFO] [stdout] | ^^^^^^ help: to match on the variant, qualify the path: `Difficulty::Normal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `Hard` is named the same as one of the variants of the type `Difficulty` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/logic.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | Hard => (1, 7), [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `Difficulty::Hard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `Heroic` is named the same as one of the variants of the type `Difficulty` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/logic.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | Heroic => (0, 7), [INFO] [stdout] | ^^^^^^ help: to match on the variant, qualify the path: `Difficulty::Heroic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/logic.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | Normal => (2, 7), [INFO] [stdout] | ------ matches any value [INFO] [stdout] 22 | Hard => (1, 7), [INFO] [stdout] | ^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/logic.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 21 | Normal => (2, 7), [INFO] [stdout] | ------ matches any value [INFO] [stdout] 22 | Hard => (1, 7), [INFO] [stdout] 23 | Heroic => (0, 7), [INFO] [stdout] | ^^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Normal` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/logic.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | Normal => (2, 7), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_Normal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Hard` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/logic.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | Hard => (1, 7), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Hard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Heroic` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/logic.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | Heroic => (0, 7), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_Heroic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `operator` [INFO] [stdout] --> cybersecurity-rrt-logic/src/defs.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | operator: OperatorType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `normal_track` [INFO] [stdout] --> cybersecurity-rrt-logic/src/defs.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | normal_track: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `desperation_track` [INFO] [stdout] --> cybersecurity-rrt-logic/src/defs.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | desperation_track: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `operators` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | operators: ArrayVec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GameConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `difficulty` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | difficulty: Difficulty, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GameConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DuplicateOperator` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | DuplicateOperator(OperatorType), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GameConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoOperators` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | NoOperators, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GameConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Easy` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | Easy, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Difficulty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Normal` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | Normal, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Difficulty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Hard` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | Hard, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Difficulty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Heroic` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | Heroic, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Difficulty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TableState` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct TableState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `active_operator` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn active_operator(&mut self) -> &mut OperatorState { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `HackerDeck` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | type HackerDeck = ArrayVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn new(hacker: HackerID) -> HackerCard { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `OperatorState` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct OperatorState { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn new(operator: &OperatorType) -> OperatorState { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Flow` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | Flow(OperatorID), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ChoiceState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CharmDesperationFlow` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | CharmDesperationFlow, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ChoiceState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BiggsFlow` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | BiggsFlow, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ChoiceState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BiggsDesperationFlow` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | BiggsDesperationFlow, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ChoiceState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Face` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | Face(OperatorID), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ChoiceState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Skill` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | Skill(OperatorID), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ChoiceState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DiscardLeft` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | DiscardLeft(OperatorID), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ChoiceState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ChooseAction` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | ChooseAction(OperatorID), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ChoiceState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GameOver` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | GameOver, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ChoiceState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Face` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | Face, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Choice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:194:21 [INFO] [stdout] | [INFO] [stdout] 194 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Assist` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | Assist(OperatorID), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Choice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:194:21 [INFO] [stdout] | [INFO] [stdout] 194 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Idle` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 202 | Idle, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Choice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:194:21 [INFO] [stdout] | [INFO] [stdout] 194 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FirewallDelta` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | FirewallDelta(i8), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TableEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DatabaseRemove` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | DatabaseRemove(u8), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TableEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WebserviceRemove` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | WebserviceRemove(u8), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TableEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Face` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | Face, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TableEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Assist` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | Assist(OperatorID), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TableEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Idle` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | Idle, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TableEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ActiveOperator` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | ActiveOperator(OperatorID), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TableEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ChoiceState` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | ChoiceState(ChoiceState), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TableEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/mod.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `difficulty_mod` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/logic.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn difficulty_mod(difficulty: &Difficulty) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init_operators` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/logic.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn init_operators(operators: &ArrayVec) -> ArrayVec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `shuffle` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/logic.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn shuffle(hackers: usize) -> HackerDeck { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `setup_game` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/logic.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn setup_game(config: &GameConfig) -> TableState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `valid_choices` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/logic.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn valid_choices(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `choose` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/logic.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn choose(&self, choice: Choice) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `perform` [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/logic.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | fn perform(&mut self, event: TableEvent) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Normal` should have a snake case name [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/logic.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | Normal => (2, 7), [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `normal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Hard` should have a snake case name [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/logic.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | Hard => (1, 7), [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `hard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Heroic` should have a snake case name [INFO] [stdout] --> cybersecurity-rrt-logic/src/game/logic.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | Heroic => (0, 7), [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `heroic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5m 24s [INFO] running `Command { std: "docker" "inspect" "08c30a8c39dcc93d7e17451bb2622c2f9f9dcfc584953431d5b2ee207527a281", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08c30a8c39dcc93d7e17451bb2622c2f9f9dcfc584953431d5b2ee207527a281", kill_on_drop: false }` [INFO] [stdout] 08c30a8c39dcc93d7e17451bb2622c2f9f9dcfc584953431d5b2ee207527a281 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+61469b682c2b0bf9cebc4622f1859e2bb3b7ebca" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53de3f9e8c372a3a6c2fe2b157ef20a8a4839a169caa4bf7acc255f717129ed3 [INFO] running `Command { std: "docker" "start" "-a" "53de3f9e8c372a3a6c2fe2b157ef20a8a4839a169caa4bf7acc255f717129ed3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "53de3f9e8c372a3a6c2fe2b157ef20a8a4839a169caa4bf7acc255f717129ed3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53de3f9e8c372a3a6c2fe2b157ef20a8a4839a169caa4bf7acc255f717129ed3", kill_on_drop: false }` [INFO] [stdout] 53de3f9e8c372a3a6c2fe2b157ef20a8a4839a169caa4bf7acc255f717129ed3