[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] 7533c38a95aaf5cc9cf2f50ac81f1abae14750eb [INFO] checking Chenkail/dominion against try#e0f03aec47b100bc29555561bd62a99d1bc6aca5 for pr-86231 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChenkail%2Fdominion" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Chenkail/dominion on toolchain e0f03aec47b100bc29555561bd62a99d1bc6aca5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e0f03aec47b100bc29555561bd62a99d1bc6aca5" "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-15/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e0f03aec47b100bc29555561bd62a99d1bc6aca5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e0f03aec47b100bc29555561bd62a99d1bc6aca5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded getrandom v0.2.3 [INFO] [stderr] Downloaded async-trait v0.1.50 [INFO] [stderr] Downloaded rand v0.8.4 [INFO] [stderr] Downloaded dyn-clonable-impl v0.9.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.27 [INFO] [stderr] Downloaded ctor v0.1.20 [INFO] [stderr] Downloaded typetag v0.1.7 [INFO] [stderr] Downloaded serde_derive v1.0.126 [INFO] [stderr] Downloaded typetag-impl v0.1.7 [INFO] [stderr] Downloaded syn v1.0.73 [INFO] [stderr] Downloaded dyn-clone v1.0.4 [INFO] [stderr] Downloaded dyn-clonable v0.9.0 [INFO] [stderr] Downloaded itertools v0.10.1 [INFO] [stderr] Downloaded rand_chacha v0.3.1 [INFO] [stderr] Downloaded rand_core v0.6.3 [INFO] [stderr] Downloaded rand_hc v0.3.1 [INFO] [stderr] Downloaded thiserror-impl v1.0.25 [INFO] [stderr] Downloaded uuid v0.8.2 [INFO] [stderr] Downloaded thiserror v1.0.25 [INFO] [stderr] Downloaded tokio v1.7.1 [INFO] [stderr] Downloaded serde v1.0.126 [INFO] [stderr] Downloaded erased-serde v0.3.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+e0f03aec47b100bc29555561bd62a99d1bc6aca5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 222b5e9f0bcd37dc294ba9eb744ed884d10421cb7074902a1c42dfb913b43c57 [INFO] running `Command { std: "docker" "start" "-a" "222b5e9f0bcd37dc294ba9eb744ed884d10421cb7074902a1c42dfb913b43c57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "222b5e9f0bcd37dc294ba9eb744ed884d10421cb7074902a1c42dfb913b43c57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "222b5e9f0bcd37dc294ba9eb744ed884d10421cb7074902a1c42dfb913b43c57", kill_on_drop: false }` [INFO] [stdout] 222b5e9f0bcd37dc294ba9eb744ed884d10421cb7074902a1c42dfb913b43c57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+e0f03aec47b100bc29555561bd62a99d1bc6aca5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e539d1a684f4ca28e97e72e21d47f7090929999594f00374da5753b5386dc8d [INFO] running `Command { std: "docker" "start" "-a" "0e539d1a684f4ca28e97e72e21d47f7090929999594f00374da5753b5386dc8d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking dominion-macros v0.1.0 (/opt/rustwide/workdir/dominion-macros) [INFO] [stderr] Compiling tokio v1.7.1 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling quote v1.0.9 [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 thiserror-impl v1.0.25 [INFO] [stderr] Compiling typetag-impl v0.1.7 [INFO] [stderr] Checking dyn-clonable v0.9.0 [INFO] [stderr] Checking thiserror v1.0.25 [INFO] [stderr] Checking erased-serde v0.3.16 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking typetag v0.1.7 [INFO] [stderr] Checking dominion v0.1.0 (/opt/rustwide/workdir/dominion) [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:396:39 [INFO] [stdout] | [INFO] [stdout] 396 | 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:396:60 [INFO] [stdout] | [INFO] [stdout] 396 | 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:396:95 [INFO] [stdout] | [INFO] [stdout] 396 | 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: 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:396:39 [INFO] [stdout] | [INFO] [stdout] 396 | 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:396:60 [INFO] [stdout] | [INFO] [stdout] 396 | 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:396:95 [INFO] [stdout] | [INFO] [stdout] 396 | 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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking examples v0.0.0 (/opt/rustwide/workdir/examples) [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[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/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: 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] 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] 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_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[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: 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0e539d1a684f4ca28e97e72e21d47f7090929999594f00374da5753b5386dc8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e539d1a684f4ca28e97e72e21d47f7090929999594f00374da5753b5386dc8d", kill_on_drop: false }` [INFO] [stdout] 0e539d1a684f4ca28e97e72e21d47f7090929999594f00374da5753b5386dc8d