Build #1619001 2025-01-13T09:40:48.098426+00:00
# rustc version
rustc 1.86.0-nightly (48a426eca 2025-01-12)# docs.rs version
docsrs 0.6.0 (13d4ccea 2025-01-13)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/napi-ohos-1.0.4/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/napi-ohos-1.0.4/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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250112-1.86.0-nightly-48a426eca\", \"--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] 9894be5168cbdb10885681ce79c2d89fdfd5fd908b829b6a20eaa368be516e03
[INFO] running `Command { std: "docker" "start" "-a" "9894be5168cbdb10885681ce79c2d89fdfd5fd908b829b6a20eaa368be516e03", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr] Compiling napi-ohos v1.0.4 (/opt/rustwide/workdir)
[INFO] [stderr] Checking napi-sys-ohos v1.0.4
[INFO] [stderr] Checking tokio-stream v0.1.17
[INFO] [stderr] error: failed to run custom build command for `napi-ohos v1.0.4 (/opt/rustwide/workdir)`
[INFO] [stderr]
[INFO] [stderr] Caused by:
[INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/napi-ohos-82f929b126d857db/build-script-build` (exit status: 101)
[INFO] [stderr] --- stderr
[INFO] [stderr]
[INFO] [stderr] thread 'main' panicked at build.rs:5:5:
[INFO] [stderr] Please don't set features with napi9
[INFO] [stderr] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: no rules expected `#`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/napi-sys-ohos-1.0.4/src/functions.rs:48:7
[INFO] [stderr] |
[INFO] [stderr] 48 | #[cfg(not(target_env = "ohos"))]
[INFO] [stderr] | ^ no rules expected this token in macro call
[INFO] [stderr] |
[INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/napi-sys-ohos-1.0.4/src/lib.rs:6:1
[INFO] [stderr] |
[INFO] [stderr] 6 | macro_rules! generate {
[INFO] [stderr] | --------------------- when calling this macro
[INFO] [stderr] |
[INFO] [stderr] note: while trying to match `}`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/napi-sys-ohos-1.0.4/src/lib.rs:9:3
[INFO] [stderr] |
[INFO] [stderr] 9 | }) => {
[INFO] [stderr] | ^
[INFO] [stderr]
[INFO] [stderr] error: no rules expected `#`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/napi-sys-ohos-1.0.4/src/functions.rs:503:7
[INFO] [stderr] |
[INFO] [stderr] 503 | #[cfg(not(target_env = "ohos"))]
[INFO] [stderr] | ^ no rules expected this token in macro call
[INFO] [stderr] |
[INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/napi-sys-ohos-1.0.4/src/lib.rs:6:1
[INFO] [stderr] |
[INFO] [stderr] 6 | macro_rules! generate {
[INFO] [stderr] | --------------------- when calling this macro
[INFO] [stderr] |
[INFO] [stderr] note: while trying to match `}`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/napi-sys-ohos-1.0.4/src/lib.rs:9:3
[INFO] [stderr] |
[INFO] [stderr] 9 | }) => {
[INFO] [stderr] | ^
[INFO] [stderr]
[INFO] [stderr] error[E0425]: cannot find function `load` in module `napi1`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/napi-sys-ohos-1.0.4/src/functions.rs:931:10
[INFO] [stderr] |
[INFO] [stderr] 931 | napi1::load(&host)?;
[INFO] [stderr] | ^^^^ not found in `napi1`
[INFO] [stderr] |
[INFO] [stderr] help: consider importing one of these functions
[INFO] [stderr] |
[INFO] [stderr] 806 + use crate::functions::experimental::load;
[INFO] [stderr] |
[INFO] [stderr] 806 + use crate::functions::napi4::load;
[INFO] [stderr] |
[INFO] [stderr] 806 + use crate::functions::napi5::load;
[INFO] [stderr] |
[INFO] [stderr] 806 + use crate::functions::napi6::load;
[INFO] [stderr] |
[INFO] [stderr] and 4 other candidates
[INFO] [stderr] help: if you import `load`, refer to it directly
[INFO] [stderr] |
[INFO] [stderr] 931 - napi1::load(&host)?;
[INFO] [stderr] 931 + load(&host)?;
[INFO] [stderr] |
[INFO] [stderr]
[INFO] [stderr] error[E0425]: cannot find function `load` in module `napi2`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/napi-sys-ohos-1.0.4/src/functions.rs:933:10
[INFO] [stderr] |
[INFO] [stderr] 933 | napi2::load(&host)?;
[INFO] [stderr] | ^^^^ not found in `napi2`
[INFO] [stderr] |
[INFO] [stderr] help: consider importing one of these functions
[INFO] [stderr] |
[INFO] [stderr] 806 + use crate::functions::experimental::load;
[INFO] [stderr] |
[INFO] [stderr] 806 + use crate::functions::napi4::load;
[INFO] [stderr] |
[INFO] [stderr] 806 + use crate::functions::napi5::load;
[INFO] [stderr] |
[INFO] [stderr] 806 + use crate::functions::napi6::load;
[INFO] [stderr] |
[INFO] [stderr] and 4 other candidates
[INFO] [stderr] help: if you import `load`, refer to it directly
[INFO] [stderr] |
[INFO] [stderr] 933 - napi2::load(&host)?;
[INFO] [stderr] 933 + load(&host)?;
[INFO] [stderr] |
[INFO] [stderr]
[INFO] [stderr] For more information about this error, try `rustc --explain E0425`.
[INFO] [stderr] error: could not compile `napi-sys-ohos` (lib) due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "9894be5168cbdb10885681ce79c2d89fdfd5fd908b829b6a20eaa368be516e03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9894be5168cbdb10885681ce79c2d89fdfd5fd908b829b6a20eaa368be516e03", kill_on_drop: false }`
[INFO] [stdout] 9894be5168cbdb10885681ce79c2d89fdfd5fd908b829b6a20eaa368be516e03