ex3-node-types 0.15.166

EX3 main node types.
Documentation
Build #2004425 2025-04-16 16:58:05

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.88.0-nightly (38c560ae6 2025-04-15)# docs.rs version
docsrs 0.6.0 (ee9a3fe6 2025-03-28)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/ex3-node-types-0.15.166/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/ex3-node-types-0.15.166/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250415-1.88.0-nightly-38c560ae6\", \"--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] 21d93f7aa748e90b6290cf7ff4f521c13076bbd55d1e705afae613a5bc1382cc
[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" "21d93f7aa748e90b6290cf7ff4f521c13076bbd55d1e705afae613a5bc1382cc", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting ex3-node-types v0.15.166 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0053]: method `steps_between` has an incompatible type for trait
[INFO] [stderr]    --> src/number/mod.rs:162:51
[INFO] [stderr]     |
[INFO] [stderr] 162 |     fn steps_between(start: &Self, end: &Self) -> Option<usize> {
[INFO] [stderr]     |                                                   ^^^^^^^^^^^^^ expected `(usize, std::option::Option<usize>)`, found `std::option::Option<usize>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected signature `fn(&number::Ex3Uint, &number::Ex3Uint) -> (usize, std::option::Option<usize>)`
[INFO] [stderr]                found signature `fn(&number::Ex3Uint, &number::Ex3Uint) -> std::option::Option<usize>`
[INFO] [stderr] help: change the output type to match the trait
[INFO] [stderr]     |
[INFO] [stderr] 162 -     fn steps_between(start: &Self, end: &Self) -> Option<usize> {
[INFO] [stderr] 162 +     fn steps_between(start: &Self, end: &Self) -> (usize, std::option::Option<usize>) {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0053`.
[INFO] [stderr] error: could not document `ex3-node-types`
[INFO] running `Command { std: "docker" "inspect" "21d93f7aa748e90b6290cf7ff4f521c13076bbd55d1e705afae613a5bc1382cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "21d93f7aa748e90b6290cf7ff4f521c13076bbd55d1e705afae613a5bc1382cc", kill_on_drop: false }`
[INFO] [stdout] 21d93f7aa748e90b6290cf7ff4f521c13076bbd55d1e705afae613a5bc1382cc