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.84.0-nightly (bc5cf994d 2024-11-05)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/rustplot-0.1.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/rustplot-0.1.0/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241105-1.84.0-nightly-bc5cf994d\", \"--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] 2b371d826b8a7f0d891247f0ae93707f6792ab062bf05189e5497016aa41d3f1
[INFO] running `Command { std: "docker" "start" "-a" "2b371d826b8a7f0d891247f0ae93707f6792ab062bf05189e5497016aa41d3f1", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr] Documenting rustplot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved import `self::cairo::MatrixTrait`
[INFO] [stderr] --> src/chart_builder/mod.rs:59:5
[INFO] [stderr] |
[INFO] [stderr] 59 | use self::cairo::MatrixTrait;
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `MatrixTrait` in the root
[INFO] [stderr]
[INFO] [stderr] error[E0603]: module `enums` is private
[INFO] [stderr] --> src/chart_builder/mod.rs:57:18
[INFO] [stderr] |
[INFO] [stderr] 57 | use self::cairo::enums::{FontSlant, FontWeight};
[INFO] [stderr] | ^^^^^ private module
[INFO] [stderr] |
[INFO] [stderr] help: consider importing this enum instead:
[INFO] [stderr] chart_builder::cairo::FontSlant
[INFO] [stderr] --> src/chart_builder/mod.rs:57:26
[INFO] [stderr] |
[INFO] [stderr] 57 | use self::cairo::enums::{FontSlant, FontWeight};
[INFO] [stderr] | ^^^^^^^^^
[INFO] [stderr] note: the module `enums` is defined here
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-rs-0.18.5/src/lib.rs:258:1
[INFO] [stderr] |
[INFO] [stderr] 258 | mod enums;
[INFO] [stderr] | ^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error[E0603]: module `enums` is private
[INFO] [stderr] --> src/chart_builder/mod.rs:57:18
[INFO] [stderr] |
[INFO] [stderr] 57 | use self::cairo::enums::{FontSlant, FontWeight};
[INFO] [stderr] | ^^^^^ private module
[INFO] [stderr] |
[INFO] [stderr] help: consider importing this enum instead:
[INFO] [stderr] chart_builder::cairo::FontWeight
[INFO] [stderr] --> src/chart_builder/mod.rs:57:37
[INFO] [stderr] |
[INFO] [stderr] 57 | use self::cairo::enums::{FontSlant, FontWeight};
[INFO] [stderr] | ^^^^^^^^^^
[INFO] [stderr] note: the module `enums` is defined here
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-rs-0.18.5/src/lib.rs:258:1
[INFO] [stderr] |
[INFO] [stderr] 258 | mod enums;
[INFO] [stderr] | ^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr] --> src/chart_builder/charts/xy_scatter_plot.rs:199:81
[INFO] [stderr] |
[INFO] [stderr] 199 | start_x = _left_bound - (start_x_val * _horizontal_scaling);;
[INFO] [stderr] | ^ help: remove this semicolon
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stderr]
[INFO] [stderr] Some errors have detailed explanations: E0432, E0603.
[INFO] [stderr] For more information about an error, try `rustc --explain E0432`.
[INFO] [stderr] warning: `rustplot` (lib doc) generated 1 warning
[INFO] [stderr] error: could not document `rustplot`
[INFO] running `Command { std: "docker" "inspect" "2b371d826b8a7f0d891247f0ae93707f6792ab062bf05189e5497016aa41d3f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2b371d826b8a7f0d891247f0ae93707f6792ab062bf05189e5497016aa41d3f1", kill_on_drop: false }`
[INFO] [stdout] 2b371d826b8a7f0d891247f0ae93707f6792ab062bf05189e5497016aa41d3f1