[INFO] fetching crate cortex-m-rt 0.7.5... [INFO] checking cortex-m-rt-0.7.5 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate cortex-m-rt 0.7.5 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate cortex-m-rt 0.7.5 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] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate cortex-m-rt 0.7.5 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cortex-m-rt 0.7.5 [INFO] tweaked toml for crates.io crate cortex-m-rt 0.7.5 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate cortex-m-rt 0.7.5 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 085218a1340fbc7fd1d554b5624896be917755bfb90d0ad2d5436ed872608a0c [INFO] running `Command { std: "docker" "start" "-a" "085218a1340fbc7fd1d554b5624896be917755bfb90d0ad2d5436ed872608a0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "085218a1340fbc7fd1d554b5624896be917755bfb90d0ad2d5436ed872608a0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "085218a1340fbc7fd1d554b5624896be917755bfb90d0ad2d5436ed872608a0c", kill_on_drop: false }` [INFO] [stdout] 085218a1340fbc7fd1d554b5624896be917755bfb90d0ad2d5436ed872608a0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 6f640f594dd56e04de4d1415e29e3c6378ee2e296589b3283c217e3fd898c3f9 [INFO] running `Command { std: "docker" "start" "-a" "6f640f594dd56e04de4d1415e29e3c6378ee2e296589b3283c217e3fd898c3f9", 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 unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling serde v1.0.207 [INFO] [stderr] Compiling serde_json v1.0.124 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling compiletest_rs v0.11.0 [INFO] [stderr] Compiling cortex-m-rt v0.7.5 (/tmp/fixit) [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking cortex-m v0.7.7 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking filetime v0.2.22 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking tester v0.9.1 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling serde_derive v1.0.207 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.5 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/lib.rs (10 fixes) [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking rustfix v0.8.4 [INFO] [stderr] Migrating examples/data_overflow.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/unsafe-exception.rs from 2021 edition to 2024 [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cortex-m-rt` (example "data_overflow") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] Migrating examples/entry-static.rs from 2021 edition to 2024 [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cortex-m-rt` (example "unsafe-exception") due to 1 previous error [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/override-exception.rs from 2021 edition to 2024 [INFO] [stderr] error: could not compile `cortex-m-rt` (example "entry-static") due to 1 previous error [INFO] [stderr] Migrating examples/divergent-default-handler.rs from 2021 edition to 2024 [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cortex-m-rt` (example "override-exception") due to 1 previous error [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/unsafe-default-handler.rs from 2021 edition to 2024 [INFO] [stderr] error: could not compile `cortex-m-rt` (example "divergent-default-handler") due to 1 previous error [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/alignment.rs from 2021 edition to 2024 [INFO] [stderr] error: could not compile `cortex-m-rt` (example "unsafe-default-handler") due to 1 previous error [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/pre_init.rs from 2021 edition to 2024 [INFO] [stderr] error: could not compile `cortex-m-rt` (example "alignment") due to 1 previous error [INFO] [stderr] Migrating examples/qemu.rs from 2021 edition to 2024 [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cortex-m-rt` (example "pre_init") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_m_semihosting` [INFO] [stdout] --> examples/qemu.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | let mut hstdout = cortex_m_semihosting::hio::hstdout().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `cortex_m_semihosting` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/main.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_m_semihosting` [INFO] [stdout] --> examples/qemu.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | cortex_m_semihosting::debug::exit(cortex_m_semihosting::debug::EXIT_SUCCESS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `cortex_m_semihosting` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_m_semihosting` [INFO] [stdout] --> examples/qemu.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 23 | cortex_m_semihosting::debug::exit(cortex_m_semihosting::debug::EXIT_SUCCESS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `cortex_m_semihosting` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_m_semihosting` [INFO] [stdout] --> examples/qemu.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | cortex_m_semihosting::debug::exit(cortex_m_semihosting::debug::EXIT_FAILURE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `cortex_m_semihosting` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_m_semihosting` [INFO] [stdout] --> examples/qemu.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 32 | cortex_m_semihosting::debug::exit(cortex_m_semihosting::debug::EXIT_FAILURE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `cortex_m_semihosting` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cortex-m-rt` (example "qemu") due to 6 previous errors [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> examples/main.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[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] 10 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/cfg-static.rs from 2021 edition to 2024 [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cortex-m-rt` (example "main") due to 1 previous error; 1 warning emitted [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/minimal.rs from 2021 edition to 2024 [INFO] [stderr] error: could not compile `cortex-m-rt` (example "cfg-static") due to 1 previous error [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cortex-m-rt` (example "minimal") due to 1 previous error [INFO] [stderr] Migrating examples/divergent-exception.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/unsafe-entry.rs from 2021 edition to 2024 [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cortex-m-rt` (example "divergent-exception") due to 1 previous error [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/state.rs from 2021 edition to 2024 [INFO] [stderr] error: could not compile `cortex-m-rt` (example "unsafe-entry") due to 1 previous error [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cortex-m-rt` (example "state") due to 1 previous error [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" "6f640f594dd56e04de4d1415e29e3c6378ee2e296589b3283c217e3fd898c3f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f640f594dd56e04de4d1415e29e3c6378ee2e296589b3283c217e3fd898c3f9", kill_on_drop: false }` [INFO] [stdout] 6f640f594dd56e04de4d1415e29e3c6378ee2e296589b3283c217e3fd898c3f9