[INFO] cloning repository https://github.com/caphindsight/vdneg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/caphindsight/vdneg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaphindsight%2Fvdneg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaphindsight%2Fvdneg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f71e01df48c81d0b5b5e160eca0c6f8b52899418 [INFO] building caphindsight/vdneg 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%2Fcaphindsight%2Fvdneg" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/caphindsight/vdneg 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/caphindsight/vdneg [INFO] finished tweaking git repo https://github.com/caphindsight/vdneg [INFO] tweaked toml for git repo https://github.com/caphindsight/vdneg written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/caphindsight/vdneg 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] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 4a121a82047051d793bddeed22d015866d2491c731bb85a04367e497548a6e9b [INFO] running `Command { std: "docker" "start" "-a" "4a121a82047051d793bddeed22d015866d2491c731bb85a04367e497548a6e9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a121a82047051d793bddeed22d015866d2491c731bb85a04367e497548a6e9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a121a82047051d793bddeed22d015866d2491c731bb85a04367e497548a6e9b", kill_on_drop: false }` [INFO] [stdout] 4a121a82047051d793bddeed22d015866d2491c731bb85a04367e497548a6e9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 11814707660da8d9b11d6653c52950d9744be9eb5f871b14524fe2b3eeb72ba2 [INFO] running `Command { std: "docker" "start" "-a" "11814707660da8d9b11d6653c52950d9744be9eb5f871b14524fe2b3eeb72ba2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.19 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling vdneg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `cards::Rank` [INFO] [stdout] --> src/combo.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cards::Rank; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cards::Suit` [INFO] [stdout] --> src/combo.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cards::Suit; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/cards.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl Rank { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 21 | fn to_string(self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_unicode_string` and `to_ascii_string` are never used [INFO] [stdout] --> src/cards.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl Suit { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 49 | pub fn to_unicode_string(self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn to_ascii_string(self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_long_unicode_string` and `to_long_ascii_string` are never used [INFO] [stdout] --> src/cards.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl Card { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn to_long_unicode_string(self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn to_long_ascii_string(self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deck_unshuffled` is never used [INFO] [stdout] --> src/cards.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn deck_unshuffled() -> Vec { vec![ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deck_shuffled` is never used [INFO] [stdout] --> src/cards.rs:281:8 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn deck_shuffled() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Straight`, `Flush`, `FullHouse`, `FourOfKind`, `StraightFlush`, and `RoyalFlush` are never constructed [INFO] [stdout] --> src/combo.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum ComboRank { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | Straight, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | Flush, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | FullHouse, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | FourOfKind, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | StraightFlush, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | RoyalFlush, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ComboRank` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_long_unicode_string` and `to_long_ascii_string` are never used [INFO] [stdout] --> src/combo.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Combo { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn to_long_unicode_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn to_long_ascii_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter_by_suit` is never used [INFO] [stdout] --> src/combo.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | fn filter_by_suit(cards: &[Card], suit: Suit) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "11814707660da8d9b11d6653c52950d9744be9eb5f871b14524fe2b3eeb72ba2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11814707660da8d9b11d6653c52950d9744be9eb5f871b14524fe2b3eeb72ba2", kill_on_drop: false }` [INFO] [stdout] 11814707660da8d9b11d6653c52950d9744be9eb5f871b14524fe2b3eeb72ba2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] d4bb9aad3b02c3da746b177022c79c1b1aa5546304f9203f754d94be55d7194f [INFO] running `Command { std: "docker" "start" "-a" "d4bb9aad3b02c3da746b177022c79c1b1aa5546304f9203f754d94be55d7194f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling vdneg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `cards::Rank` [INFO] [stdout] --> src/combo.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cards::Rank; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cards::Suit` [INFO] [stdout] --> src/combo.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cards::Suit; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/cards.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl Rank { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 21 | fn to_string(self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_unicode_string` and `to_ascii_string` are never used [INFO] [stdout] --> src/cards.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl Suit { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 49 | pub fn to_unicode_string(self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn to_ascii_string(self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_long_unicode_string` and `to_long_ascii_string` are never used [INFO] [stdout] --> src/cards.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl Card { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn to_long_unicode_string(self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn to_long_ascii_string(self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deck_unshuffled` is never used [INFO] [stdout] --> src/cards.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn deck_unshuffled() -> Vec { vec![ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deck_shuffled` is never used [INFO] [stdout] --> src/cards.rs:281:8 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn deck_shuffled() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Straight`, `Flush`, `FullHouse`, `FourOfKind`, `StraightFlush`, and `RoyalFlush` are never constructed [INFO] [stdout] --> src/combo.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum ComboRank { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | Straight, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | Flush, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | FullHouse, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | FourOfKind, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | StraightFlush, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | RoyalFlush, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ComboRank` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_long_unicode_string` and `to_long_ascii_string` are never used [INFO] [stdout] --> src/combo.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Combo { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn to_long_unicode_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn to_long_ascii_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter_by_suit` is never used [INFO] [stdout] --> src/combo.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | fn filter_by_suit(cards: &[Card], suit: Suit) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "d4bb9aad3b02c3da746b177022c79c1b1aa5546304f9203f754d94be55d7194f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4bb9aad3b02c3da746b177022c79c1b1aa5546304f9203f754d94be55d7194f", kill_on_drop: false }` [INFO] [stdout] d4bb9aad3b02c3da746b177022c79c1b1aa5546304f9203f754d94be55d7194f