bsec 0.1.0

Rust API to the Bosch BSEC library.
Build #384875 2021-05-04 19:23:06

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.53.0-nightly (42816d61e 2021-04-24)

# docs.rs version docsrs 0.6.0 (c2d325f 2021-05-02)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/bsec-0.1.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/bsec-0.1.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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "use-bme680" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs\"" "-j2" "--" "-Z" "unstable-options" "--emit=invocation-specific" "--resource-suffix" "-20210424-1.53.0-nightly-42816d61e" "--static-root-path" "/" "--cap-lints" "warn" "--disable-per-crate-search", kill_on_drop: false }` [INFO] [stdout] 752e59ab0ffc95498cdfb0403aa18269ea0e03b6605bd3e539d9b15a1a4561e4 [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" "752e59ab0ffc95498cdfb0403aa18269ea0e03b6605bd3e539d9b15a1a4561e4", kill_on_drop: false }` [INFO] [stderr] Documenting bsec v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `libalgobsec_sys::bsec_bme_settings_t` [INFO] [stderr] --> src/bme.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use libalgobsec_sys::bsec_bme_settings_t; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `bsec_bme_settings_t` in the root [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `bsec_virtual_sensor_t` in this scope [INFO] [stderr] --> src/error.rs:72:28 [INFO] [stderr] | [INFO] [stderr] 72 | InvalidVirtualSensorId(bsec_virtual_sensor_t), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `bsec_library_return_t` in this scope [INFO] [stderr] --> src/error.rs:132:13 [INFO] [stderr] | [INFO] [stderr] 132 | Unknown(bsec_library_return_t), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `bsec_library_return_t` in this scope [INFO] [stderr] --> src/error.rs:143:11 [INFO] [stderr] | [INFO] [stderr] 143 | impl From<bsec_library_return_t> for BsecError { [INFO] [stderr] | - ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | | [INFO] [stderr] | help: you might be missing a type parameter: `<bsec_library_return_t>` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `bsec_library_return_t` in this scope [INFO] [stderr] --> src/error.rs:144:26 [INFO] [stderr] | [INFO] [stderr] 144 | fn from(return_code: bsec_library_return_t) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `bsec_output_t` in this scope [INFO] [stderr] --> src/lib.rs:507:15 [INFO] [stderr] | [INFO] [stderr] 507 | impl TryFrom<&bsec_output_t> for Output { [INFO] [stderr] | - ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | | [INFO] [stderr] | help: you might be missing a type parameter: `<bsec_output_t>` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `bsec_output_t` in this scope [INFO] [stderr] --> src/lib.rs:509:26 [INFO] [stderr] | [INFO] [stderr] 509 | fn try_from(output: &bsec_output_t) -> Result<Self, ConversionError> { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `bsec_sensor_configuration_t` in this scope [INFO] [stderr] --> src/lib.rs:551:37 [INFO] [stderr] | [INFO] [stderr] 551 | impl From<&SubscriptionRequest> for bsec_sensor_configuration_t { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `bsec_sensor_configuration_t` in this scope [INFO] [stderr] --> src/lib.rs:569:12 [INFO] [stderr] | [INFO] [stderr] 569 | impl From<&bsec_sensor_configuration_t> for RequiredInput { [INFO] [stderr] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | | [INFO] [stderr] | help: you might be missing a type parameter: `<bsec_sensor_configuration_t>` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `bsec_sensor_configuration_t` in this scope [INFO] [stderr] --> src/lib.rs:570:36 [INFO] [stderr] | [INFO] [stderr] 570 | fn from(sensor_configuration: &bsec_sensor_configuration_t) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `bsec_physical_sensor_t` in this scope [INFO] [stderr] --> src/lib.rs:655:26 [INFO] [stderr] | [INFO] [stderr] 655 | impl From<InputKind> for bsec_physical_sensor_t { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `bsec_virtual_sensor_t` in this scope [INFO] [stderr] --> src/lib.rs:697:27 [INFO] [stderr] | [INFO] [stderr] 697 | impl From<OutputKind> for bsec_virtual_sensor_t { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `bsec_virtual_sensor_t` in this scope [INFO] [stderr] --> src/lib.rs:723:14 [INFO] [stderr] | [INFO] [stderr] 723 | impl TryFrom<bsec_virtual_sensor_t> for OutputKind { [INFO] [stderr] | - ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | | [INFO] [stderr] | help: you might be missing a type parameter: `<bsec_virtual_sensor_t>` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `bsec_virtual_sensor_t` in this scope [INFO] [stderr] --> src/lib.rs:725:33 [INFO] [stderr] | [INFO] [stderr] 725 | fn try_from(virtual_sensor: bsec_virtual_sensor_t) -> Result<Self, ConversionError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `bsec_library_return_t` in this scope [INFO] [stderr] --> src/lib.rs:763:21 [INFO] [stderr] | [INFO] [stderr] 763 | impl IntoResult for bsec_library_return_t { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: Compilation failed, aborting rustdoc [INFO] [stderr] [INFO] [stderr] error: aborting due to 16 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not document `bsec` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name bsec src/lib.rs -o /opt/rustwide/target/doc --cfg 'feature="bme680"' --cfg 'feature="embedded-hal"' --cfg 'feature="use-bme680"' --error-format=json --json=diagnostic-rendered-ansi -Z unstable-options --emit=invocation-specific --resource-suffix -20210424-1.53.0-nightly-42816d61e --static-root-path / --cap-lints warn --disable-per-crate-search -L dependency=/opt/rustwide/target/debug/deps --extern bme680=/opt/rustwide/target/debug/deps/libbme680-d6d2b169ee255c30.rmeta --extern embedded_hal=/opt/rustwide/target/debug/deps/libembedded_hal-df06df46c933b978.rmeta --extern libalgobsec_sys=/opt/rustwide/target/debug/deps/liblibalgobsec_sys-43b3736d5394db91.rmeta --extern nb=/opt/rustwide/target/debug/deps/libnb-a6c00db70a981724.rmeta --extern-html-root-url 'bme680=https://docs.rs/bme680/0.5.1/' --extern-html-root-url 'embedded_hal=https://docs.rs/embedded-hal/0.2.5/' --extern-html-root-url 'libalgobsec_sys=https://docs.rs/libalgobsec-sys/0.1.0+1.4.8.0/' --extern-html-root-url 'nb=https://docs.rs/nb/1.0.0/' -Zunstable-options --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "752e59ab0ffc95498cdfb0403aa18269ea0e03b6605bd3e539d9b15a1a4561e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "752e59ab0ffc95498cdfb0403aa18269ea0e03b6605bd3e539d9b15a1a4561e4", kill_on_drop: false }` [INFO] [stdout] 752e59ab0ffc95498cdfb0403aa18269ea0e03b6605bd3e539d9b15a1a4561e4