[INFO] fetching crate compiler_builtins 0.1.139... [INFO] checking compiler_builtins-0.1.139 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate compiler_builtins 0.1.139 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate compiler_builtins 0.1.139 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 compiler_builtins 0.1.139 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate compiler_builtins 0.1.139 [INFO] tweaked toml for crates.io crate compiler_builtins 0.1.139 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate compiler_builtins 0.1.139 already has a lockfile, it will not be regenerated [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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] c521cd8695e85fc2c416d34e5979f7530a5c4ee9319f17dd823eadcf5693784a [INFO] running `Command { std: "docker" "start" "-a" "c521cd8695e85fc2c416d34e5979f7530a5c4ee9319f17dd823eadcf5693784a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c521cd8695e85fc2c416d34e5979f7530a5c4ee9319f17dd823eadcf5693784a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c521cd8695e85fc2c416d34e5979f7530a5c4ee9319f17dd823eadcf5693784a", kill_on_drop: false }` [INFO] [stdout] c521cd8695e85fc2c416d34e5979f7530a5c4ee9319f17dd823eadcf5693784a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 492a2709b0d0a10ff1e4f434f18eb7d8f19960bb66bbee4ae42477c3b8d0d1b0 [INFO] running `Command { std: "docker" "start" "-a" "492a2709b0d0a10ff1e4f434f18eb7d8f19960bb66bbee4ae42477c3b8d0d1b0", 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 compiler_builtins v0.1.139 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/probestack.rs (2 fixes) [INFO] [stderr] Fixed src/int/big.rs (4 fixes) [INFO] [stderr] Fixed src/int/specialized_div_rem/asymmetric.rs (1 fix) [INFO] [stderr] Fixed src/int/specialized_div_rem/delegate.rs (1 fix) [INFO] [stderr] Fixed src/int/specialized_div_rem/trifecta.rs (1 fix) [INFO] [stderr] Fixed src/float/mod.rs (2 fixes) [INFO] [stderr] Fixed src/mem/x86_64.rs (6 fixes) [INFO] [stderr] Fixed src/macros.rs (3 fixes) [INFO] [stderr] Migrating examples/intrinsics.rs from 2021 edition to 2024 [INFO] [stdout] error[E0463]: can't find crate for `panic_handler` [INFO] [stdout] --> examples/intrinsics.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate panic_handler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> examples/intrinsics.rs:672:3 [INFO] [stdout] | [INFO] [stdout] 672 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 672 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> examples/intrinsics.rs:675:3 [INFO] [stdout] | [INFO] [stdout] 675 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 675 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> examples/intrinsics.rs:680:3 [INFO] [stdout] | [INFO] [stdout] 680 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 680 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> examples/intrinsics.rs:685:3 [INFO] [stdout] | [INFO] [stdout] 685 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 685 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> examples/intrinsics.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | extern "C" {} [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> examples/intrinsics.rs:630:5 [INFO] [stdout] | [INFO] [stdout] 630 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 631 | | fn rust_begin_unwind(x: usize); [INFO] [stdout] 632 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `compiler_builtins` (example "intrinsics") due to 2 previous errors; 6 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" "492a2709b0d0a10ff1e4f434f18eb7d8f19960bb66bbee4ae42477c3b8d0d1b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "492a2709b0d0a10ff1e4f434f18eb7d8f19960bb66bbee4ae42477c3b8d0d1b0", kill_on_drop: false }` [INFO] [stdout] 492a2709b0d0a10ff1e4f434f18eb7d8f19960bb66bbee4ae42477c3b8d0d1b0