[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] checking Chenkail/dominion against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChenkail%2Fdominion" "/workspace/builds/worker-94/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-94/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Chenkail/dominion on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-94/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42c9e3ecf7fc707f5bba764c3d22928a893ff1e75ce8fd86b6b8357e35c54e04 [INFO] running `Command { std: "docker" "start" "-a" "42c9e3ecf7fc707f5bba764c3d22928a893ff1e75ce8fd86b6b8357e35c54e04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42c9e3ecf7fc707f5bba764c3d22928a893ff1e75ce8fd86b6b8357e35c54e04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42c9e3ecf7fc707f5bba764c3d22928a893ff1e75ce8fd86b6b8357e35c54e04", kill_on_drop: false }` [INFO] [stdout] 42c9e3ecf7fc707f5bba764c3d22928a893ff1e75ce8fd86b6b8357e35c54e04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a96fc1f987f195cf8941eaaaa8e9a700d04b9d2b19d303c4f4c98846c672bcac [INFO] running `Command { std: "docker" "start" "-a" "a96fc1f987f195cf8941eaaaa8e9a700d04b9d2b19d303c4f4c98846c672bcac", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling serde_derive v1.0.129 [INFO] [stderr] Compiling serde v1.0.129 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling erased-serde v0.3.16 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking dominion-macros v0.1.0 (/opt/rustwide/workdir/dominion-macros) [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Compiling tokio v1.10.0 [INFO] [stderr] Compiling quote v1.0.9 [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 ctor v0.1.20 [INFO] [stderr] Compiling inventory-impl v0.1.10 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling typetag-impl v0.1.7 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Checking dyn-clonable v0.9.0 [INFO] [stderr] Checking thiserror v1.0.26 [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 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 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: 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] Checking examples v0.0.0 (/opt/rustwide/workdir/examples) [INFO] [stdout] warning: 10 warnings emitted [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[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] [stderr] error: could not compile `examples` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] For more information about this error, try `rustc --explain E0432`. [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[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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a96fc1f987f195cf8941eaaaa8e9a700d04b9d2b19d303c4f4c98846c672bcac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a96fc1f987f195cf8941eaaaa8e9a700d04b9d2b19d303c4f4c98846c672bcac", kill_on_drop: false }` [INFO] [stdout] a96fc1f987f195cf8941eaaaa8e9a700d04b9d2b19d303c4f4c98846c672bcac