docker-api 0.14.0

Interface to Docker API
Documentation

Build #831621 2023-06-05 21:44:15

# rustc version rustc 1.72.0-nightly (101fa903b 2023-06-04)

# docs.rs version docsrs 0.6.0 (4b18bfe6 2023-06-02)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/docker-api-0.14.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/docker-api-0.14.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" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20230604-1.72.0-nightly-101fa903b\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--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" "-j3" "--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] 007ee3bba1db69b703467970fb11438230b27c767fd21ce560c9c803c7347210 [INFO] running `Command { std: "docker" "start" "-a" "007ee3bba1db69b703467970fb11438230b27c767fd21ce560c9c803c7347210", kill_on_drop: false }` [INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: system, volume, network, exec, image, common, container, service [INFO] [stderr] If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true` [INFO] [stderr] to the [[example]] target configuration of at least one example. [INFO] [stderr] warning: Target filter specified, but no targets matched. This is a no-op [INFO] [stderr] Documenting docker-api v0.14.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unresolved link to `TtyMultiplexer` [INFO] [stderr] --> src/builder.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | #[doc = $doc] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/api/container.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | / api_doc! { Container => Attach [INFO] [stderr] 44 | | | [INFO] [stderr] 45 | | /// Attaches a [`TtyMultiplexer`](TtyMultiplexer) to the container. [INFO] [stderr] 46 | | /// [INFO] [stderr] ... | [INFO] [stderr] 62 | | .await [INFO] [stderr] 63 | | }} [INFO] [stderr] | |______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] Attaches a [`TtyMultiplexer`](TtyMultiplexer) to the container. [INFO] [stderr] ^^^^^^^^^^^^^^ [INFO] [stderr] = note: no item named `TtyMultiplexer` in scope [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] = note: this warning originates in the macro `calculated_doc` which comes from the expansion of the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `TtyMultiplexer::split` [INFO] [stderr] --> src/builder.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | #[doc = $doc] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/api/container.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | / api_doc! { Container => Attach [INFO] [stderr] 44 | | | [INFO] [stderr] 45 | | /// Attaches a [`TtyMultiplexer`](TtyMultiplexer) to the container. [INFO] [stderr] 46 | | /// [INFO] [stderr] ... | [INFO] [stderr] 62 | | .await [INFO] [stderr] 63 | | }} [INFO] [stderr] | |______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] The multiplexer can be split into its read and write halves with the [`split`](TtyMultiplexer::split) method [INFO] [stderr] ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: no item named `TtyMultiplexer` in scope [INFO] [stderr] = note: this warning originates in the macro `calculated_doc` which comes from the expansion of the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `Image::build_par` [INFO] [stderr] --> src/builder.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | #[doc = $doc] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/api/image.rs:120:5 [INFO] [stderr] | [INFO] [stderr] 120 | / api_doc! { Image => Build [INFO] [stderr] 121 | | | [INFO] [stderr] 122 | | /// Builds a new image by reading a Dockerfile in a target directory. If speed is [INFO] [stderr] 123 | | /// important consider using [`Image::build_par`](Image::build_par) that utilizes [INFO] [stderr] ... | [INFO] [stderr] 144 | | ) [INFO] [stderr] 145 | | }} [INFO] [stderr] | |______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] important consider using [`Image::build_par`](Image::build_par) that utilizes [INFO] [stderr] ^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: the struct `Image` has no field or associated item named `build_par` [INFO] [stderr] = note: this warning originates in the macro `calculated_doc` which comes from the expansion of the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `Image::build` [INFO] [stderr] --> src/builder.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | #[doc = $doc] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/api/image.rs:147:5 [INFO] [stderr] | [INFO] [stderr] 147 | / api_doc! { Image => Build [INFO] [stderr] 148 | | | [INFO] [stderr] 149 | | #[cfg(feature = "par-compress")] [INFO] [stderr] 150 | | /// Builds a new image by reading a Dockerfile in a target directory. Uses parallel [INFO] [stderr] ... | [INFO] [stderr] 172 | | ) [INFO] [stderr] 173 | | }} [INFO] [stderr] | |______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] [`Image::build`](Image::build). [INFO] [stderr] ^^^^^^^^^^^^ [INFO] [stderr] = note: the struct `Image` has no field or associated item named `build` [INFO] [stderr] = note: this warning originates in the macro `calculated_doc` which comes from the expansion of the macro `api_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `ContainerConnectOptsBuilder::ipam_config` [INFO] [stderr] --> src/opts/network.rs:346:25 [INFO] [stderr] | [INFO] [stderr] 346 | /// See [`ipam_config`](ContainerConnectOptsBuilder::ipam_config). [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `ContainerConnectOptsBuilder` in scope [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `EventOpts` [INFO] [stderr] --> src/opts/system.rs:60:41 [INFO] [stderr] | [INFO] [stderr] 60 | /// Builder interface for [`EventOpts`](EventOpts). [INFO] [stderr] | ^^^^^^^^^ no item named `EventOpts` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `timestamp` [INFO] [stderr] --> src/opts/container.rs:701:61 [INFO] [stderr] | [INFO] [stderr] 701 | /// Prune containers created before this timestamp. The <timestamp> can be Unix timestamps, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::invalid_html_tags)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `timestamp` [INFO] [stderr] --> src/opts/image.rs:498:57 [INFO] [stderr] | [INFO] [stderr] 498 | /// Prune images created before this timestamp. The <timestamp> can be Unix timestamps, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `timestamp` [INFO] [stderr] --> src/opts/network.rs:388:59 [INFO] [stderr] | [INFO] [stderr] 388 | /// Prune networks created before this timestamp. The <timestamp> can be Unix timestamps, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `docker-api` (lib doc) generated 9 warnings [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.50s [INFO] running `Command { std: "docker" "inspect" "007ee3bba1db69b703467970fb11438230b27c767fd21ce560c9c803c7347210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "007ee3bba1db69b703467970fb11438230b27c767fd21ce560c9c803c7347210", kill_on_drop: false }` [INFO] [stdout] 007ee3bba1db69b703467970fb11438230b27c767fd21ce560c9c803c7347210