[INFO] cloning repository https://github.com/4102-rustaceans/rust-blackjack [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/4102-rustaceans/rust-blackjack" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F4102-rustaceans%2Frust-blackjack", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F4102-rustaceans%2Frust-blackjack'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 61fae1ade0ad3b1ddfecac623417cab0dd28169d [INFO] checking 4102-rustaceans/rust-blackjack against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F4102-rustaceans%2Frust-blackjack" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 12% (36/277) Checking out files: 13% (37/277) Checking out files: 14% (39/277) Checking out files: 15% (42/277) Checking out files: 16% (45/277) Checking out files: 17% (48/277) Checking out files: 18% (50/277) Checking out files: 19% (53/277) Checking out files: 20% (56/277) Checking out files: 21% (59/277) Checking out files: 22% (61/277) Checking out files: 23% (64/277) Checking out files: 24% (67/277) Checking out files: 25% (70/277) Checking out files: 26% (73/277) Checking out files: 27% (75/277) Checking out files: 28% (78/277) Checking out files: 29% (81/277) Checking out files: 30% (84/277) Checking out files: 31% (86/277) Checking out files: 32% (89/277) Checking out files: 33% (92/277) Checking out files: 34% (95/277) Checking out files: 35% (97/277) Checking out files: 36% (100/277) Checking out files: 37% (103/277) Checking out files: 38% (106/277) Checking out files: 39% (109/277) Checking out files: 40% (111/277) Checking out files: 41% (114/277) Checking out files: 42% (117/277) Checking out files: 43% (120/277) Checking out files: 44% (122/277) Checking out files: 45% (125/277) Checking out files: 46% (128/277) Checking out files: 47% (131/277) Checking out files: 48% (133/277) Checking out files: 49% (136/277) Checking out files: 50% (139/277) Checking out files: 51% (142/277) Checking out files: 52% (145/277) Checking out files: 53% (147/277) Checking out files: 54% (150/277) Checking out files: 55% (153/277) Checking out files: 56% (156/277) Checking out files: 57% (158/277) Checking out files: 58% (161/277) Checking out files: 59% (164/277) Checking out files: 60% (167/277) Checking out files: 61% (169/277) Checking out files: 62% (172/277) Checking out files: 63% (175/277) Checking out files: 64% (178/277) Checking out files: 65% (181/277) Checking out files: 66% (183/277) Checking out files: 67% (186/277) Checking out files: 68% (189/277) Checking out files: 69% (192/277) Checking out files: 70% (194/277) Checking out files: 71% (197/277) Checking out files: 72% (200/277) Checking out files: 73% (203/277) Checking out files: 74% (205/277) Checking out files: 75% (208/277) Checking out files: 76% (211/277) Checking out files: 77% (214/277) Checking out files: 78% (217/277) Checking out files: 79% (219/277) Checking out files: 80% (222/277) Checking out files: 81% (225/277) Checking out files: 82% (228/277) Checking out files: 83% (230/277) Checking out files: 84% (233/277) Checking out files: 85% (236/277) Checking out files: 86% (239/277) Checking out files: 87% (241/277) Checking out files: 88% (244/277) Checking out files: 89% (247/277) Checking out files: 90% (250/277) Checking out files: 91% (253/277) Checking out files: 92% (255/277) Checking out files: 93% (258/277) Checking out files: 94% (261/277) Checking out files: 95% (264/277) Checking out files: 96% (266/277) Checking out files: 97% (269/277) Checking out files: 98% (272/277) Checking out files: 99% (275/277) Checking out files: 100% (277/277) Checking out files: 100% (277/277), done. [INFO] validating manifest of git repo https://github.com/4102-rustaceans/rust-blackjack on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/4102-rustaceans/rust-blackjack [INFO] finished tweaking git repo https://github.com/4102-rustaceans/rust-blackjack [INFO] tweaked toml for git repo https://github.com/4102-rustaceans/rust-blackjack written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/4102-rustaceans/rust-blackjack already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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" "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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 011f4ae1b06257eca49737bfd0be44382e648ea2cb0ba1a0078b6a49a2821f95 [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" "011f4ae1b06257eca49737bfd0be44382e648ea2cb0ba1a0078b6a49a2821f95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "011f4ae1b06257eca49737bfd0be44382e648ea2cb0ba1a0078b6a49a2821f95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "011f4ae1b06257eca49737bfd0be44382e648ea2cb0ba1a0078b6a49a2821f95", kill_on_drop: false }` [INFO] [stdout] 011f4ae1b06257eca49737bfd0be44382e648ea2cb0ba1a0078b6a49a2821f95 [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" "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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 916b59720bed66fa0d6dd6542f68ef804123e57a90b27f2b58a2717a0aadc31f [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" "916b59720bed66fa0d6dd6542f68ef804123e57a90b27f2b58a2717a0aadc31f", kill_on_drop: false }` [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking rust-blackjack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let mut dealerScore = getHandValue(&dealer.hand); [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:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | let mut playerScore = getHandValue(&player.hand); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | let mut curCard: String = format!("{} of {}", card.rank, card.suit); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `playerHold` should have a snake case name [INFO] [stdout] --> src/main.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | let mut playerHold = false; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `player_hold` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dealerHold` should have a snake case name [INFO] [stdout] --> src/main.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let mut dealerHold = false; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `dealer_hold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `playerBust` should have a snake case name [INFO] [stdout] --> src/main.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let mut playerBust = false; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `player_bust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dealerBust` should have a snake case name [INFO] [stdout] --> src/main.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut dealerBust = false; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `dealer_bust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dealerScore` should have a snake case name [INFO] [stdout] --> src/main.rs:171:17 [INFO] [stdout] | [INFO] [stdout] 171 | let mut dealerScore = getHandValue(&dealer.hand); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `dealer_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `playerScore` should have a snake case name [INFO] [stdout] --> src/main.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | let mut playerScore = getHandValue(&player.hand); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `player_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `createDeck` should have a snake case name [INFO] [stdout] --> src/main.rs:187:4 [INFO] [stdout] | [INFO] [stdout] 187 | fn createDeck() -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `create_deck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getHandValue` should have a snake case name [INFO] [stdout] --> src/main.rs:201:4 [INFO] [stdout] | [INFO] [stdout] 201 | fn getHandValue(hand: &Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_hand_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `printHand` should have a snake case name [INFO] [stdout] --> src/main.rs:236:4 [INFO] [stdout] | [INFO] [stdout] 236 | fn printHand(hand: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `print_hand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inHand` should have a snake case name [INFO] [stdout] --> src/main.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | let mut inHand: String = String::new(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `in_hand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `curCard` should have a snake case name [INFO] [stdout] --> src/main.rs:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | let mut curCard: String = format!("{} of {}", card.rank, card.suit); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `cur_card` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let mut dealerScore = getHandValue(&dealer.hand); [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:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | let mut playerScore = getHandValue(&player.hand); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | let mut curCard: String = format!("{} of {}", card.rank, card.suit); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `playerHold` should have a snake case name [INFO] [stdout] --> src/main.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | let mut playerHold = false; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `player_hold` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dealerHold` should have a snake case name [INFO] [stdout] --> src/main.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let mut dealerHold = false; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `dealer_hold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `playerBust` should have a snake case name [INFO] [stdout] --> src/main.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let mut playerBust = false; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `player_bust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dealerBust` should have a snake case name [INFO] [stdout] --> src/main.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut dealerBust = false; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `dealer_bust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dealerScore` should have a snake case name [INFO] [stdout] --> src/main.rs:171:17 [INFO] [stdout] | [INFO] [stdout] 171 | let mut dealerScore = getHandValue(&dealer.hand); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `dealer_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `playerScore` should have a snake case name [INFO] [stdout] --> src/main.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | let mut playerScore = getHandValue(&player.hand); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `player_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `createDeck` should have a snake case name [INFO] [stdout] --> src/main.rs:187:4 [INFO] [stdout] | [INFO] [stdout] 187 | fn createDeck() -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `create_deck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getHandValue` should have a snake case name [INFO] [stdout] --> src/main.rs:201:4 [INFO] [stdout] | [INFO] [stdout] 201 | fn getHandValue(hand: &Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_hand_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `printHand` should have a snake case name [INFO] [stdout] --> src/main.rs:236:4 [INFO] [stdout] | [INFO] [stdout] 236 | fn printHand(hand: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `print_hand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inHand` should have a snake case name [INFO] [stdout] --> src/main.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | let mut inHand: String = String::new(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `in_hand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `curCard` should have a snake case name [INFO] [stdout] --> src/main.rs:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | let mut curCard: String = format!("{} of {}", card.rank, card.suit); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `cur_card` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.81s [INFO] running `Command { std: "docker" "inspect" "916b59720bed66fa0d6dd6542f68ef804123e57a90b27f2b58a2717a0aadc31f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "916b59720bed66fa0d6dd6542f68ef804123e57a90b27f2b58a2717a0aadc31f", kill_on_drop: false }` [INFO] [stdout] 916b59720bed66fa0d6dd6542f68ef804123e57a90b27f2b58a2717a0aadc31f