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.84.0-nightly (fbab78289 2024-11-04)
# docs.rs version docsrs 0.6.0 (fd0fad95 2024-11-04)
# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/libimagref-0.3.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/libimagref-0.3.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" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241104-1.84.0-nightly-fbab78289\", \"--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] ad85d0a67809b3c81aadf7529a7a806ec659726b20b09ba18750c4a7978e01ca [INFO] running `Command { std: "docker" "start" "-a" "ad85d0a67809b3c81aadf7529a7a806ec659726b20b09ba18750c4a7978e01ca", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Checking libimagentrylist v0.3.0 [INFO] [stderr] error[E0432]: unresolved imports `clap::App`, `clap::SubCommand` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libimagentrylist-0.3.0/src/cli.rs:20:29 [INFO] [stderr] | [INFO] [stderr] 20 | use clap::{Arg, ArgMatches, App, SubCommand}; [INFO] [stderr] | ^^^ ^^^^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | no `SubCommand` in the root [INFO] [stderr] | | help: a similar name exists in the module (notice the capitalization): `Subcommand` [INFO] [stderr] | no `App` in the root [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `with_name` found for struct `Arg` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libimagentrylist-0.3.0/src/cli.rs:36:19 [INFO] [stderr] | [INFO] [stderr] 36 | .arg(Arg::with_name(list_backend_line()) [INFO] [stderr] | ^^^^^^^^^ function or associated item not found in `Arg` [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `Arg`, consider using `Arg::new` which returns `Arg` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/clap_builder-4.5.20/src/builder/arg.rs:114:5 [INFO] [stderr] | [INFO] [stderr] 114 | pub fn new(id: impl Into<Id>) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `with_name` found for struct `Arg` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libimagentrylist-0.3.0/src/cli.rs:44:19 [INFO] [stderr] | [INFO] [stderr] 44 | .arg(Arg::with_name(list_backend_path()) [INFO] [stderr] | ^^^^^^^^^ function or associated item not found in `Arg` [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `Arg`, consider using `Arg::new` which returns `Arg` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/clap_builder-4.5.20/src/builder/arg.rs:114:5 [INFO] [stderr] | [INFO] [stderr] 114 | pub fn new(id: impl Into<Id>) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `with_name` found for struct `Arg` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libimagentrylist-0.3.0/src/cli.rs:52:19 [INFO] [stderr] | [INFO] [stderr] 52 | .arg(Arg::with_name(list_backend_path_absolute()) [INFO] [stderr] | ^^^^^^^^^ function or associated item not found in `Arg` [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `Arg`, consider using `Arg::new` which returns `Arg` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/clap_builder-4.5.20/src/builder/arg.rs:114:5 [INFO] [stderr] | [INFO] [stderr] 114 | pub fn new(id: impl Into<Id>) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `is_present` found for reference `&ArgMatches` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libimagentrylist-0.3.0/src/cli.rs:84:20 [INFO] [stderr] | [INFO] [stderr] 84 | if matches.is_present(list_backend_line()) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: there is a method `args_present` with a similar name, but with different arguments [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/clap_builder-4.5.20/src/parser/matches/arg_matches.rs:565:5 [INFO] [stderr] | [INFO] [stderr] 565 | pub fn args_present(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `is_present` found for reference `&ArgMatches` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libimagentrylist-0.3.0/src/cli.rs:88:20 [INFO] [stderr] | [INFO] [stderr] 88 | if matches.is_present(list_backend_path()) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: there is a method `args_present` with a similar name, but with different arguments [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/clap_builder-4.5.20/src/parser/matches/arg_matches.rs:565:5 [INFO] [stderr] | [INFO] [stderr] 565 | pub fn args_present(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `is_present` found for reference `&ArgMatches` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libimagentrylist-0.3.0/src/cli.rs:93:20 [INFO] [stderr] | [INFO] [stderr] 93 | if matches.is_present(list_backend_path_absolute()) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: there is a method `args_present` with a similar name, but with different arguments [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/clap_builder-4.5.20/src/parser/matches/arg_matches.rs:565:5 [INFO] [stderr] | [INFO] [stderr] 565 | pub fn args_present(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `libimagentrylist` (lib) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "ad85d0a67809b3c81aadf7529a7a806ec659726b20b09ba18750c4a7978e01ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad85d0a67809b3c81aadf7529a7a806ec659726b20b09ba18750c4a7978e01ca", kill_on_drop: false }` [INFO] [stdout] ad85d0a67809b3c81aadf7529a7a806ec659726b20b09ba18750c4a7978e01ca