[INFO] fetching crate rustc-rayon-core 0.5.0... [INFO] checking rustc-rayon-core-0.5.0 against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125384-2 [INFO] extracting crate rustc-rayon-core 0.5.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate rustc-rayon-core 0.5.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 rustc-rayon-core 0.5.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rustc-rayon-core 0.5.0 [INFO] tweaked toml for crates.io crate rustc-rayon-core 0.5.0 written to /workspace/builds/worker-2-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 17 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" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 9587465ec2fe8d590f6b19adb3f14fc4de055f6310b77a79f5602dd92977bcec [INFO] running `Command { std: "docker" "start" "-a" "9587465ec2fe8d590f6b19adb3f14fc4de055f6310b77a79f5602dd92977bcec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9587465ec2fe8d590f6b19adb3f14fc4de055f6310b77a79f5602dd92977bcec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9587465ec2fe8d590f6b19adb3f14fc4de055f6310b77a79f5602dd92977bcec", kill_on_drop: false }` [INFO] [stdout] 9587465ec2fe8d590f6b19adb3f14fc4de055f6310b77a79f5602dd92977bcec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] a90062e76df5cca2ca01b2cfb9988395b0010b02a86988bf1306596d20105931 [INFO] running `Command { std: "docker" "start" "-a" "a90062e76df5cca2ca01b2cfb9988395b0010b02a86988bf1306596d20105931", kill_on_drop: false }` [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rustc-rayon-core v0.5.0 (/opt/rustwide/workdir) [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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.86s [INFO] running `Command { std: "docker" "inspect" "a90062e76df5cca2ca01b2cfb9988395b0010b02a86988bf1306596d20105931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a90062e76df5cca2ca01b2cfb9988395b0010b02a86988bf1306596d20105931", kill_on_drop: false }` [INFO] [stdout] a90062e76df5cca2ca01b2cfb9988395b0010b02a86988bf1306596d20105931 [INFO] checking rustc-rayon-core-0.5.0 against try#519d6e23a6cb73c4d0f295f71ad37db8e95c54ab for pr-125384-2 [INFO] extracting crate rustc-rayon-core 0.5.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate rustc-rayon-core 0.5.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 rustc-rayon-core 0.5.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rustc-rayon-core 0.5.0 [INFO] tweaked toml for crates.io crate rustc-rayon-core 0.5.0 written to /workspace/builds/worker-2-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 17 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" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 51c939736382c98ba24dc2c8336d92509fb20b6be6dcb32ae12339d4a60e1838 [INFO] running `Command { std: "docker" "start" "-a" "51c939736382c98ba24dc2c8336d92509fb20b6be6dcb32ae12339d4a60e1838", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51c939736382c98ba24dc2c8336d92509fb20b6be6dcb32ae12339d4a60e1838", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51c939736382c98ba24dc2c8336d92509fb20b6be6dcb32ae12339d4a60e1838", kill_on_drop: false }` [INFO] [stdout] 51c939736382c98ba24dc2c8336d92509fb20b6be6dcb32ae12339d4a60e1838 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 10a9684697514450b90b293b857b713a87513edd48d281c9ba095238c2679826 [INFO] running `Command { std: "docker" "start" "-a" "10a9684697514450b90b293b857b713a87513edd48d281c9ba095238c2679826", 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 getrandom v0.2.15 [INFO] [stderr] Checking rustc-rayon-core v0.5.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.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] Fixed src/scope/mod.rs (4 fixes) [INFO] [stderr] Fixed src/spawn/mod.rs (2 fixes) [INFO] [stderr] Fixed src/registry.rs (7 fixes) [INFO] [stderr] Fixed src/broadcast/mod.rs (1 fix) [INFO] [stderr] Fixed src/job.rs (9 fixes) [INFO] [stderr] Fixed src/join/mod.rs (1 fix) [INFO] [stderr] Fixed src/latch.rs (7 fixes) [INFO] [stderr] Migrating tests/scope_join.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/double_init_fail.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/init_zero_threads.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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.58s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking rustc-rayon-core v0.5.0 (/tmp/fixit) [INFO] [stdout] error[E0505]: cannot move out of `job_b_ref` because it is borrowed [INFO] [stdout] --> src/join/mod.rs:141:28 [INFO] [stdout] | [INFO] [stdout] 139 | let job_b_ref = job_b.as_job_ref(); [INFO] [stdout] | --------- binding `job_b_ref` declared here [INFO] [stdout] 140 | let job_b_id = job_b_ref.id(); [INFO] [stdout] | --------- borrow of `job_b_ref` occurs here [INFO] [stdout] 141 | worker_thread.push(job_b_ref); [INFO] [stdout] | ^^^^^^^^^ move out of `job_b_ref` occurs here [INFO] [stdout] ... [INFO] [stdout] 157 | 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:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub(super) struct JobRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/join/mod.rs:140:24 [INFO] [stdout] | [INFO] [stdout] 140 | 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:157:32 [INFO] [stdout] | [INFO] [stdout] 156 | if let Some(job) = worker_thread.take_local_job() { [INFO] [stdout] | --- binding `job` declared here [INFO] [stdout] 157 | 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] 170 | } 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:168:43 [INFO] [stdout] | [INFO] [stdout] 156 | if let Some(job) = worker_thread.take_local_job() { [INFO] [stdout] | --- binding `job` declared here [INFO] [stdout] 157 | 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] 168 | 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:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub(super) struct JobRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/join/mod.rs:157:32 [INFO] [stdout] | [INFO] [stdout] 157 | 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 `rustc-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:141:28 [INFO] [stdout] | [INFO] [stdout] 139 | let job_b_ref = job_b.as_job_ref(); [INFO] [stdout] | --------- binding `job_b_ref` declared here [INFO] [stdout] 140 | let job_b_id = job_b_ref.id(); [INFO] [stdout] | --------- borrow of `job_b_ref` occurs here [INFO] [stdout] 141 | worker_thread.push(job_b_ref); [INFO] [stdout] | ^^^^^^^^^ move out of `job_b_ref` occurs here [INFO] [stdout] ... [INFO] [stdout] 157 | 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:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub(super) struct JobRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/join/mod.rs:140:24 [INFO] [stdout] | [INFO] [stdout] 140 | 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:157:32 [INFO] [stdout] | [INFO] [stdout] 156 | if let Some(job) = worker_thread.take_local_job() { [INFO] [stdout] | --- binding `job` declared here [INFO] [stdout] 157 | 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] 170 | } 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:168:43 [INFO] [stdout] | [INFO] [stdout] 156 | if let Some(job) = worker_thread.take_local_job() { [INFO] [stdout] | --- binding `job` declared here [INFO] [stdout] 157 | 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] 168 | 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:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub(super) struct JobRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/join/mod.rs:157:32 [INFO] [stdout] | [INFO] [stdout] 157 | 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 `rustc-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" "10a9684697514450b90b293b857b713a87513edd48d281c9ba095238c2679826", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10a9684697514450b90b293b857b713a87513edd48d281c9ba095238c2679826", kill_on_drop: false }` [INFO] [stdout] 10a9684697514450b90b293b857b713a87513edd48d281c9ba095238c2679826