[INFO] updating cached repository https://github.com/calebmeyer/war [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2fd9de348d859400167c76291aac0fe208a84876 [INFO] checking calebmeyer/war against master#1557fb031b272b4c5bfcc7de5df7eddc7b36a584 for pr-73166 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcalebmeyer%2Fwar" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/calebmeyer/war on toolchain 1557fb031b272b4c5bfcc7de5df7eddc7b36a584 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/calebmeyer/war [INFO] finished tweaking git repo https://github.com/calebmeyer/war [INFO] tweaked toml for git repo https://github.com/calebmeyer/war written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/calebmeyer/war already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d7bfbe4fef174a06afdc593bb406004237c9de13828a088d9a677002ce127da9 [INFO] running `Command { std: "docker" "start" "-a" "d7bfbe4fef174a06afdc593bb406004237c9de13828a088d9a677002ce127da9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7bfbe4fef174a06afdc593bb406004237c9de13828a088d9a677002ce127da9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7bfbe4fef174a06afdc593bb406004237c9de13828a088d9a677002ce127da9", kill_on_drop: false }` [INFO] [stdout] d7bfbe4fef174a06afdc593bb406004237c9de13828a088d9a677002ce127da9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3285416a6a6ea0f27a6e6c4d8b5283c5ebfac0130ff6c4ef29f4fd1f09f0ede6 [INFO] running `Command { std: "docker" "start" "-a" "3285416a6a6ea0f27a6e6c4d8b5283c5ebfac0130ff6c4ef29f4fd1f09f0ede6", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking war v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | for n in 1..=10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cards` [INFO] [stdout] --> src/deck/mod.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn give(&mut self, cards: Vec, other_deck: &mut Deck) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_deck` [INFO] [stdout] --> src/deck/mod.rs:43:46 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn give(&mut self, cards: Vec, other_deck: &mut Deck) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_deck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut my_deck = deck.deal(26); [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut your_deck = deck.deal(26); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `give` [INFO] [stdout] --> src/deck/mod.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn give(&mut self, cards: Vec, other_deck: &mut Deck) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `DiscardPile` [INFO] [stdout] --> src/deck/mod.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | type DiscardPile = Deck; // A discard pile is just a faceup deck [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | for n in 1..=10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cards` [INFO] [stdout] --> src/deck/mod.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn give(&mut self, cards: Vec, other_deck: &mut Deck) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_deck` [INFO] [stdout] --> src/deck/mod.rs:43:46 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn give(&mut self, cards: Vec, other_deck: &mut Deck) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_deck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut my_deck = deck.deal(26); [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut your_deck = deck.deal(26); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `give` [INFO] [stdout] --> src/deck/mod.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn give(&mut self, cards: Vec, other_deck: &mut Deck) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `DiscardPile` [INFO] [stdout] --> src/deck/mod.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | type DiscardPile = Deck; // A discard pile is just a faceup deck [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.36s [INFO] running `Command { std: "docker" "inspect" "3285416a6a6ea0f27a6e6c4d8b5283c5ebfac0130ff6c4ef29f4fd1f09f0ede6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3285416a6a6ea0f27a6e6c4d8b5283c5ebfac0130ff6c4ef29f4fd1f09f0ede6", kill_on_drop: false }` [INFO] [stdout] 3285416a6a6ea0f27a6e6c4d8b5283c5ebfac0130ff6c4ef29f4fd1f09f0ede6