ntapi 0.2.0

FFI bindings for Native API

Build #698743 2022-12-11 14:56:59

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.68.0-nightly (c6fcdb690 2022-12-10)

# docs.rs version docsrs 0.6.0 (013508c6 2022-12-08)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/ntapi-0.2.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/ntapi-0.2.0/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" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "func-types nightly" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20221210-1.68.0-nightly-c6fcdb690\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-pc-windows-msvc\"" "-j3" "--target" "x86_64-pc-windows-msvc", 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] 1c0b94e2c2c89ea2bb2f77db70c6890e701f018651746391f848c27a980a23bf [INFO] running `Command { std: "docker" "start" "-a" "1c0b94e2c2c89ea2bb2f77db70c6890e701f018651746391f848c27a980a23bf", kill_on_drop: false }` [INFO] [stderr] Documenting ntapi v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] error: cannot find macro `asm` in this scope [INFO] [stderr] --> src/winapi_local/um/winnt.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | asm!("bt $1, $2; setb $0" [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this macro: [INFO] [stderr] core::arch::asm [INFO] [stderr] [INFO] [stderr] error: cannot find macro `asm` in this scope [INFO] [stderr] --> src/winapi_local/um/winnt.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | asm!("mov $0, fs:[$1]" [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this macro: [INFO] [stderr] core::arch::asm [INFO] [stderr] [INFO] [stderr] error: cannot find macro `asm` in this scope [INFO] [stderr] --> src/winapi_local/um/winnt.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | asm!("mov $0, gs:[$1]" [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this macro: [INFO] [stderr] core::arch::asm [INFO] [stderr] [INFO] [stderr] error: Compilation failed, aborting rustdoc [INFO] [stderr] [INFO] [stderr] error: could not document `ntapi` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type lib --crate-name ntapi src/lib.rs --target x86_64-pc-windows-msvc -o /opt/rustwide/target/x86_64-pc-windows-msvc/doc --cfg 'feature="default"' --cfg 'feature="func-types"' --cfg 'feature="nightly"' --cfg 'feature="user"' --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat -C metadata=13cec63e1156e9c9 -L dependency=/opt/rustwide/target/x86_64-pc-windows-msvc/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern winapi=/opt/rustwide/target/x86_64-pc-windows-msvc/debug/deps/libwinapi-cd071c8b09952570.rmeta --extern-html-root-url 'winapi=https://docs.rs/winapi/0.3.9/x86_64-pc-windows-msvc' -Zunstable-options -Z unstable-options --emit=invocation-specific --resource-suffix -20221210-1.68.0-nightly-c6fcdb690 --static-root-path /-/rustdoc.static/ --cap-lints warn --disable-per-crate-search --extern-html-root-takes-precedence --crate-version 0.2.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "1c0b94e2c2c89ea2bb2f77db70c6890e701f018651746391f848c27a980a23bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c0b94e2c2c89ea2bb2f77db70c6890e701f018651746391f848c27a980a23bf", kill_on_drop: false }` [INFO] [stdout] 1c0b94e2c2c89ea2bb2f77db70c6890e701f018651746391f848c27a980a23bf