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 (6bc57c6bf 2025-04-22)# 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/svg-diff-0.0.6/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/svg-diff-0.0.6/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\", \"-20250422-1.88.0-nightly-6bc57c6bf\", \"--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] e704b4101d7b85cae6063b5fc19b4c9aeb95b6753031c55c59f31f03746eb14f [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" "e704b4101d7b85cae6063b5fc19b4c9aeb95b6753031c55c59f31f03746eb14f", kill_on_drop: false }` [INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: diagrams_animator, svg_animator [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 svg-diff v0.0.6 (/opt/rustwide/workdir) [INFO] [stderr] error[E0106]: missing lifetime specifiers [INFO] [stderr] --> src/diff/diff_funcs.rs:17:7 [INFO] [stderr] | [INFO] [stderr] 14 | origin: &'a SVG, [INFO] [stderr] | ------- [INFO] [stderr] 15 | target: &'a SVG, [INFO] [stderr] | ------- [INFO] [stderr] 16 | config: &'a config::Config, [INFO] [stderr] | ------------------ [INFO] [stderr] 17 | ) -> (SVGWithIDs, SVGWithIDs, Vec<DiffStep>) { [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^ expected named lifetime parameter [INFO] [stderr] | | [INFO] [stderr] | expected named lifetime parameter [INFO] [stderr] | [INFO] [stderr] = help: this function's return type contains a borrowed value with an elided lifetime, but the lifetime cannot be derived from the arguments [INFO] [stderr] help: consider using the `'a` lifetime [INFO] [stderr] | [INFO] [stderr] 17 | ) -> (SVGWithIDs<'a>, SVGWithIDs<'a>, Vec<DiffStep>) { [INFO] [stderr] | ++++ ++++ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stderr] --> src/errors.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / error_chain! { [INFO] [stderr] 4 | | types { [INFO] [stderr] 5 | | Error, ErrorKind, ResultExt, Result; [INFO] [stderr] ... | [INFO] [stderr] 15 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [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] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0106`. [INFO] [stderr] warning: `svg-diff` (lib doc) generated 1 warning [INFO] [stderr] error: could not document `svg-diff` [INFO] running `Command { std: "docker" "inspect" "e704b4101d7b85cae6063b5fc19b4c9aeb95b6753031c55c59f31f03746eb14f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e704b4101d7b85cae6063b5fc19b4c9aeb95b6753031c55c59f31f03746eb14f", kill_on_drop: false }` [INFO] [stdout] e704b4101d7b85cae6063b5fc19b4c9aeb95b6753031c55c59f31f03746eb14f