[INFO] cloning repository https://github.com/theHazzard/rust_uno_core [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/theHazzard/rust_uno_core" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtheHazzard%2Frust_uno_core", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtheHazzard%2Frust_uno_core'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0dffcdcef5000e1ac57bb4a4b24b83c37ebd7fc2 [INFO] checking theHazzard/rust_uno_core against master#8f359beca4e58bc3ae795a666301a8f47023044c for pr-121545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtheHazzard%2Frust_uno_core" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/theHazzard/rust_uno_core on toolchain 8f359beca4e58bc3ae795a666301a8f47023044c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/theHazzard/rust_uno_core [INFO] finished tweaking git repo https://github.com/theHazzard/rust_uno_core [INFO] tweaked toml for git repo https://github.com/theHazzard/rust_uno_core written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/theHazzard/rust_uno_core already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71e88665850a4700d5c2730d683d17cf038163764fdd2e8d1590f889005aaa1b [INFO] running `Command { std: "docker" "start" "-a" "71e88665850a4700d5c2730d683d17cf038163764fdd2e8d1590f889005aaa1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71e88665850a4700d5c2730d683d17cf038163764fdd2e8d1590f889005aaa1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71e88665850a4700d5c2730d683d17cf038163764fdd2e8d1590f889005aaa1b", kill_on_drop: false }` [INFO] [stdout] 71e88665850a4700d5c2730d683d17cf038163764fdd2e8d1590f889005aaa1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1084e8dc369fd645c48a3327f4eead7b262a2f5898fc3cdebec6723c0166cc7 [INFO] running `Command { std: "docker" "start" "-a" "e1084e8dc369fd645c48a3327f4eead7b262a2f5898fc3cdebec6723c0166cc7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking unoserver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/game.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color` and `value` are never read [INFO] [stdout] --> src/game/deck/card.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Card { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 29 | color: CardColor, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | value: CardValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Card` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> src/game/player.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 7 | id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `currentColor` should have a snake case name [INFO] [stdout] --> src/game.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | pub currentColor: CardColor, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `current_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `playerNumber` should have a snake case name [INFO] [stdout] --> src/game.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn play(&mut self, playerNumber: usize, cardNumber: usize, chosenColor: CardColor) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `player_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cardNumber` should have a snake case name [INFO] [stdout] --> src/game.rs:45:47 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn play(&mut self, playerNumber: usize, cardNumber: usize, chosenColor: CardColor) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `card_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `chosenColor` should have a snake case name [INFO] [stdout] --> src/game.rs:45:66 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn play(&mut self, playerNumber: usize, cardNumber: usize, chosenColor: CardColor) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `chosen_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `playerNumber` should have a snake case name [INFO] [stdout] --> src/game.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 123 | fn get_next_player(&self, playerNumber: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `player_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `cardType` should have a snake case name [INFO] [stdout] --> src/game/deck/card.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub cardType: CardType, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `card_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cardType` should have a snake case name [INFO] [stdout] --> src/game/deck/card.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(cardType: CardType, value: CardValue, color: CardColor) -> Self { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `card_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color` and `value` are never read [INFO] [stdout] --> src/game/deck/card.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Card { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 29 | color: CardColor, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | value: CardValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Card` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> src/game/player.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 7 | id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `currentColor` should have a snake case name [INFO] [stdout] --> src/game.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | pub currentColor: CardColor, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `current_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `playerNumber` should have a snake case name [INFO] [stdout] --> src/game.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn play(&mut self, playerNumber: usize, cardNumber: usize, chosenColor: CardColor) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `player_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cardNumber` should have a snake case name [INFO] [stdout] --> src/game.rs:45:47 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn play(&mut self, playerNumber: usize, cardNumber: usize, chosenColor: CardColor) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `card_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `chosenColor` should have a snake case name [INFO] [stdout] --> src/game.rs:45:66 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn play(&mut self, playerNumber: usize, cardNumber: usize, chosenColor: CardColor) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `chosen_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `playerNumber` should have a snake case name [INFO] [stdout] --> src/game.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 123 | fn get_next_player(&self, playerNumber: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `player_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `cardType` should have a snake case name [INFO] [stdout] --> src/game/deck/card.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub cardType: CardType, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `card_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cardType` should have a snake case name [INFO] [stdout] --> src/game/deck/card.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(cardType: CardType, value: CardValue, color: CardColor) -> Self { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `card_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.79s [INFO] running `Command { std: "docker" "inspect" "e1084e8dc369fd645c48a3327f4eead7b262a2f5898fc3cdebec6723c0166cc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1084e8dc369fd645c48a3327f4eead7b262a2f5898fc3cdebec6723c0166cc7", kill_on_drop: false }` [INFO] [stdout] e1084e8dc369fd645c48a3327f4eead7b262a2f5898fc3cdebec6723c0166cc7