[INFO] fetching crate gctree 0.29.0... [INFO] checking gctree-0.29.0 against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125384-2 [INFO] extracting crate gctree 0.29.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate gctree 0.29.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 gctree 0.29.0 [INFO] finished tweaking crates.io crate gctree 0.29.0 [INFO] tweaked toml for crates.io crate gctree 0.29.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 62 packages to latest compatible versions [INFO] [stderr] Adding convert_case v0.4.0 (latest: v0.6.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding graphviz-rust v0.6.6 (latest: v0.9.0) [INFO] [stderr] Adding itertools v0.11.0 (latest: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.4) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.66) [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" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dot-structures v0.1.1 [INFO] [stderr] Downloaded into-attr-derive v0.2.1 [INFO] [stderr] Downloaded ioe v0.6.0 [INFO] [stderr] Downloaded graphviz-rust v0.6.6 [INFO] [stderr] Downloaded pest_generator v2.7.10 [INFO] [stderr] Downloaded into-attr v0.1.1 [INFO] [stderr] Downloaded pest_derive v2.7.10 [INFO] [stderr] Downloaded dot-generator v0.2.0 [INFO] [stderr] Downloaded pest_meta v2.7.10 [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] 0777600ac78f886eeb4f2320eae20aed8320995cd2cfb11fedab52a9283abb54 [INFO] running `Command { std: "docker" "start" "-a" "0777600ac78f886eeb4f2320eae20aed8320995cd2cfb11fedab52a9283abb54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0777600ac78f886eeb4f2320eae20aed8320995cd2cfb11fedab52a9283abb54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0777600ac78f886eeb4f2320eae20aed8320995cd2cfb11fedab52a9283abb54", kill_on_drop: false }` [INFO] [stdout] 0777600ac78f886eeb4f2320eae20aed8320995cd2cfb11fedab52a9283abb54 [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] 4cb0986695c8489ecf13fd63302086d4ddfd13729b4de817ddc047e9d7f8c9e3 [INFO] running `Command { std: "docker" "start" "-a" "4cb0986695c8489ecf13fd63302086d4ddfd13729b4de817ddc047e9d7f8c9e3", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking ioe v0.6.0 [INFO] [stderr] Checking gctree v0.29.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.61s [INFO] running `Command { std: "docker" "inspect" "4cb0986695c8489ecf13fd63302086d4ddfd13729b4de817ddc047e9d7f8c9e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cb0986695c8489ecf13fd63302086d4ddfd13729b4de817ddc047e9d7f8c9e3", kill_on_drop: false }` [INFO] [stdout] 4cb0986695c8489ecf13fd63302086d4ddfd13729b4de817ddc047e9d7f8c9e3 [INFO] checking gctree-0.29.0 against try#519d6e23a6cb73c4d0f295f71ad37db8e95c54ab for pr-125384-2 [INFO] extracting crate gctree 0.29.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate gctree 0.29.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 gctree 0.29.0 [INFO] finished tweaking crates.io crate gctree 0.29.0 [INFO] tweaked toml for crates.io crate gctree 0.29.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 62 packages to latest compatible versions [INFO] [stderr] Adding convert_case v0.4.0 (latest: v0.6.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding graphviz-rust v0.6.6 (latest: v0.9.0) [INFO] [stderr] Adding itertools v0.11.0 (latest: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.4) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.66) [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" "+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] 5d56534c514d4286afbef433b4106f4c1610ccf395f0d39efa31bd8d217c5af6 [INFO] running `Command { std: "docker" "start" "-a" "5d56534c514d4286afbef433b4106f4c1610ccf395f0d39efa31bd8d217c5af6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d56534c514d4286afbef433b4106f4c1610ccf395f0d39efa31bd8d217c5af6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d56534c514d4286afbef433b4106f4c1610ccf395f0d39efa31bd8d217c5af6", kill_on_drop: false }` [INFO] [stdout] 5d56534c514d4286afbef433b4106f4c1610ccf395f0d39efa31bd8d217c5af6 [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] e34ade8d711478cfabc02aea5604b4456a0d93eeb9a875ec5e99e228a983ef26 [INFO] running `Command { std: "docker" "start" "-a" "e34ade8d711478cfabc02aea5604b4456a0d93eeb9a875ec5e99e228a983ef26", 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] Fixed Cargo.toml (3 fixes) [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking ioe v0.6.0 [INFO] [stderr] Checking gctree v0.29.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.89s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking gctree v0.29.0 (/tmp/fixit) [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/arena.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 101 | for idx in self.dfs_before(node_idx).rev(/* leaves -> ... -> node_idx */) { [INFO] [stdout] | -------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 105 | self.rm_edges(self[idx].parent_idxs().collect::>(), [idx])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 113 | } [INFO] [stdout] | - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `Rev>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.garbage` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/arena.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 101 | for idx in self.dfs_before(node_idx).rev(/* leaves -> ... -> node_idx */) { [INFO] [stdout] | -------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 112 | self.garbage.push_back(idx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/arena.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 125 | for idx in self.dfs_before(node_idx) { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] 126 | if self[idx].has_parents() { continue } [INFO] [stdout] 127 | self.rm_edges([idx], self[idx].child_idxs().collect::>())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 134 | } [INFO] [stdout] | - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl DoubleEndedIterator + Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.garbage` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/arena.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 125 | for idx in self.dfs_before(node_idx) { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 133 | self.garbage.push_back(idx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/arena.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 101 | for idx in self.dfs_before(node_idx).rev(/* leaves -> ... -> node_idx */) { [INFO] [stdout] | -------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 105 | self.rm_edges(self[idx].parent_idxs().collect::>(), [idx])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 113 | } [INFO] [stdout] | - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `Rev>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.garbage` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/arena.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 101 | for idx in self.dfs_before(node_idx).rev(/* leaves -> ... -> node_idx */) { [INFO] [stdout] | -------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 112 | self.garbage.push_back(idx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/arena.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 125 | for idx in self.dfs_before(node_idx) { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] 126 | if self[idx].has_parents() { continue } [INFO] [stdout] 127 | self.rm_edges([idx], self[idx].child_idxs().collect::>())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 134 | } [INFO] [stdout] | - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl DoubleEndedIterator + Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.garbage` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/arena.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 125 | for idx in self.dfs_before(node_idx) { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 133 | self.garbage.push_back(idx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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 `gctree` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 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 `gctree` (lib test) due to 5 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" "e34ade8d711478cfabc02aea5604b4456a0d93eeb9a875ec5e99e228a983ef26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e34ade8d711478cfabc02aea5604b4456a0d93eeb9a875ec5e99e228a983ef26", kill_on_drop: false }` [INFO] [stdout] e34ade8d711478cfabc02aea5604b4456a0d93eeb9a875ec5e99e228a983ef26