[INFO] fetching crate deuces-rs 0.3.0... [INFO] checking deuces-rs-0.3.0 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate deuces-rs 0.3.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate deuces-rs 0.3.0 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate deuces-rs 0.3.0 [INFO] finished tweaking crates.io crate deuces-rs 0.3.0 [INFO] tweaked toml for crates.io crate deuces-rs 0.3.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding itertools v0.12.1 (latest: v0.13.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc70bdf80d834e9655fae75f43a2251768648cfccf7c0088758ed45f74818a35 [INFO] running `Command { std: "docker" "start" "-a" "fc70bdf80d834e9655fae75f43a2251768648cfccf7c0088758ed45f74818a35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc70bdf80d834e9655fae75f43a2251768648cfccf7c0088758ed45f74818a35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc70bdf80d834e9655fae75f43a2251768648cfccf7c0088758ed45f74818a35", kill_on_drop: false }` [INFO] [stdout] fc70bdf80d834e9655fae75f43a2251768648cfccf7c0088758ed45f74818a35 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74e273e8f6c38cfbf6afbf6842dc2a9a1b787b88de1d585b5fbab5ad6f29e820 [INFO] running `Command { std: "docker" "start" "-a" "74e273e8f6c38cfbf6afbf6842dc2a9a1b787b88de1d585b5fbab5ad6f29e820", kill_on_drop: false }` [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking deuces-rs v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.24s [INFO] running `Command { std: "docker" "inspect" "74e273e8f6c38cfbf6afbf6842dc2a9a1b787b88de1d585b5fbab5ad6f29e820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74e273e8f6c38cfbf6afbf6842dc2a9a1b787b88de1d585b5fbab5ad6f29e820", kill_on_drop: false }` [INFO] [stdout] 74e273e8f6c38cfbf6afbf6842dc2a9a1b787b88de1d585b5fbab5ad6f29e820 [INFO] checking deuces-rs-0.3.0 against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] extracting crate deuces-rs 0.3.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate deuces-rs 0.3.0 on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate deuces-rs 0.3.0 [INFO] finished tweaking crates.io crate deuces-rs 0.3.0 [INFO] tweaked toml for crates.io crate deuces-rs 0.3.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding itertools v0.12.1 (latest: v0.13.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e5ee44f645c952995e6740d0e26a04e73a0766b43131fb2e7d63c5b8aae3018 [INFO] running `Command { std: "docker" "start" "-a" "4e5ee44f645c952995e6740d0e26a04e73a0766b43131fb2e7d63c5b8aae3018", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e5ee44f645c952995e6740d0e26a04e73a0766b43131fb2e7d63c5b8aae3018", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e5ee44f645c952995e6740d0e26a04e73a0766b43131fb2e7d63c5b8aae3018", kill_on_drop: false }` [INFO] [stdout] 4e5ee44f645c952995e6740d0e26a04e73a0766b43131fb2e7d63c5b8aae3018 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5741b8575ad0c17979e5b31c531763ec81b1214bc2e94b76ee360303cf55bda4 [INFO] running `Command { std: "docker" "start" "-a" "5741b8575ad0c17979e5b31c531763ec81b1214bc2e94b76ee360303cf55bda4", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking deuces-rs v0.3.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/lookup.rs (4 fixes) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.19s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking deuces-rs v0.3.0 (/tmp/fixit) [INFO] [stdout] error[E0502]: cannot borrow `self.flush_lookup` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lookup.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 79 | let mut r#gen = self.get_lexographically_next_bit_sequence(0b11111); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 94 | self.flush_lookup.insert(prime_product, rank); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 110 | } [INFO] [stdout] | - immutable borrow might be used here, when `gen` is dropped and runs the destructor for type `impl Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.flush_lookup` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lookup.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 79 | let mut r#gen = self.get_lexographically_next_bit_sequence(0b11111); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 94 | self.flush_lookup.insert(prime_product, rank); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 110 | } [INFO] [stdout] | - immutable borrow might be used here, when `gen` is dropped and runs the destructor for type `impl Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.flush_lookup` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lookup.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 79 | let mut r#gen = self.get_lexographically_next_bit_sequence(0b11111); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 101 | self.flush_lookup.insert(prime_product, rank); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 110 | } [INFO] [stdout] | - immutable borrow might be used here, when `gen` is dropped and runs the destructor for type `impl Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.flush_lookup` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lookup.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 79 | let mut r#gen = self.get_lexographically_next_bit_sequence(0b11111); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 101 | self.flush_lookup.insert(prime_product, rank); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 110 | } [INFO] [stdout] | - immutable borrow might be used here, when `gen` is dropped and runs the destructor for type `impl Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lookup.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 79 | let mut r#gen = self.get_lexographically_next_bit_sequence(0b11111); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 109 | self.straight_and_highcards(straight_flushes, flushes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 110 | } [INFO] [stdout] | - immutable borrow might be used here, when `gen` is dropped and runs the destructor for type `impl Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lookup.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 79 | let mut r#gen = self.get_lexographically_next_bit_sequence(0b11111); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 109 | self.straight_and_highcards(straight_flushes, flushes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 110 | } [INFO] [stdout] | - immutable borrow might be used here, when `gen` is dropped and runs the destructor for type `impl Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `deuces-rs` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `deuces-rs` (lib) due to 4 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "5741b8575ad0c17979e5b31c531763ec81b1214bc2e94b76ee360303cf55bda4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5741b8575ad0c17979e5b31c531763ec81b1214bc2e94b76ee360303cf55bda4", kill_on_drop: false }` [INFO] [stdout] 5741b8575ad0c17979e5b31c531763ec81b1214bc2e94b76ee360303cf55bda4