[INFO] cloning repository https://github.com/fudanchii/blinky-stm32f401x [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fudanchii/blinky-stm32f401x" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffudanchii%2Fblinky-stm32f401x", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffudanchii%2Fblinky-stm32f401x'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 467c5b833d48938521113d2845b00fc338d4d280 [INFO] checking fudanchii/blinky-stm32f401x against try#81ab7f2139295590561adbe6d5b0aaa2feff765f for pr-146470-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffudanchii%2Fblinky-stm32f401x" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/fudanchii/blinky-stm32f401x [INFO] finished tweaking git repo https://github.com/fudanchii/blinky-stm32f401x [INFO] tweaked toml for git repo https://github.com/fudanchii/blinky-stm32f401x written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fudanchii/blinky-stm32f401x on toolchain 81ab7f2139295590561adbe6d5b0aaa2feff765f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fudanchii/blinky-stm32f401x 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" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/fudanchii/stm32f401x` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking fudanchii/blinky-stm32f401x against try#81ab7f2139295590561adbe6d5b0aaa2feff765f for pr-146470-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffudanchii%2Fblinky-stm32f401x" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/fudanchii/blinky-stm32f401x [INFO] finished tweaking git repo https://github.com/fudanchii/blinky-stm32f401x [INFO] tweaked toml for git repo https://github.com/fudanchii/blinky-stm32f401x written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fudanchii/blinky-stm32f401x on toolchain 81ab7f2139295590561adbe6d5b0aaa2feff765f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fudanchii/blinky-stm32f401x 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" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5edcc53ff6435e132183e6b058a3a2548cbbdb75c318235bf5c81f018fcabbe [INFO] running `Command { std: "docker" "start" "-a" "f5edcc53ff6435e132183e6b058a3a2548cbbdb75c318235bf5c81f018fcabbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5edcc53ff6435e132183e6b058a3a2548cbbdb75c318235bf5c81f018fcabbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5edcc53ff6435e132183e6b058a3a2548cbbdb75c318235bf5c81f018fcabbe", kill_on_drop: false }` [INFO] [stdout] f5edcc53ff6435e132183e6b058a3a2548cbbdb75c318235bf5c81f018fcabbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30e79249a3e51ccecaf7cd3a6972565c10cd3b44ba1b82a9026452209a16b56c [INFO] running `Command { std: "docker" "start" "-a" "30e79249a3e51ccecaf7cd3a6972565c10cd3b44ba1b82a9026452209a16b56c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling stm32f401x v0.1.0 (https://github.com/fudanchii/stm32f401x#4d6f2403) [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/stm32f401x-7ef269abc9c8b9a2/4d6f240/src/lib.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe { asm!("nop"); } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 12 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/stm32f401x-7ef269abc9c8b9a2/4d6f240/src/lib.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 21 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/stm32f401x-7ef269abc9c8b9a2/4d6f240/src/lib.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 22 | #[no_mangle] [INFO] [stdout] 23 | #[inline(always)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/stm32f401x-7ef269abc9c8b9a2/4d6f240/src/lib.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 28 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/stm32f401x-7ef269abc9c8b9a2/4d6f240/src/lib.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 29 | #[no_mangle] [INFO] [stdout] 30 | #[inline(never)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/stm32f401x-7ef269abc9c8b9a2/4d6f240/src/lib.rs:73:3 [INFO] [stdout] | [INFO] [stdout] 73 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 73 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/stm32f401x-7ef269abc9c8b9a2/4d6f240/src/lib.rs:75:3 [INFO] [stdout] | [INFO] [stdout] 73 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 74 | #[no_mangle] [INFO] [stdout] 75 | #[inline(never)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/stm32f401x-7ef269abc9c8b9a2/4d6f240/src/lib.rs:91:3 [INFO] [stdout] | [INFO] [stdout] 91 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 91 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/stm32f401x-7ef269abc9c8b9a2/4d6f240/src/lib.rs:93:3 [INFO] [stdout] | [INFO] [stdout] 91 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 92 | #[no_mangle] [INFO] [stdout] 93 | #[inline(never)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/stm32f401x-7ef269abc9c8b9a2/4d6f240/src/lib.rs:118:3 [INFO] [stdout] | [INFO] [stdout] 118 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 118 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/stm32f401x-7ef269abc9c8b9a2/4d6f240/src/lib.rs:129:3 [INFO] [stdout] | [INFO] [stdout] 129 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 129 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/stm32f401x-7ef269abc9c8b9a2/4d6f240/src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn nop() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #138997 for more information [INFO] [stdout] = help: add `#![feature(naked_functions_rustic_abi)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-12-10; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: naked functions must contain a single `naked_asm!` invocation [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/stm32f401x-7ef269abc9c8b9a2/4d6f240/src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub unsafe extern "C" fn system_init() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | (*RCC).APB1ENR |= RCC_APB1LPENR_PWRLPEN; [INFO] [stdout] | ---------------------------------------- not allowed in naked functions [INFO] [stdout] 33 | (*PWR).CR |= PWR_CR_VOS_1; [INFO] [stdout] | -------------------------- not allowed in naked functions [INFO] [stdout] 34 | [INFO] [stdout] 35 | / while (&(*RCC).CR & RCC_CR_HSIRDY) == 0 { [INFO] [stdout] 36 | | nop(); [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____- not allowed in naked functions [INFO] [stdout] 38 | [INFO] [stdout] 39 | (*PWR).CR |= (16 << 3) as u32; [INFO] [stdout] | ------------------------------ not allowed in naked functions [INFO] [stdout] 40 | (*RCC).CR &= !RCC_CR_PLLON; [INFO] [stdout] | --------------------------- not allowed in naked functions [INFO] [stdout] 41 | [INFO] [stdout] 42 | / while (&(*RCC).CR & RCC_CR_PLLRDY) != 0 { [INFO] [stdout] 43 | | nop(); [INFO] [stdout] 44 | | } [INFO] [stdout] | |_____- not allowed in naked functions [INFO] [stdout] 45 | [INFO] [stdout] 46 | / (*RCC).PLLCFGR = 0x2000000 as u32 [INFO] [stdout] 47 | | | ((7 as u32) << 24) [INFO] [stdout] 48 | | | ((1 as u32) << 16) [INFO] [stdout] 49 | | | ((336 as u32) << 6) [INFO] [stdout] 50 | | | ((16 as u32) << 0); [INFO] [stdout] | |_____________________________- not allowed in naked functions [INFO] [stdout] 51 | [INFO] [stdout] 52 | (*RCC).CR |= RCC_CR_PLLON; [INFO] [stdout] | -------------------------- not allowed in naked functions [INFO] [stdout] 53 | [INFO] [stdout] 54 | / while (&(*RCC).CR & RCC_CR_PLLRDY) == 0 { [INFO] [stdout] 55 | | nop(); [INFO] [stdout] 56 | | } [INFO] [stdout] | |_____- not allowed in naked functions [INFO] [stdout] 57 | [INFO] [stdout] 58 | (*FLASH).ACR |= FLASH_ACR_ICEN | FLASH_ACR_PRFTEN | FLASH_ACR_LATENCY_2WS; [INFO] [stdout] | -------------------------------------------------------------------------- not allowed in naked functions [INFO] [stdout] 59 | [INFO] [stdout] 60 | (*RCC).CFGR |= RCC_CFGR_SW_PLL; [INFO] [stdout] | ------------------------------- not allowed in naked functions [INFO] [stdout] 61 | [INFO] [stdout] 62 | / while (&(*RCC).CFGR & RCC_CFGR_SWS_PLL) != RCC_CFGR_SWS_PLL { [INFO] [stdout] 63 | | nop(); [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____- not allowed in naked functions [INFO] [stdout] 65 | [INFO] [stdout] 66 | (*RCC).CFGR &= !RCC_CFGR_HPRE; [INFO] [stdout] | ------------------------------ not allowed in naked functions [INFO] [stdout] 67 | (*RCC).CFGR |= RCC_CFGR_PPRE1_DIV2; [INFO] [stdout] | ----------------------------------- not allowed in naked functions [INFO] [stdout] 68 | (*RCC).CFGR &= !RCC_CFGR_PPRE2; [INFO] [stdout] | ------------------------------- not allowed in naked functions [INFO] [stdout] 69 | [INFO] [stdout] 70 | (*DBGMCU).CR |= DBGMCU_CR_DBG_SLEEP | DBGMCU_CR_DBG_STANDBY | DBGMCU_CR_DBG_STOP; [INFO] [stdout] | --------------------------------------------------------------------------------- not allowed in naked functions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: naked functions must contain a single `naked_asm!` invocation [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/stm32f401x-7ef269abc9c8b9a2/4d6f240/src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | pub unsafe extern "C" fn zero_bss() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | let mut bss: *mut _ = &mut __bss_start__; [INFO] [stdout] | ----------------------------------------- not allowed in naked functions [INFO] [stdout] 83 | let ebss: *mut _ = &mut __bss_end__; [INFO] [stdout] | ------------------------------------ not allowed in naked functions [INFO] [stdout] 84 | [INFO] [stdout] 85 | / while bss < ebss { [INFO] [stdout] 86 | | ptr::write_volatile(bss, mem::zeroed()); [INFO] [stdout] 87 | | bss = bss.offset(1); [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____- not allowed in naked functions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: naked functions must contain a single `naked_asm!` invocation [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/stm32f401x-7ef269abc9c8b9a2/4d6f240/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub unsafe extern "C" fn init_data() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | let mut data: *mut _ = &mut __data_start__; [INFO] [stdout] | ------------------------------------------- not allowed in naked functions [INFO] [stdout] 103 | let edata: *mut _ = &mut __data_end__; [INFO] [stdout] | -------------------------------------- not allowed in naked functions [INFO] [stdout] 104 | let mut sidata: *mut _ = &mut __etext; [INFO] [stdout] | -------------------------------------- not allowed in naked functions [INFO] [stdout] 105 | [INFO] [stdout] 106 | / while data < edata { [INFO] [stdout] 107 | | ptr::write(data, ptr::read(sidata)); [INFO] [stdout] 108 | | data = data.offset(1); [INFO] [stdout] 109 | | sidata = sidata.offset(1); [INFO] [stdout] 110 | | } [INFO] [stdout] | |_____- not allowed in naked functions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: naked functions must contain a single `naked_asm!` invocation [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/stm32f401x-7ef269abc9c8b9a2/4d6f240/src/lib.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | pub unsafe extern "C" fn reset_handler() -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 121 | zero_bss(); [INFO] [stdout] | ----------- not allowed in naked functions [INFO] [stdout] 122 | init_data(); [INFO] [stdout] | ------------ not allowed in naked functions [INFO] [stdout] 123 | system_init(); [INFO] [stdout] | -------------- not allowed in naked functions [INFO] [stdout] 124 | main() [INFO] [stdout] | ------ not allowed in naked functions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: naked functions must contain a single `naked_asm!` invocation [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/stm32f401x-7ef269abc9c8b9a2/4d6f240/src/lib.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | pub unsafe extern "C" fn default_handler() -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 132 | loop {} [INFO] [stdout] | ------- not allowed in naked functions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0658, E0736, E0787. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32f401x` (lib) due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "30e79249a3e51ccecaf7cd3a6972565c10cd3b44ba1b82a9026452209a16b56c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30e79249a3e51ccecaf7cd3a6972565c10cd3b44ba1b82a9026452209a16b56c", kill_on_drop: false }` [INFO] [stdout] 30e79249a3e51ccecaf7cd3a6972565c10cd3b44ba1b82a9026452209a16b56c