# rustc version rustc 1.91.0-nightly (2fd855fbf 2025-08-07)
# docs.rs version docsrs 0.6.0 (e18d034e 2025-07-29)
# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/hid-0.4.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/hid-0.4.1/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250807-1.91.0-nightly-2fd855fbf\", \"--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] 4b28f0acee9950e9c51ab1bfc3429849cbb1ad1383e05750e7a71c06b910b888 [INFO] running `Command { std: "docker" "start" "-a" "4b28f0acee9950e9c51ab1bfc3429849cbb1ad1383e05750e7a71c06b910b888", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:36:29 [INFO] [stderr] | [INFO] [stderr] 36 | f.write_str(error::Error::description(self)) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/manager.rs:1:37 [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT, Ordering}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/manager.rs:7:34 [INFO] [stderr] | [INFO] [stderr] 7 | static INITIALIZED: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated constant [INFO] [stderr] | [INFO] [stderr] 7 - static INITIALIZED: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stderr] 7 + static INITIALIZED: AtomicBool = AtomicBool::new(false); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/manager.rs:46:14 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn find(&self, vendor: Option<u16>, product: Option<u16>) -> Devices { [INFO] [stderr] | ^^^^^ the lifetime is elided here ------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 46 | pub fn find(&self, vendor: Option<u16>, product: Option<u16>) -> Devices<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/manager.rs:53:17 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn devices(&self) -> Devices { [INFO] [stderr] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 53 | pub fn devices(&self) -> Devices<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/handle.rs:46:14 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn data(&mut self) -> Data { [INFO] [stderr] | ^^^^^^^^^ ---- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 46 | pub fn data(&mut self) -> Data<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/handle.rs:53:17 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn feature(&mut self) -> Feature { [INFO] [stderr] | ^^^^^^^^^ ------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 53 | pub fn feature(&mut self) -> Feature<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/handle.rs:67:28 [INFO] [stderr] | [INFO] [stderr] 67 | pub unsafe fn new(handle: &mut Handle) -> Data { [INFO] [stderr] | ^^^^^^^^^^^ ---- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 67 | pub unsafe fn new(handle: &mut Handle) -> Data<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/handle.rs:156:28 [INFO] [stderr] | [INFO] [stderr] 156 | pub unsafe fn new(handle: &mut Handle) -> Feature { [INFO] [stderr] | ^^^^^^^^^^^ ------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 156 | pub unsafe fn new(handle: &mut Handle) -> Feature<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `hid` (lib) generated 9 warnings (run `cargo fix --lib -p hid` to apply 7 suggestions) [INFO] [stderr] Scraping hid v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Documenting hid v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/hid/index.html [INFO] running `Command { std: "docker" "inspect" "4b28f0acee9950e9c51ab1bfc3429849cbb1ad1383e05750e7a71c06b910b888", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b28f0acee9950e9c51ab1bfc3429849cbb1ad1383e05750e7a71c06b910b888", kill_on_drop: false }` [INFO] [stdout] 4b28f0acee9950e9c51ab1bfc3429849cbb1ad1383e05750e7a71c06b910b888