image 0.20.1

Imaging library written in Rust. Provides basic filters and decoders for the most common image formats.
Documentation
Build #679283 2022-11-20T16:56:12.119049+00:00
# rustc version
rustc 1.67.0-nightly (c5d82ed7a 2022-11-19)# docs.rs version
docsrs 0.6.0 (33e304fa 2022-11-19)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/image-0.20.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/image-0.20.1/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" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20221119-1.67.0-nightly-c5d82ed7a\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--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\"" "-j3" "--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] 36534911938d99c2a0b367f08b9e47514136b77795618c561de037fdffbd4a0f
[INFO] running `Command { std: "docker" "start" "-a" "36534911938d99c2a0b367f08b9e47514136b77795618c561de037fdffbd4a0f", kill_on_drop: false }`
[INFO] [stderr]  Documenting image v0.20.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]    --> src/pnm/encoder.rs:173:34
[INFO] [stderr]     |
[INFO] [stderr] 173 |             ColorType::Gray(n @ 1...16) => ((1 << n) - 1, ArbitraryTuplType::Grayscale),
[INFO] [stderr]     |                                  ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) 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(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]    --> src/pnm/encoder.rs:174:35
[INFO] [stderr]     |
[INFO] [stderr] 174 |             ColorType::GrayA(n @ 1...16) => ((1 << n) - 1, ArbitraryTuplType::GrayscaleAlpha),
[INFO] [stderr]     |                                   ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) 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] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]    --> src/pnm/encoder.rs:175:33
[INFO] [stderr]     |
[INFO] [stderr] 175 |             ColorType::RGB(n @ 1...16) => ((1 << n) - 1, ArbitraryTuplType::RGB),
[INFO] [stderr]     |                                 ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) 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] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]    --> src/pnm/encoder.rs:176:34
[INFO] [stderr]     |
[INFO] [stderr] 176 |             ColorType::RGBA(n @ 1...16) => ((1 << n) - 1, ArbitraryTuplType::RGBAlpha),
[INFO] [stderr]     |                                  ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) 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] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]     --> src/webp/vp8.rs:1304:32
[INFO] [stderr]      |
[INFO] [stderr] 1304 |                 literal @ DCT_1...DCT_4 => i16::from(literal),
[INFO] [stderr]      |                                ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]      |
[INFO] [stderr]      = warning: this is accepted in the current edition (Rust 2015) 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] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]     --> src/webp/vp8.rs:1306:36
[INFO] [stderr]      |
[INFO] [stderr] 1306 |                 category @ DCT_CAT1...DCT_CAT6 => {
[INFO] [stderr]      |                                    ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]      |
[INFO] [stderr]      = warning: this is accepted in the current edition (Rust 2015) 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] 
[INFO] [stderr] warning: unclosed HTML tag `T`
[INFO] [stderr]    --> src/hdr/hdr_decoder.rs:138:37
[INFO] [stderr]     |
[INFO] [stderr] 138 |     /// Converts RGBE8Pixel into Rgb<T> using provided scale and gamma
[INFO] [stderr]     |                                     ^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(rustdoc::invalid_html_tags)]` on by default
[INFO] [stderr] help: try marking as source code
[INFO] [stderr]     |
[INFO] [stderr] 138 |     /// Converts RGBE8Pixel into `Rgb<T>` using provided scale and gamma
[INFO] [stderr]     |                                  +      +
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `u8`
[INFO] [stderr]    --> src/hdr/hdr_decoder.rs:326:53
[INFO] [stderr]     |
[INFO] [stderr] 326 |     /// Consumes decoder and returns a vector of Rgb<u8> pixels.
[INFO] [stderr]     |                                                     ^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: try marking as source code
[INFO] [stderr]     |
[INFO] [stderr] 326 |     /// Consumes decoder and returns a vector of `Rgb<u8>` pixels.
[INFO] [stderr]     |                                                  +       +
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `f32`
[INFO] [stderr]    --> src/hdr/hdr_decoder.rs:332:53
[INFO] [stderr]     |
[INFO] [stderr] 332 |     /// Consumes decoder and returns a vector of Rgb<f32> pixels.
[INFO] [stderr]     |                                                     ^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: try marking as source code
[INFO] [stderr]     |
[INFO] [stderr] 332 |     /// Consumes decoder and returns a vector of `Rgb<f32>` pixels.
[INFO] [stderr]     |                                                  +        +
[INFO] [stderr] 
[INFO] [stderr] warning: `image` (lib doc) generated 9 warnings (run `cargo fix --lib -p image` to apply 6 suggestions)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.33s
[INFO] running `Command { std: "docker" "inspect" "36534911938d99c2a0b367f08b9e47514136b77795618c561de037fdffbd4a0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "36534911938d99c2a0b367f08b9e47514136b77795618c561de037fdffbd4a0f", kill_on_drop: false }`
[INFO] [stdout] 36534911938d99c2a0b367f08b9e47514136b77795618c561de037fdffbd4a0f