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.
# error kind ExecutionFailed
# pre-build errors command failed: exit status: 101
# rustc version rustc 1.96.0-nightly (91021ccc7 2026-03-17)
# docs.rs version docsrs 0.0.0 (da7690ee 2026-03-15 )
# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/docker-tools-0.0.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/docker-tools-0.0.2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260317-1.96.0-nightly-91021ccc7\", \"--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] 50523dfa11c243181fe516c8a2153165bc4e041f1b748a6785a7b0775cad703b [INFO] running `Command { std: "docker" "start" "-a" "50523dfa11c243181fe516c8a2153165bc4e041f1b748a6785a7b0775cad703b", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Checking docker-network v0.0.2 [INFO] [stderr] error[E0432]: unresolved imports `bollard::network::ConnectNetworkOptions`, `bollard::network::DisconnectNetworkOptions`, `bollard::network::InspectNetworkOptions`, `bollard::network::ListNetworksOptions` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/docker-network-0.0.2/src/linux.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | ConnectNetworkOptions, DisconnectNetworkOptions, InspectNetworkOptions, ListNetworksOptions, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ no `ListNetworksOptions` in `network` [INFO] [stderr] | | | | [INFO] [stderr] | | | no `InspectNetworkOptions` in `network` [INFO] [stderr] | | no `DisconnectNetworkOptions` in `network` [INFO] [stderr] | no `ConnectNetworkOptions` in `network` [INFO] [stderr] | [INFO] [stderr] = help: consider importing this struct instead: [INFO] [stderr] bollard::query_parameters::InspectNetworkOptions [INFO] [stderr] = help: consider importing this struct instead: [INFO] [stderr] bollard::query_parameters::ListNetworksOptions [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `NetworkCreate` in module `bollard::models` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/docker-network-0.0.2/src/linux.rs:26:51 [INFO] [stderr] | [INFO] [stderr] 26 | let network_create = bollard::models::NetworkCreate { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in `bollard::models` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `ConnectNetworkOptions` in module `bollard::network` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/docker-network-0.0.2/src/linux.rs:53:53 [INFO] [stderr] | [INFO] [stderr] 53 | let connect_options = bollard::network::ConnectNetworkOptions { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in `bollard::network` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `DisconnectNetworkOptions` in module `bollard::network` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/docker-network-0.0.2/src/linux.rs:75:56 [INFO] [stderr] | [INFO] [stderr] 75 | let disconnect_options = bollard::network::DisconnectNetworkOptions { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `bollard::network` [INFO] [stderr] [INFO] [stderr] error[E0603]: struct `NetworkCreateRequest` is private [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/docker-network-0.0.2/src/linux.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | NetworkCreateRequest, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ private struct [INFO] [stderr] | [INFO] [stderr] note: the struct `NetworkCreateRequest` is defined here [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bollard-0.20.2/src/network.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use crate::models::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] help: import `NetworkCreateRequest` directly [INFO] [stderr] | [INFO] [stderr] 5 | bollard_stubs::models::NetworkCreateRequest, [INFO] [stderr] | +++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/docker-network-0.0.2/src/linux.rs:36:18 [INFO] [stderr] | [INFO] [stderr] 36 | .create_network(None, network_create) [INFO] [stderr] | ^^^^^^^^^^^^^^ -------------- unexpected argument #2 [INFO] [stderr] | [INFO] [stderr] note: expected `NetworkCreateRequest`, found `Option<_>` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/docker-network-0.0.2/src/linux.rs:36:33 [INFO] [stderr] | [INFO] [stderr] 36 | .create_network(None, network_create) [INFO] [stderr] | ^^^^ [INFO] [stderr] = note: expected struct `NetworkCreateRequest` [INFO] [stderr] found enum `std::option::Option<_>` [INFO] [stderr] note: method defined here [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bollard-0.20.2/src/network.rs:44:18 [INFO] [stderr] | [INFO] [stderr] 44 | pub async fn create_network( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] help: remove the extra argument [INFO] [stderr] | [INFO] [stderr] 36 - .create_network(None, network_create) [INFO] [stderr] 36 + .create_network(/* NetworkCreateRequest */) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map_err` found for opaque type `impl Future<Output = std::result::Result<NetworkCreateResponse, bollard::errors::Error>>` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/docker-network-0.0.2/src/linux.rs:37:18 [INFO] [stderr] | [INFO] [stderr] 34 | let response = self [INFO] [stderr] | ____________________________- [INFO] [stderr] 35 | | .docker [INFO] [stderr] 36 | | .create_network(None, network_create) [INFO] [stderr] 37 | | .map_err(|e| { [INFO] [stderr] | | -^^^^^^^ method not found in `impl Future<Output = std::result::Result<NetworkCreateResponse, bollard::errors::Error>>` [INFO] [stderr] | |_________________| [INFO] [stderr] | [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.32/src/future/try_future/mod.rs:308:8 [INFO] [stderr] | [INFO] [stderr] 308 | fn map_err<E, F>(self, f: F) -> MapErr<Self, F> [INFO] [stderr] | ------- the method is available for `impl Future<Output = std::result::Result<NetworkCreateResponse, bollard::errors::Error>>` here [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stderr] | [INFO] [stderr] 37 | .await.map_err(|e| { [INFO] [stderr] | ++++++ [INFO] [stderr] help: trait `TryFutureExt` which provides `map_err` is implemented but not in scope; perhaps you want to import it [INFO] [stderr] | [INFO] [stderr] 1 + use futures_util::future::try_future::TryFutureExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map_err` found for opaque type `impl Future<Output = std::result::Result<(), bollard::errors::Error>>` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/docker-network-0.0.2/src/linux.rs:61:18 [INFO] [stderr] | [INFO] [stderr] 59 | / self.docker [INFO] [stderr] 60 | | .connect_network(network_id, connect_options) [INFO] [stderr] 61 | | .map_err(|e| { [INFO] [stderr] | | -^^^^^^^ method not found in `impl Future<Output = std::result::Result<(), bollard::errors::Error>>` [INFO] [stderr] | |_________________| [INFO] [stderr] | [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.32/src/future/try_future/mod.rs:308:8 [INFO] [stderr] | [INFO] [stderr] 308 | fn map_err<E, F>(self, f: F) -> MapErr<Self, F> [INFO] [stderr] | ------- the method is available for `impl Future<Output = std::result::Result<(), bollard::errors::Error>>` here [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stderr] | [INFO] [stderr] 61 | .await.map_err(|e| { [INFO] [stderr] | ++++++ [INFO] [stderr] help: trait `TryFutureExt` which provides `map_err` is implemented but not in scope; perhaps you want to import it [INFO] [stderr] | [INFO] [stderr] 1 + use futures_util::future::try_future::TryFutureExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map_err` found for opaque type `impl Future<Output = std::result::Result<(), bollard::errors::Error>>` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/docker-network-0.0.2/src/linux.rs:83:18 [INFO] [stderr] | [INFO] [stderr] 81 | / self.docker [INFO] [stderr] 82 | | .disconnect_network(network_id, disconnect_options) [INFO] [stderr] 83 | | .map_err(|e| { [INFO] [stderr] | | -^^^^^^^ method not found in `impl Future<Output = std::result::Result<(), bollard::errors::Error>>` [INFO] [stderr] | |_________________| [INFO] [stderr] | [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.32/src/future/try_future/mod.rs:308:8 [INFO] [stderr] | [INFO] [stderr] 308 | fn map_err<E, F>(self, f: F) -> MapErr<Self, F> [INFO] [stderr] | ------- the method is available for `impl Future<Output = std::result::Result<(), bollard::errors::Error>>` here [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stderr] | [INFO] [stderr] 83 | .await.map_err(|e| { [INFO] [stderr] | ++++++ [INFO] [stderr] help: trait `TryFutureExt` which provides `map_err` is implemented but not in scope; perhaps you want to import it [INFO] [stderr] | [INFO] [stderr] 1 + use futures_util::future::try_future::TryFutureExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map_err` found for opaque type `impl Future<Output = std::result::Result<(), bollard::errors::Error>>` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/docker-network-0.0.2/src/linux.rs:96:52 [INFO] [stderr] | [INFO] [stderr] 96 | self.docker.remove_network(network_id).map_err(|e| { [INFO] [stderr] | ---------------------------------------^^^^^^^ method not found in `impl Future<Output = std::result::Result<(), bollard::errors::Error>>` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.32/src/future/try_future/mod.rs:308:8 [INFO] [stderr] | [INFO] [stderr] 308 | fn map_err<E, F>(self, f: F) -> MapErr<Self, F> [INFO] [stderr] | ------- the method is available for `impl Future<Output = std::result::Result<(), bollard::errors::Error>>` here [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stderr] | [INFO] [stderr] 96 | self.docker.remove_network(network_id).await.map_err(|e| { [INFO] [stderr] | ++++++ [INFO] [stderr] help: trait `TryFutureExt` which provides `map_err` is implemented but not in scope; perhaps you want to import it [INFO] [stderr] | [INFO] [stderr] 1 + use futures_util::future::try_future::TryFutureExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map_err` found for opaque type `impl Future<Output = Result<Vec<Network>, Error>>` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/docker-network-0.0.2/src/linux.rs:110:69 [INFO] [stderr] | [INFO] [stderr] 110 | let networks = self.docker.list_networks(Some(options)).map_err(|e| { [INFO] [stderr] | -----------------------------------------^^^^^^^ method not found in `impl Future<Output = Result<Vec<Network>, Error>>` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.32/src/future/try_future/mod.rs:308:8 [INFO] [stderr] | [INFO] [stderr] 308 | fn map_err<E, F>(self, f: F) -> MapErr<Self, F> [INFO] [stderr] | ------- the method is available for `impl Future<Output = std::result::Result<Vec<bollard::config::Network>, bollard::errors::Error>>` here [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/docker_network-8858dddda26ec256.long-type-2891868550329952669.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stderr] | [INFO] [stderr] 110 | let networks = self.docker.list_networks(Some(options)).await.map_err(|e| { [INFO] [stderr] | ++++++ [INFO] [stderr] help: trait `TryFutureExt` which provides `map_err` is implemented but not in scope; perhaps you want to import it [INFO] [stderr] | [INFO] [stderr] 1 + use futures_util::future::try_future::TryFutureExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/docker-network-0.0.2/src/linux.rs:142:26 [INFO] [stderr] | [INFO] [stderr] 142 | verbose: None, [INFO] [stderr] | ^^^^ expected `bool`, found `Option<_>` [INFO] [stderr] | [INFO] [stderr] = note: expected type `bool` [INFO] [stderr] found enum `std::option::Option<_>` [INFO] [stderr] help: use `Option::is_some` to test if the `Option` has a value [INFO] [stderr] | [INFO] [stderr] 142 | verbose: None.is_some(), [INFO] [stderr] | ++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map_err` found for opaque type `impl Future<Output = std::result::Result<NetworkInspect, bollard::errors::Error>>` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/docker-network-0.0.2/src/linux.rs:147:18 [INFO] [stderr] | [INFO] [stderr] 144 | let network = self [INFO] [stderr] | ___________________________- [INFO] [stderr] 145 | | .docker [INFO] [stderr] 146 | | .inspect_network(network_id, Some(options)) [INFO] [stderr] 147 | | .map_err(|e| { [INFO] [stderr] | | -^^^^^^^ method not found in `impl Future<Output = std::result::Result<NetworkInspect, bollard::errors::Error>>` [INFO] [stderr] | |_________________| [INFO] [stderr] | [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.32/src/future/try_future/mod.rs:308:8 [INFO] [stderr] | [INFO] [stderr] 308 | fn map_err<E, F>(self, f: F) -> MapErr<Self, F> [INFO] [stderr] | ------- the method is available for `impl Future<Output = std::result::Result<NetworkInspect, bollard::errors::Error>>` here [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stderr] | [INFO] [stderr] 147 | .await.map_err(|e| { [INFO] [stderr] | ++++++ [INFO] [stderr] help: trait `TryFutureExt` which provides `map_err` is implemented but not in scope; perhaps you want to import it [INFO] [stderr] | [INFO] [stderr] 1 + use futures_util::future::try_future::TryFutureExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0308, E0422, E0432, E0599, E0603. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: could not compile `docker-network` (lib) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "50523dfa11c243181fe516c8a2153165bc4e041f1b748a6785a7b0775cad703b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50523dfa11c243181fe516c8a2153165bc4e041f1b748a6785a7b0775cad703b", kill_on_drop: false }` [INFO] [stdout] 50523dfa11c243181fe516c8a2153165bc4e041f1b748a6785a7b0775cad703b