esp8266-hal 0.5.1

HAL for ESP8266 microcontrollers
Documentation
Build #2520169 2025-09-20 21:43:21

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# rustc version
rustc 1.92.0-nightly (0be8e1608 2025-09-19)# docs.rs version
docsrs 0.6.0 (f42173de 2025-09-12)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/esp8266-hal-0.5.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/esp8266-hal-0.5.1/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250919-1.92.0-nightly-0be8e1608\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 2d20f16204811ff89dc6b7b844445c2c47b6f333664ee2e3ac5678ef6456acfe
[INFO] running `Command { std: "docker" "start" "-a" "2d20f16204811ff89dc6b7b844445c2c47b6f333664ee2e3ac5678ef6456acfe", kill_on_drop: false }`
[INFO] [stderr] warning: profile package spec `compiler_builtins` in profile `dev` did not match any packages
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: blinky, flash, serial, uart_interrupt
[INFO] [stderr]     If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true`
[INFO] [stderr]     to the [[example]] target configuration of at least one example.
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]     Checking xtensa-lx-rt v0.12.0
[INFO] [stderr]    Compiling esp8266-hal v0.5.1 (/opt/rustwide/workdir)
[INFO] [stderr] error: unsafe attribute used without unsafe
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/xtensa-lx-rt-0.12.0/src/exception/assembly_esp8266.rs:56:3
[INFO] [stderr]    |
[INFO] [stderr] 56 | #[naked]
[INFO] [stderr]    |   ^^^^^ usage of unsafe attribute
[INFO] [stderr]    |
[INFO] [stderr] help: wrap the attribute in `unsafe(...)`
[INFO] [stderr]    |
[INFO] [stderr] 56 | #[unsafe(naked)]
[INFO] [stderr]    |   +++++++     +
[INFO] [stderr] 
[INFO] [stderr] error: unsafe attribute used without unsafe
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/xtensa-lx-rt-0.12.0/src/exception/assembly_esp8266.rs:133:3
[INFO] [stderr]     |
[INFO] [stderr] 133 | #[naked]
[INFO] [stderr]     |   ^^^^^ usage of unsafe attribute
[INFO] [stderr]     |
[INFO] [stderr] help: wrap the attribute in `unsafe(...)`
[INFO] [stderr]     |
[INFO] [stderr] 133 | #[unsafe(naked)]
[INFO] [stderr]     |   +++++++     +
[INFO] [stderr] 
[INFO] [stderr] error: unsafe attribute used without unsafe
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/xtensa-lx-rt-0.12.0/src/exception/assembly_esp8266.rs:191:3
[INFO] [stderr]     |
[INFO] [stderr] 191 | #[naked]
[INFO] [stderr]     |   ^^^^^ usage of unsafe attribute
[INFO] [stderr]     |
[INFO] [stderr] help: wrap the attribute in `unsafe(...)`
[INFO] [stderr]     |
[INFO] [stderr] 191 | #[unsafe(naked)]
[INFO] [stderr]     |   +++++++     +
[INFO] [stderr] 
[INFO] [stderr] error: unsafe attribute used without unsafe
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/xtensa-lx-rt-0.12.0/src/exception/assembly_esp8266.rs:226:3
[INFO] [stderr]     |
[INFO] [stderr] 226 | #[naked]
[INFO] [stderr]     |   ^^^^^ usage of unsafe attribute
[INFO] [stderr]     |
[INFO] [stderr] help: wrap the attribute in `unsafe(...)`
[INFO] [stderr]     |
[INFO] [stderr] 226 | #[unsafe(naked)]
[INFO] [stderr]     |   +++++++     +
[INFO] [stderr] 
[INFO] [stderr] error: unsafe attribute used without unsafe
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/xtensa-lx-rt-0.12.0/src/exception/assembly_esp8266.rs:250:3
[INFO] [stderr]     |
[INFO] [stderr] 250 | #[naked]
[INFO] [stderr]     |   ^^^^^ usage of unsafe attribute
[INFO] [stderr]     |
[INFO] [stderr] help: wrap the attribute in `unsafe(...)`
[INFO] [stderr]     |
[INFO] [stderr] 250 | #[unsafe(naked)]
[INFO] [stderr]     |   +++++++     +
[INFO] [stderr] 
[INFO] [stderr] error: unsafe attribute used without unsafe
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/xtensa-lx-rt-0.12.0/src/exception/assembly_esp8266.rs:276:3
[INFO] [stderr]     |
[INFO] [stderr] 276 | #[naked]
[INFO] [stderr]     |   ^^^^^ usage of unsafe attribute
[INFO] [stderr]     |
[INFO] [stderr] help: wrap the attribute in `unsafe(...)`
[INFO] [stderr]     |
[INFO] [stderr] 276 | #[unsafe(naked)]
[INFO] [stderr]     |   +++++++     +
[INFO] [stderr] 
[INFO] [stderr] error: unsafe attribute used without unsafe
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/xtensa-lx-rt-0.12.0/src/exception/assembly_esp8266.rs:301:3
[INFO] [stderr]     |
[INFO] [stderr] 301 | #[naked]
[INFO] [stderr]     |   ^^^^^ usage of unsafe attribute
[INFO] [stderr]     |
[INFO] [stderr] help: wrap the attribute in `unsafe(...)`
[INFO] [stderr]     |
[INFO] [stderr] 301 | #[unsafe(naked)]
[INFO] [stderr]     |   +++++++     +
[INFO] [stderr] 
[INFO] [stderr] error: unsafe attribute used without unsafe
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/xtensa-lx-rt-0.12.0/src/exception/assembly_esp8266.rs:326:3
[INFO] [stderr]     |
[INFO] [stderr] 326 | #[naked]
[INFO] [stderr]     |   ^^^^^ usage of unsafe attribute
[INFO] [stderr]     |
[INFO] [stderr] help: wrap the attribute in `unsafe(...)`
[INFO] [stderr]     |
[INFO] [stderr] 326 | #[unsafe(naked)]
[INFO] [stderr]     |   +++++++     +
[INFO] [stderr] 
[INFO] [stderr] error: unsafe attribute used without unsafe
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/xtensa-lx-rt-0.12.0/src/exception/esp8266.rs:61:3
[INFO] [stderr]    |
[INFO] [stderr] 61 | #[naked]
[INFO] [stderr]    |   ^^^^^ usage of unsafe attribute
[INFO] [stderr]    |
[INFO] [stderr] help: wrap the attribute in `unsafe(...)`
[INFO] [stderr]    |
[INFO] [stderr] 61 | #[unsafe(naked)]
[INFO] [stderr]    |   +++++++     +
[INFO] [stderr] 
[INFO] [stderr] error: unsafe attribute used without unsafe
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/xtensa-lx-rt-0.12.0/src/exception/esp8266.rs:74:3
[INFO] [stderr]    |
[INFO] [stderr] 74 | #[naked]
[INFO] [stderr]    |   ^^^^^ usage of unsafe attribute
[INFO] [stderr]    |
[INFO] [stderr] help: wrap the attribute in `unsafe(...)`
[INFO] [stderr]    |
[INFO] [stderr] 74 | #[unsafe(naked)]
[INFO] [stderr]    |   +++++++     +
[INFO] [stderr] 
[INFO] [stderr] error: unsafe attribute used without unsafe
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/xtensa-lx-rt-0.12.0/src/exception/esp8266.rs:87:3
[INFO] [stderr]    |
[INFO] [stderr] 87 | #[naked]
[INFO] [stderr]    |   ^^^^^ usage of unsafe attribute
[INFO] [stderr]    |
[INFO] [stderr] help: wrap the attribute in `unsafe(...)`
[INFO] [stderr]    |
[INFO] [stderr] 87 | #[unsafe(naked)]
[INFO] [stderr]    |   +++++++     +
[INFO] [stderr] 
[INFO] [stderr] error: unsafe attribute used without unsafe
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/xtensa-lx-rt-0.12.0/src/exception/esp8266.rs:101:3
[INFO] [stderr]     |
[INFO] [stderr] 101 | #[naked]
[INFO] [stderr]     |   ^^^^^ usage of unsafe attribute
[INFO] [stderr]     |
[INFO] [stderr] help: wrap the attribute in `unsafe(...)`
[INFO] [stderr]     |
[INFO] [stderr] 101 | #[unsafe(naked)]
[INFO] [stderr]     |   +++++++     +
[INFO] [stderr] 
[INFO] [stderr] error: unsafe attribute used without unsafe
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/xtensa-lx-rt-0.12.0/src/exception/esp8266.rs:115:3
[INFO] [stderr]     |
[INFO] [stderr] 115 | #[naked]
[INFO] [stderr]     |   ^^^^^ usage of unsafe attribute
[INFO] [stderr]     |
[INFO] [stderr] help: wrap the attribute in `unsafe(...)`
[INFO] [stderr]     |
[INFO] [stderr] 115 | #[unsafe(naked)]
[INFO] [stderr]     |   +++++++     +
[INFO] [stderr] 
[INFO] [stderr] error[E0787]: the `asm!` macro is not allowed in naked functions
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/xtensa-lx-rt-0.12.0/src/exception/assembly_esp8266.rs:60:5
[INFO] [stderr]    |
[INFO] [stderr] 60 | /     asm!(
[INFO] [stderr] 61 | |         "
[INFO] [stderr] 62 | |         s32i    a2,  sp, +XT_STK_A2
[INFO] [stderr] 63 | |         s32i    a3,  sp, +XT_STK_A3
[INFO] [stderr] ...  |
[INFO] [stderr] 82 | |         options(noreturn)
[INFO] [stderr] 83 | |     )
[INFO] [stderr]    | |_____^ consider using the `naked_asm!` macro instead
[INFO] [stderr] 
[INFO] [stderr] error[E0787]: the `asm!` macro is not allowed in naked functions
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/xtensa-lx-rt-0.12.0/src/exception/assembly_esp8266.rs:137:5
[INFO] [stderr]     |
[INFO] [stderr] 137 | /     asm!(
[INFO] [stderr] 138 | |         "
[INFO] [stderr] 139 | |         l32i    a3,  sp, +XT_STK_SAR
[INFO] [stderr] 140 | |         wsr     a3,  SAR
[INFO] [stderr] ...   |
[INFO] [stderr] 160 | |         options(noreturn)
[INFO] [stderr] 161 | |     )
[INFO] [stderr]     | |_____^ consider using the `naked_asm!` macro instead
[INFO] [stderr] 
[INFO] [stderr] error[E0787]: the `asm!` macro is not allowed in naked functions
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/xtensa-lx-rt-0.12.0/src/exception/assembly_esp8266.rs:195:5
[INFO] [stderr]     |
[INFO] [stderr] 195 | /     asm!(
[INFO] [stderr] 196 | |         "
[INFO] [stderr] 197 | |         SAVE_CONTEXT 1
[INFO] [stderr] ...   |
[INFO] [stderr] 218 | |         options(noreturn)
[INFO] [stderr] 219 | |     )
[INFO] [stderr]     | |_____^ consider using the `naked_asm!` macro instead
[INFO] [stderr] 
[INFO] [stderr] error[E0787]: the `asm!` macro is not allowed in naked functions
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/xtensa-lx-rt-0.12.0/src/exception/assembly_esp8266.rs:230:5
[INFO] [stderr]     |
[INFO] [stderr] 230 | /     asm!(
[INFO] [stderr] 231 | |         "
[INFO] [stderr] 232 | |         SAVE_CONTEXT double
[INFO] [stderr] ...   |
[INFO] [stderr] 242 | |         options(noreturn)
[INFO] [stderr] 243 | |     )
[INFO] [stderr]     | |_____^ consider using the `naked_asm!` macro instead
[INFO] [stderr] 
[INFO] [stderr] error[E0787]: the `asm!` macro is not allowed in naked functions
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/xtensa-lx-rt-0.12.0/src/exception/assembly_esp8266.rs:254:5
[INFO] [stderr]     |
[INFO] [stderr] 254 | /     asm!(
[INFO] [stderr] 255 | |         "
[INFO] [stderr] 256 | |         SAVE_CONTEXT 1
[INFO] [stderr] ...   |
[INFO] [stderr] 268 | |         options(noreturn)
[INFO] [stderr] 269 | |     )
[INFO] [stderr]     | |_____^ consider using the `naked_asm!` macro instead
[INFO] [stderr] 
[INFO] [stderr] error[E0787]: the `asm!` macro is not allowed in naked functions
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/xtensa-lx-rt-0.12.0/src/exception/assembly_esp8266.rs:280:5
[INFO] [stderr]     |
[INFO] [stderr] 280 | /     asm!(
[INFO] [stderr] 281 | |         "
[INFO] [stderr] 282 | |         SAVE_CONTEXT 1
[INFO] [stderr] ...   |
[INFO] [stderr] 293 | |         options(noreturn)
[INFO] [stderr] 294 | |     )
[INFO] [stderr]     | |_____^ consider using the `naked_asm!` macro instead
[INFO] [stderr] 
[INFO] [stderr] error[E0787]: the `asm!` macro is not allowed in naked functions
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/xtensa-lx-rt-0.12.0/src/exception/assembly_esp8266.rs:305:5
[INFO] [stderr]     |
[INFO] [stderr] 305 | /     asm!(
[INFO] [stderr] 306 | |         "
[INFO] [stderr] 307 | |         SAVE_CONTEXT 1
[INFO] [stderr] ...   |
[INFO] [stderr] 318 | |         options(noreturn)
[INFO] [stderr] 319 | |     )
[INFO] [stderr]     | |_____^ consider using the `naked_asm!` macro instead
[INFO] [stderr] 
[INFO] [stderr] error[E0787]: the `asm!` macro is not allowed in naked functions
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/xtensa-lx-rt-0.12.0/src/exception/assembly_esp8266.rs:330:5
[INFO] [stderr]     |
[INFO] [stderr] 330 | /     asm!(
[INFO] [stderr] 331 | |         "
[INFO] [stderr] 332 | |         SAVE_CONTEXT 1
[INFO] [stderr] ...   |
[INFO] [stderr] 343 | |         options(noreturn)
[INFO] [stderr] 344 | |     )
[INFO] [stderr]     | |_____^ consider using the `naked_asm!` macro instead
[INFO] [stderr] 
[INFO] [stderr] error[E0787]: the `asm!` macro is not allowed in naked functions
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/xtensa-lx-rt-0.12.0/src/exception/esp8266.rs:65:5
[INFO] [stderr]    |
[INFO] [stderr] 65 | /     asm!(
[INFO] [stderr] 66 | |         "
[INFO] [stderr] 67 | |         wsr a0, EXCSAVE1 // preserve a0
[INFO] [stderr] 68 | |         call0 __naked_debug_exception     // used as long jump
[INFO] [stderr] 69 | |         ",
[INFO] [stderr] 70 | |         options(noreturn)
[INFO] [stderr] 71 | |     );
[INFO] [stderr]    | |_____^ consider using the `naked_asm!` macro instead
[INFO] [stderr] 
[INFO] [stderr] error[E0787]: the `asm!` macro is not allowed in naked functions
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/xtensa-lx-rt-0.12.0/src/exception/esp8266.rs:78:5
[INFO] [stderr]    |
[INFO] [stderr] 78 | /     asm!(
[INFO] [stderr] 79 | |         "
[INFO] [stderr] 80 | |         wsr a0, EXCSAVE1 // preserve a0
[INFO] [stderr] 81 | |         call0 __naked_nmi_exception     // used as long jump
[INFO] [stderr] 82 | |         ",
[INFO] [stderr] 83 | |         options(noreturn)
[INFO] [stderr] 84 | |     );
[INFO] [stderr]    | |_____^ consider using the `naked_asm!` macro instead
[INFO] [stderr] 
[INFO] [stderr] error[E0787]: the `asm!` macro is not allowed in naked functions
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/xtensa-lx-rt-0.12.0/src/exception/esp8266.rs:91:5
[INFO] [stderr]    |
[INFO] [stderr] 91 | /     asm!(
[INFO] [stderr] 92 | |         "
[INFO] [stderr] 93 | |         wsr a0, EXCSAVE1 // preserve a0
[INFO] [stderr] ...  |
[INFO] [stderr] 97 | |         options(noreturn)
[INFO] [stderr] 98 | |     );
[INFO] [stderr]    | |_____^ consider using the `naked_asm!` macro instead
[INFO] [stderr] 
[INFO] [stderr] error[E0787]: the `asm!` macro is not allowed in naked functions
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/xtensa-lx-rt-0.12.0/src/exception/esp8266.rs:105:5
[INFO] [stderr]     |
[INFO] [stderr] 105 | /     asm!(
[INFO] [stderr] 106 | |         "
[INFO] [stderr] 107 | |         wsr a0, EXCSAVE1 // preserve a0
[INFO] [stderr] ...   |
[INFO] [stderr] 111 | |         options(noreturn)
[INFO] [stderr] 112 | |     );
[INFO] [stderr]     | |_____^ consider using the `naked_asm!` macro instead
[INFO] [stderr] 
[INFO] [stderr] error[E0787]: the `asm!` macro is not allowed in naked functions
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/xtensa-lx-rt-0.12.0/src/exception/esp8266.rs:119:5
[INFO] [stderr]     |
[INFO] [stderr] 119 | /     asm!(
[INFO] [stderr] 120 | |         "
[INFO] [stderr] 121 | |         wsr a0, EXCSAVE1                   // preserve a0 (EXCSAVE1 can be reused as long as there
[INFO] [stderr] ...   |
[INFO] [stderr] 126 | |         options(noreturn)
[INFO] [stderr] 127 | |     );
[INFO] [stderr]     | |_____^ consider using the `naked_asm!` macro instead
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0787`.
[INFO] [stderr] error: could not compile `xtensa-lx-rt` (lib) due to 26 previous errors
[INFO] running `Command { std: "docker" "inspect" "2d20f16204811ff89dc6b7b844445c2c47b6f333664ee2e3ac5678ef6456acfe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2d20f16204811ff89dc6b7b844445c2c47b6f333664ee2e3ac5678ef6456acfe", kill_on_drop: false }`
[INFO] [stdout] 2d20f16204811ff89dc6b7b844445c2c47b6f333664ee2e3ac5678ef6456acfe