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.89.0-nightly (4d08223c0 2025-05-31)# docs.rs version
docsrs 0.6.0 (d2911047 2025-05-28)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/rustc-test-0.3.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/rustc-test-0.3.1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250531-1.89.0-nightly-4d08223c0\", \"--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" "--config" "build.rustdocflags=[\"-Zmetrics-dir=/opt/rustwide/target/metrics\"]", 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] f4a5e5ee489333421e07823c4dced050b96362011ef6de4f9dd5d111988b1123
[INFO] running `Command { std: "docker" "start" "-a" "f4a5e5ee489333421e07823c4dced050b96362011ef6de4f9dd5d111988b1123", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr] Documenting rustc-test v0.3.1 (/opt/rustwide/workdir)
[INFO] [stderr] error: cannot find derive macro `RustcEncodable` in this scope
[INFO] [stderr] --> src/lib.rs:227:17
[INFO] [stderr] |
[INFO] [stderr] 227 | #[derive(Clone, RustcEncodable, RustcDecodable, PartialEq, Debug, Copy)]
[INFO] [stderr] | ^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: cannot find derive macro `RustcDecodable` in this scope
[INFO] [stderr] --> src/lib.rs:227:33
[INFO] [stderr] |
[INFO] [stderr] 227 | #[derive(Clone, RustcEncodable, RustcDecodable, PartialEq, Debug, Copy)]
[INFO] [stderr] | ^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unexpected `cfg` condition value: `nacl`
[INFO] [stderr] --> src/lib.rs:1243:46
[INFO] [stderr] |
[INFO] [stderr] 1243 | #[cfg(all(feature = "asm_black_box", not(all(target_os = "nacl", target_arch = "le32"))))]
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more
[INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: unexpected `cfg` condition value: `le32`
[INFO] [stderr] --> src/lib.rs:1243:66
[INFO] [stderr] |
[INFO] [stderr] 1243 | #[cfg(all(feature = "asm_black_box", not(all(target_os = "nacl", target_arch = "le32"))))]
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa`
[INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]
[INFO] [stderr] warning: unexpected `cfg` condition value: `nacl`
[INFO] [stderr] --> src/lib.rs:1250:50
[INFO] [stderr] |
[INFO] [stderr] 1250 | #[cfg(not(all(feature = "asm_black_box", not(all(target_os = "nacl", target_arch = "le32")))))]
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more
[INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]
[INFO] [stderr] warning: unexpected `cfg` condition value: `le32`
[INFO] [stderr] --> src/lib.rs:1250:70
[INFO] [stderr] |
[INFO] [stderr] 1250 | #[cfg(not(all(feature = "asm_black_box", not(all(target_os = "nacl", target_arch = "le32")))))]
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa`
[INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]
[INFO] [stderr] warning: unexpected `cfg` condition name: `rustc_emits_allow_fail`
[INFO] [stderr] --> src/lib.rs:215:11
[INFO] [stderr] |
[INFO] [stderr] 215 | #[cfg(rustc_emits_allow_fail)]
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more
[INFO] [stderr] = help: consider using a Cargo feature instead
[INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr] [lints.rust]
[INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_emits_allow_fail)'] }
[INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_emits_allow_fail)");` to the top of the `build.rs`
[INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]
[INFO] [stderr] warning: unexpected `cfg` condition name: `rustc_emits_allow_fail`
[INFO] [stderr] --> src/lib.rs:100:15
[INFO] [stderr] |
[INFO] [stderr] 100 | #[cfg(not(rustc_emits_allow_fail))]
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = help: consider using a Cargo feature instead
[INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr] [lints.rust]
[INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_emits_allow_fail)'] }
[INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_emits_allow_fail)");` to the top of the `build.rs`
[INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]
[INFO] [stderr] warning: unexpected `cfg` condition name: `rustc_emits_allow_fail`
[INFO] [stderr] --> src/lib.rs:109:11
[INFO] [stderr] |
[INFO] [stderr] 109 | #[cfg(rustc_emits_allow_fail)]
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = help: consider using a Cargo feature instead
[INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr] [lints.rust]
[INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_emits_allow_fail)'] }
[INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_emits_allow_fail)");` to the top of the `build.rs`
[INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]
[INFO] [stderr] warning: unexpected `cfg` condition value: `bitrig`
[INFO] [stderr] --> src/lib.rs:1002:15
[INFO] [stderr] |
[INFO] [stderr] 1002 | target_os = "bitrig",
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more
[INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]
[INFO] [stderr] warning: `rustc-test` (lib doc) generated 8 warnings
[INFO] [stderr] error: could not document `rustc-test`
[INFO] running `Command { std: "docker" "inspect" "f4a5e5ee489333421e07823c4dced050b96362011ef6de4f9dd5d111988b1123", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f4a5e5ee489333421e07823c4dced050b96362011ef6de4f9dd5d111988b1123", kill_on_drop: false }`
[INFO] [stdout] f4a5e5ee489333421e07823c4dced050b96362011ef6de4f9dd5d111988b1123