svg-diff 0.0.6

Find the diff between 2 SVGs in the form of a list of operations to get transform from one SVG to the other
Documentation
Build #1821588 2025-03-01 15:32:14

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.87.0-nightly (287487624 2025-02-28)# docs.rs version
docsrs 0.6.0 (d925d3c8 2025-02-27)# 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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250228-1.87.0-nightly-287487624\", \"--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] e27aa0fadc403a8110388562fde5a3a7a9f1ce57fb074df15b360e460dfdaa79
[INFO] running `Command { std: "docker" "start" "-a" "e27aa0fadc403a8110388562fde5a3a7a9f1ce57fb074df15b360e460dfdaa79", 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" "e27aa0fadc403a8110388562fde5a3a7a9f1ce57fb074df15b360e460dfdaa79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e27aa0fadc403a8110388562fde5a3a7a9f1ce57fb074df15b360e460dfdaa79", kill_on_drop: false }`
[INFO] [stdout] e27aa0fadc403a8110388562fde5a3a7a9f1ce57fb074df15b360e460dfdaa79