[INFO] cloning repository https://github.com/fudanchii/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/stm32f401x" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffudanchii%2Fstm32f401x", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffudanchii%2Fstm32f401x'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 21f930b393d5c62a80d0e40dd5dac8509bc41db2 [INFO] checking fudanchii/stm32f401x against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffudanchii%2Fstm32f401x" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/fudanchii/stm32f401x [INFO] finished tweaking git repo https://github.com/fudanchii/stm32f401x [INFO] tweaked toml for git repo https://github.com/fudanchii/stm32f401x written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fudanchii/stm32f401x on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fudanchii/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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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] 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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebde44adf6afbb3735677327f7b0336207d398804e7799c103d46b6936b277b6 [INFO] running `Command { std: "docker" "start" "-a" "ebde44adf6afbb3735677327f7b0336207d398804e7799c103d46b6936b277b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebde44adf6afbb3735677327f7b0336207d398804e7799c103d46b6936b277b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebde44adf6afbb3735677327f7b0336207d398804e7799c103d46b6936b277b6", kill_on_drop: false }` [INFO] [stdout] ebde44adf6afbb3735677327f7b0336207d398804e7799c103d46b6936b277b6 [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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a569e3eebb7f56b0133323306019d0eb322cc48053c3be9da0e112afa5933c05 [INFO] running `Command { std: "docker" "start" "-a" "a569e3eebb7f56b0133323306019d0eb322cc48053c3be9da0e112afa5933c05", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking nb v0.1.1 [INFO] [stderr] Compiling stm32f401x v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking embedded-hal v0.2.1 [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/peripherals/dbgmcu.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 40 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/peripherals/dbgmcu.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 40 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/peripherals/embedded_flash.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 9 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/peripherals/pwr.rs:86:7 [INFO] [stdout] | [INFO] [stdout] 86 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/peripherals/embedded_flash.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 9 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/peripherals/pwr.rs:86:7 [INFO] [stdout] | [INFO] [stdout] 86 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 86 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/peripherals/rcc.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 12 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/peripherals/rcc.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 18 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/peripherals/rcc.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 30 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/peripherals/rcc.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 12 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/peripherals/rcc.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 42 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 42 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/peripherals/rcc.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 18 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/peripherals/rcc.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 70 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/peripherals/rcc.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 30 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/peripherals/rcc.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: unsafe attribute used without unsafe [INFO] [stdout] --> src/peripherals/rcc.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 42 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 42 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/peripherals/rcc.rs:101:7 [INFO] [stdout] | [INFO] [stdout] 101 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 101 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/peripherals/rcc.rs:109:7 [INFO] [stdout] | [INFO] [stdout] 109 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 109 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/peripherals/rcc.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 70 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/peripherals/rcc.rs:117:7 [INFO] [stdout] | [INFO] [stdout] 117 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 117 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/peripherals/rcc.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: unsafe attribute used without unsafe [INFO] [stdout] --> src/peripherals/rcc.rs:125:7 [INFO] [stdout] | [INFO] [stdout] 125 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 125 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/peripherals/rcc.rs:101:7 [INFO] [stdout] | [INFO] [stdout] 101 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 101 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/peripherals/rcc.rs:133:7 [INFO] [stdout] | [INFO] [stdout] 133 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 133 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/peripherals/rcc.rs:109:7 [INFO] [stdout] | [INFO] [stdout] 109 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 109 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/peripherals/rcc.rs:141:7 [INFO] [stdout] | [INFO] [stdout] 141 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 141 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/peripherals/rcc.rs:117:7 [INFO] [stdout] | [INFO] [stdout] 117 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 117 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/peripherals/rcc.rs:154:7 [INFO] [stdout] | [INFO] [stdout] 154 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 154 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/peripherals/rcc.rs:125:7 [INFO] [stdout] | [INFO] [stdout] 125 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 125 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/peripherals/rcc.rs:133:7 [INFO] [stdout] | [INFO] [stdout] 133 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 133 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/peripherals/rcc.rs:141:7 [INFO] [stdout] | [INFO] [stdout] 141 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 141 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/peripherals/rcc.rs:154:7 [INFO] [stdout] | [INFO] [stdout] 154 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 154 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 25 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:65:3 [INFO] [stdout] | [INFO] [stdout] 65 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 65 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:83:3 [INFO] [stdout] | [INFO] [stdout] 83 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 83 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:110:3 [INFO] [stdout] | [INFO] [stdout] 110 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 110 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:121:3 [INFO] [stdout] | [INFO] [stdout] 121 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 121 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 25 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:65:3 [INFO] [stdout] | [INFO] [stdout] 65 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 65 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:83:3 [INFO] [stdout] | [INFO] [stdout] 83 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 83 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:110:3 [INFO] [stdout] | [INFO] [stdout] 110 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 110 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:121:3 [INFO] [stdout] | [INFO] [stdout] 121 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 121 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/asm.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | asm!("nop"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/asm.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | asm!("bkpt"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/asm.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | asm!("nop"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/peripherals/embedded_flash.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | asm!("nop"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/asm.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | asm!("bkpt"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/peripherals/rcc.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | asm!("nop"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/peripherals/embedded_flash.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | asm!("nop"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/peripherals/rcc.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | asm!("nop"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/peripherals/rcc.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | asm!("nop"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/peripherals/rcc.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | asm!("nop"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/lib.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | asm!("bkpt"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `asm` is in scope, but it is a module, not a macro [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 14 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/peripherals/rcc.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | asm!("nop"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/peripherals/rcc.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | asm!("nop"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/lib.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | asm!("bkpt"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `asm` is in scope, but it is a module, not a macro [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 14 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/peripherals/dbgmcu.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 40 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 41 | #[inline(always)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/peripherals/embedded_flash.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 10 | #[inline(always)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/peripherals/pwr.rs:87:7 [INFO] [stdout] | [INFO] [stdout] 86 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 87 | #[inline(always)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/peripherals/rcc.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 13 | #[inline(always)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/peripherals/rcc.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 19 | #[inline(always)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/peripherals/rcc.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 31 | #[inline(always)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/peripherals/rcc.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 42 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 43 | #[inline(always)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/peripherals/rcc.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 70 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 71 | #[inline(always)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/peripherals/rcc.rs:92:3 [INFO] [stdout] | [INFO] [stdout] 91 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 92 | #[inline(always)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/peripherals/rcc.rs:102:7 [INFO] [stdout] | [INFO] [stdout] 101 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 102 | #[inline(always)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/peripherals/rcc.rs:110:7 [INFO] [stdout] | [INFO] [stdout] 109 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 110 | #[inline(always)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/peripherals/rcc.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 117 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 118 | #[inline(always)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/peripherals/rcc.rs:126:7 [INFO] [stdout] | [INFO] [stdout] 125 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 126 | #[inline(always)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/peripherals/rcc.rs:134:7 [INFO] [stdout] | [INFO] [stdout] 133 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 134 | #[inline(always)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/peripherals/rcc.rs:142:7 [INFO] [stdout] | [INFO] [stdout] 141 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 142 | #[inline(always)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/peripherals/rcc.rs:155:7 [INFO] [stdout] | [INFO] [stdout] 154 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 155 | #[inline(always)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/lib.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 25 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 26 | #[no_mangle] [INFO] [stdout] 27 | #[inline(never)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/lib.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 65 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 66 | #[no_mangle] [INFO] [stdout] 67 | #[inline(never)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/lib.rs:85:3 [INFO] [stdout] | [INFO] [stdout] 83 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 84 | #[no_mangle] [INFO] [stdout] 85 | #[inline(never)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/peripherals/dbgmcu.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 40 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 41 | #[inline(always)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/peripherals/embedded_flash.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 10 | #[inline(always)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/peripherals/pwr.rs:87:7 [INFO] [stdout] | [INFO] [stdout] 86 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 87 | #[inline(always)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/peripherals/rcc.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 13 | #[inline(always)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/lib.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | #[inline(never)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/peripherals/rcc.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 19 | #[inline(always)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/peripherals/rcc.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 31 | #[inline(always)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/peripherals/rcc.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 42 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 43 | #[inline(always)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/peripherals/rcc.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 70 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 71 | #[inline(always)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/peripherals/rcc.rs:92:3 [INFO] [stdout] | [INFO] [stdout] 91 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 92 | #[inline(always)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/peripherals/rcc.rs:102:7 [INFO] [stdout] | [INFO] [stdout] 101 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 102 | #[inline(always)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/peripherals/rcc.rs:110:7 [INFO] [stdout] | [INFO] [stdout] 109 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 110 | #[inline(always)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/peripherals/rcc.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 117 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 118 | #[inline(always)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/peripherals/rcc.rs:126:7 [INFO] [stdout] | [INFO] [stdout] 125 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 126 | #[inline(always)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/peripherals/rcc.rs:134:7 [INFO] [stdout] | [INFO] [stdout] 133 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 134 | #[inline(always)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/peripherals/rcc.rs:142:7 [INFO] [stdout] | [INFO] [stdout] 141 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 142 | #[inline(always)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/peripherals/rcc.rs:155:7 [INFO] [stdout] | [INFO] [stdout] 154 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 155 | #[inline(always)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `naked_functions` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(naked_functions)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `used` has been stable since 1.30.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(used)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(asm)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/peripherals/dbgmcu.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / pub fn set( [INFO] [stdout] 43 | | tr: TraceMode, [INFO] [stdout] 44 | | io: TraceIO, [INFO] [stdout] 45 | | dbgstandby: DebugStandby, [INFO] [stdout] 46 | | dbgstop: DebugStop, [INFO] [stdout] 47 | | dbgsleep: DebugSleep, [INFO] [stdout] 48 | | ) { [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-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/peripherals/embedded_flash.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn setup() { [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-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/peripherals/pwr.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | / pub fn set( [INFO] [stdout] 89 | | vos: VOS, [INFO] [stdout] 90 | | adcdc1: ADCDC1, [INFO] [stdout] 91 | | mrlvds: MRLVDS, [INFO] [stdout] ... | [INFO] [stdout] 100 | | lpds: LPDS, [INFO] [stdout] 101 | | ) { [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-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/peripherals/rcc.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn hsi_ready() -> bool { [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-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/peripherals/rcc.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn disable_pll() { [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-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/peripherals/rcc.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn enable_pll() { [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-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/peripherals/rcc.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn use_pll() { [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-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/peripherals/rcc.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn config_pll(input: InputClock) { [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-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/peripherals/rcc.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn pll_ready() -> bool { [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-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/peripherals/rcc.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn enable_gpioa() { [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-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/peripherals/rcc.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn enable_gpiob() { [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-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/peripherals/rcc.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn enable_gpioc() { [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-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/peripherals/rcc.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn enable_gpiod() { [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-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/peripherals/rcc.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn enable_gpioe() { [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-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/peripherals/rcc.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn enable_gpioh() { [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-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/peripherals/rcc.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn enable_pwr() { [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-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/lib.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 25 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 26 | #[no_mangle] [INFO] [stdout] 27 | #[inline(never)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/lib.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 65 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 66 | #[no_mangle] [INFO] [stdout] 67 | #[inline(never)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0736]: attribute incompatible with `#[unsafe(naked)]` [INFO] [stdout] --> src/lib.rs:85:3 [INFO] [stdout] | [INFO] [stdout] 83 | #[naked] [INFO] [stdout] | -------- function marked with `#[unsafe(naked)]` here [INFO] [stdout] 84 | #[no_mangle] [INFO] [stdout] 85 | #[inline(never)] [INFO] [stdout] | ^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/lib.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | #[inline(never)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `naked_functions` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(naked_functions)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `used` has been stable since 1.30.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(used)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(asm)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/peripherals/dbgmcu.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / pub fn set( [INFO] [stdout] 43 | | tr: TraceMode, [INFO] [stdout] 44 | | io: TraceIO, [INFO] [stdout] 45 | | dbgstandby: DebugStandby, [INFO] [stdout] 46 | | dbgstop: DebugStop, [INFO] [stdout] 47 | | dbgsleep: DebugSleep, [INFO] [stdout] 48 | | ) { [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-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/peripherals/embedded_flash.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn setup() { [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-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/peripherals/pwr.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | / pub fn set( [INFO] [stdout] 89 | | vos: VOS, [INFO] [stdout] 90 | | adcdc1: ADCDC1, [INFO] [stdout] 91 | | mrlvds: MRLVDS, [INFO] [stdout] ... | [INFO] [stdout] 100 | | lpds: LPDS, [INFO] [stdout] 101 | | ) { [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-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/peripherals/rcc.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn hsi_ready() -> bool { [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-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/peripherals/rcc.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn disable_pll() { [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-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/peripherals/rcc.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn enable_pll() { [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-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/peripherals/rcc.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn use_pll() { [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-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/peripherals/rcc.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn config_pll(input: InputClock) { [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-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/peripherals/rcc.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn pll_ready() -> bool { [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-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/peripherals/rcc.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn enable_gpioa() { [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-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/peripherals/rcc.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn enable_gpiob() { [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-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/peripherals/rcc.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn enable_gpioc() { [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-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/peripherals/rcc.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn enable_gpiod() { [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-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/peripherals/rcc.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn enable_gpioe() { [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-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/peripherals/rcc.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn enable_gpioh() { [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-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `#[naked]` is currently unstable on `extern "Rust"` functions [INFO] [stdout] --> src/peripherals/rcc.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn enable_pwr() { [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-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/dbgmcu.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | (*DBGMCU).CR = (tr as u32) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/dbgmcu.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | | (io as u32) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/dbgmcu.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | | (dbgstandby as u32) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/dbgmcu.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | | (dbgstop as u32) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/dbgmcu.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | | (dbgsleep as u32); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: naked functions must contain a single `naked_asm!` invocation [INFO] [stdout] --> src/peripherals/dbgmcu.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / pub fn set( [INFO] [stdout] 43 | | tr: TraceMode, [INFO] [stdout] 44 | | io: TraceIO, [INFO] [stdout] 45 | | dbgstandby: DebugStandby, [INFO] [stdout] 46 | | dbgstop: DebugStop, [INFO] [stdout] 47 | | dbgsleep: DebugSleep, [INFO] [stdout] 48 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] 49 | unsafe { [INFO] [stdout] 50 | / (*DBGMCU).CR = (tr as u32) [INFO] [stdout] 51 | | | (io as u32) [INFO] [stdout] 52 | | | (dbgstandby as u32) [INFO] [stdout] 53 | | | (dbgstop as u32) [INFO] [stdout] 54 | | | (dbgsleep as u32); [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] --> src/peripherals/embedded_flash.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn setup() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 12 | unsafe { [INFO] [stdout] 13 | (*FLASH).ACR |= FLASH_ACR_ICEN | FLASH_ACR_PRFTEN | FLASH_ACR_LATENCY_2WS; [INFO] [stdout] | -------------------------------------------------------------------------- not allowed in naked functions [INFO] [stdout] 14 | / while ((*FLASH).ACR & FLASH_ACR_LATENCY_2WS) != FLASH_ACR_LATENCY_2WS { [INFO] [stdout] 15 | | asm!("nop"); [INFO] [stdout] 16 | | } [INFO] [stdout] | |_________- not allowed in naked functions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/pwr.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | (*PWR).CR |= (vos as u32) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/pwr.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | | (adcdc1 as u32) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/pwr.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | | (mrlvds as u32) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/pwr.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | | (lplvds as u32) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/pwr.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | | (fpds as u32) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/pwr.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | | (dbp as u32) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/pwr.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | | (pls as u32) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/pwr.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | | (pvde as u32) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/pwr.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | | (csbf as u32) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/pwr.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | | (cwuf as u32) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/pwr.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | | (pdds as u32) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/pwr.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | | (lpds as u32); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: naked functions must contain a single `naked_asm!` invocation [INFO] [stdout] --> src/peripherals/pwr.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | / pub fn set( [INFO] [stdout] 89 | | vos: VOS, [INFO] [stdout] 90 | | adcdc1: ADCDC1, [INFO] [stdout] 91 | | mrlvds: MRLVDS, [INFO] [stdout] ... | [INFO] [stdout] 100 | | lpds: LPDS, [INFO] [stdout] 101 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] 102 | unsafe { [INFO] [stdout] 103 | / (*PWR).CR |= (vos as u32) [INFO] [stdout] 104 | | | (adcdc1 as u32) [INFO] [stdout] 105 | | | (mrlvds as u32) [INFO] [stdout] 106 | | | (lplvds as u32) [INFO] [stdout] ... | [INFO] [stdout] 113 | | | (pdds as u32) [INFO] [stdout] 114 | | | (lpds as u32); [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] --> src/peripherals/rcc.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn hsi_ready() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | unsafe { ((*RCC).CR & RCC_CR_HSIRDY) == RCC_CR_HSIRDY } [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] --> src/peripherals/rcc.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn disable_pll() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | unsafe { [INFO] [stdout] 22 | (*RCC).CR &= !RCC_CR_PLLON; [INFO] [stdout] | --------------------------- not allowed in naked functions [INFO] [stdout] 23 | [INFO] [stdout] 24 | / while pll_ready() { [INFO] [stdout] 25 | | asm!("nop"); [INFO] [stdout] 26 | | } [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] --> src/peripherals/rcc.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn enable_pll() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | unsafe { [INFO] [stdout] 34 | (*RCC).CR |= RCC_CR_PLLON; [INFO] [stdout] | -------------------------- not allowed in naked functions [INFO] [stdout] 35 | [INFO] [stdout] 36 | / while !pll_ready() { [INFO] [stdout] 37 | | asm!("nop"); [INFO] [stdout] 38 | | } [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] --> src/peripherals/rcc.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn use_pll() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | embedded_flash::setup(); [INFO] [stdout] | ------------------------ not allowed in naked functions [INFO] [stdout] ... [INFO] [stdout] 49 | (*RCC).CFGR |= RCC_CFGR_SW_PLL; [INFO] [stdout] | ------------------------------- not allowed in naked functions [INFO] [stdout] ... [INFO] [stdout] 52 | / while (&(*RCC).CFGR & RCC_CFGR_SWS_PLL) != RCC_CFGR_SWS_PLL { [INFO] [stdout] 53 | | asm!("nop"); [INFO] [stdout] 54 | | } [INFO] [stdout] | |_________- not allowed in naked functions [INFO] [stdout] ... [INFO] [stdout] 57 | (*RCC).CFGR &= !RCC_CFGR_HPRE; [INFO] [stdout] | ------------------------------ not allowed in naked functions [INFO] [stdout] ... [INFO] [stdout] 60 | (*RCC).CFGR |= RCC_CFGR_PPRE1_DIV2; [INFO] [stdout] | ----------------------------------- not allowed in naked functions [INFO] [stdout] ... [INFO] [stdout] 63 | (*RCC).CFGR &= !RCC_CFGR_PPRE2; [INFO] [stdout] | ------------------------------- not allowed in naked functions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/rcc.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 76 | let f_pll_input = match input { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/rcc.rs:87:46 [INFO] [stdout] | [INFO] [stdout] 87 | (*RCC).PLLCFGR = (q << 24) as u32 | (input as u32) | (p << 16) as u32 | (n << 6) as u32 | m; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: naked functions must contain a single `naked_asm!` invocation [INFO] [stdout] --> src/peripherals/rcc.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn config_pll(input: InputClock) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | / let f_pll_input = match input { [INFO] [stdout] 77 | | InputClock::HSI => 16, [INFO] [stdout] 78 | | InputClock::HSE => 8, [INFO] [stdout] 79 | | }; [INFO] [stdout] | |______- not allowed in naked functions [INFO] [stdout] 80 | let n: u32 = 336; [INFO] [stdout] | ----------------- not allowed in naked functions [INFO] [stdout] 81 | let m = &f_pll_input; [INFO] [stdout] | --------------------- not allowed in naked functions [INFO] [stdout] 82 | let f_vco = &f_pll_input * (&n / m); [INFO] [stdout] | ------------------------------------ not allowed in naked functions [INFO] [stdout] 83 | let p = &f_vco / f_pll; [INFO] [stdout] | ----------------------- not allowed in naked functions [INFO] [stdout] 84 | let q = &f_vco / f_peripherals; [INFO] [stdout] | ------------------------------- not allowed in naked functions [INFO] [stdout] ... [INFO] [stdout] 87 | (*RCC).PLLCFGR = (q << 24) as u32 | (input as u32) | (p << 16) as u32 | (n << 6) as u32 | m; [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] --> src/peripherals/rcc.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn pll_ready() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 94 | unsafe { (*RCC).CR & RCC_CR_PLLRDY == RCC_CR_PLLRDY } [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] --> src/peripherals/rcc.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn enable_gpioa() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 104 | unsafe { [INFO] [stdout] 105 | (*RCC).AHB1ENR |= RCC_AHB1ENR_GPIOAEN; [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] --> src/peripherals/rcc.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn enable_gpiob() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 112 | unsafe { [INFO] [stdout] 113 | (*RCC).AHB1ENR |= RCC_AHB1ENR_GPIOBEN; [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] --> src/peripherals/rcc.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn enable_gpioc() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 120 | unsafe { [INFO] [stdout] 121 | (*RCC).AHB1ENR |= RCC_AHB1ENR_GPIOCEN; [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] --> src/peripherals/rcc.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn enable_gpiod() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 128 | unsafe { [INFO] [stdout] 129 | (*RCC).AHB1ENR |= RCC_AHB1ENR_GPIODEN; [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] --> src/peripherals/rcc.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn enable_gpioe() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 136 | unsafe { [INFO] [stdout] 137 | (*RCC).AHB1ENR |= RCC_AHB1ENR_GPIOEEN; [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] --> src/peripherals/rcc.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn enable_gpioh() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 144 | unsafe { [INFO] [stdout] 145 | (*RCC).AHB1ENR |= RCC_AHB1ENR_GPIOHEN; [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] --> src/peripherals/rcc.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn enable_pwr() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 157 | unsafe { [INFO] [stdout] 158 | (*RCC).APB1ENR |= RCC_APB1ENR_PWREN; [INFO] [stdout] | ------------------------------------ not allowed in naked functions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/dbgmcu.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | (*DBGMCU).CR = (tr as u32) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/dbgmcu.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | | (io as u32) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/dbgmcu.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | | (dbgstandby as u32) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/dbgmcu.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | | (dbgstop as u32) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/dbgmcu.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | | (dbgsleep as u32); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: naked functions must contain a single `naked_asm!` invocation [INFO] [stdout] --> src/peripherals/dbgmcu.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / pub fn set( [INFO] [stdout] 43 | | tr: TraceMode, [INFO] [stdout] 44 | | io: TraceIO, [INFO] [stdout] 45 | | dbgstandby: DebugStandby, [INFO] [stdout] 46 | | dbgstop: DebugStop, [INFO] [stdout] 47 | | dbgsleep: DebugSleep, [INFO] [stdout] 48 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] 49 | unsafe { [INFO] [stdout] 50 | / (*DBGMCU).CR = (tr as u32) [INFO] [stdout] 51 | | | (io as u32) [INFO] [stdout] 52 | | | (dbgstandby as u32) [INFO] [stdout] 53 | | | (dbgstop as u32) [INFO] [stdout] 54 | | | (dbgsleep as u32); [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] --> src/peripherals/embedded_flash.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn setup() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 12 | unsafe { [INFO] [stdout] 13 | (*FLASH).ACR |= FLASH_ACR_ICEN | FLASH_ACR_PRFTEN | FLASH_ACR_LATENCY_2WS; [INFO] [stdout] | -------------------------------------------------------------------------- not allowed in naked functions [INFO] [stdout] 14 | / while ((*FLASH).ACR & FLASH_ACR_LATENCY_2WS) != FLASH_ACR_LATENCY_2WS { [INFO] [stdout] 15 | | asm!("nop"); [INFO] [stdout] 16 | | } [INFO] [stdout] | |_________- not allowed in naked functions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/pwr.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | (*PWR).CR |= (vos as u32) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/pwr.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | | (adcdc1 as u32) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/pwr.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | | (mrlvds as u32) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/pwr.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | | (lplvds as u32) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/pwr.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | | (fpds as u32) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/pwr.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | | (dbp as u32) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/pwr.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | | (pls as u32) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/pwr.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | | (pvde as u32) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/pwr.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | | (csbf as u32) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/pwr.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | | (cwuf as u32) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/pwr.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | | (pdds as u32) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/pwr.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | | (lpds as u32); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: naked functions must contain a single `naked_asm!` invocation [INFO] [stdout] --> src/peripherals/pwr.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | / pub fn set( [INFO] [stdout] 89 | | vos: VOS, [INFO] [stdout] 90 | | adcdc1: ADCDC1, [INFO] [stdout] 91 | | mrlvds: MRLVDS, [INFO] [stdout] ... | [INFO] [stdout] 100 | | lpds: LPDS, [INFO] [stdout] 101 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] 102 | unsafe { [INFO] [stdout] 103 | / (*PWR).CR |= (vos as u32) [INFO] [stdout] 104 | | | (adcdc1 as u32) [INFO] [stdout] 105 | | | (mrlvds as u32) [INFO] [stdout] 106 | | | (lplvds as u32) [INFO] [stdout] ... | [INFO] [stdout] 113 | | | (pdds as u32) [INFO] [stdout] 114 | | | (lpds as u32); [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] --> src/peripherals/rcc.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn hsi_ready() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | unsafe { ((*RCC).CR & RCC_CR_HSIRDY) == RCC_CR_HSIRDY } [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] --> src/peripherals/rcc.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn disable_pll() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | unsafe { [INFO] [stdout] 22 | (*RCC).CR &= !RCC_CR_PLLON; [INFO] [stdout] | --------------------------- not allowed in naked functions [INFO] [stdout] 23 | [INFO] [stdout] 24 | / while pll_ready() { [INFO] [stdout] 25 | | asm!("nop"); [INFO] [stdout] 26 | | } [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] --> src/peripherals/rcc.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn enable_pll() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | unsafe { [INFO] [stdout] 34 | (*RCC).CR |= RCC_CR_PLLON; [INFO] [stdout] | -------------------------- not allowed in naked functions [INFO] [stdout] 35 | [INFO] [stdout] 36 | / while !pll_ready() { [INFO] [stdout] 37 | | asm!("nop"); [INFO] [stdout] 38 | | } [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] --> src/peripherals/rcc.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn use_pll() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | embedded_flash::setup(); [INFO] [stdout] | ------------------------ not allowed in naked functions [INFO] [stdout] ... [INFO] [stdout] 49 | (*RCC).CFGR |= RCC_CFGR_SW_PLL; [INFO] [stdout] | ------------------------------- not allowed in naked functions [INFO] [stdout] ... [INFO] [stdout] 52 | / while (&(*RCC).CFGR & RCC_CFGR_SWS_PLL) != RCC_CFGR_SWS_PLL { [INFO] [stdout] 53 | | asm!("nop"); [INFO] [stdout] 54 | | } [INFO] [stdout] | |_________- not allowed in naked functions [INFO] [stdout] ... [INFO] [stdout] 57 | (*RCC).CFGR &= !RCC_CFGR_HPRE; [INFO] [stdout] | ------------------------------ not allowed in naked functions [INFO] [stdout] ... [INFO] [stdout] 60 | (*RCC).CFGR |= RCC_CFGR_PPRE1_DIV2; [INFO] [stdout] | ----------------------------------- not allowed in naked functions [INFO] [stdout] ... [INFO] [stdout] 63 | (*RCC).CFGR &= !RCC_CFGR_PPRE2; [INFO] [stdout] | ------------------------------- not allowed in naked functions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/rcc.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 76 | let f_pll_input = match input { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: referencing function parameters is not allowed in naked functions [INFO] [stdout] --> src/peripherals/rcc.rs:87:46 [INFO] [stdout] | [INFO] [stdout] 87 | (*RCC).PLLCFGR = (q << 24) as u32 | (input as u32) | (p << 16) as u32 | (n << 6) as u32 | m; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: follow the calling convention in asm block to use parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: naked functions must contain a single `naked_asm!` invocation [INFO] [stdout] --> src/peripherals/rcc.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn config_pll(input: InputClock) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | / let f_pll_input = match input { [INFO] [stdout] 77 | | InputClock::HSI => 16, [INFO] [stdout] 78 | | InputClock::HSE => 8, [INFO] [stdout] 79 | | }; [INFO] [stdout] | |______- not allowed in naked functions [INFO] [stdout] 80 | let n: u32 = 336; [INFO] [stdout] | ----------------- not allowed in naked functions [INFO] [stdout] 81 | let m = &f_pll_input; [INFO] [stdout] | --------------------- not allowed in naked functions [INFO] [stdout] 82 | let f_vco = &f_pll_input * (&n / m); [INFO] [stdout] | ------------------------------------ not allowed in naked functions [INFO] [stdout] 83 | let p = &f_vco / f_pll; [INFO] [stdout] | ----------------------- not allowed in naked functions [INFO] [stdout] 84 | let q = &f_vco / f_peripherals; [INFO] [stdout] | ------------------------------- not allowed in naked functions [INFO] [stdout] ... [INFO] [stdout] 87 | (*RCC).PLLCFGR = (q << 24) as u32 | (input as u32) | (p << 16) as u32 | (n << 6) as u32 | m; [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] --> src/peripherals/rcc.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn pll_ready() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 94 | unsafe { (*RCC).CR & RCC_CR_PLLRDY == RCC_CR_PLLRDY } [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] --> src/peripherals/rcc.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn enable_gpioa() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 104 | unsafe { [INFO] [stdout] 105 | (*RCC).AHB1ENR |= RCC_AHB1ENR_GPIOAEN; [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] --> src/peripherals/rcc.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn enable_gpiob() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 112 | unsafe { [INFO] [stdout] 113 | (*RCC).AHB1ENR |= RCC_AHB1ENR_GPIOBEN; [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] --> src/peripherals/rcc.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn enable_gpioc() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 120 | unsafe { [INFO] [stdout] 121 | (*RCC).AHB1ENR |= RCC_AHB1ENR_GPIOCEN; [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] --> src/peripherals/rcc.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn enable_gpiod() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 128 | unsafe { [INFO] [stdout] 129 | (*RCC).AHB1ENR |= RCC_AHB1ENR_GPIODEN; [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] --> src/peripherals/rcc.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn enable_gpioe() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 136 | unsafe { [INFO] [stdout] 137 | (*RCC).AHB1ENR |= RCC_AHB1ENR_GPIOEEN; [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] --> src/peripherals/rcc.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn enable_gpioh() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 144 | unsafe { [INFO] [stdout] 145 | (*RCC).AHB1ENR |= RCC_AHB1ENR_GPIOHEN; [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] --> src/peripherals/rcc.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn enable_pwr() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 157 | unsafe { [INFO] [stdout] 158 | (*RCC).APB1ENR |= RCC_APB1ENR_PWREN; [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] --> src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub unsafe extern "C" fn system_init() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | rcc::APB1::enable_pwr(); [INFO] [stdout] | ------------------------ not allowed in naked functions [INFO] [stdout] 30 | [INFO] [stdout] 31 | / while !rcc::hsi_ready() { [INFO] [stdout] 32 | | nop(); [INFO] [stdout] 33 | | } [INFO] [stdout] | |_____- not allowed in naked functions [INFO] [stdout] 34 | [INFO] [stdout] 35 | rcc::disable_pll(); [INFO] [stdout] | ------------------- not allowed in naked functions [INFO] [stdout] 36 | [INFO] [stdout] 37 | / pwr::CR::set( [INFO] [stdout] 38 | | pwr::VOS::Scale2, [INFO] [stdout] 39 | | pwr::ADCDC1::Unset, [INFO] [stdout] 40 | | pwr::MRLVDS::Unset, [INFO] [stdout] ... | [INFO] [stdout] 49 | | pwr::LPDS::Unset, [INFO] [stdout] 50 | | ); [INFO] [stdout] | |______- not allowed in naked functions [INFO] [stdout] 51 | [INFO] [stdout] 52 | rcc::config_pll(rcc::InputClock::HSI); [INFO] [stdout] | -------------------------------------- not allowed in naked functions [INFO] [stdout] 53 | rcc::enable_pll(); [INFO] [stdout] | ------------------ not allowed in naked functions [INFO] [stdout] 54 | rcc::use_pll(); [INFO] [stdout] | --------------- not allowed in naked functions [INFO] [stdout] 55 | [INFO] [stdout] 56 | / dbgmcu::CR::set( [INFO] [stdout] 57 | | dbgmcu::TraceMode::Async, [INFO] [stdout] 58 | | dbgmcu::TraceIO::Disable, [INFO] [stdout] 59 | | dbgmcu::DebugStandby::Enable, [INFO] [stdout] 60 | | dbgmcu::DebugStop::Enable, [INFO] [stdout] 61 | | dbgmcu::DebugSleep::Enable, [INFO] [stdout] 62 | | ); [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] --> src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub unsafe extern "C" fn zero_bss() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | let mut bss: *mut _ = &mut __bss_start__; [INFO] [stdout] | ----------------------------------------- not allowed in naked functions [INFO] [stdout] 75 | let ebss: *mut _ = &mut __bss_end__; [INFO] [stdout] | ------------------------------------ not allowed in naked functions [INFO] [stdout] 76 | [INFO] [stdout] 77 | / while bss < ebss { [INFO] [stdout] 78 | | ptr::write_volatile(bss, mem::zeroed()); [INFO] [stdout] 79 | | bss = bss.offset(1); [INFO] [stdout] 80 | | } [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] --> src/lib.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | pub unsafe extern "C" fn init_data() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | let mut data: *mut _ = &mut __data_start__; [INFO] [stdout] | ------------------------------------------- not allowed in naked functions [INFO] [stdout] 95 | let edata: *mut _ = &mut __data_end__; [INFO] [stdout] | -------------------------------------- not allowed in naked functions [INFO] [stdout] 96 | let mut sidata: *mut _ = &mut __etext; [INFO] [stdout] | -------------------------------------- not allowed in naked functions [INFO] [stdout] 97 | [INFO] [stdout] 98 | / while data < edata { [INFO] [stdout] 99 | | ptr::write(data, ptr::read(sidata)); [INFO] [stdout] 100 | | data = data.offset(1); [INFO] [stdout] 101 | | sidata = sidata.offset(1); [INFO] [stdout] 102 | | } [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] --> src/lib.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | pub unsafe extern "C" fn reset_handler() -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 113 | zero_bss(); [INFO] [stdout] | ----------- not allowed in naked functions [INFO] [stdout] 114 | init_data(); [INFO] [stdout] | ------------ not allowed in naked functions [INFO] [stdout] 115 | system_init(); [INFO] [stdout] | -------------- not allowed in naked functions [INFO] [stdout] 116 | main() [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 102 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0787]: naked functions must contain a single `naked_asm!` invocation [INFO] [stdout] --> src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub unsafe extern "C" fn system_init() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | rcc::APB1::enable_pwr(); [INFO] [stdout] | ------------------------ not allowed in naked functions [INFO] [stdout] 30 | [INFO] [stdout] 31 | / while !rcc::hsi_ready() { [INFO] [stdout] 32 | | nop(); [INFO] [stdout] 33 | | } [INFO] [stdout] | |_____- not allowed in naked functions [INFO] [stdout] 34 | [INFO] [stdout] 35 | rcc::disable_pll(); [INFO] [stdout] | ------------------- not allowed in naked functions [INFO] [stdout] 36 | [INFO] [stdout] 37 | / pwr::CR::set( [INFO] [stdout] 38 | | pwr::VOS::Scale2, [INFO] [stdout] 39 | | pwr::ADCDC1::Unset, [INFO] [stdout] 40 | | pwr::MRLVDS::Unset, [INFO] [stdout] ... | [INFO] [stdout] 49 | | pwr::LPDS::Unset, [INFO] [stdout] 50 | | ); [INFO] [stdout] | |______- not allowed in naked functions [INFO] [stdout] 51 | [INFO] [stdout] 52 | rcc::config_pll(rcc::InputClock::HSI); [INFO] [stdout] | -------------------------------------- not allowed in naked functions [INFO] [stdout] 53 | rcc::enable_pll(); [INFO] [stdout] | ------------------ not allowed in naked functions [INFO] [stdout] 54 | rcc::use_pll(); [INFO] [stdout] | --------------- not allowed in naked functions [INFO] [stdout] 55 | [INFO] [stdout] 56 | / dbgmcu::CR::set( [INFO] [stdout] 57 | | dbgmcu::TraceMode::Async, [INFO] [stdout] 58 | | dbgmcu::TraceIO::Disable, [INFO] [stdout] 59 | | dbgmcu::DebugStandby::Enable, [INFO] [stdout] 60 | | dbgmcu::DebugStop::Enable, [INFO] [stdout] 61 | | dbgmcu::DebugSleep::Enable, [INFO] [stdout] 62 | | ); [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] --> src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub unsafe extern "C" fn zero_bss() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | let mut bss: *mut _ = &mut __bss_start__; [INFO] [stdout] | ----------------------------------------- not allowed in naked functions [INFO] [stdout] 75 | let ebss: *mut _ = &mut __bss_end__; [INFO] [stdout] | ------------------------------------ not allowed in naked functions [INFO] [stdout] 76 | [INFO] [stdout] 77 | / while bss < ebss { [INFO] [stdout] 78 | | ptr::write_volatile(bss, mem::zeroed()); [INFO] [stdout] 79 | | bss = bss.offset(1); [INFO] [stdout] 80 | | } [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] --> src/lib.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | pub unsafe extern "C" fn init_data() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | let mut data: *mut _ = &mut __data_start__; [INFO] [stdout] | ------------------------------------------- not allowed in naked functions [INFO] [stdout] 95 | let edata: *mut _ = &mut __data_end__; [INFO] [stdout] | -------------------------------------- not allowed in naked functions [INFO] [stdout] 96 | let mut sidata: *mut _ = &mut __etext; [INFO] [stdout] | -------------------------------------- not allowed in naked functions [INFO] [stdout] 97 | [INFO] [stdout] 98 | / while data < edata { [INFO] [stdout] 99 | | ptr::write(data, ptr::read(sidata)); [INFO] [stdout] 100 | | data = data.offset(1); [INFO] [stdout] 101 | | sidata = sidata.offset(1); [INFO] [stdout] 102 | | } [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] --> src/lib.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | pub unsafe extern "C" fn reset_handler() -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 113 | zero_bss(); [INFO] [stdout] | ----------- not allowed in naked functions [INFO] [stdout] 114 | init_data(); [INFO] [stdout] | ------------ not allowed in naked functions [INFO] [stdout] 115 | system_init(); [INFO] [stdout] | -------------- not allowed in naked functions [INFO] [stdout] 116 | main() [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 test) due to 102 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a569e3eebb7f56b0133323306019d0eb322cc48053c3be9da0e112afa5933c05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a569e3eebb7f56b0133323306019d0eb322cc48053c3be9da0e112afa5933c05", kill_on_drop: false }` [INFO] [stdout] a569e3eebb7f56b0133323306019d0eb322cc48053c3be9da0e112afa5933c05