[INFO] fetching crate fork-tree 13.0.0... [INFO] checking fork-tree-13.0.0 against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125384-2 [INFO] extracting crate fork-tree 13.0.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate fork-tree 13.0.0 on toolchain 91c0823ee63e793d990bb9fed898dc95b5d6db51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fork-tree 13.0.0 [INFO] finished tweaking crates.io crate fork-tree 13.0.0 [INFO] tweaked toml for crates.io crate fork-tree 13.0.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 26 packages to latest compatible versions [INFO] [stderr] Adding radium v0.7.0 (latest: v1.1.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.66) [INFO] [stderr] Adding toml_edit v0.21.1 (latest: v0.22.13) [INFO] [stderr] Adding winnow v0.5.40 (latest: v0.6.9) [INFO] [stderr] Adding wyz v0.5.1 (latest: v0.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tap v1.0.1 [INFO] [stderr] Downloaded radium v0.7.0 [INFO] [stderr] Downloaded byte-slice-cast v1.2.2 [INFO] [stderr] Downloaded parity-scale-codec v3.6.12 [INFO] [stderr] Downloaded funty v2.0.0 [INFO] [stderr] Downloaded wyz v0.5.1 [INFO] [stderr] Downloaded impl-trait-for-tuples v0.2.2 [INFO] [stderr] Downloaded parity-scale-codec-derive v3.6.12 [INFO] [stderr] Downloaded bitvec v1.0.1 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b8636d41aa63e450806b876b026be8a9f4cff555951c39d469d4c5a07ba63e4 [INFO] running `Command { std: "docker" "start" "-a" "0b8636d41aa63e450806b876b026be8a9f4cff555951c39d469d4c5a07ba63e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b8636d41aa63e450806b876b026be8a9f4cff555951c39d469d4c5a07ba63e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b8636d41aa63e450806b876b026be8a9f4cff555951c39d469d4c5a07ba63e4", kill_on_drop: false }` [INFO] [stdout] 0b8636d41aa63e450806b876b026be8a9f4cff555951c39d469d4c5a07ba63e4 [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=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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 551598414ef9e66fabf5d2b4b8db10fea9be2f5af3efdf5add16a414ebf067a4 [INFO] running `Command { std: "docker" "start" "-a" "551598414ef9e66fabf5d2b4b8db10fea9be2f5af3efdf5add16a414ebf067a4", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.12 [INFO] [stderr] Checking parity-scale-codec v3.6.12 [INFO] [stderr] Checking fork-tree v13.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.06s [INFO] running `Command { std: "docker" "inspect" "551598414ef9e66fabf5d2b4b8db10fea9be2f5af3efdf5add16a414ebf067a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "551598414ef9e66fabf5d2b4b8db10fea9be2f5af3efdf5add16a414ebf067a4", kill_on_drop: false }` [INFO] [stdout] 551598414ef9e66fabf5d2b4b8db10fea9be2f5af3efdf5add16a414ebf067a4 [INFO] checking fork-tree-13.0.0 against try#519d6e23a6cb73c4d0f295f71ad37db8e95c54ab for pr-125384-2 [INFO] extracting crate fork-tree 13.0.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate fork-tree 13.0.0 on toolchain 519d6e23a6cb73c4d0f295f71ad37db8e95c54ab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fork-tree 13.0.0 [INFO] finished tweaking crates.io crate fork-tree 13.0.0 [INFO] tweaked toml for crates.io crate fork-tree 13.0.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 26 packages to latest compatible versions [INFO] [stderr] Adding radium v0.7.0 (latest: v1.1.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.66) [INFO] [stderr] Adding toml_edit v0.21.1 (latest: v0.22.13) [INFO] [stderr] Adding winnow v0.5.40 (latest: v0.6.9) [INFO] [stderr] Adding wyz v0.5.1 (latest: v0.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85e1ca1ba6e29c97c20ade91ac08a2a7b7f002c7c45e870c6a02f747c02b466c [INFO] running `Command { std: "docker" "start" "-a" "85e1ca1ba6e29c97c20ade91ac08a2a7b7f002c7c45e870c6a02f747c02b466c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85e1ca1ba6e29c97c20ade91ac08a2a7b7f002c7c45e870c6a02f747c02b466c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85e1ca1ba6e29c97c20ade91ac08a2a7b7f002c7c45e870c6a02f747c02b466c", kill_on_drop: false }` [INFO] [stdout] 85e1ca1ba6e29c97c20ade91ac08a2a7b7f002c7c45e870c6a02f747c02b466c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 949e779ed4edeabeb691d695dd46c6a11bf1124e8aebd8b725bb03bcc2e571b4 [INFO] running `Command { std: "docker" "start" "-a" "949e779ed4edeabeb691d695dd46c6a11bf1124e8aebd8b725bb03bcc2e571b4", 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] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.12 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Checking parity-scale-codec v3.6.12 [INFO] [stderr] Checking fork-tree v13.0.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.97s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking fork-tree v13.0.0 (/tmp/fixit) [INFO] [stdout] error[E0502]: cannot borrow `tree.roots` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/lib.rs:1336:14 [INFO] [stdout] | [INFO] [stdout] 1334 | let removed = tree.prune(&"C", &30, &is_descendent_of, &|_| true).unwrap(); [INFO] [stdout] | ---- mutable borrow occurs here [INFO] [stdout] 1335 | [INFO] [stdout] 1336 | assert_eq!(tree.roots.iter().map(|node| node.hash).collect::>(), vec!["B"]); [INFO] [stdout] | ^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1344 | removed.map(|(hash, _, _)| hash).collect::>(), [INFO] [stdout] | ------- mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `tree` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/lib.rs:1339:4 [INFO] [stdout] | [INFO] [stdout] 1334 | let removed = tree.prune(&"C", &30, &is_descendent_of, &|_| true).unwrap(); [INFO] [stdout] | ---- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1339 | tree.iter().map(|(hash, _, _)| *hash).collect::>(), [INFO] [stdout] | ^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1344 | removed.map(|(hash, _, _)| hash).collect::>(), [INFO] [stdout] | ------- mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `tree.roots` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/lib.rs:1350:14 [INFO] [stdout] | [INFO] [stdout] 1348 | let removed = tree.prune(&"E", &50, &is_descendent_of, &|_| true).unwrap(); [INFO] [stdout] | ---- mutable borrow occurs here [INFO] [stdout] 1349 | [INFO] [stdout] 1350 | assert_eq!(tree.roots.iter().map(|node| node.hash).collect::>(), vec!["D"]); [INFO] [stdout] | ^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1354 | assert_eq!(removed.map(|(hash, _, _)| hash).collect::>(), vec!["B", "C"]); [INFO] [stdout] | ------- mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `tree` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/lib.rs:1352:14 [INFO] [stdout] | [INFO] [stdout] 1348 | let removed = tree.prune(&"E", &50, &is_descendent_of, &|_| true).unwrap(); [INFO] [stdout] | ---- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1352 | assert_eq!(tree.iter().map(|(hash, _, _)| *hash).collect::>(), vec!["D", "E"]); [INFO] [stdout] | ^^^^ immutable borrow occurs here [INFO] [stdout] 1353 | [INFO] [stdout] 1354 | assert_eq!(removed.map(|(hash, _, _)| hash).collect::>(), vec!["B", "C"]); [INFO] [stdout] | ------- mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `tree.roots` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/lib.rs:1363:14 [INFO] [stdout] | [INFO] [stdout] 1361 | let removed = tree.prune(&"c", &25, &is_descendent_of, &|_| true).unwrap(); [INFO] [stdout] | ---- mutable borrow occurs here [INFO] [stdout] 1362 | [INFO] [stdout] 1363 | assert_eq!(tree.roots.iter().map(|node| node.hash).collect::>(), vec!["B"]); [INFO] [stdout] | ^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1371 | removed.map(|(hash, _, _)| hash).collect::>(), [INFO] [stdout] | ------- mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `tree` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/lib.rs:1366:4 [INFO] [stdout] | [INFO] [stdout] 1361 | let removed = tree.prune(&"c", &25, &is_descendent_of, &|_| true).unwrap(); [INFO] [stdout] | ---- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1366 | tree.iter().map(|(hash, _, _)| *hash).collect::>(), [INFO] [stdout] | ^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1371 | removed.map(|(hash, _, _)| hash).collect::>(), [INFO] [stdout] | ------- mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `tree.roots` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/lib.rs:1383:14 [INFO] [stdout] | [INFO] [stdout] 1381 | let removed = tree.prune(&"m", &45, &is_descendent_of, &|height| *height == 3).unwrap(); [INFO] [stdout] | ---- mutable borrow occurs here [INFO] [stdout] 1382 | [INFO] [stdout] 1383 | assert_eq!(tree.roots.iter().map(|node| node.hash).collect::>(), vec!["H"]); [INFO] [stdout] | ^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1388 | removed.map(|(hash, _, _)| hash).collect::>(), [INFO] [stdout] | ------- mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `tree` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/lib.rs:1385:14 [INFO] [stdout] | [INFO] [stdout] 1381 | let removed = tree.prune(&"m", &45, &is_descendent_of, &|height| *height == 3).unwrap(); [INFO] [stdout] | ---- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1385 | assert_eq!(tree.iter().map(|(hash, _, _)| *hash).collect::>(), vec!["H", "L", "M"],); [INFO] [stdout] | ^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1388 | removed.map(|(hash, _, _)| hash).collect::>(), [INFO] [stdout] | ------- mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `tree.roots` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/lib.rs:1399:14 [INFO] [stdout] | [INFO] [stdout] 1397 | let removed = tree.prune(&"m", &45, &is_descendent_of, &|height| *height == 2).unwrap(); [INFO] [stdout] | ---- mutable borrow occurs here [INFO] [stdout] 1398 | [INFO] [stdout] 1399 | assert_eq!(tree.roots.iter().map(|node| node.hash).collect::>(), vec!["F"]); [INFO] [stdout] | ^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1407 | removed.map(|(hash, _, _)| hash).collect::>(), [INFO] [stdout] | ------- mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `tree` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/lib.rs:1402:4 [INFO] [stdout] | [INFO] [stdout] 1397 | let removed = tree.prune(&"m", &45, &is_descendent_of, &|height| *height == 2).unwrap(); [INFO] [stdout] | ---- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1402 | tree.iter().map(|(hash, _, _)| *hash).collect::>(), [INFO] [stdout] | ^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1407 | removed.map(|(hash, _, _)| hash).collect::>(), [INFO] [stdout] | ------- mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `tree` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/lib.rs:1486:4 [INFO] [stdout] | [INFO] [stdout] 1483 | let removed = tree.drain_filter(filter); [INFO] [stdout] | ---- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1486 | tree.iter().map(|(h, _, _)| *h).collect::>(), [INFO] [stdout] | ^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1491 | removed.map(|(h, _, _)| h).collect::>(), [INFO] [stdout] | ------- mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 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 `fork-tree` (lib test) due to 12 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" "949e779ed4edeabeb691d695dd46c6a11bf1124e8aebd8b725bb03bcc2e571b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "949e779ed4edeabeb691d695dd46c6a11bf1124e8aebd8b725bb03bcc2e571b4", kill_on_drop: false }` [INFO] [stdout] 949e779ed4edeabeb691d695dd46c6a11bf1124e8aebd8b725bb03bcc2e571b4