[INFO] cloning repository https://github.com/ProgrammingIncluded/Unstable-Unicorns-RS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ProgrammingIncluded/Unstable-Unicorns-RS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProgrammingIncluded%2FUnstable-Unicorns-RS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProgrammingIncluded%2FUnstable-Unicorns-RS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4384d2c4840621c145690bddab08131afa1209c5 [INFO] testing ProgrammingIncluded/Unstable-Unicorns-RS against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProgrammingIncluded%2FUnstable-Unicorns-RS" "/workspace/builds/worker-100/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-100/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ProgrammingIncluded/Unstable-Unicorns-RS on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ProgrammingIncluded/Unstable-Unicorns-RS [INFO] finished tweaking git repo https://github.com/ProgrammingIncluded/Unstable-Unicorns-RS [INFO] tweaked toml for git repo https://github.com/ProgrammingIncluded/Unstable-Unicorns-RS written to /workspace/builds/worker-100/source/Cargo.toml [INFO] crate git repo https://github.com/ProgrammingIncluded/Unstable-Unicorns-RS already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 625cc453050c30380e3cbd110e9ef8c054cf7489ef950f02a259dde04f5773a5 [INFO] running `Command { std: "docker" "start" "-a" "625cc453050c30380e3cbd110e9ef8c054cf7489ef950f02a259dde04f5773a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "625cc453050c30380e3cbd110e9ef8c054cf7489ef950f02a259dde04f5773a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "625cc453050c30380e3cbd110e9ef8c054cf7489ef950f02a259dde04f5773a5", kill_on_drop: false }` [INFO] [stdout] 625cc453050c30380e3cbd110e9ef8c054cf7489ef950f02a259dde04f5773a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9362b59697adfc6b909b2868c687acaae822d95bd7eedb06261f718b37642f5d [INFO] running `Command { std: "docker" "start" "-a" "9362b59697adfc6b909b2868c687acaae822d95bd7eedb06261f718b37642f5d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling unstable_unicorns v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `TypeId` [INFO] [stdout] --> src/cards.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::any::{Any, TypeId}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/cards.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Actions`, `Board` [INFO] [stdout] --> src/cards.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::state::{Actions, Action, ActionType, Board, History}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Any`, `TypeId` [INFO] [stdout] --> src/state.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::any::{Any, TypeId}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/state.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/game.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cards::*` [INFO] [stdout] --> src/game.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | use crate::cards::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/cards.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | fn play(self: Box, player: usize, history: &History) -> Option { None } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `history` [INFO] [stdout] --> src/cards.rs:39:45 [INFO] [stdout] | [INFO] [stdout] 39 | fn play(self: Box, player: usize, history: &History) -> Option { None } [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/cards.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | fn react(self: Box, player: usize, history: &History) -> Option { None } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `history` [INFO] [stdout] --> src/cards.rs:40:46 [INFO] [stdout] | [INFO] [stdout] 40 | fn react(self: Box, player: usize, history: &History) -> Option { None } [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/cards.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | fn destroy(&self, player: usize, history: &History) -> Option { None } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `history` [INFO] [stdout] --> src/cards.rs:41:38 [INFO] [stdout] | [INFO] [stdout] 41 | fn destroy(&self, player: usize, history: &History) -> Option { None } [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/cards.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | fn steal(&self, player: usize, history: &History) -> Option { None } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `history` [INFO] [stdout] --> src/cards.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | fn steal(&self, player: usize, history: &History) -> Option { None } [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/cards.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | fn play(self: Box, player: usize, history: &History) -> Option { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `history` [INFO] [stdout] --> src/cards.rs:107:45 [INFO] [stdout] | [INFO] [stdout] 107 | fn play(self: Box, player: usize, history: &History) -> Option { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/cards.rs:141:31 [INFO] [stdout] | [INFO] [stdout] 141 | fn react(self: Box, player: usize, history: &History) -> Option { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/cards.rs:163:31 [INFO] [stdout] | [INFO] [stdout] 163 | fn react(self: Box, player: usize, history: &History) -> Option { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/state.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | for i in 0..player_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ep` [INFO] [stdout] --> src/game.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let ep = self.effect_phase(player, history); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | let mut react_node = Node::new(vec![], None, start_action.clone()); [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: private type `CardType` in public interface (error E0446) [INFO] [stdout] --> src/cards.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | fn ctype(&self) -> CardType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `CardType` in public interface (error E0446) [INFO] [stdout] --> src/cards.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | fn ctype(&self) -> CardType { CardType::Null } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `CardType` in public interface (error E0446) [INFO] [stdout] --> src/cards.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | fn ctype(&self) -> CardType { CardType::Instant } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `CardType` in public interface (error E0446) [INFO] [stdout] --> src/cards.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | fn ctype(&self) -> CardType { CardType::Instant } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `CardType` in public interface (error E0446) [INFO] [stdout] --> src/cards.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | fn ctype(&self) -> CardType { CardType::Instant } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Magic` [INFO] [stdout] --> src/cards.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Magic, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `CardType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cards.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Clone)] [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: `Downgrade` [INFO] [stdout] --> src/cards.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Downgrade, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CardType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cards.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Clone)] [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: `Upgrade` [INFO] [stdout] --> src/cards.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Upgrade, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CardType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cards.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Clone)] [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: `BasicUnicorn` [INFO] [stdout] --> src/cards.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | BasicUnicorn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CardType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cards.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Clone)] [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: `MagicUnicorn` [INFO] [stdout] --> src/cards.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | MagicUnicorn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CardType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cards.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Clone)] [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: `BabyUnicorn` [INFO] [stdout] --> src/cards.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | BabyUnicorn [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CardType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cards.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Clone)] [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: `is_unicorn` [INFO] [stdout] --> src/cards.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn is_unicorn(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Actions` [INFO] [stdout] --> src/state.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub type Actions = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `children` [INFO] [stdout] --> src/game.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | children: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/game.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[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: `parent` [INFO] [stdout] --> src/game.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | parent: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/game.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[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: `action` [INFO] [stdout] --> src/game.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | action: Action, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/game.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[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] --> src/game.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn new(children: Vec>, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `root` [INFO] [stdout] --> src/game.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | root: Link [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GameTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/game.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[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] --> src/game.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn new(action: Action) -> GameTree { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Game` [INFO] [stdout] --> src/game.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | struct Game {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_states` [INFO] [stdout] --> src/game.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn get_states(&self, player: usize, history: &History) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `effect_phase` [INFO] [stdout] --> src/game.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn effect_phase(&self, player: usize, history: &History) -> Link { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_phase` [INFO] [stdout] --> src/game.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | fn draw_phase(&self, player: usize, history: &History) -> Link { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `react_phase` [INFO] [stdout] --> src/game.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | fn react_phase(&self, player: usize, history: &History) -> Link { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `play_phase` [INFO] [stdout] --> src/game.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | fn play_phase(&self, player: usize, history: &History) -> Link { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `StateTest` should have a snake case name [INFO] [stdout] --> src/state.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | mod StateTest { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `state_test` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `GameTest` should have a snake case name [INFO] [stdout] --> src/game.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | mod GameTest { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `game_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.98s [INFO] running `Command { std: "docker" "inspect" "9362b59697adfc6b909b2868c687acaae822d95bd7eedb06261f718b37642f5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9362b59697adfc6b909b2868c687acaae822d95bd7eedb06261f718b37642f5d", kill_on_drop: false }` [INFO] [stdout] 9362b59697adfc6b909b2868c687acaae822d95bd7eedb06261f718b37642f5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bae35f24a08cfee53faf8d01ef3cfa1798f838e6e88f3dd486797c71770db2f2 [INFO] running `Command { std: "docker" "start" "-a" "bae35f24a08cfee53faf8d01ef3cfa1798f838e6e88f3dd486797c71770db2f2", 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" "bae35f24a08cfee53faf8d01ef3cfa1798f838e6e88f3dd486797c71770db2f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bae35f24a08cfee53faf8d01ef3cfa1798f838e6e88f3dd486797c71770db2f2", kill_on_drop: false }` [INFO] [stdout] bae35f24a08cfee53faf8d01ef3cfa1798f838e6e88f3dd486797c71770db2f2