[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] building theHazzard/rust_uno_core against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtheHazzard%2Frust_uno_core" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/theHazzard/rust_uno_core on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-7-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a42b7698601bcda313e7b39a688d64176989d8885423abbe52ceab1653f7b6f7 [INFO] running `Command { std: "docker" "start" "-a" "a42b7698601bcda313e7b39a688d64176989d8885423abbe52ceab1653f7b6f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a42b7698601bcda313e7b39a688d64176989d8885423abbe52ceab1653f7b6f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a42b7698601bcda313e7b39a688d64176989d8885423abbe52ceab1653f7b6f7", kill_on_drop: false }` [INFO] [stdout] a42b7698601bcda313e7b39a688d64176989d8885423abbe52ceab1653f7b6f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3ba6deaed14a737ea6aaf8c248a71fa2db1ca53963a575d5bc4537edfe70de0 [INFO] running `Command { std: "docker" "start" "-a" "d3ba6deaed14a737ea6aaf8c248a71fa2db1ca53963a575d5bc4537edfe70de0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling unoserver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/deck/card.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | Number(u8), [INFO] [stdout] | ------ ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CardValue` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 3 | Number(()), [INFO] [stdout] | ~~ [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] [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.83s [INFO] running `Command { std: "docker" "inspect" "d3ba6deaed14a737ea6aaf8c248a71fa2db1ca53963a575d5bc4537edfe70de0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3ba6deaed14a737ea6aaf8c248a71fa2db1ca53963a575d5bc4537edfe70de0", kill_on_drop: false }` [INFO] [stdout] d3ba6deaed14a737ea6aaf8c248a71fa2db1ca53963a575d5bc4537edfe70de0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a3ffea62c4587171d5ca753e0c361cc165266a2bd3148ffb6feb3fb3d6d20fa [INFO] running `Command { std: "docker" "start" "-a" "7a3ffea62c4587171d5ca753e0c361cc165266a2bd3148ffb6feb3fb3d6d20fa", kill_on_drop: false }` [INFO] [stderr] Compiling 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: field `0` is never read [INFO] [stdout] --> src/game/deck/card.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | Number(u8), [INFO] [stdout] | ------ ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CardValue` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 3 | Number(()), [INFO] [stdout] | ~~ [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] [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "7a3ffea62c4587171d5ca753e0c361cc165266a2bd3148ffb6feb3fb3d6d20fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a3ffea62c4587171d5ca753e0c361cc165266a2bd3148ffb6feb3fb3d6d20fa", kill_on_drop: false }` [INFO] [stdout] 7a3ffea62c4587171d5ca753e0c361cc165266a2bd3148ffb6feb3fb3d6d20fa