plotters-unsable 0.1.13-5c709bb

Plot Drawing Library in Pure Rust for both native and WASM applications
Documentation
Build #2157874 2025-05-26 03:48:00
# rustc version
rustc 1.89.0-nightly (283db70ac 2025-05-25)# docs.rs version
docsrs 0.6.0 (107722ec 2025-05-24)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/plotters-unsable-0.1.13-5c709bb/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/plotters-unsable-0.1.13-5c709bb/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: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\", \"-20250525-1.89.0-nightly-283db70ac\", \"--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] 229e19f169d9c6d6c3ec7d3a7f824ead4cf4c31348c176e9a4c3b5ac045f8406
[INFO] running `Command { std: "docker" "start" "-a" "229e19f169d9c6d6c3ec7d3a7f824ead4cf4c31348c176e9a4c3b5ac045f8406", kill_on_drop: false }`
[INFO] [stderr] warning: unnecessary braces around block return value
[INFO] [stderr]   --> src/style/font/ttf.rs:80:9
[INFO] [stderr]    |
[INFO] [stderr] 80 |         { Mutex::new(HashMap::new()) };
[INFO] [stderr]    |         ^^                          ^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_braces)]` on by default
[INFO] [stderr] help: remove these braces
[INFO] [stderr]    |
[INFO] [stderr] 80 -         { Mutex::new(HashMap::new()) };
[INFO] [stderr] 80 +         Mutex::new(HashMap::new());
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stderr]  --> src/coord/datetime.rs:2:14
[INFO] [stderr]   |
[INFO] [stderr] 2 | use chrono::{Date, DateTime, Duration, TimeZone};
[INFO] [stderr]   |              ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stderr]  --> src/coord/datetime.rs:8:36
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub struct RangedDate<Z: TimeZone>(Date<Z>, Date<Z>);
[INFO] [stderr]   |                                    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stderr]  --> src/coord/datetime.rs:8:45
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub struct RangedDate<Z: TimeZone>(Date<Z>, Date<Z>);
[INFO] [stderr]   |                                             ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stderr]   --> src/coord/datetime.rs:13:30
[INFO] [stderr]    |
[INFO] [stderr] 13 | impl<Z: TimeZone> From<Range<Date<Z>>> for RangedDate<Z> {
[INFO] [stderr]    |                              ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stderr]   --> src/coord/datetime.rs:57:50
[INFO] [stderr]    |
[INFO] [stderr] 57 | impl<Z: TimeZone> super::AsRangedCoord for Range<Date<Z>> {
[INFO] [stderr]    |                                                  ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stderr]   --> src/coord/datetime.rs:14:26
[INFO] [stderr]    |
[INFO] [stderr] 14 |     fn from(range: Range<Date<Z>>) -> Self {
[INFO] [stderr]    |                          ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stderr]   --> src/coord/datetime.rs:20:22
[INFO] [stderr]    |
[INFO] [stderr] 20 |     type ValueType = Date<Z>;
[INFO] [stderr]    |                      ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stderr]   --> src/coord/datetime.rs:22:30
[INFO] [stderr]    |
[INFO] [stderr] 22 |     fn range(&self) -> Range<Date<Z>> {
[INFO] [stderr]    |                              ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stderr]   --> src/coord/datetime.rs:59:18
[INFO] [stderr]    |
[INFO] [stderr] 59 |     type Value = Date<Z>;
[INFO] [stderr]    |                  ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/element/mod.rs:198:22
[INFO] [stderr]     |
[INFO] [stderr] 198 |         points: &mut Iterator<Item = BackendCoord>,
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 198 |         points: &mut dyn Iterator<Item = BackendCoord>,
[INFO] [stderr]     |                      +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/element/mod.rs:206:22
[INFO] [stderr]     |
[INFO] [stderr] 206 |         points: &mut Iterator<Item = BackendCoord>,
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 206 |         points: &mut dyn Iterator<Item = BackendCoord>,
[INFO] [stderr]     |                      +++
[INFO] [stderr] 
[INFO] [stderr] warning: `plotters-unsable` (lib) generated 12 warnings (run `cargo fix --lib -p plotters-unsable` to apply 3 suggestions)
[INFO] [stderr]     Scraping plotters-unsable v0.1.13-5c709bb (/opt/rustwide/workdir)
[INFO] [stderr] warning: failed to scan example "mandelbrot" in package `plotters-unsable` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: failed to scan example "stock" in package `plotters-unsable` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `plotters-unsable` (example "mandelbrot") generated 1 warning
[INFO] [stderr] warning: `plotters-unsable` (example "stock") generated 1 warning
[INFO] [stderr] warning: failed to scan example "histogram" in package `plotters-unsable` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `plotters-unsable` (example "histogram") generated 1 warning
[INFO] [stderr] warning: failed to scan example "chart" in package `plotters-unsable` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `plotters-unsable` (example "chart") generated 1 warning
[INFO] [stderr]  Documenting plotters-unsable v0.1.13-5c709bb (/opt/rustwide/workdir)
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/lib.rs:321:45
[INFO] [stderr]     |
[INFO] [stderr] 321 | To use the latest development version, pull https://github.com/38/plotters.git. In `Cargo.toml`
[INFO] [stderr]     |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr]     = note: `#[warn(rustdoc::bare_urls)]` on by default
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]     |
[INFO] [stderr] 321 | To use the latest development version, pull <https://github.com/38/plotters.git.> In `Cargo.toml`
[INFO] [stderr]     |                                             +                                   +
[INFO] [stderr] 
[INFO] [stderr] warning: `plotters-unsable` (lib doc) generated 2 warnings (1 duplicate) (run `cargo fix --lib -p plotters-unsable` to apply 1 suggestion)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.67s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: svg v0.5.12
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/plotters_unsable/index.html
[INFO] running `Command { std: "docker" "inspect" "229e19f169d9c6d6c3ec7d3a7f824ead4cf4c31348c176e9a4c3b5ac045f8406", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "229e19f169d9c6d6c3ec7d3a7f824ead4cf4c31348c176e9a4c3b5ac045f8406", kill_on_drop: false }`
[INFO] [stdout] 229e19f169d9c6d6c3ec7d3a7f824ead4cf4c31348c176e9a4c3b5ac045f8406