[INFO] cloning repository https://github.com/megagreg72/balatro-calculator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/megagreg72/balatro-calculator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmegagreg72%2Fbalatro-calculator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmegagreg72%2Fbalatro-calculator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c4d61389fcccce68734fb936057e63807d16be03 [INFO] checking megagreg72/balatro-calculator against master#9f48dedc9763334a587c66558974635807a113ed for pr-137394 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmegagreg72%2Fbalatro-calculator" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/megagreg72/balatro-calculator on toolchain 9f48dedc9763334a587c66558974635807a113ed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f48dedc9763334a587c66558974635807a113ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/megagreg72/balatro-calculator [INFO] finished tweaking git repo https://github.com/megagreg72/balatro-calculator [INFO] tweaked toml for git repo https://github.com/megagreg72/balatro-calculator written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/megagreg72/balatro-calculator 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" "+9f48dedc9763334a587c66558974635807a113ed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9f48dedc9763334a587c66558974635807a113ed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9591915df3069242dacf6c9b495fdcadab535248518e355864feabce405642bd [INFO] running `Command { std: "docker" "start" "-a" "9591915df3069242dacf6c9b495fdcadab535248518e355864feabce405642bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9591915df3069242dacf6c9b495fdcadab535248518e355864feabce405642bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9591915df3069242dacf6c9b495fdcadab535248518e355864feabce405642bd", kill_on_drop: false }` [INFO] [stdout] 9591915df3069242dacf6c9b495fdcadab535248518e355864feabce405642bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9f48dedc9763334a587c66558974635807a113ed" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b237b8aec80ae446c7c6d03867ba4c9af6c384856f65b701a888c478836232b0 [INFO] running `Command { std: "docker" "start" "-a" "b237b8aec80ae446c7c6d03867ba4c9af6c384856f65b701a888c478836232b0", kill_on_drop: false }` [INFO] [stderr] Checking balatro-calculator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `hand` [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let hand: [card_stuff::Card; 5] = [card; 5]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hand` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hand` [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let hand: [card_stuff::Card; 5] = [card; 5]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hand` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Spade`, `Heart`, and `Diamond` are never constructed [INFO] [stdout] --> src/card_stuff.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Suit { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 5 | Spade, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | Heart, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | Club, [INFO] [stdout] 8 | Diamond, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Suit` has a derived impl for the trait `Clone`, 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: multiple variants are never constructed [INFO] [stdout] --> src/card_stuff.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Rank { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 13 | Ace, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | King, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | Queen, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | Jack, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | Ten, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | Nine, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | Eight, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | Seven, [INFO] [stdout] 21 | Six, [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | Five, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | Four, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | Three, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | Two, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rank` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Foil`, `Holographic`, and `Polychrome` are never constructed [INFO] [stdout] --> src/card_stuff.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum Edition { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 30 | Normal, [INFO] [stdout] 31 | Foil, [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | Holographic, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 33 | Polychrome, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Edition` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Spade`, `Heart`, and `Diamond` are never constructed [INFO] [stdout] --> src/card_stuff.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Suit { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 5 | Spade, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | Heart, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | Club, [INFO] [stdout] 8 | Diamond, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Suit` has a derived impl for the trait `Clone`, 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: multiple variants are never constructed [INFO] [stdout] --> src/card_stuff.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Rank { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 13 | Ace, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | King, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | Queen, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | Jack, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | Ten, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | Nine, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | Eight, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | Seven, [INFO] [stdout] 21 | Six, [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | Five, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | Four, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | Three, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | Two, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rank` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Foil`, `Holographic`, and `Polychrome` are never constructed [INFO] [stdout] --> src/card_stuff.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum Edition { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 30 | Normal, [INFO] [stdout] 31 | Foil, [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | Holographic, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 33 | Polychrome, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Edition` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] running `Command { std: "docker" "inspect" "b237b8aec80ae446c7c6d03867ba4c9af6c384856f65b701a888c478836232b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b237b8aec80ae446c7c6d03867ba4c9af6c384856f65b701a888c478836232b0", kill_on_drop: false }` [INFO] [stdout] b237b8aec80ae446c7c6d03867ba4c9af6c384856f65b701a888c478836232b0