[INFO] fetching crate pi_share 0.4.15... [INFO] checking pi_share-0.4.15 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate pi_share 0.4.15 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate pi_share 0.4.15 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pi_share 0.4.15 [INFO] finished tweaking crates.io crate pi_share 0.4.15 [INFO] tweaked toml for crates.io crate pi_share 0.4.15 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 580b517130acabcc554adc482a667210b22f6ff28eced0d743074917b1fe1d56 [INFO] running `Command { std: "docker" "start" "-a" "580b517130acabcc554adc482a667210b22f6ff28eced0d743074917b1fe1d56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "580b517130acabcc554adc482a667210b22f6ff28eced0d743074917b1fe1d56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "580b517130acabcc554adc482a667210b22f6ff28eced0d743074917b1fe1d56", kill_on_drop: false }` [INFO] [stdout] 580b517130acabcc554adc482a667210b22f6ff28eced0d743074917b1fe1d56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76d9adbedef10983541fe1570b5d3629d74c0a92cd86f31565ede0fc01255492 [INFO] running `Command { std: "docker" "start" "-a" "76d9adbedef10983541fe1570b5d3629d74c0a92cd86f31565ede0fc01255492", 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 pi_share v0.4.15 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] error[E0432]: unresolved import `core::ops::Receiver` [INFO] [stdout] --> src/xrc.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use core::ops::Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Receiver` in `ops` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 23 | use std::sync::mpmc::Receiver; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 23 | use std::sync::mpsc::Receiver; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_mut` in module `ptr` [INFO] [stdout] --> src/xrc.rs:2431:55 [INFO] [stdout] | [INFO] [stdout] 2431 | ptr: unsafe { NonNull::new_unchecked(ptr::invalid_mut::>(usize::MAX)) }, [INFO] [stdout] | ^^^^^^^^^^^ not found in `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_mut` in module `ptr` [INFO] [stdout] --> src/xrc.rs:2458:55 [INFO] [stdout] | [INFO] [stdout] 2458 | ptr: unsafe { NonNull::new_unchecked(ptr::invalid_mut::>(usize::MAX)) }, [INFO] [stdout] | ^^^^^^^^^^^ not found in `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cell.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | ($s:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 28 | ($s:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/xrc.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | ($x:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 63 | ($x:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `receiver_trait` [INFO] [stdout] --> src/lib.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | #![feature(receiver_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pi_share` (lib test) due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `core::ops::Receiver` [INFO] [stdout] --> src/xrc.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use core::ops::Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Receiver` in `ops` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 23 | use std::sync::mpmc::Receiver; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 23 | use std::sync::mpsc::Receiver; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_mut` in module `ptr` [INFO] [stdout] --> src/xrc.rs:2431:55 [INFO] [stdout] | [INFO] [stdout] 2431 | ptr: unsafe { NonNull::new_unchecked(ptr::invalid_mut::>(usize::MAX)) }, [INFO] [stdout] | ^^^^^^^^^^^ not found in `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_mut` in module `ptr` [INFO] [stdout] --> src/xrc.rs:2458:55 [INFO] [stdout] | [INFO] [stdout] 2458 | ptr: unsafe { NonNull::new_unchecked(ptr::invalid_mut::>(usize::MAX)) }, [INFO] [stdout] | ^^^^^^^^^^^ not found in `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cell.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | ($s:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 28 | ($s:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/xrc.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | ($x:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 63 | ($x:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `receiver_trait` [INFO] [stdout] --> src/lib.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | #![feature(receiver_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pi_share` (lib) due to 4 previous errors; 2 warnings emitted [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "76d9adbedef10983541fe1570b5d3629d74c0a92cd86f31565ede0fc01255492", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76d9adbedef10983541fe1570b5d3629d74c0a92cd86f31565ede0fc01255492", kill_on_drop: false }` [INFO] [stdout] 76d9adbedef10983541fe1570b5d3629d74c0a92cd86f31565ede0fc01255492