[INFO] cloning repository https://github.com/Chenkail/dominion [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Chenkail/dominion" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChenkail%2Fdominion", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChenkail%2Fdominion'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de8ec1d889778aa35577701019ddf56600f75904 [INFO] testing Chenkail/dominion against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChenkail%2Fdominion" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Chenkail/dominion on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Chenkail/dominion [INFO] finished tweaking git repo https://github.com/Chenkail/dominion [INFO] tweaked toml for git repo https://github.com/Chenkail/dominion written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7cc057a06cef9ca34b0457ef82f3fe89b3fed5918d989f83cd29c4788139c7a9 [INFO] running `Command { std: "docker" "start" "-a" "7cc057a06cef9ca34b0457ef82f3fe89b3fed5918d989f83cd29c4788139c7a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cc057a06cef9ca34b0457ef82f3fe89b3fed5918d989f83cd29c4788139c7a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cc057a06cef9ca34b0457ef82f3fe89b3fed5918d989f83cd29c4788139c7a9", kill_on_drop: false }` [INFO] [stdout] 7cc057a06cef9ca34b0457ef82f3fe89b3fed5918d989f83cd29c4788139c7a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2146c4857ca836bb26062e26fa333c927787bac175369a03068a3140159cb4a8 [INFO] running `Command { std: "docker" "start" "-a" "2146c4857ca836bb26062e26fa333c927787bac175369a03068a3140159cb4a8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling erased-serde v0.3.16 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling dominion-macros v0.1.0 (/opt/rustwide/workdir/dominion-macros) [INFO] [stderr] Compiling tokio v1.8.1 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling inventory-impl v0.1.10 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Compiling typetag-impl v0.1.7 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling dyn-clonable v0.9.0 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling typetag v0.1.7 [INFO] [stderr] Compiling dominion v0.1.0 (/opt/rustwide/workdir/dominion) [INFO] [stdout] warning: unused import: `super::prelude::Supply` [INFO] [stdout] --> dominion/src/callbacks.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::prelude::Supply; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> dominion/src/cards/dominion.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let player = &mut game.players[player_index]; [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: `callbacks` [INFO] [stdout] --> dominion/src/cards/dominion.rs:38:68 [INFO] [stdout] | [INFO] [stdout] 38 | fn attack_effects(&self, game: &mut Game, player_index: usize, callbacks: &Box) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callbacks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callbacks` [INFO] [stdout] --> dominion/src/cards/dominion.rs:142:69 [INFO] [stdout] | [INFO] [stdout] 142 | fn effects_on_play(&self, game: &mut Game, player_index: usize, callbacks: &Box) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callbacks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `potential_cards` [INFO] [stdout] --> dominion/src/cards/dominion.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | let potential_cards = game.return_avail_cards_ucost(4); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_potential_cards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_index` [INFO] [stdout] --> dominion/src/cards/dominion.rs:335:48 [INFO] [stdout] | [INFO] [stdout] 335 | fn effects_on_play(&self, game: &mut Game, player_index: usize, callbacks: &Box) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callbacks` [INFO] [stdout] --> dominion/src/cards/dominion.rs:335:69 [INFO] [stdout] | [INFO] [stdout] 335 | fn effects_on_play(&self, game: &mut Game, player_index: usize, callbacks: &Box) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callbacks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_index` [INFO] [stdout] --> dominion/src/game/gamedata.rs:397:39 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn check_reactions(&mut self, player_index: usize, reaction_trigger: ReactionTrigger, callbacks: &Box) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reaction_trigger` [INFO] [stdout] --> dominion/src/game/gamedata.rs:397:60 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn check_reactions(&mut self, player_index: usize, reaction_trigger: ReactionTrigger, callbacks: &Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reaction_trigger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callbacks` [INFO] [stdout] --> dominion/src/game/gamedata.rs:397:95 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn check_reactions(&mut self, player_index: usize, reaction_trigger: ReactionTrigger, callbacks: &Box) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callbacks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 37.66s [INFO] running `Command { std: "docker" "inspect" "2146c4857ca836bb26062e26fa333c927787bac175369a03068a3140159cb4a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2146c4857ca836bb26062e26fa333c927787bac175369a03068a3140159cb4a8", kill_on_drop: false }` [INFO] [stdout] 2146c4857ca836bb26062e26fa333c927787bac175369a03068a3140159cb4a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50d24d1d00c26a80c3f3b459b2a841fcaf997d3eae3ee2bfdd35943efc235013 [INFO] running `Command { std: "docker" "start" "-a" "50d24d1d00c26a80c3f3b459b2a841fcaf997d3eae3ee2bfdd35943efc235013", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `super::prelude::Supply` [INFO] [stdout] --> dominion/src/callbacks.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::prelude::Supply; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> dominion/src/cards/dominion.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let player = &mut game.players[player_index]; [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: `callbacks` [INFO] [stdout] --> dominion/src/cards/dominion.rs:38:68 [INFO] [stdout] | [INFO] [stdout] 38 | fn attack_effects(&self, game: &mut Game, player_index: usize, callbacks: &Box) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callbacks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callbacks` [INFO] [stdout] --> dominion/src/cards/dominion.rs:142:69 [INFO] [stdout] | [INFO] [stdout] 142 | fn effects_on_play(&self, game: &mut Game, player_index: usize, callbacks: &Box) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callbacks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `potential_cards` [INFO] [stdout] --> dominion/src/cards/dominion.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | let potential_cards = game.return_avail_cards_ucost(4); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_potential_cards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_index` [INFO] [stdout] --> dominion/src/cards/dominion.rs:335:48 [INFO] [stdout] | [INFO] [stdout] 335 | fn effects_on_play(&self, game: &mut Game, player_index: usize, callbacks: &Box) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callbacks` [INFO] [stdout] --> dominion/src/cards/dominion.rs:335:69 [INFO] [stdout] | [INFO] [stdout] 335 | fn effects_on_play(&self, game: &mut Game, player_index: usize, callbacks: &Box) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callbacks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_index` [INFO] [stdout] --> dominion/src/game/gamedata.rs:397:39 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn check_reactions(&mut self, player_index: usize, reaction_trigger: ReactionTrigger, callbacks: &Box) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reaction_trigger` [INFO] [stdout] --> dominion/src/game/gamedata.rs:397:60 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn check_reactions(&mut self, player_index: usize, reaction_trigger: ReactionTrigger, callbacks: &Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reaction_trigger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callbacks` [INFO] [stdout] --> dominion/src/game/gamedata.rs:397:95 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn check_reactions(&mut self, player_index: usize, reaction_trigger: ReactionTrigger, callbacks: &Box) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callbacks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dominion v0.1.0 (/opt/rustwide/workdir/dominion) [INFO] [stderr] Compiling examples v0.0.0 (/opt/rustwide/workdir/examples) [INFO] [stderr] Compiling dominion-macros v0.1.0 (/opt/rustwide/workdir/dominion-macros) [INFO] [stdout] error[E0432]: unresolved import `dominion::sample_client` [INFO] [stdout] --> examples/ex1_create_game/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use dominion::sample_client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `sample_client` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dominion::sample_client` [INFO] [stdout] --> examples/ex2_actions/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use dominion::sample_client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `sample_client` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dominion::sample_client` [INFO] [stdout] --> examples/ex3_callbacks/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use dominion::sample_client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `sample_client` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `examples` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: could not find `sample_client` in `dominion` [INFO] [stdout] --> dominion/tests/test_card.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | let callbacks = dominion::sample_client::callbacks(); [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `sample_client` in `dominion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sample_client` in `dominion` [INFO] [stdout] --> dominion/tests/test_player.rs:75:35 [INFO] [stdout] | [INFO] [stdout] 75 | let callbacks = dominion::sample_client::callbacks(); [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `sample_client` in `dominion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::prelude::Supply` [INFO] [stdout] --> dominion/src/callbacks.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::prelude::Supply; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> dominion/src/cards/dominion.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let player = &mut game.players[player_index]; [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: `callbacks` [INFO] [stdout] --> dominion/src/cards/dominion.rs:38:68 [INFO] [stdout] | [INFO] [stdout] 38 | fn attack_effects(&self, game: &mut Game, player_index: usize, callbacks: &Box) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callbacks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callbacks` [INFO] [stdout] --> dominion/src/cards/dominion.rs:142:69 [INFO] [stdout] | [INFO] [stdout] 142 | fn effects_on_play(&self, game: &mut Game, player_index: usize, callbacks: &Box) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callbacks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `potential_cards` [INFO] [stdout] --> dominion/src/cards/dominion.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | let potential_cards = game.return_avail_cards_ucost(4); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_potential_cards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_index` [INFO] [stdout] --> dominion/src/cards/dominion.rs:335:48 [INFO] [stdout] | [INFO] [stdout] 335 | fn effects_on_play(&self, game: &mut Game, player_index: usize, callbacks: &Box) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callbacks` [INFO] [stdout] --> dominion/src/cards/dominion.rs:335:69 [INFO] [stdout] | [INFO] [stdout] 335 | fn effects_on_play(&self, game: &mut Game, player_index: usize, callbacks: &Box) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callbacks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_index` [INFO] [stdout] --> dominion/src/game/gamedata.rs:397:39 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn check_reactions(&mut self, player_index: usize, reaction_trigger: ReactionTrigger, callbacks: &Box) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reaction_trigger` [INFO] [stdout] --> dominion/src/game/gamedata.rs:397:60 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn check_reactions(&mut self, player_index: usize, reaction_trigger: ReactionTrigger, callbacks: &Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reaction_trigger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callbacks` [INFO] [stdout] --> dominion/src/game/gamedata.rs:397:95 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn check_reactions(&mut self, player_index: usize, reaction_trigger: ReactionTrigger, callbacks: &Box) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callbacks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "50d24d1d00c26a80c3f3b459b2a841fcaf997d3eae3ee2bfdd35943efc235013", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50d24d1d00c26a80c3f3b459b2a841fcaf997d3eae3ee2bfdd35943efc235013", kill_on_drop: false }` [INFO] [stdout] 50d24d1d00c26a80c3f3b459b2a841fcaf997d3eae3ee2bfdd35943efc235013