napi 2.0.0-alpha.0

N-API bindings
Documentation
Build #438902 2021-09-22T19:00:37.536822+00:00
# rustc version
rustc 1.57.0-nightly (ac2d9fc50 2021-09-21)
# docs.rs version
docsrs 0.6.0 (8e35ec4 2021-09-21)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/napi-2.0.0-alpha.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/napi-2.0.0-alpha.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" "2" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-j2" "--" "-Z" "unstable-options" "--emit=invocation-specific" "--resource-suffix" "-20210921-1.57.0-nightly-ac2d9fc50" "--static-root-path" "/" "--cap-lints" "warn" "--disable-per-crate-search", kill_on_drop: false }`
[INFO] [stdout] 7e7cce45cefb64a77838d3a270a695c6a1e854c8051e93e2235756e94fb2848d
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "7e7cce45cefb64a77838d3a270a695c6a1e854c8051e93e2235756e94fb2848d", kill_on_drop: false }`
[INFO] [stderr]  Documenting napi v2.0.0-alpha.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/js_values/arraybuffer.rs:201:7
[INFO] [stderr]     |
[INFO] [stderr] 201 |   /// https://nodejs.org/api/n-api.html#n_api_napi_get_typedarray_info
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://nodejs.org/api/n-api.html#n_api_napi_get_typedarray_info>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(rustdoc::bare_urls)]` on by default
[INFO] [stderr]     = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/js_values/bigint.rs:190:7
[INFO] [stderr]     |
[INFO] [stderr] 190 |   /// https://nodejs.org/api/n-api.html#n_api_napi_get_value_bigint_words
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://nodejs.org/api/n-api.html#n_api_napi_get_value_bigint_words>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/js_values/function.rs:84:7
[INFO] [stderr]    |
[INFO] [stderr] 84 |   /// https://nodejs.org/api/n-api.html#n_api_napi_new_instance
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://nodejs.org/api/n-api.html#n_api_napi_new_instance>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/js_values/mod.rs:406:11
[INFO] [stderr]     |
[INFO] [stderr] 406 |       /// https://nodejs.org/api/n-api.html#n_api_napi_get_all_property_names
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://nodejs.org/api/n-api.html#n_api_napi_get_all_property_names>`
[INFO] [stderr] ...
[INFO] [stderr] 567 | impl_object_methods!(JsObject);
[INFO] [stderr]     | ------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr]     = note: this warning originates in the macro `impl_object_methods` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/js_values/mod.rs:406:11
[INFO] [stderr]     |
[INFO] [stderr] 406 |       /// https://nodejs.org/api/n-api.html#n_api_napi_get_all_property_names
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://nodejs.org/api/n-api.html#n_api_napi_get_all_property_names>`
[INFO] [stderr] ...
[INFO] [stderr] 568 | impl_object_methods!(JsBuffer);
[INFO] [stderr]     | ------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr]     = note: this warning originates in the macro `impl_object_methods` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/js_values/mod.rs:406:11
[INFO] [stderr]     |
[INFO] [stderr] 406 |       /// https://nodejs.org/api/n-api.html#n_api_napi_get_all_property_names
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://nodejs.org/api/n-api.html#n_api_napi_get_all_property_names>`
[INFO] [stderr] ...
[INFO] [stderr] 569 | impl_object_methods!(JsArrayBuffer);
[INFO] [stderr]     | ------------------------------------ in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr]     = note: this warning originates in the macro `impl_object_methods` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/js_values/mod.rs:406:11
[INFO] [stderr]     |
[INFO] [stderr] 406 |       /// https://nodejs.org/api/n-api.html#n_api_napi_get_all_property_names
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://nodejs.org/api/n-api.html#n_api_napi_get_all_property_names>`
[INFO] [stderr] ...
[INFO] [stderr] 570 | impl_object_methods!(JsTypedArray);
[INFO] [stderr]     | ----------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr]     = note: this warning originates in the macro `impl_object_methods` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/js_values/mod.rs:406:11
[INFO] [stderr]     |
[INFO] [stderr] 406 |       /// https://nodejs.org/api/n-api.html#n_api_napi_get_all_property_names
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://nodejs.org/api/n-api.html#n_api_napi_get_all_property_names>`
[INFO] [stderr] ...
[INFO] [stderr] 571 | impl_object_methods!(JsDataView);
[INFO] [stderr]     | --------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr]     = note: this warning originates in the macro `impl_object_methods` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/js_values/mod.rs:406:11
[INFO] [stderr]     |
[INFO] [stderr] 406 |       /// https://nodejs.org/api/n-api.html#n_api_napi_get_all_property_names
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://nodejs.org/api/n-api.html#n_api_napi_get_all_property_names>`
[INFO] [stderr] ...
[INFO] [stderr] 572 | impl_object_methods!(JsGlobal);
[INFO] [stderr]     | ------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr]     = note: this warning originates in the macro `impl_object_methods` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `napi` (lib doc) generated 9 warnings
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.58s
[INFO] running `Command { std: "docker" "inspect" "7e7cce45cefb64a77838d3a270a695c6a1e854c8051e93e2235756e94fb2848d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7e7cce45cefb64a77838d3a270a695c6a1e854c8051e93e2235756e94fb2848d", kill_on_drop: false }`
[INFO] [stdout] 7e7cce45cefb64a77838d3a270a695c6a1e854c8051e93e2235756e94fb2848d