[INFO] fetching crate rayon-core 1.12.1... [INFO] checking rayon-core-1.12.1 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate rayon-core 1.12.1 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate rayon-core 1.12.1 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 rayon-core 1.12.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rayon-core 1.12.1 [INFO] tweaked toml for crates.io crate rayon-core 1.12.1 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" "+506512391b1a75ae450d36c9420978402a91abcc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 29 packages to latest compatible versions [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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm_sync v0.1.2 [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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80343e1474a1598c94a9d97fe5c548ccbfe9aabdc0d59c52f7303287a5b79da3 [INFO] running `Command { std: "docker" "start" "-a" "80343e1474a1598c94a9d97fe5c548ccbfe9aabdc0d59c52f7303287a5b79da3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80343e1474a1598c94a9d97fe5c548ccbfe9aabdc0d59c52f7303287a5b79da3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80343e1474a1598c94a9d97fe5c548ccbfe9aabdc0d59c52f7303287a5b79da3", kill_on_drop: false }` [INFO] [stdout] 80343e1474a1598c94a9d97fe5c548ccbfe9aabdc0d59c52f7303287a5b79da3 [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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88a367c564dca73ff0563cbc6a759b7ad63a88198760c6bc4c63f42fbcb327a3 [INFO] running `Command { std: "docker" "start" "-a" "88a367c564dca73ff0563cbc6a759b7ad63a88198760c6bc4c63f42fbcb327a3", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling rayon-core v1.12.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking scoped-tls v1.0.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_xorshift v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.09s [INFO] running `Command { std: "docker" "inspect" "88a367c564dca73ff0563cbc6a759b7ad63a88198760c6bc4c63f42fbcb327a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88a367c564dca73ff0563cbc6a759b7ad63a88198760c6bc4c63f42fbcb327a3", kill_on_drop: false }` [INFO] [stdout] 88a367c564dca73ff0563cbc6a759b7ad63a88198760c6bc4c63f42fbcb327a3 [INFO] checking rayon-core-1.12.1 against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] extracting crate rayon-core 1.12.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate rayon-core 1.12.1 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 rayon-core 1.12.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rayon-core 1.12.1 [INFO] tweaked toml for crates.io crate rayon-core 1.12.1 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" "+dae34b759e282c069aa28752564694effd121a63" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 29 packages to latest compatible versions [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-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a640bc8baf9246189353fc5dec7cfc3f5e6bd74107eb0982910937e6afa5b189 [INFO] running `Command { std: "docker" "start" "-a" "a640bc8baf9246189353fc5dec7cfc3f5e6bd74107eb0982910937e6afa5b189", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a640bc8baf9246189353fc5dec7cfc3f5e6bd74107eb0982910937e6afa5b189", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a640bc8baf9246189353fc5dec7cfc3f5e6bd74107eb0982910937e6afa5b189", kill_on_drop: false }` [INFO] [stdout] a640bc8baf9246189353fc5dec7cfc3f5e6bd74107eb0982910937e6afa5b189 [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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aed72637381596eccbdf0e196c1d1561596655c7766efa2e1f702d310e7bdfed [INFO] running `Command { std: "docker" "start" "-a" "aed72637381596eccbdf0e196c1d1561596655c7766efa2e1f702d310e7bdfed", 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 crossbeam-utils v0.8.20 [INFO] [stderr] Compiling rayon-core v1.12.1 (/tmp/fixit) [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/latch.rs (6 fixes) [INFO] [stderr] Fixed src/job.rs (9 fixes) [INFO] [stderr] Fixed src/spawn/mod.rs (2 fixes) [INFO] [stderr] Fixed src/registry.rs (8 fixes) [INFO] [stderr] Fixed src/join/mod.rs (1 fix) [INFO] [stderr] Fixed src/scope/mod.rs (3 fixes) [INFO] [stderr] Fixed src/broadcast/mod.rs (1 fix) [INFO] [stderr] Migrating tests/double_init_fail.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/scope_join.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/stack_overflow_crash.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/scoped_threadpool.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/simple_panic.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/use_current_thread.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/init_zero_threads.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.60s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling rayon-core v1.12.1 (/tmp/fixit) [INFO] [stdout] error[E0505]: cannot move out of `job_b_ref` because it is borrowed [INFO] [stdout] --> src/join/mod.rs:139:28 [INFO] [stdout] | [INFO] [stdout] 137 | let job_b_ref = job_b.as_job_ref(); [INFO] [stdout] | --------- binding `job_b_ref` declared here [INFO] [stdout] 138 | let job_b_id = job_b_ref.id(); [INFO] [stdout] | --------- borrow of `job_b_ref` occurs here [INFO] [stdout] 139 | worker_thread.push(job_b_ref); [INFO] [stdout] | ^^^^^^^^^ move out of `job_b_ref` occurs here [INFO] [stdout] ... [INFO] [stdout] 155 | if job_b_id == job.id() { [INFO] [stdout] | -------- borrow later used here [INFO] [stdout] | [INFO] [stdout] note: if `job::JobRef` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/job.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub(super) struct JobRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/join/mod.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | let job_b_id = job_b_ref.id(); [INFO] [stdout] | --------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `job` does not live long enough [INFO] [stdout] --> src/join/mod.rs:155:32 [INFO] [stdout] | [INFO] [stdout] 154 | if let Some(job) = worker_thread.take_local_job() { [INFO] [stdout] | --- binding `job` declared here [INFO] [stdout] 155 | if job_b_id == job.id() { [INFO] [stdout] | -------- ^^^ borrowed value does not live long enough [INFO] [stdout] | | [INFO] [stdout] | borrow later used here [INFO] [stdout] ... [INFO] [stdout] 164 | } else { [INFO] [stdout] | - `job` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `job` because it is borrowed [INFO] [stdout] --> src/join/mod.rs:162:43 [INFO] [stdout] | [INFO] [stdout] 154 | if let Some(job) = worker_thread.take_local_job() { [INFO] [stdout] | --- binding `job` declared here [INFO] [stdout] 155 | if job_b_id == job.id() { [INFO] [stdout] | -------- --- borrow of `job` occurs here [INFO] [stdout] | | [INFO] [stdout] | borrow later used here [INFO] [stdout] ... [INFO] [stdout] 162 | worker_thread.execute(job); [INFO] [stdout] | ^^^ move out of `job` occurs here [INFO] [stdout] | [INFO] [stdout] note: if `job::JobRef` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/job.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub(super) struct JobRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/join/mod.rs:155:32 [INFO] [stdout] | [INFO] [stdout] 155 | if job_b_id == job.id() { [INFO] [stdout] | --- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rayon-core` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0505]: cannot move out of `job_b_ref` because it is borrowed [INFO] [stdout] --> src/join/mod.rs:139:28 [INFO] [stdout] | [INFO] [stdout] 137 | let job_b_ref = job_b.as_job_ref(); [INFO] [stdout] | --------- binding `job_b_ref` declared here [INFO] [stdout] 138 | let job_b_id = job_b_ref.id(); [INFO] [stdout] | --------- borrow of `job_b_ref` occurs here [INFO] [stdout] 139 | worker_thread.push(job_b_ref); [INFO] [stdout] | ^^^^^^^^^ move out of `job_b_ref` occurs here [INFO] [stdout] ... [INFO] [stdout] 155 | if job_b_id == job.id() { [INFO] [stdout] | -------- borrow later used here [INFO] [stdout] | [INFO] [stdout] note: if `job::JobRef` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/job.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub(super) struct JobRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/join/mod.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | let job_b_id = job_b_ref.id(); [INFO] [stdout] | --------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `job` does not live long enough [INFO] [stdout] --> src/join/mod.rs:155:32 [INFO] [stdout] | [INFO] [stdout] 154 | if let Some(job) = worker_thread.take_local_job() { [INFO] [stdout] | --- binding `job` declared here [INFO] [stdout] 155 | if job_b_id == job.id() { [INFO] [stdout] | -------- ^^^ borrowed value does not live long enough [INFO] [stdout] | | [INFO] [stdout] | borrow later used here [INFO] [stdout] ... [INFO] [stdout] 164 | } else { [INFO] [stdout] | - `job` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `job` because it is borrowed [INFO] [stdout] --> src/join/mod.rs:162:43 [INFO] [stdout] | [INFO] [stdout] 154 | if let Some(job) = worker_thread.take_local_job() { [INFO] [stdout] | --- binding `job` declared here [INFO] [stdout] 155 | if job_b_id == job.id() { [INFO] [stdout] | -------- --- borrow of `job` occurs here [INFO] [stdout] | | [INFO] [stdout] | borrow later used here [INFO] [stdout] ... [INFO] [stdout] 162 | worker_thread.execute(job); [INFO] [stdout] | ^^^ move out of `job` occurs here [INFO] [stdout] | [INFO] [stdout] note: if `job::JobRef` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/job.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub(super) struct JobRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/join/mod.rs:155:32 [INFO] [stdout] | [INFO] [stdout] 155 | if job_b_id == job.id() { [INFO] [stdout] | --- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rayon-core` (lib test) 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" "aed72637381596eccbdf0e196c1d1561596655c7766efa2e1f702d310e7bdfed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aed72637381596eccbdf0e196c1d1561596655c7766efa2e1f702d310e7bdfed", kill_on_drop: false }` [INFO] [stdout] aed72637381596eccbdf0e196c1d1561596655c7766efa2e1f702d310e7bdfed