[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] 00877b15a35cd1acb676f161c277e7f1c3b53964 [INFO] checking Chenkail/dominion against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChenkail%2Fdominion" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Chenkail/dominion on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e8aef67ef69af40133bdd820feb611bff58ca23e7447953d8e06987d21fa28a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6e8aef67ef69af40133bdd820feb611bff58ca23e7447953d8e06987d21fa28a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e8aef67ef69af40133bdd820feb611bff58ca23e7447953d8e06987d21fa28a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e8aef67ef69af40133bdd820feb611bff58ca23e7447953d8e06987d21fa28a", kill_on_drop: false }` [INFO] [stdout] 6e8aef67ef69af40133bdd820feb611bff58ca23e7447953d8e06987d21fa28a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a0e353610167845bf62c2fd61f35ab290cf0dfb417dcfaa68c5d52b2550e45c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3a0e353610167845bf62c2fd61f35ab290cf0dfb417dcfaa68c5d52b2550e45c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Checking dominion_macros v0.1.0 (/opt/rustwide/workdir/macros) [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling inventory-impl v0.1.10 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling ctor v0.1.19 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling typetag-impl v0.1.7 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Checking dyn-clonable v0.9.0 [INFO] [stderr] Checking inventory v0.1.10 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking erased-serde v0.3.13 [INFO] [stderr] Checking serde_json v1.0.62 [INFO] [stderr] Checking typetag v0.1.7 [INFO] [stderr] Checking dominion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `callbacks` [INFO] [stdout] --> src/cards/dominion.rs:251:69 [INFO] [stdout] | [INFO] [stdout] 251 | fn effects_on_play(&self, game: &mut Game, player_index: usize, callbacks: &Callbacks) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callbacks` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `potential_cards` [INFO] [stdout] --> src/cards/dominion.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | 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] --> src/cards/dominion.rs:404:48 [INFO] [stdout] | [INFO] [stdout] 404 | fn effects_on_play(&self, game: &mut Game, player_index: usize, callbacks: &Callbacks) { [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] --> src/cards/dominion.rs:404:69 [INFO] [stdout] | [INFO] [stdout] 404 | fn effects_on_play(&self, game: &mut Game, player_index: usize, callbacks: &Callbacks) { [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] --> src/sample_client.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 87 | fn get_player_consent(player: &mut Player) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callbacks` [INFO] [stdout] --> src/cards/dominion.rs:251:69 [INFO] [stdout] | [INFO] [stdout] 251 | fn effects_on_play(&self, game: &mut Game, player_index: usize, callbacks: &Callbacks) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callbacks` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `potential_cards` [INFO] [stdout] --> src/cards/dominion.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | 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] --> src/cards/dominion.rs:404:48 [INFO] [stdout] | [INFO] [stdout] 404 | fn effects_on_play(&self, game: &mut Game, player_index: usize, callbacks: &Callbacks) { [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] --> src/cards/dominion.rs:404:69 [INFO] [stdout] | [INFO] [stdout] 404 | fn effects_on_play(&self, game: &mut Game, player_index: usize, callbacks: &Callbacks) { [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] --> src/sample_client.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 87 | fn get_player_consent(player: &mut Player) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/game/gamedata.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | self.buy_card(player_index, Box::new(Copper), callbacks); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/game/gamedata.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | self.buy_card(player_index, Box::new(Copper), callbacks); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "3a0e353610167845bf62c2fd61f35ab290cf0dfb417dcfaa68c5d52b2550e45c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a0e353610167845bf62c2fd61f35ab290cf0dfb417dcfaa68c5d52b2550e45c", kill_on_drop: false }` [INFO] [stdout] 3a0e353610167845bf62c2fd61f35ab290cf0dfb417dcfaa68c5d52b2550e45c