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.80.0-nightly (8f9080db4 2024-05-09)# docs.rs version docsrs 0.6.0 (7c63657e 2024-05-03)# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/leetcode-picker-0.1.8/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/leetcode-picker-0.1.8/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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240509-1.80.0-nightly-8f9080db4\", \"--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] [stdout] ea40a42854daf8d96d00834fbd847aaa87f4b4cc044dfff2cec3dbea98d335bf [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" "ea40a42854daf8d96d00834fbd847aaa87f4b4cc044dfff2cec3dbea98d335bf", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting leetcode-picker v0.1.8 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `clap::Clap` [INFO] [stderr] --> src/cli_args.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use clap::Clap; [INFO] [stderr] | ^^^^^^^^^^ no `Clap` in the root [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `clap` in this scope [INFO] [stderr] --> src/cli_args.rs:7:3 [INFO] [stderr] | [INFO] [stderr] 7 | #[clap(version = "0.1.7")] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `clap` in this scope [INFO] [stderr] --> src/cli_args.rs:10:7 [INFO] [stderr] | [INFO] [stderr] 10 | #[clap(long = "name")] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `clap` in this scope [INFO] [stderr] --> src/cli_args.rs:14:7 [INFO] [stderr] | [INFO] [stderr] 14 | #[clap(long = "id")] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `clap` in this scope [INFO] [stderr] --> src/cli_args.rs:18:7 [INFO] [stderr] | [INFO] [stderr] 18 | #[clap(short, long)] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `clap` in this scope [INFO] [stderr] --> src/cli_args.rs:22:7 [INFO] [stderr] | [INFO] [stderr] 22 | #[clap(short)] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `clap` in this scope [INFO] [stderr] --> src/cli_args.rs:26:7 [INFO] [stderr] | [INFO] [stderr] 26 | #[clap(short, long)] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `clap` in this scope [INFO] [stderr] --> src/cli_args.rs:30:7 [INFO] [stderr] | [INFO] [stderr] 30 | #[clap(short, long = "code")] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `clap` in this scope [INFO] [stderr] --> src/cli_args.rs:34:7 [INFO] [stderr] | [INFO] [stderr] 34 | #[clap(long = "temp-str")] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `clap` in this scope [INFO] [stderr] --> src/cli_args.rs:38:7 [INFO] [stderr] | [INFO] [stderr] 38 | #[clap(long = "temp-file")] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `clap` in this scope [INFO] [stderr] --> src/cli_args.rs:42:7 [INFO] [stderr] | [INFO] [stderr] 42 | #[clap(long = "token")] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Serialize` in this scope [INFO] [stderr] --> src/quiz.rs:24:32 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(Debug, Eq, PartialEq, Serialize, Clone)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stderr] --> src/quiz.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use serde::Serialize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] help: consider importing this derive macro [INFO] [stderr] | [INFO] [stderr] 1 + use serde_derive::Serialize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Serialize` in this scope [INFO] [stderr] --> src/quiz.rs:31:10 [INFO] [stderr] | [INFO] [stderr] 31 | #[derive(Serialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stderr] --> src/quiz.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use serde::Serialize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] help: consider importing this derive macro [INFO] [stderr] | [INFO] [stderr] 1 + use serde_derive::Serialize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `serde` in this scope [INFO] [stderr] --> src/quiz.rs:38:7 [INFO] [stderr] | [INFO] [stderr] 38 | #[serde(rename(serialize = "code"))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not document `leetcode-picker` [INFO] running `Command { std: "docker" "inspect" "ea40a42854daf8d96d00834fbd847aaa87f4b4cc044dfff2cec3dbea98d335bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea40a42854daf8d96d00834fbd847aaa87f4b4cc044dfff2cec3dbea98d335bf", kill_on_drop: false }` [INFO] [stdout] ea40a42854daf8d96d00834fbd847aaa87f4b4cc044dfff2cec3dbea98d335bf