[INFO] cloning repository https://github.com/gauravsaini/fpdf2-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gauravsaini/fpdf2-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgauravsaini%2Ffpdf2-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgauravsaini%2Ffpdf2-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 382e0a2c66cd682b4b68a0b9e8ca87da05180e14 [INFO] testing gauravsaini/fpdf2-rs against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgauravsaini%2Ffpdf2-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gauravsaini/fpdf2-rs [INFO] removed 1 missing examples [INFO] finished tweaking git repo https://github.com/gauravsaini/fpdf2-rs [INFO] tweaked toml for git repo https://github.com/gauravsaini/fpdf2-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gauravsaini/fpdf2-rs on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gauravsaini/fpdf2-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing gauravsaini/fpdf2-rs against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgauravsaini%2Ffpdf2-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gauravsaini/fpdf2-rs [INFO] removed 1 missing examples [INFO] finished tweaking git repo https://github.com/gauravsaini/fpdf2-rs [INFO] tweaked toml for git repo https://github.com/gauravsaini/fpdf2-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gauravsaini/fpdf2-rs on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gauravsaini/fpdf2-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded potential_utf v0.1.3 [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] [stderr] Downloaded half v2.7.0 [INFO] [stderr] Downloaded flate2 v1.1.4 [INFO] [stderr] Downloaded clap v4.5.48 [INFO] [stderr] Downloaded cc v1.2.41 [INFO] [stderr] Downloaded clap_builder v4.5.48 [INFO] [stderr] Downloaded regex v1.12.1 [INFO] [stderr] Downloaded regex-syntax v0.8.7 [INFO] [stderr] Downloaded regex-automata v0.4.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfebcc5b44ca3671ba084fde2733c5d322e3d8e001081211ab5c4bcc5e874c53 [INFO] running `Command { std: "docker" "start" "-a" "cfebcc5b44ca3671ba084fde2733c5d322e3d8e001081211ab5c4bcc5e874c53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfebcc5b44ca3671ba084fde2733c5d322e3d8e001081211ab5c4bcc5e874c53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfebcc5b44ca3671ba084fde2733c5d322e3d8e001081211ab5c4bcc5e874c53", kill_on_drop: false }` [INFO] [stdout] cfebcc5b44ca3671ba084fde2733c5d322e3d8e001081211ab5c4bcc5e874c53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf177a2b41caae5c11116055b5152999ecb0494dfcf1f45d395bb6e12b549c5e [INFO] running `Command { std: "docker" "start" "-a" "bf177a2b41caae5c11116055b5152999ecb0494dfcf1f45d395bb6e12b549c5e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling flate2 v1.1.4 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling half v2.7.0 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling fpdf2_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:660:16 [INFO] [stdout] | [INFO] [stdout] 660 | style: crate::enums::FontStyle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | #![warn(unused_qualifications)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 660 - style: crate::enums::FontStyle, [INFO] [stdout] 660 + style: FontStyle, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:693:44 [INFO] [stdout] | [INFO] [stdout] 693 | pub fn get_font_style(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 693 - pub fn get_font_style(&self) -> Option { [INFO] [stdout] 693 + pub fn get_font_style(&self) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:696:17 [INFO] [stdout] | [INFO] [stdout] 696 | crate::enums::FontStyle::BoldItalic [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 696 - crate::enums::FontStyle::BoldItalic [INFO] [stdout] 696 + FontStyle::BoldItalic [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:698:17 [INFO] [stdout] | [INFO] [stdout] 698 | crate::enums::FontStyle::Bold [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 698 - crate::enums::FontStyle::Bold [INFO] [stdout] 698 + FontStyle::Bold [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:700:17 [INFO] [stdout] | [INFO] [stdout] 700 | crate::enums::FontStyle::Italic [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 700 - crate::enums::FontStyle::Italic [INFO] [stdout] 700 + FontStyle::Italic [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:702:17 [INFO] [stdout] | [INFO] [stdout] 702 | crate::enums::FontStyle::Regular [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 702 - crate::enums::FontStyle::Regular [INFO] [stdout] 702 + FontStyle::Regular [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:767:45 [INFO] [stdout] | [INFO] [stdout] 767 | self.cell_with_alignment(w, h, txt, crate::enums::TextAlignment::Left) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 767 - self.cell_with_alignment(w, h, txt, crate::enums::TextAlignment::Left) [INFO] [stdout] 767 + self.cell_with_alignment(w, h, txt, TextAlignment::Left) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:776:16 [INFO] [stdout] | [INFO] [stdout] 776 | align: crate::enums::TextAlignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 776 - align: crate::enums::TextAlignment, [INFO] [stdout] 776 + align: TextAlignment, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:814:34 [INFO] [stdout] | [INFO] [stdout] 814 | let black_color: Box = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 814 - let black_color: Box = [INFO] [stdout] 814 + let black_color: Box = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:852:16 [INFO] [stdout] | [INFO] [stdout] 852 | align: crate::enums::TextAlignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 852 - align: crate::enums::TextAlignment, [INFO] [stdout] 852 + align: TextAlignment, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:886:16 [INFO] [stdout] | [INFO] [stdout] 886 | align: crate::enums::TextAlignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 886 - align: crate::enums::TextAlignment, [INFO] [stdout] 886 + align: TextAlignment, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:933:51 [INFO] [stdout] | [INFO] [stdout] 933 | self.multi_cell_with_alignment(w, h, txt, crate::enums::TextAlignment::Left) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 933 - self.multi_cell_with_alignment(w, h, txt, crate::enums::TextAlignment::Left) [INFO] [stdout] 933 + self.multi_cell_with_alignment(w, h, txt, TextAlignment::Left) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:942:16 [INFO] [stdout] | [INFO] [stdout] 942 | align: crate::enums::TextAlignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 942 - align: crate::enums::TextAlignment, [INFO] [stdout] 942 + align: TextAlignment, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:964:34 [INFO] [stdout] | [INFO] [stdout] 964 | let black_color: Box = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 964 - let black_color: Box = [INFO] [stdout] 964 + let black_color: Box = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1016:16 [INFO] [stdout] | [INFO] [stdout] 1016 | align: crate::enums::TextAlignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1016 - align: crate::enums::TextAlignment, [INFO] [stdout] 1016 + align: TextAlignment, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1039:34 [INFO] [stdout] | [INFO] [stdout] 1039 | let black_color: Box = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1039 - let black_color: Box = [INFO] [stdout] 1039 + let black_color: Box = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1197:33 [INFO] [stdout] | [INFO] [stdout] 1197 | .with_alignment(crate::enums::TextAlignment::Left) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1197 - .with_alignment(crate::enums::TextAlignment::Left) [INFO] [stdout] 1197 + .with_alignment(TextAlignment::Left) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1202:34 [INFO] [stdout] | [INFO] [stdout] 1202 | let black_color: Box = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1202 - let black_color: Box = [INFO] [stdout] 1202 + let black_color: Box = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1260:49 [INFO] [stdout] | [INFO] [stdout] 1260 | self.cell_rtl_with_alignment(w, h, txt, crate::enums::TextAlignment::Left) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1260 - self.cell_rtl_with_alignment(w, h, txt, crate::enums::TextAlignment::Left) [INFO] [stdout] 1260 + self.cell_rtl_with_alignment(w, h, txt, TextAlignment::Left) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1269:16 [INFO] [stdout] | [INFO] [stdout] 1269 | align: crate::enums::TextAlignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1269 - align: crate::enums::TextAlignment, [INFO] [stdout] 1269 + align: TextAlignment, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1284:38 [INFO] [stdout] | [INFO] [stdout] 1284 | let black_color: Box = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1284 - let black_color: Box = [INFO] [stdout] 1284 + let black_color: Box = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1285:78 [INFO] [stdout] | [INFO] [stdout] 1285 | Box::new(crate::color::PdfRgbColor::new(0, 0, 0)) as Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1285 - Box::new(crate::color::PdfRgbColor::new(0, 0, 0)) as Box; [INFO] [stdout] 1285 + Box::new(crate::color::PdfRgbColor::new(0, 0, 0)) as Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1313:34 [INFO] [stdout] | [INFO] [stdout] 1313 | let black_color: Box = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1313 - let black_color: Box = [INFO] [stdout] 1313 + let black_color: Box = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1366:16 [INFO] [stdout] | [INFO] [stdout] 1366 | align: crate::enums::TextAlignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1366 - align: crate::enums::TextAlignment, [INFO] [stdout] 1366 + align: TextAlignment, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1423:55 [INFO] [stdout] | [INFO] [stdout] 1423 | self.multi_cell_rtl_with_alignment(w, h, txt, crate::enums::TextAlignment::Left) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1423 - self.multi_cell_rtl_with_alignment(w, h, txt, crate::enums::TextAlignment::Left) [INFO] [stdout] 1423 + self.multi_cell_rtl_with_alignment(w, h, txt, TextAlignment::Left) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1432:16 [INFO] [stdout] | [INFO] [stdout] 1432 | align: crate::enums::TextAlignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1432 - align: crate::enums::TextAlignment, [INFO] [stdout] 1432 + align: TextAlignment, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1453:34 [INFO] [stdout] | [INFO] [stdout] 1453 | let black_color: Box = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1453 - let black_color: Box = [INFO] [stdout] 1453 + let black_color: Box = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1488:16 [INFO] [stdout] | [INFO] [stdout] 1488 | align: crate::enums::TextAlignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1488 - align: crate::enums::TextAlignment, [INFO] [stdout] 1488 + align: TextAlignment, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1512:34 [INFO] [stdout] | [INFO] [stdout] 1512 | let black_color: Box = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1512 - let black_color: Box = [INFO] [stdout] 1512 + let black_color: Box = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1586:34 [INFO] [stdout] | [INFO] [stdout] 1586 | let black_color: Box = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1586 - let black_color: Box = [INFO] [stdout] 1586 + let black_color: Box = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1587:74 [INFO] [stdout] | [INFO] [stdout] 1587 | Box::new(crate::color::PdfRgbColor::new(0, 0, 0)) as Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1587 - Box::new(crate::color::PdfRgbColor::new(0, 0, 0)) as Box; [INFO] [stdout] 1587 + Box::new(crate::color::PdfRgbColor::new(0, 0, 0)) as Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1675:16 [INFO] [stdout] | [INFO] [stdout] 1675 | align: crate::enums::TextAlignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1675 - align: crate::enums::TextAlignment, [INFO] [stdout] 1675 + align: TextAlignment, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1693:16 [INFO] [stdout] | [INFO] [stdout] 1693 | align: crate::enums::TextAlignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1693 - align: crate::enums::TextAlignment, [INFO] [stdout] 1693 + align: TextAlignment, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1706:16 [INFO] [stdout] | [INFO] [stdout] 1706 | align: crate::enums::TextAlignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1706 - align: crate::enums::TextAlignment, [INFO] [stdout] 1706 + align: TextAlignment, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1714:53 [INFO] [stdout] | [INFO] [stdout] 1714 | pub fn set_text_alignment(&mut self, alignment: crate::enums::TextAlignment) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1714 - pub fn set_text_alignment(&mut self, alignment: crate::enums::TextAlignment) { [INFO] [stdout] 1714 + pub fn set_text_alignment(&mut self, alignment: TextAlignment) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1719:41 [INFO] [stdout] | [INFO] [stdout] 1719 | pub fn get_text_alignment(&self) -> crate::enums::TextAlignment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1719 - pub fn get_text_alignment(&self) -> crate::enums::TextAlignment { [INFO] [stdout] 1719 + pub fn get_text_alignment(&self) -> TextAlignment { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1728:16 [INFO] [stdout] | [INFO] [stdout] 1728 | style: crate::enums::FontStyle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1728 - style: crate::enums::FontStyle, [INFO] [stdout] 1728 + style: FontStyle, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1740:16 [INFO] [stdout] | [INFO] [stdout] 1740 | style: crate::enums::FontStyle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1740 - style: crate::enums::FontStyle, [INFO] [stdout] 1740 + style: FontStyle, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1749:58 [INFO] [stdout] | [INFO] [stdout] 1749 | pub fn is_font_available(&self, family: &str, style: crate::enums::FontStyle) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1749 - pub fn is_font_available(&self, family: &str, style: crate::enums::FontStyle) -> bool { [INFO] [stdout] 1749 + pub fn is_font_available(&self, family: &str, style: FontStyle) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1759:61 [INFO] [stdout] | [INFO] [stdout] 1759 | pub fn get_available_styles(&self, family: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1759 - pub fn get_available_styles(&self, family: &str) -> Vec { [INFO] [stdout] 1759 + pub fn get_available_styles(&self, family: &str) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:2439:58 [INFO] [stdout] | [INFO] [stdout] 2439 | pub fn to_bytes_compressed(&self) -> Result, crate::internal::PdfError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 2439 - pub fn to_bytes_compressed(&self) -> Result, crate::internal::PdfError> { [INFO] [stdout] 2439 + pub fn to_bytes_compressed(&self) -> Result, PdfError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:2633:46 [INFO] [stdout] | [INFO] [stdout] 2633 | fn set_blend_mode(&mut self, blend_mode: crate::enums::PdfBlendMode) -> PdfResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 2633 - fn set_blend_mode(&mut self, blend_mode: crate::enums::PdfBlendMode) -> PdfResult<()> { [INFO] [stdout] 2633 + fn set_blend_mode(&mut self, blend_mode: PdfBlendMode) -> PdfResult<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:2639:33 [INFO] [stdout] | [INFO] [stdout] 2639 | fn get_blend_mode(&self) -> crate::enums::PdfBlendMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 2639 - fn get_blend_mode(&self) -> crate::enums::PdfBlendMode { [INFO] [stdout] 2639 + fn get_blend_mode(&self) -> PdfBlendMode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:2725:13 [INFO] [stdout] | [INFO] [stdout] 2725 | crate::enums::PdfVersion::V1_4 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 2725 - crate::enums::PdfVersion::V1_4 [INFO] [stdout] 2725 + PdfVersion::V1_4 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:2726:19 [INFO] [stdout] | [INFO] [stdout] 2726 | | crate::enums::PdfVersion::V1_5 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 2726 - | crate::enums::PdfVersion::V1_5 [INFO] [stdout] 2726 + | PdfVersion::V1_5 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:2727:19 [INFO] [stdout] | [INFO] [stdout] 2727 | | crate::enums::PdfVersion::V1_6 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 2727 - | crate::enums::PdfVersion::V1_6 [INFO] [stdout] 2727 + | PdfVersion::V1_6 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:2728:19 [INFO] [stdout] | [INFO] [stdout] 2728 | | crate::enums::PdfVersion::V1_7 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 2728 - | crate::enums::PdfVersion::V1_7 [INFO] [stdout] 2728 + | PdfVersion::V1_7 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:2734:28 [INFO] [stdout] | [INFO] [stdout] 2734 | self.version = crate::enums::PdfVersion::V1_4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 2734 - self.version = crate::enums::PdfVersion::V1_4; [INFO] [stdout] 2734 + self.version = PdfVersion::V1_4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/internal/pdf_link.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/internal/pdf_streaming.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `Write` [INFO] [stdout] --> src/internal/pdf_object_compression.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{self, Write, Read}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/internal/pdf_memory_efficient.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/internal/mod.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub use pdf_link::*; [INFO] [stdout] | ^^^^^^^^^^^ the name `LinkHighlightMode` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 69 | pub use pdf_page_annotation::*; [INFO] [stdout] | ---------------------- but the name `LinkHighlightMode` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/internal/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub use pdf_border::*; [INFO] [stdout] | ^^^^^^^^^^^^^ the name `BorderStyle` in the type namespace is first re-exported here [INFO] [stdout] 69 | pub use pdf_page_annotation::*; [INFO] [stdout] | ---------------------- but the name `BorderStyle` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pdf_page_info::*` [INFO] [stdout] --> src/internal/mod.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub use pdf_page_info::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pdf_viewer_preferences::*` [INFO] [stdout] --> src/internal/mod.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub use pdf_viewer_preferences::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PdfPoint` [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::internal::{PdfPoint, PdfSize}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageColorSpace` and `ImageCompression` [INFO] [stdout] --> src/image_parsers/image_handler.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | ImageColorSpace, ImageCompression, ImageMetadata, ImageParseError, ImageParser, ImageScaling, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PdfPoint` and `PdfSize` [INFO] [stdout] --> src/image_parsers/image_handler.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::internal::{PdfPoint, PdfSize}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `calculate_physical_size` [INFO] [stdout] --> src/image_parsers/pdf_gif_parser.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | calculate_physical_size, ImageColorSpace, ImageCompression, ImageMetadata, ImageParseError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::ImageFormat` [INFO] [stdout] --> src/image_parsers/pdf_gif_parser.rs:511:17 [INFO] [stdout] | [INFO] [stdout] 511 | use image::ImageFormat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::ImageFormat` [INFO] [stdout] --> src/image_parsers/pdf_jpg_parser.rs:503:17 [INFO] [stdout] | [INFO] [stdout] 503 | use image::ImageFormat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::ImageFormat` [INFO] [stdout] --> src/image_parsers/pdf_png_parser.rs:504:17 [INFO] [stdout] | [INFO] [stdout] 504 | use image::ImageFormat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `calculate_physical_size` [INFO] [stdout] --> src/image_parsers/pdf_webp_parser.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | calculate_physical_size, ImageColorSpace, ImageCompression, ImageMetadata, ImageParseError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::ImageFormat` [INFO] [stdout] --> src/image_parsers/pdf_webp_parser.rs:414:17 [INFO] [stdout] | [INFO] [stdout] 414 | use image::ImageFormat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TextDecorationConfig` [INFO] [stdout] --> src/font/rtl_text_renderer.rs:11:52 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::font::text_decoration::{DecorationLine, TextDecorationConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TextUnicodeAnalysis`, `TextWrapper`, and `UnicodeNormalizationForm` [INFO] [stdout] --> src/font/rtl_text_renderer.rs:13:80 [INFO] [stdout] | [INFO] [stdout] 13 | RenderedLine, RenderedText, TextDirection, TextRenderConfig, TextRenderer, TextUnicodeAnalysis, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | TextWrapper, UnicodeNormalizationForm, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnicodeProcessor` [INFO] [stdout] --> src/font/rtl_text_renderer.rs:17:36 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::utils::encoding_utils::{UnicodeProcessor, UnicodeResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UnicodeError`, `UnicodeProcessor`, and `UnicodeResult` [INFO] [stdout] --> src/font/text_renderer.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::utils::encoding_utils::{UnicodeError, UnicodeProcessor, UnicodeResult}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `standard_fonts::*` [INFO] [stdout] --> src/font/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub use standard_fonts::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GraphicsState` and `PdfError` [INFO] [stdout] --> src/graphics/clipping.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::internal::{ClippingPath, GraphicsState, PdfError, PdfResult}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::color::PdfColor` [INFO] [stdout] --> src/graphics/line_drawing.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::color::PdfColor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::color::PdfColor` [INFO] [stdout] --> src/graphics/shape_drawing.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::color::PdfColor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `coordinate_system::*` [INFO] [stdout] --> src/graphics/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use coordinate_system::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `drawing_primitives::*` [INFO] [stdout] --> src/graphics/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use drawing_primitives::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shape_drawing::*` [INFO] [stdout] --> src/graphics/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use shape_drawing::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime` and `UNIX_EPOCH` [INFO] [stdout] --> src/content/metadata.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `content_objects::*` [INFO] [stdout] --> src/content/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use content_objects::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image_content::*` [INFO] [stdout] --> src/content/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use image_content::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `table_content::*` [INFO] [stdout] --> src/content/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use table_content::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `text_content::*` [INFO] [stdout] --> src/content/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use text_content::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/utils/bidi.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::internal::PdfError` [INFO] [stdout] --> src/utils/compression_utils.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::internal::PdfError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeflateDecoder` and `DeflateEncoder` [INFO] [stdout] --> src/utils/compression_utils.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use flate2::read::{DeflateDecoder, DeflateEncoder}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeflateDecoder as WriteDeflateDecoder` and `DeflateEncoder as WriteDeflateEncoder` [INFO] [stdout] --> src/utils/compression_utils.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use flate2::write::{DeflateDecoder as WriteDeflateDecoder, DeflateEncoder as WriteDeflateEncoder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Compress` and `Decompress` [INFO] [stdout] --> src/utils/compression_utils.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use flate2::{Compress, Compression, Decompress}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/utils/compression_utils.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader` and `BufWriter` [INFO] [stdout] --> src/utils/compression_utils.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::{self, BufReader, BufWriter, Read, Write}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/utils/compression_utils.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `file_utils::*` [INFO] [stdout] --> src/utils/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use file_utils::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `math_utils::*` [INFO] [stdout] --> src/utils/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use math_utils::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `string_utils::*` [INFO] [stdout] --> src/utils/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use string_utils::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::color::PdfColor` [INFO] [stdout] --> src/traits/pdf_transparency_trait.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color::PdfColor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pdf_attachment_trait::*` [INFO] [stdout] --> src/traits/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use pdf_attachment_trait::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pdf_enum_default_trait::*` [INFO] [stdout] --> src/traits/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use pdf_enum_default_trait::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pdf_rotation_trait::*` [INFO] [stdout] --> src/traits/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use pdf_rotation_trait::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pdf_sector_trait::*` [INFO] [stdout] --> src/traits/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use pdf_sector_trait::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pdf_transparency_trait::*` [INFO] [stdout] --> src/traits/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub use pdf_transparency_trait::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/utils/compression_utils.rs:13:43 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::{self, BufReader, BufWriter, Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/internal/pdf_memory_efficient.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImageParser` [INFO] [stdout] --> src/image_parsers/image_handler.rs:8:72 [INFO] [stdout] | [INFO] [stdout] 8 | ImageColorSpace, ImageCompression, ImageMetadata, ImageParseError, ImageParser, ImageScaling, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/utils/compression_utils.rs:13:49 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::{self, BufReader, BufWriter, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/internal/pdf_bookmark.rs:218:33 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn retain(&mut self, mut f: F) [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> src/internal/pdf_clipping_path.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let center = PdfPoint { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> src/internal/pdf_clipping_path.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let center = PdfPoint { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `original_x` [INFO] [stdout] --> src/internal/pdf_document.rs:805:13 [INFO] [stdout] | [INFO] [stdout] 805 | let original_x = self.x; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_original_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `original_y` [INFO] [stdout] --> src/internal/pdf_document.rs:806:13 [INFO] [stdout] | [INFO] [stdout] 806 | let original_y = self.y; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_original_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rendered_text` [INFO] [stdout] --> src/internal/pdf_document.rs:823:14 [INFO] [stdout] | [INFO] [stdout] 823 | let (rendered_text, decorations) = crate::font::TextRenderer::render_text( [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rendered_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decorations` [INFO] [stdout] --> src/internal/pdf_document.rs:823:29 [INFO] [stdout] | [INFO] [stdout] 823 | let (rendered_text, decorations) = crate::font::TextRenderer::render_text( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decorations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decorations` [INFO] [stdout] --> src/internal/pdf_document.rs:973:29 [INFO] [stdout] | [INFO] [stdout] 973 | let (rendered_text, decorations) = crate::font::TextRenderer::render_text( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decorations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_y` [INFO] [stdout] --> src/internal/pdf_document.rs:989:17 [INFO] [stdout] | [INFO] [stdout] 989 | let line_y = self.y + (i as f32 * line_height); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_x` [INFO] [stdout] --> src/internal/pdf_document.rs:990:17 [INFO] [stdout] | [INFO] [stdout] 990 | let text_x = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decorations` [INFO] [stdout] --> src/internal/pdf_document.rs:1044:29 [INFO] [stdout] | [INFO] [stdout] 1044 | let (rendered_text, decorations) = crate::font::TextRenderer::render_text( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decorations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_y` [INFO] [stdout] --> src/internal/pdf_document.rs:1066:17 [INFO] [stdout] | [INFO] [stdout] 1066 | let line_y = original_y + (i as f32 * line_height); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_x` [INFO] [stdout] --> src/internal/pdf_document.rs:1069:17 [INFO] [stdout] | [INFO] [stdout] 1069 | let text_x = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_x` [INFO] [stdout] --> src/internal/pdf_document.rs:1375:13 [INFO] [stdout] | [INFO] [stdout] 1375 | let old_x = self.x; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_old_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/internal/pdf_document.rs:1430:9 [INFO] [stdout] | [INFO] [stdout] 1430 | h: f32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decorations` [INFO] [stdout] --> src/internal/pdf_document.rs:1521:24 [INFO] [stdout] | [INFO] [stdout] 1521 | let (rtl_text, decorations) = crate::font::RTLTextRenderer::render_rtl_text( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decorations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_x` [INFO] [stdout] --> src/internal/pdf_document.rs:1548:17 [INFO] [stdout] | [INFO] [stdout] 1548 | let text_x = if line.rtl_info.is_rtl_primary { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/internal/pdf_document.rs:1632:38 [INFO] [stdout] | [INFO] [stdout] 1632 | pub fn set_rtl_config(&mut self, config: crate::font::RTLTextRenderConfig) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/internal/pdf_document.rs:1784:9 [INFO] [stdout] | [INFO] [stdout] 1784 | width: f32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dpi` [INFO] [stdout] --> src/internal/pdf_document.rs:1823:9 [INFO] [stdout] | [INFO] [stdout] 1823 | dpi: f32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dpi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `link` [INFO] [stdout] --> src/internal/pdf_document.rs:1838:9 [INFO] [stdout] | [INFO] [stdout] 1838 | link: u32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `link` [INFO] [stdout] --> src/internal/pdf_document.rs:2032:32 [INFO] [stdout] | [INFO] [stdout] 2032 | pub fn set_link(&mut self, link: u32, y: f32, page: u32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/internal/pdf_document.rs:2032:43 [INFO] [stdout] | [INFO] [stdout] 2032 | pub fn set_link(&mut self, link: u32, y: f32, page: u32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/internal/pdf_document.rs:2032:51 [INFO] [stdout] | [INFO] [stdout] 2032 | pub fn set_link(&mut self, link: u32, y: f32, page: u32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/internal/pdf_document.rs:2446:13 [INFO] [stdout] | [INFO] [stdout] 2446 | let mut content = self.generate_pdf_content()?; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_x` [INFO] [stdout] --> src/internal/pdf_page.rs:504:13 [INFO] [stdout] | [INFO] [stdout] 504 | let end_x = x + rx * end_rad.cos(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_end_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_y` [INFO] [stdout] --> src/internal/pdf_page.rs:505:13 [INFO] [stdout] | [INFO] [stdout] 505 | let end_y = y + ry * end_rad.sin(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_end_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_x` [INFO] [stdout] --> src/internal/pdf_page.rs:568:13 [INFO] [stdout] | [INFO] [stdout] 568 | let end_x = x + rx * end_rad.cos(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_end_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_y` [INFO] [stdout] --> src/internal/pdf_page.rs:569:13 [INFO] [stdout] | [INFO] [stdout] 569 | let end_y = y + ry * end_rad.sin(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_end_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image_data` [INFO] [stdout] --> src/internal/pdf_page.rs:627:9 [INFO] [stdout] | [INFO] [stdout] 627 | image_data: crate::image_parsers::PdfImageData, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_image_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image_data` [INFO] [stdout] --> src/internal/pdf_page.rs:689:9 [INFO] [stdout] | [INFO] [stdout] 689 | image_data: crate::image_parsers::PdfImageData, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_image_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mask_data` [INFO] [stdout] --> src/internal/pdf_page.rs:690:9 [INFO] [stdout] | [INFO] [stdout] 690 | mask_data: &[u8], [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mask_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image_data` [INFO] [stdout] --> src/internal/pdf_page.rs:717:9 [INFO] [stdout] | [INFO] [stdout] 717 | image_data: crate::image_parsers::PdfImageData, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_image_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/internal/pdf_memory_efficient.rs:147:34 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn start_page(&mut self, width: f32, height: f32) -> io::Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/internal/pdf_border.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 83 | / BorderStyle::Solid { width } [INFO] [stdout] 84 | | | BorderStyle::Dashed { width, .. } [INFO] [stdout] 85 | | | BorderStyle::Beveled { width } [INFO] [stdout] 86 | | | BorderStyle::Inset { width } [INFO] [stdout] 87 | | | BorderStyle::Underline { width } => { [INFO] [stdout] | |______________________________________________- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 95 | BorderStyle::Dashed { dash_pattern, .. } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:128:42 [INFO] [stdout] | [INFO] [stdout] 128 | std::fs::read(path).map_err(|e| ImageParseError::FileNotFound(path.to_string()))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/image_parsers/image_handler.rs:136:43 [INFO] [stdout] | [INFO] [stdout] 136 | std::fs::read(&path).map_err(|e| ImageParseError::FileNotFound(path_str.clone()))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/image_parsers/image_handler.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | let data = self.data_cache.get(identifier).ok_or_else(|| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/image_parsers/image_handler.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | options: ImageProcessingOptions, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/image_parsers/image_handler.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | let data = self.data_cache.get(identifier).ok_or_else(|| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/image_parsers/pdf_gif_parser.rs:517:18 [INFO] [stdout] | [INFO] [stdout] 517 | let (width, height) = decoder.dimensions(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/image_parsers/pdf_gif_parser.rs:517:25 [INFO] [stdout] | [INFO] [stdout] 517 | let (width, height) = decoder.dimensions(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/image_parsers/pdf_gif_parser.rs:593:25 [INFO] [stdout] | [INFO] [stdout] 593 | let mut mask = vec![255u8; width * height]; // Default to opaque [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/image_parsers/pdf_jpg_parser.rs:343:21 [INFO] [stdout] | [INFO] [stdout] 343 | let mut scan_start = cursor.position() as usize; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `has_exif` is assigned to, but never used [INFO] [stdout] --> src/image_parsers/pdf_jpg_parser.rs:403:13 [INFO] [stdout] | [INFO] [stdout] 403 | let mut has_exif = false; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_has_exif` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `has_exif` is never read [INFO] [stdout] --> src/image_parsers/pdf_jpg_parser.rs:432:25 [INFO] [stdout] | [INFO] [stdout] 432 | has_exif = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compressed_data` [INFO] [stdout] --> src/image_parsers/pdf_png_parser.rs:498:13 [INFO] [stdout] | [INFO] [stdout] 498 | let compressed_data = Self::extract_image_data(&mut cursor)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compressed_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/image_parsers/pdf_png_parser.rs:510:18 [INFO] [stdout] | [INFO] [stdout] 510 | let (width, height) = decoder.dimensions(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/image_parsers/pdf_png_parser.rs:510:25 [INFO] [stdout] | [INFO] [stdout] 510 | let (width, height) = decoder.dimensions(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_type` [INFO] [stdout] --> src/image_parsers/pdf_png_parser.rs:511:17 [INFO] [stdout] | [INFO] [stdout] 511 | let color_type = decoder.color_type(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header_size` [INFO] [stdout] --> src/image_parsers/pdf_webp_parser.rs:375:25 [INFO] [stdout] | [INFO] [stdout] 375 | let (file_size, header_size) = Self::read_riff_header(&mut cursor)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quality` [INFO] [stdout] --> src/image_parsers/pdf_webp_parser.rs:396:13 [INFO] [stdout] | [INFO] [stdout] 396 | let quality = 85; // Default to high quality [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_char` [INFO] [stdout] --> src/font/font_metrics.rs:199:31 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn get_kerning(&self, left_char: u32, right_char: u32) -> f32 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_char` [INFO] [stdout] --> src/font/font_metrics.rs:199:47 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn get_kerning(&self, left_char: u32, right_char: u32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default_width` [INFO] [stdout] --> src/font/font_metrics.rs:705:73 [INFO] [stdout] | [INFO] [stdout] 705 | fn add_common_latin_extended_widths(widths: &mut HashMap, default_width: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default_width` [INFO] [stdout] --> src/font/font_metrics.rs:777:67 [INFO] [stdout] | [INFO] [stdout] 777 | fn add_common_cyrillic_widths(widths: &mut HashMap, default_width: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default_width` [INFO] [stdout] --> src/font/font_metrics.rs:851:64 [INFO] [stdout] | [INFO] [stdout] 851 | fn add_common_greek_widths(widths: &mut HashMap, default_width: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/font/text_decoration.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | text: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/font/text_decoration.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 310 | text: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word_spacing` [INFO] [stdout] --> src/font/text_decoration.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | word_spacing: f32, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_word_spacing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metrics` [INFO] [stdout] --> src/font/rtl_text_renderer.rs:480:9 [INFO] [stdout] | [INFO] [stdout] 480 | metrics: &FontMetrics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metrics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `font_size` [INFO] [stdout] --> src/font/rtl_text_renderer.rs:481:9 [INFO] [stdout] | [INFO] [stdout] 481 | font_size: f32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_font_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `adjusted_x` [INFO] [stdout] --> src/font/rtl_text_renderer.rs:636:21 [INFO] [stdout] | [INFO] [stdout] 636 | let adjusted_x = Self::calculate_rtl_x_position( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_adjusted_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rtl_lines` [INFO] [stdout] --> src/font/rtl_text_renderer.rs:734:9 [INFO] [stdout] | [INFO] [stdout] 734 | rtl_lines: &[RTLRenderedLine], [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rtl_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/font/text_renderer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let mut processed_text = text.to_string(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/font/text_renderer.rs:330:17 [INFO] [stdout] | [INFO] [stdout] 330 | let direction = Self::detect_text_direction(&processed_text); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/font/text_renderer.rs:373:13 [INFO] [stdout] | [INFO] [stdout] 373 | let mut encodings = std::collections::HashSet::new(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `font_size` [INFO] [stdout] --> src/font/text_renderer.rs:583:9 [INFO] [stdout] | [INFO] [stdout] 583 | font_size: f32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_font_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metrics` [INFO] [stdout] --> src/font/text_renderer.rs:631:9 [INFO] [stdout] | [INFO] [stdout] 631 | metrics: &FontMetrics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metrics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `font_size` [INFO] [stdout] --> src/font/text_renderer.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | font_size: f32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_font_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/font/text_renderer.rs:784:9 [INFO] [stdout] | [INFO] [stdout] 784 | width: f32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tolerance` [INFO] [stdout] --> src/graphics/clipping.rs:294:47 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn simplify_path(path: &ClippingPath, tolerance: f32) -> ClippingPath { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tolerance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/content/metadata.rs:297:21 [INFO] [stdout] | [INFO] [stdout] 297 | if let Some(content) = &self.header_content { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_text` [INFO] [stdout] --> src/content/metadata.rs:306:17 [INFO] [stdout] | [INFO] [stdout] 306 | let page_text = self [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/content/metadata.rs:319:21 [INFO] [stdout] | [INFO] [stdout] 319 | if let Some(content) = &self.footer_content { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/utils/bidi.rs:373:13 [INFO] [stdout] | [INFO] [stdout] 367 | 0x0600..=0x06FF => Ok(BidiCharacterType::AL), // Arabic [INFO] [stdout] | --------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 373 | 0x0660..=0x0669 => Ok(BidiCharacterType::AN), // Arabic-Indic numbers (overlaps with AL range) [INFO] [stdout] | ^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/utils/encoding_utils.rs:40:63 [INFO] [stdout] | [INFO] [stdout] 40 | crate::utils::bidi::BidiError::InvalidCodePoint { code } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `code: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of field of type `f32` to itself [INFO] [stdout] --> src/internal/pdf_document.rs:1228:17 [INFO] [stdout] | [INFO] [stdout] 1228 | self.x = self.x; // Keep current X position [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filename` is never read [INFO] [stdout] --> src/internal/pdf_attachment.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PdfAttachment { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 5 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PdfAttachment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `render_footer` is never used [INFO] [stdout] --> src/internal/pdf_document.rs:586:8 [INFO] [stdout] | [INFO] [stdout] 292 | impl FPDF { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 586 | fn render_footer(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `style` are never read [INFO] [stdout] --> src/internal/pdf_font.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PdfFont { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 5 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | style: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PdfFont` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/internal/pdf_font_file.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PdfFontFile { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 5 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PdfFontFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/internal/pdf_image.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PdfImage { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 5 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PdfImage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/internal/pdf_page.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct PdfPage { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PdfPage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `buffer` is never read [INFO] [stdout] --> src/internal/pdf_streaming.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct StreamingPdfWriter { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 93 | buffer: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamingPdfWriter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title` is never read [INFO] [stdout] --> src/internal/pdf_streaming.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct StreamingPdfDocument { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 241 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamingPdfDocument` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `simple_decompress` is never used [INFO] [stdout] --> src/internal/pdf_object_compression.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 104 | impl PdfObjectCompressor { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 227 | fn simple_decompress(compressed: &[u8]) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `default_scaling`, `default_alignment`, and `default_vertical_alignment` are never read [INFO] [stdout] --> src/image_parsers/image_handler.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ImageHandler { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | default_scaling: ImageScaling, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | /// Default alignment [INFO] [stdout] 27 | default_alignment: ImageAlignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | /// Default vertical alignment [INFO] [stdout] 29 | default_vertical_alignment: ImageVerticalAlignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImageHandler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `width`, `height`, `background_color_index`, and `aspect_ratio` are never read [INFO] [stdout] --> src/image_parsers/pdf_gif_parser.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | struct GifHeader { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 33 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 34 | width: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | height: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 36 | global_color_table: Option>, [INFO] [stdout] 37 | background_color_index: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | aspect_ratio: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GifHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sort_flag` and `color_resolution` are never read [INFO] [stdout] --> src/image_parsers/pdf_gif_parser.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 43 | struct LogicalScreenFlags { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 44 | global_color_table_size: u8, [INFO] [stdout] 45 | sort_flag: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 46 | color_resolution: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogicalScreenFlags` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `left`, `top`, `interlace_flag`, `sort_flag`, and `local_color_table_size` are never read [INFO] [stdout] --> src/image_parsers/pdf_gif_parser.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | struct GifImageDescriptor { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 53 | left: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 54 | top: u16, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | interlace_flag: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 59 | sort_flag: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 60 | local_color_table_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GifImageDescriptor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `disposal_method`, `user_input_flag`, `delay_time`, and `transparent_color_index` are never read [INFO] [stdout] --> src/image_parsers/pdf_gif_parser.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 74 | struct GifGraphicControl { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 75 | disposal_method: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 76 | user_input_flag: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 77 | transparent_color_flag: bool, [INFO] [stdout] 78 | delay_time: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 79 | transparent_color_index: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GifGraphicControl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `identifier`, `authentication_code`, and `data` are never read [INFO] [stdout] --> src/image_parsers/pdf_gif_parser.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 84 | struct GifApplicationExtension { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 85 | identifier: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 86 | authentication_code: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 87 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GifApplicationExtension` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `image_data` is never read [INFO] [stdout] --> src/image_parsers/pdf_gif_parser.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 92 | struct GifFrame { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 95 | image_data: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GifFrame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DHT_MARKER` is never used [INFO] [stdout] --> src/image_parsers/pdf_jpg_parser.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const DHT_MARKER: u16 = 0xFFC4; // Define Huffman Table [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SOS_MARKER` is never used [INFO] [stdout] --> src/image_parsers/pdf_jpg_parser.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | const SOS_MARKER: u16 = 0xFFDA; // Start of Scan [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COM_MARKER` is never used [INFO] [stdout] --> src/image_parsers/pdf_jpg_parser.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const COM_MARKER: u16 = 0xFFFE; // Comment [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RGB` is never constructed [INFO] [stdout] --> src/image_parsers/pdf_jpg_parser.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | enum JpegColorSpace { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 28 | Grayscale = 1, [INFO] [stdout] 29 | RGB = 3, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JpegColorSpace` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `h` and `v` are never read [INFO] [stdout] --> src/image_parsers/pdf_jpg_parser.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | struct JpegSamplingFactors { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 38 | h: u8, // Horizontal sampling factor [INFO] [stdout] | ^ [INFO] [stdout] 39 | v: u8, // Vertical sampling factor [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `JpegSamplingFactors` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `sampling_factors`, and `quantization_table_id` are never read [INFO] [stdout] --> src/image_parsers/pdf_jpg_parser.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | struct JpegComponent { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 45 | id: u8, [INFO] [stdout] | ^^ [INFO] [stdout] 46 | sampling_factors: JpegSamplingFactors, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | quantization_table_id: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JpegComponent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `precision`, `components_count`, and `components` are never read [INFO] [stdout] --> src/image_parsers/pdf_jpg_parser.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | struct JpegFrameHeader { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 53 | precision: u8, // Sample precision (bits per sample) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | components_count: u8, // Number of image components [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | components: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JpegFrameHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `thumb_width`, and `thumb_height` are never read [INFO] [stdout] --> src/image_parsers/pdf_jpg_parser.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 63 | struct JpegJfifData { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 64 | version: (u8, u8), // Major and minor version [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | thumb_width: u8, // Thumbnail width [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 69 | thumb_height: u8, // Thumbnail height [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JpegJfifData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JpegExifData` is never constructed [INFO] [stdout] --> src/image_parsers/pdf_jpg_parser.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | struct JpegExifData { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `extract_scan_data` is never used [INFO] [stdout] --> src/image_parsers/pdf_jpg_parser.rs:327:8 [INFO] [stdout] | [INFO] [stdout] 83 | impl JpgParser { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 327 | fn extract_scan_data(cursor: &mut Cursor<&[u8]>) -> Result, ImageParseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `compression_method`, `filter_method`, and `interlace_method` are never read [INFO] [stdout] --> src/image_parsers/pdf_png_parser.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 57 | struct PngHeader { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 62 | compression_method: PngCompressionMethod, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | filter_method: PngFilterMethod, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 64 | interlace_method: PngInterlaceMethod, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PngHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `bytes_per_pixel` is never used [INFO] [stdout] --> src/image_parsers/pdf_png_parser.rs:280:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl PngParser { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 280 | fn bytes_per_pixel(color_type: PngColorType, bit_depth: u8) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ANIM_CHUNK` is never used [INFO] [stdout] --> src/image_parsers/pdf_webp_parser.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const ANIM_CHUNK: [u8; 4] = *b"ANIM"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ANMF_CHUNK` is never used [INFO] [stdout] --> src/image_parsers/pdf_webp_parser.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const ANMF_CHUNK: [u8; 4] = *b"ANMF"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ICCP_CHUNK` is never used [INFO] [stdout] --> src/image_parsers/pdf_webp_parser.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | const ICCP_CHUNK: [u8; 4] = *b"ICCP"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXIF_CHUNK` is never used [INFO] [stdout] --> src/image_parsers/pdf_webp_parser.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | const EXIF_CHUNK: [u8; 4] = *b"EXIF"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `XMP_CHUNK` is never used [INFO] [stdout] --> src/image_parsers/pdf_webp_parser.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | const XMP_CHUNK: [u8; 4] = *b"XMP "; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnimationHeader` is never constructed [INFO] [stdout] --> src/image_parsers/pdf_webp_parser.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | struct AnimationHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnimationFrameHeader` is never constructed [INFO] [stdout] --> src/image_parsers/pdf_webp_parser.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | struct AnimationFrameHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `has_icc`, `has_exif`, `has_xmp`, and `is_animation` are never read [INFO] [stdout] --> src/image_parsers/pdf_webp_parser.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 74 | struct WebPFeatures { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 75 | has_icc: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 76 | has_alpha: bool, [INFO] [stdout] 77 | has_exif: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 78 | has_xmp: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 79 | is_animation: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WebPFeatures` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `parse_animation_header` and `parse_animation_frame_header` are never used [INFO] [stdout] --> src/image_parsers/pdf_webp_parser.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 86 | impl WebpParser { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 184 | fn parse_animation_header(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | fn parse_animation_frame_header(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unicode_processor` is never read [INFO] [stdout] --> src/font/font_encoding.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FontEncodingManager { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | unicode_processor: UnicodeProcessor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FontEncodingManager` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_rtl` is never read [INFO] [stdout] --> src/font/text_renderer.rs:772:5 [INFO] [stdout] | [INFO] [stdout] 766 | struct UnicodeToken { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 772 | is_rtl: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnicodeToken` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/internal/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub mod pdf_clipping_path; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/internal/mod.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub mod pdf_graphics_state; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/internal/mod.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub mod pdf_page_info; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/internal/mod.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | pub mod pdf_viewer_preferences; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a type alias [INFO] [stdout] --> src/internal/mod.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | pub type PageLinkCollection = pdf_page_link::PageLinkCollection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a type alias [INFO] [stdout] --> src/internal/mod.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | pub type BookmarkTree = pdf_bookmark::BookmarkTree; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/internal/pdf_attachment.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PdfAttachment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/internal/pdf_attachment.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(filename: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a type alias [INFO] [stdout] --> src/internal/pdf_document.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub type PdfResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_document.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub pages: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_document.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub y: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_document.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub fill_color: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an enum [INFO] [stdout] --> src/internal/pdf_document.rs:3189:1 [INFO] [stdout] | [INFO] [stdout] 3189 | pub enum PdfError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_document.rs:3191:5 [INFO] [stdout] | [INFO] [stdout] 3191 | NoPage, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_document.rs:3193:5 [INFO] [stdout] | [INFO] [stdout] 3193 | FontNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_document.rs:3195:5 [INFO] [stdout] | [INFO] [stdout] 3195 | InvalidParameters(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_document.rs:3197:5 [INFO] [stdout] | [INFO] [stdout] 3197 | Io(#[from] io::Error), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_document.rs:3199:5 [INFO] [stdout] | [INFO] [stdout] 3199 | Encoding(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_document.rs:3201:5 [INFO] [stdout] | [INFO] [stdout] 3201 | ImageNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_document.rs:3203:5 [INFO] [stdout] | [INFO] [stdout] 3203 | UnsupportedImageFormat(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_document.rs:3205:5 [INFO] [stdout] | [INFO] [stdout] 3205 | ImageError(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_document.rs:3207:5 [INFO] [stdout] | [INFO] [stdout] 3207 | FontError(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_document.rs:3209:5 [INFO] [stdout] | [INFO] [stdout] 3209 | GraphicsError(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_document.rs:3211:5 [INFO] [stdout] | [INFO] [stdout] 3211 | InvalidTransform(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_document.rs:3213:5 [INFO] [stdout] | [INFO] [stdout] 3213 | ClippingError(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_document.rs:3215:5 [INFO] [stdout] | [INFO] [stdout] 3215 | TransparencyNotSupported, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/internal/pdf_font.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PdfFont { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/internal/pdf_font.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(name: &str, style: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/internal/pdf_font_file.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PdfFontFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/internal/pdf_font_file.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(path: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/internal/pdf_font_parser.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct PdfFontParser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/internal/pdf_font_parser.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_graphics_state.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub stroke_alpha: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_graphics_state.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub stroke_color: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_graphics_state.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub text_color: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_graphics_state.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub line_cap: PdfLineCap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_graphics_state.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub line_join: PdfLineJoin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_graphics_state.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub line_dash_pattern: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_graphics_state.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub line_dash_phase: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/internal/pdf_image.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PdfImage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/internal/pdf_image.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(path: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_link.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | Internal { page: u32, y: f32 }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_link.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | Internal { page: u32, y: f32 }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_link.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | File { file: String, page: Option }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_link.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | File { file: String, page: Option }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_link.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | Launch { file: String }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_link.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | URI { url: String }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_link.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | JavaScript { script: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_link.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | SubmitForm { url: String, fields: Vec }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_link.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | SubmitForm { url: String, fields: Vec }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_link.rs:524:9 [INFO] [stdout] | [INFO] [stdout] 524 | x: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_link.rs:525:9 [INFO] [stdout] | [INFO] [stdout] 525 | y: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_link.rs:526:9 [INFO] [stdout] | [INFO] [stdout] 526 | width: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_link.rs:527:9 [INFO] [stdout] | [INFO] [stdout] 527 | height: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_border.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | Solid { width: f32 }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_border.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | Dashed { width: f32, dash_pattern: Vec }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_border.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | Dashed { width: f32, dash_pattern: Vec }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_border.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | Beveled { width: f32 }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_border.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | Inset { width: f32 }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_border.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | Underline { width: f32 }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | contents: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | open: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | icon: TextIcon, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | action: LinkAction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | highlight_mode: LinkHighlightMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | contents: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | appearance: TextAppearance, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | start_point: (f32, f32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | end_point: (f32, f32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | line_style: LineStyle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | border_style: BorderStyle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | fill_color: Option<[f32; 3]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | border_style: BorderStyle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | fill_color: Option<[f32; 3]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | quad_points: Vec<(f32, f32)>, // 8 points for highlighting text [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | Underline { quad_points: Vec<(f32, f32)> }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | StrikeOut { quad_points: Vec<(f32, f32)> }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | FileAttachment { file_path: String, icon: FileIcon }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:49:41 [INFO] [stdout] | [INFO] [stdout] 49 | FileAttachment { file_path: String, icon: FileIcon }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | Comment, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | Help, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | Insert, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | Key, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | NewParagraph, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | Note, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | Paragraph, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | GoTo { page: u32, y: f32 }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | GoTo { page: u32, y: f32 }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | GoToR { file: String, page: Option }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | GoToR { file: String, page: Option }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | Remote { url: String }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | Launch { file: String }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | URI { url: String }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | Invert, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | Outline, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | Push, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub font_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub font_size: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub text_color: [f32; 3], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub alignment: TextAlignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | Center, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub line_width: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | pub line_style: AnnotationLineStyle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | pub start_cap: LineCap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | pub end_cap: LineCap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | pub dash_pattern: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | Solid, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | Dashed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | Beveled, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | Inset, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | Underline, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Butt, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | Round, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | Square, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | pub width: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | pub style: AnnotationLineStyle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | pub dash_pattern: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | Graph, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | Paperclip, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | PushPin, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | Tag, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | UnsupportedFormat, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | InvalidImageData(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | FileNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | IoError(#[from] std::io::Error), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | DecodingError(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | UnsupportedColorSpace, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | ImageTooLarge { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | width: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | height: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | max_width: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | max_height: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | InvalidCompression, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | TransparencyNotSupported, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | palette: Vec<[u8; 3]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | transparent_index: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | DCT { quality: u8 }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | Flate { level: u8 }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | CCITT { group: u8, encoded_byte_align: bool }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | CCITT { group: u8, encoded_byte_align: bool }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | Fit { width: f32, height: f32 }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | Fit { width: f32, height: f32 }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | Fill { width: f32, height: f32 }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | Fill { width: f32, height: f32 }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | Stretch { width: f32, height: f32 }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | Stretch { width: f32, height: f32 }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | Scale { factor: f32 }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | Center, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | Top, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | Middle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | Bottom, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `pHYs_CHUNK` should have an upper case name [INFO] [stdout] --> src/image_parsers/pdf_png_parser.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const pHYs_CHUNK: &[u8] = b"pHYs"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 24 - const pHYs_CHUNK: &[u8] = b"pHYs"; [INFO] [stdout] 24 + const P_HYS_CHUNK: &[u8] = b"pHYs"; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/font/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub mod standard_fonts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/font/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub mod courier; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/font/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub mod helvetica; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/font/mod.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub mod symbol; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/font/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub mod times; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/font/mod.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub mod zapfdingbats; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/graphics/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod coordinate_system; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/graphics/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod drawing_primitives; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_cmyk_color.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | pub const BLACK: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_cmyk_color.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | pub const WHITE: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_cmyk_color.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | pub const RED: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_cmyk_color.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | pub const GREEN: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_cmyk_color.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | pub const BLUE: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_cmyk_color.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | pub const YELLOW: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_cmyk_color.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | pub const CYAN: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_cmyk_color.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | pub const MAGENTA: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_gray_color.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub const BLACK: Self = Self { gray: 0.0 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_gray_color.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub const WHITE: Self = Self { gray: 1.0 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_gray_color.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | pub const GRAY_25: Self = Self { gray: 0.25 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_gray_color.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub const GRAY_50: Self = Self { gray: 0.5 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_gray_color.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | pub const GRAY_75: Self = Self { gray: 0.75 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_rgb_color.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | pub const BLACK: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_rgb_color.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | pub const WHITE: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_rgb_color.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | pub const RED: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_rgb_color.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | pub const GREEN: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_rgb_color.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | pub const BLUE: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_rgb_color.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | pub const YELLOW: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_rgb_color.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | pub const ORANGE: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_rgb_color.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | pub const CYAN: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_rgb_color.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | pub const MAGENTA: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_rgb_color.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | pub const PURPLE: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_rgb_color.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | pub const GRAY: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/content/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod content_objects; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/content/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod image_content; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/content/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod table_content; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/content/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub mod text_content; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/utils/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod file_utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/utils/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod math_utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/utils/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub mod string_utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/bidi.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | InvalidCodePoint { code: u32 }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/bidi.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | UnsupportedFeature { feature: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/bidi.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | InvalidEmbeddingLevel { level: u8 }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/bidi.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub is_run_end: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/utils/compression_utils.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | AlgorithmNotAvailable { algorithm: CompressionAlgorithm }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/compression_utils.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | AlgorithmNotAvailable { algorithm: CompressionAlgorithm }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/utils/compression_utils.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | CompressionFailed { source: io::Error }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/compression_utils.rs:221:25 [INFO] [stdout] | [INFO] [stdout] 221 | CompressionFailed { source: io::Error }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/utils/compression_utils.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | DecompressionFailed { source: io::Error }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/compression_utils.rs:224:27 [INFO] [stdout] | [INFO] [stdout] 224 | DecompressionFailed { source: io::Error }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/utils/compression_utils.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | DataTooSmall { size: usize, min_size: usize }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/compression_utils.rs:227:20 [INFO] [stdout] | [INFO] [stdout] 227 | DataTooSmall { size: usize, min_size: usize }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/compression_utils.rs:227:33 [INFO] [stdout] | [INFO] [stdout] 227 | DataTooSmall { size: usize, min_size: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/utils/compression_utils.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | InvalidCompressionLevel { level: u8 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/compression_utils.rs:230:31 [INFO] [stdout] | [INFO] [stdout] 230 | InvalidCompressionLevel { level: u8 }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/utils/compression_utils.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | StreamError { source: io::Error }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/compression_utils.rs:233:19 [INFO] [stdout] | [INFO] [stdout] 233 | StreamError { source: io::Error }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | InvalidUtf8 { position: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | code: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | character: char, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | encoding: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | InvalidEncoding { encoding: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | ConversionFailed { from: String, to: String }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:28:38 [INFO] [stdout] | [INFO] [stdout] 28 | ConversionFailed { from: String, to: String }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | EncodingTableNotFound { encoding: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | position: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | description: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:320:24 [INFO] [stdout] | [INFO] [stdout] 320 | InvalidCodePoint { position: usize, code_point: u32 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:320:41 [INFO] [stdout] | [INFO] [stdout] 320 | InvalidCodePoint { position: usize, code_point: u32 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:322:19 [INFO] [stdout] | [INFO] [stdout] 322 | TextTooLong { length: usize, max_length: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:322:34 [INFO] [stdout] | [INFO] [stdout] 322 | TextTooLong { length: usize, max_length: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:329:26 [INFO] [stdout] | [INFO] [stdout] 329 | SurrogateCharacter { position: usize, character: char }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:329:43 [INFO] [stdout] | [INFO] [stdout] 329 | SurrogateCharacter { position: usize, character: char }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:331:20 [INFO] [stdout] | [INFO] [stdout] 331 | NonCharacter { position: usize, character: char }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:331:37 [INFO] [stdout] | [INFO] [stdout] 331 | NonCharacter { position: usize, character: char }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:333:24 [INFO] [stdout] | [INFO] [stdout] 333 | ControlCharacter { position: usize, character: char }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:333:41 [INFO] [stdout] | [INFO] [stdout] 333 | ControlCharacter { position: usize, character: char }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:335:27 [INFO] [stdout] | [INFO] [stdout] 335 | PrivateUseCharacter { position: usize, character: char }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:335:44 [INFO] [stdout] | [INFO] [stdout] 335 | PrivateUseCharacter { position: usize, character: char }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:337:18 [INFO] [stdout] | [INFO] [stdout] 337 | OutsideBMP { position: usize, character: char }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:337:35 [INFO] [stdout] | [INFO] [stdout] 337 | OutsideBMP { position: usize, character: char }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:344:24 [INFO] [stdout] | [INFO] [stdout] 344 | RequiresEscaping { position: usize, character: char }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:344:41 [INFO] [stdout] | [INFO] [stdout] 344 | RequiresEscaping { position: usize, character: char }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:346:35 [INFO] [stdout] | [INFO] [stdout] 346 | SupplementaryPlaneCharacter { position: usize, character: char }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:346:52 [INFO] [stdout] | [INFO] [stdout] 346 | SupplementaryPlaneCharacter { position: usize, character: char }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:348:29 [INFO] [stdout] | [INFO] [stdout] 348 | EncodingCompatibility { encoding: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:350:29 [INFO] [stdout] | [INFO] [stdout] 350 | TextDirectionDetected { direction: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:352:28 [INFO] [stdout] | [INFO] [stdout] 352 | CharacterSetDetected { character_set: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/utils/encoding_utils.rs:672:5 [INFO] [stdout] | [INFO] [stdout] 672 | LTR, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/utils/encoding_utils.rs:673:5 [INFO] [stdout] | [INFO] [stdout] 673 | RTL, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/utils/encoding_utils.rs:679:5 [INFO] [stdout] | [INFO] [stdout] 679 | NFC, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/utils/encoding_utils.rs:680:5 [INFO] [stdout] | [INFO] [stdout] 680 | NFD, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/utils/encoding_utils.rs:681:5 [INFO] [stdout] | [INFO] [stdout] 681 | NFKC, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/utils/encoding_utils.rs:682:5 [INFO] [stdout] | [INFO] [stdout] 682 | NFKD, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/enums/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod pdf_blend_mode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/enums/mod.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub mod pdf_direction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/enums/mod.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub mod pdf_duplex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/enums/mod.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub mod pdf_layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/enums/mod.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub mod pdf_page_mode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/enums/mod.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub mod pdf_zoom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/enums/mod.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub mod pdf_font_name; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/enums/mod.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub mod pdf_font_style; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/enums/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub mod pdf_text_alignment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/enums/pdf_page_size.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | Custom { width: f32, height: f32 }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/enums/pdf_page_size.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | Custom { width: f32, height: f32 }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/traits/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod pdf_attachment_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/traits/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod pdf_rotation_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/traits/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub mod pdf_sector_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/traits/mod.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub mod pdf_transparency_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/traits/mod.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub mod pdf_enum_default_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.70s [INFO] running `Command { std: "docker" "inspect" "bf177a2b41caae5c11116055b5152999ecb0494dfcf1f45d395bb6e12b549c5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf177a2b41caae5c11116055b5152999ecb0494dfcf1f45d395bb6e12b549c5e", kill_on_drop: false }` [INFO] [stdout] bf177a2b41caae5c11116055b5152999ecb0494dfcf1f45d395bb6e12b549c5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d0380ec8f467773565ca67e9346c9897a7185c2e956539e60412bc2a8fd0667 [INFO] running `Command { std: "docker" "start" "-a" "8d0380ec8f467773565ca67e9346c9897a7185c2e956539e60412bc2a8fd0667", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.7 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling xmltree v0.10.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling regex-automata v0.4.12 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling regex v1.12.1 [INFO] [stderr] Compiling half v2.7.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling fpdf2_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:660:16 [INFO] [stdout] | [INFO] [stdout] 660 | style: crate::enums::FontStyle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | #![warn(unused_qualifications)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 660 - style: crate::enums::FontStyle, [INFO] [stdout] 660 + style: FontStyle, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:693:44 [INFO] [stdout] | [INFO] [stdout] 693 | pub fn get_font_style(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 693 - pub fn get_font_style(&self) -> Option { [INFO] [stdout] 693 + pub fn get_font_style(&self) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:696:17 [INFO] [stdout] | [INFO] [stdout] 696 | crate::enums::FontStyle::BoldItalic [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 696 - crate::enums::FontStyle::BoldItalic [INFO] [stdout] 696 + FontStyle::BoldItalic [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:698:17 [INFO] [stdout] | [INFO] [stdout] 698 | crate::enums::FontStyle::Bold [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 698 - crate::enums::FontStyle::Bold [INFO] [stdout] 698 + FontStyle::Bold [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:700:17 [INFO] [stdout] | [INFO] [stdout] 700 | crate::enums::FontStyle::Italic [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 700 - crate::enums::FontStyle::Italic [INFO] [stdout] 700 + FontStyle::Italic [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:702:17 [INFO] [stdout] | [INFO] [stdout] 702 | crate::enums::FontStyle::Regular [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 702 - crate::enums::FontStyle::Regular [INFO] [stdout] 702 + FontStyle::Regular [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:767:45 [INFO] [stdout] | [INFO] [stdout] 767 | self.cell_with_alignment(w, h, txt, crate::enums::TextAlignment::Left) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 767 - self.cell_with_alignment(w, h, txt, crate::enums::TextAlignment::Left) [INFO] [stdout] 767 + self.cell_with_alignment(w, h, txt, TextAlignment::Left) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:776:16 [INFO] [stdout] | [INFO] [stdout] 776 | align: crate::enums::TextAlignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 776 - align: crate::enums::TextAlignment, [INFO] [stdout] 776 + align: TextAlignment, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:814:34 [INFO] [stdout] | [INFO] [stdout] 814 | let black_color: Box = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 814 - let black_color: Box = [INFO] [stdout] 814 + let black_color: Box = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:852:16 [INFO] [stdout] | [INFO] [stdout] 852 | align: crate::enums::TextAlignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 852 - align: crate::enums::TextAlignment, [INFO] [stdout] 852 + align: TextAlignment, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:886:16 [INFO] [stdout] | [INFO] [stdout] 886 | align: crate::enums::TextAlignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 886 - align: crate::enums::TextAlignment, [INFO] [stdout] 886 + align: TextAlignment, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:933:51 [INFO] [stdout] | [INFO] [stdout] 933 | self.multi_cell_with_alignment(w, h, txt, crate::enums::TextAlignment::Left) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 933 - self.multi_cell_with_alignment(w, h, txt, crate::enums::TextAlignment::Left) [INFO] [stdout] 933 + self.multi_cell_with_alignment(w, h, txt, TextAlignment::Left) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:942:16 [INFO] [stdout] | [INFO] [stdout] 942 | align: crate::enums::TextAlignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 942 - align: crate::enums::TextAlignment, [INFO] [stdout] 942 + align: TextAlignment, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:964:34 [INFO] [stdout] | [INFO] [stdout] 964 | let black_color: Box = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 964 - let black_color: Box = [INFO] [stdout] 964 + let black_color: Box = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1016:16 [INFO] [stdout] | [INFO] [stdout] 1016 | align: crate::enums::TextAlignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1016 - align: crate::enums::TextAlignment, [INFO] [stdout] 1016 + align: TextAlignment, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1039:34 [INFO] [stdout] | [INFO] [stdout] 1039 | let black_color: Box = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1039 - let black_color: Box = [INFO] [stdout] 1039 + let black_color: Box = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1197:33 [INFO] [stdout] | [INFO] [stdout] 1197 | .with_alignment(crate::enums::TextAlignment::Left) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1197 - .with_alignment(crate::enums::TextAlignment::Left) [INFO] [stdout] 1197 + .with_alignment(TextAlignment::Left) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1202:34 [INFO] [stdout] | [INFO] [stdout] 1202 | let black_color: Box = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1202 - let black_color: Box = [INFO] [stdout] 1202 + let black_color: Box = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1260:49 [INFO] [stdout] | [INFO] [stdout] 1260 | self.cell_rtl_with_alignment(w, h, txt, crate::enums::TextAlignment::Left) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1260 - self.cell_rtl_with_alignment(w, h, txt, crate::enums::TextAlignment::Left) [INFO] [stdout] 1260 + self.cell_rtl_with_alignment(w, h, txt, TextAlignment::Left) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1269:16 [INFO] [stdout] | [INFO] [stdout] 1269 | align: crate::enums::TextAlignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1269 - align: crate::enums::TextAlignment, [INFO] [stdout] 1269 + align: TextAlignment, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1284:38 [INFO] [stdout] | [INFO] [stdout] 1284 | let black_color: Box = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1284 - let black_color: Box = [INFO] [stdout] 1284 + let black_color: Box = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1285:78 [INFO] [stdout] | [INFO] [stdout] 1285 | Box::new(crate::color::PdfRgbColor::new(0, 0, 0)) as Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1285 - Box::new(crate::color::PdfRgbColor::new(0, 0, 0)) as Box; [INFO] [stdout] 1285 + Box::new(crate::color::PdfRgbColor::new(0, 0, 0)) as Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1313:34 [INFO] [stdout] | [INFO] [stdout] 1313 | let black_color: Box = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1313 - let black_color: Box = [INFO] [stdout] 1313 + let black_color: Box = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1366:16 [INFO] [stdout] | [INFO] [stdout] 1366 | align: crate::enums::TextAlignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1366 - align: crate::enums::TextAlignment, [INFO] [stdout] 1366 + align: TextAlignment, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1423:55 [INFO] [stdout] | [INFO] [stdout] 1423 | self.multi_cell_rtl_with_alignment(w, h, txt, crate::enums::TextAlignment::Left) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1423 - self.multi_cell_rtl_with_alignment(w, h, txt, crate::enums::TextAlignment::Left) [INFO] [stdout] 1423 + self.multi_cell_rtl_with_alignment(w, h, txt, TextAlignment::Left) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1432:16 [INFO] [stdout] | [INFO] [stdout] 1432 | align: crate::enums::TextAlignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1432 - align: crate::enums::TextAlignment, [INFO] [stdout] 1432 + align: TextAlignment, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1453:34 [INFO] [stdout] | [INFO] [stdout] 1453 | let black_color: Box = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1453 - let black_color: Box = [INFO] [stdout] 1453 + let black_color: Box = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1488:16 [INFO] [stdout] | [INFO] [stdout] 1488 | align: crate::enums::TextAlignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1488 - align: crate::enums::TextAlignment, [INFO] [stdout] 1488 + align: TextAlignment, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1512:34 [INFO] [stdout] | [INFO] [stdout] 1512 | let black_color: Box = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1512 - let black_color: Box = [INFO] [stdout] 1512 + let black_color: Box = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1586:34 [INFO] [stdout] | [INFO] [stdout] 1586 | let black_color: Box = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1586 - let black_color: Box = [INFO] [stdout] 1586 + let black_color: Box = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1587:74 [INFO] [stdout] | [INFO] [stdout] 1587 | Box::new(crate::color::PdfRgbColor::new(0, 0, 0)) as Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1587 - Box::new(crate::color::PdfRgbColor::new(0, 0, 0)) as Box; [INFO] [stdout] 1587 + Box::new(crate::color::PdfRgbColor::new(0, 0, 0)) as Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1675:16 [INFO] [stdout] | [INFO] [stdout] 1675 | align: crate::enums::TextAlignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1675 - align: crate::enums::TextAlignment, [INFO] [stdout] 1675 + align: TextAlignment, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1693:16 [INFO] [stdout] | [INFO] [stdout] 1693 | align: crate::enums::TextAlignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1693 - align: crate::enums::TextAlignment, [INFO] [stdout] 1693 + align: TextAlignment, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1706:16 [INFO] [stdout] | [INFO] [stdout] 1706 | align: crate::enums::TextAlignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1706 - align: crate::enums::TextAlignment, [INFO] [stdout] 1706 + align: TextAlignment, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1714:53 [INFO] [stdout] | [INFO] [stdout] 1714 | pub fn set_text_alignment(&mut self, alignment: crate::enums::TextAlignment) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1714 - pub fn set_text_alignment(&mut self, alignment: crate::enums::TextAlignment) { [INFO] [stdout] 1714 + pub fn set_text_alignment(&mut self, alignment: TextAlignment) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1719:41 [INFO] [stdout] | [INFO] [stdout] 1719 | pub fn get_text_alignment(&self) -> crate::enums::TextAlignment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1719 - pub fn get_text_alignment(&self) -> crate::enums::TextAlignment { [INFO] [stdout] 1719 + pub fn get_text_alignment(&self) -> TextAlignment { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1728:16 [INFO] [stdout] | [INFO] [stdout] 1728 | style: crate::enums::FontStyle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1728 - style: crate::enums::FontStyle, [INFO] [stdout] 1728 + style: FontStyle, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1740:16 [INFO] [stdout] | [INFO] [stdout] 1740 | style: crate::enums::FontStyle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1740 - style: crate::enums::FontStyle, [INFO] [stdout] 1740 + style: FontStyle, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1749:58 [INFO] [stdout] | [INFO] [stdout] 1749 | pub fn is_font_available(&self, family: &str, style: crate::enums::FontStyle) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1749 - pub fn is_font_available(&self, family: &str, style: crate::enums::FontStyle) -> bool { [INFO] [stdout] 1749 + pub fn is_font_available(&self, family: &str, style: FontStyle) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:1759:61 [INFO] [stdout] | [INFO] [stdout] 1759 | pub fn get_available_styles(&self, family: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 1759 - pub fn get_available_styles(&self, family: &str) -> Vec { [INFO] [stdout] 1759 + pub fn get_available_styles(&self, family: &str) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:2439:58 [INFO] [stdout] | [INFO] [stdout] 2439 | pub fn to_bytes_compressed(&self) -> Result, crate::internal::PdfError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 2439 - pub fn to_bytes_compressed(&self) -> Result, crate::internal::PdfError> { [INFO] [stdout] 2439 + pub fn to_bytes_compressed(&self) -> Result, PdfError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:2633:46 [INFO] [stdout] | [INFO] [stdout] 2633 | fn set_blend_mode(&mut self, blend_mode: crate::enums::PdfBlendMode) -> PdfResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 2633 - fn set_blend_mode(&mut self, blend_mode: crate::enums::PdfBlendMode) -> PdfResult<()> { [INFO] [stdout] 2633 + fn set_blend_mode(&mut self, blend_mode: PdfBlendMode) -> PdfResult<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:2639:33 [INFO] [stdout] | [INFO] [stdout] 2639 | fn get_blend_mode(&self) -> crate::enums::PdfBlendMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 2639 - fn get_blend_mode(&self) -> crate::enums::PdfBlendMode { [INFO] [stdout] 2639 + fn get_blend_mode(&self) -> PdfBlendMode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:2725:13 [INFO] [stdout] | [INFO] [stdout] 2725 | crate::enums::PdfVersion::V1_4 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 2725 - crate::enums::PdfVersion::V1_4 [INFO] [stdout] 2725 + PdfVersion::V1_4 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:2726:19 [INFO] [stdout] | [INFO] [stdout] 2726 | | crate::enums::PdfVersion::V1_5 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 2726 - | crate::enums::PdfVersion::V1_5 [INFO] [stdout] 2726 + | PdfVersion::V1_5 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:2727:19 [INFO] [stdout] | [INFO] [stdout] 2727 | | crate::enums::PdfVersion::V1_6 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 2727 - | crate::enums::PdfVersion::V1_6 [INFO] [stdout] 2727 + | PdfVersion::V1_6 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:2728:19 [INFO] [stdout] | [INFO] [stdout] 2728 | | crate::enums::PdfVersion::V1_7 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 2728 - | crate::enums::PdfVersion::V1_7 [INFO] [stdout] 2728 + | PdfVersion::V1_7 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/internal/pdf_document.rs:2734:28 [INFO] [stdout] | [INFO] [stdout] 2734 | self.version = crate::enums::PdfVersion::V1_4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 2734 - self.version = crate::enums::PdfVersion::V1_4; [INFO] [stdout] 2734 + self.version = PdfVersion::V1_4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/internal/pdf_link.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/internal/pdf_streaming.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `Write` [INFO] [stdout] --> src/internal/pdf_object_compression.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{self, Write, Read}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/internal/pdf_memory_efficient.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/internal/mod.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub use pdf_link::*; [INFO] [stdout] | ^^^^^^^^^^^ the name `LinkHighlightMode` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 69 | pub use pdf_page_annotation::*; [INFO] [stdout] | ---------------------- but the name `LinkHighlightMode` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/internal/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub use pdf_border::*; [INFO] [stdout] | ^^^^^^^^^^^^^ the name `BorderStyle` in the type namespace is first re-exported here [INFO] [stdout] 69 | pub use pdf_page_annotation::*; [INFO] [stdout] | ---------------------- but the name `BorderStyle` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pdf_page_info::*` [INFO] [stdout] --> src/internal/mod.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub use pdf_page_info::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pdf_viewer_preferences::*` [INFO] [stdout] --> src/internal/mod.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub use pdf_viewer_preferences::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PdfPoint` [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::internal::{PdfPoint, PdfSize}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageColorSpace` and `ImageCompression` [INFO] [stdout] --> src/image_parsers/image_handler.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | ImageColorSpace, ImageCompression, ImageMetadata, ImageParseError, ImageParser, ImageScaling, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PdfPoint` and `PdfSize` [INFO] [stdout] --> src/image_parsers/image_handler.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::internal::{PdfPoint, PdfSize}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `calculate_physical_size` [INFO] [stdout] --> src/image_parsers/pdf_gif_parser.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | calculate_physical_size, ImageColorSpace, ImageCompression, ImageMetadata, ImageParseError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::ImageFormat` [INFO] [stdout] --> src/image_parsers/pdf_gif_parser.rs:511:17 [INFO] [stdout] | [INFO] [stdout] 511 | use image::ImageFormat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::ImageFormat` [INFO] [stdout] --> src/image_parsers/pdf_jpg_parser.rs:503:17 [INFO] [stdout] | [INFO] [stdout] 503 | use image::ImageFormat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::ImageFormat` [INFO] [stdout] --> src/image_parsers/pdf_png_parser.rs:504:17 [INFO] [stdout] | [INFO] [stdout] 504 | use image::ImageFormat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `calculate_physical_size` [INFO] [stdout] --> src/image_parsers/pdf_webp_parser.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | calculate_physical_size, ImageColorSpace, ImageCompression, ImageMetadata, ImageParseError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::ImageFormat` [INFO] [stdout] --> src/image_parsers/pdf_webp_parser.rs:414:17 [INFO] [stdout] | [INFO] [stdout] 414 | use image::ImageFormat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TextDecorationConfig` [INFO] [stdout] --> src/font/rtl_text_renderer.rs:11:52 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::font::text_decoration::{DecorationLine, TextDecorationConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TextUnicodeAnalysis`, `TextWrapper`, and `UnicodeNormalizationForm` [INFO] [stdout] --> src/font/rtl_text_renderer.rs:13:80 [INFO] [stdout] | [INFO] [stdout] 13 | RenderedLine, RenderedText, TextDirection, TextRenderConfig, TextRenderer, TextUnicodeAnalysis, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | TextWrapper, UnicodeNormalizationForm, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnicodeProcessor` [INFO] [stdout] --> src/font/rtl_text_renderer.rs:17:36 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::utils::encoding_utils::{UnicodeProcessor, UnicodeResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UnicodeError`, `UnicodeProcessor`, and `UnicodeResult` [INFO] [stdout] --> src/font/text_renderer.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::utils::encoding_utils::{UnicodeError, UnicodeProcessor, UnicodeResult}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `standard_fonts::*` [INFO] [stdout] --> src/font/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub use standard_fonts::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GraphicsState` and `PdfError` [INFO] [stdout] --> src/graphics/clipping.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::internal::{ClippingPath, GraphicsState, PdfError, PdfResult}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::color::PdfColor` [INFO] [stdout] --> src/graphics/line_drawing.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::color::PdfColor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::color::PdfColor` [INFO] [stdout] --> src/graphics/shape_drawing.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::color::PdfColor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `coordinate_system::*` [INFO] [stdout] --> src/graphics/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use coordinate_system::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `drawing_primitives::*` [INFO] [stdout] --> src/graphics/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use drawing_primitives::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shape_drawing::*` [INFO] [stdout] --> src/graphics/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use shape_drawing::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime` and `UNIX_EPOCH` [INFO] [stdout] --> src/content/metadata.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `content_objects::*` [INFO] [stdout] --> src/content/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use content_objects::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image_content::*` [INFO] [stdout] --> src/content/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use image_content::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `table_content::*` [INFO] [stdout] --> src/content/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use table_content::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `text_content::*` [INFO] [stdout] --> src/content/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use text_content::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/utils/bidi.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::internal::PdfError` [INFO] [stdout] --> src/utils/compression_utils.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::internal::PdfError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeflateDecoder` and `DeflateEncoder` [INFO] [stdout] --> src/utils/compression_utils.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use flate2::read::{DeflateDecoder, DeflateEncoder}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeflateDecoder as WriteDeflateDecoder` and `DeflateEncoder as WriteDeflateEncoder` [INFO] [stdout] --> src/utils/compression_utils.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use flate2::write::{DeflateDecoder as WriteDeflateDecoder, DeflateEncoder as WriteDeflateEncoder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Compress` and `Decompress` [INFO] [stdout] --> src/utils/compression_utils.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use flate2::{Compress, Compression, Decompress}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/utils/compression_utils.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader` and `BufWriter` [INFO] [stdout] --> src/utils/compression_utils.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::{self, BufReader, BufWriter, Read, Write}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/utils/compression_utils.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `file_utils::*` [INFO] [stdout] --> src/utils/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use file_utils::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `math_utils::*` [INFO] [stdout] --> src/utils/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use math_utils::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `string_utils::*` [INFO] [stdout] --> src/utils/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use string_utils::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::color::PdfColor` [INFO] [stdout] --> src/traits/pdf_transparency_trait.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color::PdfColor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pdf_attachment_trait::*` [INFO] [stdout] --> src/traits/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use pdf_attachment_trait::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pdf_enum_default_trait::*` [INFO] [stdout] --> src/traits/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use pdf_enum_default_trait::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pdf_rotation_trait::*` [INFO] [stdout] --> src/traits/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use pdf_rotation_trait::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pdf_sector_trait::*` [INFO] [stdout] --> src/traits/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use pdf_sector_trait::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pdf_transparency_trait::*` [INFO] [stdout] --> src/traits/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub use pdf_transparency_trait::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/utils/compression_utils.rs:13:43 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::{self, BufReader, BufWriter, Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/internal/pdf_memory_efficient.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImageParser` [INFO] [stdout] --> src/image_parsers/image_handler.rs:8:72 [INFO] [stdout] | [INFO] [stdout] 8 | ImageColorSpace, ImageCompression, ImageMetadata, ImageParseError, ImageParser, ImageScaling, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/utils/compression_utils.rs:13:49 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::{self, BufReader, BufWriter, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/internal/pdf_bookmark.rs:218:33 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn retain(&mut self, mut f: F) [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> src/internal/pdf_clipping_path.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let center = PdfPoint { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> src/internal/pdf_clipping_path.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let center = PdfPoint { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `original_x` [INFO] [stdout] --> src/internal/pdf_document.rs:805:13 [INFO] [stdout] | [INFO] [stdout] 805 | let original_x = self.x; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_original_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `original_y` [INFO] [stdout] --> src/internal/pdf_document.rs:806:13 [INFO] [stdout] | [INFO] [stdout] 806 | let original_y = self.y; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_original_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rendered_text` [INFO] [stdout] --> src/internal/pdf_document.rs:823:14 [INFO] [stdout] | [INFO] [stdout] 823 | let (rendered_text, decorations) = crate::font::TextRenderer::render_text( [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rendered_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decorations` [INFO] [stdout] --> src/internal/pdf_document.rs:823:29 [INFO] [stdout] | [INFO] [stdout] 823 | let (rendered_text, decorations) = crate::font::TextRenderer::render_text( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decorations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decorations` [INFO] [stdout] --> src/internal/pdf_document.rs:973:29 [INFO] [stdout] | [INFO] [stdout] 973 | let (rendered_text, decorations) = crate::font::TextRenderer::render_text( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decorations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_y` [INFO] [stdout] --> src/internal/pdf_document.rs:989:17 [INFO] [stdout] | [INFO] [stdout] 989 | let line_y = self.y + (i as f32 * line_height); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_x` [INFO] [stdout] --> src/internal/pdf_document.rs:990:17 [INFO] [stdout] | [INFO] [stdout] 990 | let text_x = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decorations` [INFO] [stdout] --> src/internal/pdf_document.rs:1044:29 [INFO] [stdout] | [INFO] [stdout] 1044 | let (rendered_text, decorations) = crate::font::TextRenderer::render_text( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decorations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_y` [INFO] [stdout] --> src/internal/pdf_document.rs:1066:17 [INFO] [stdout] | [INFO] [stdout] 1066 | let line_y = original_y + (i as f32 * line_height); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_x` [INFO] [stdout] --> src/internal/pdf_document.rs:1069:17 [INFO] [stdout] | [INFO] [stdout] 1069 | let text_x = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_x` [INFO] [stdout] --> src/internal/pdf_document.rs:1375:13 [INFO] [stdout] | [INFO] [stdout] 1375 | let old_x = self.x; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_old_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/internal/pdf_document.rs:1430:9 [INFO] [stdout] | [INFO] [stdout] 1430 | h: f32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decorations` [INFO] [stdout] --> src/internal/pdf_document.rs:1521:24 [INFO] [stdout] | [INFO] [stdout] 1521 | let (rtl_text, decorations) = crate::font::RTLTextRenderer::render_rtl_text( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decorations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_x` [INFO] [stdout] --> src/internal/pdf_document.rs:1548:17 [INFO] [stdout] | [INFO] [stdout] 1548 | let text_x = if line.rtl_info.is_rtl_primary { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/internal/pdf_document.rs:1632:38 [INFO] [stdout] | [INFO] [stdout] 1632 | pub fn set_rtl_config(&mut self, config: crate::font::RTLTextRenderConfig) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/internal/pdf_document.rs:1784:9 [INFO] [stdout] | [INFO] [stdout] 1784 | width: f32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dpi` [INFO] [stdout] --> src/internal/pdf_document.rs:1823:9 [INFO] [stdout] | [INFO] [stdout] 1823 | dpi: f32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dpi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `link` [INFO] [stdout] --> src/internal/pdf_document.rs:1838:9 [INFO] [stdout] | [INFO] [stdout] 1838 | link: u32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `link` [INFO] [stdout] --> src/internal/pdf_document.rs:2032:32 [INFO] [stdout] | [INFO] [stdout] 2032 | pub fn set_link(&mut self, link: u32, y: f32, page: u32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/internal/pdf_document.rs:2032:43 [INFO] [stdout] | [INFO] [stdout] 2032 | pub fn set_link(&mut self, link: u32, y: f32, page: u32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/internal/pdf_document.rs:2032:51 [INFO] [stdout] | [INFO] [stdout] 2032 | pub fn set_link(&mut self, link: u32, y: f32, page: u32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/internal/pdf_document.rs:2446:13 [INFO] [stdout] | [INFO] [stdout] 2446 | let mut content = self.generate_pdf_content()?; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_x` [INFO] [stdout] --> src/internal/pdf_page.rs:504:13 [INFO] [stdout] | [INFO] [stdout] 504 | let end_x = x + rx * end_rad.cos(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_end_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_y` [INFO] [stdout] --> src/internal/pdf_page.rs:505:13 [INFO] [stdout] | [INFO] [stdout] 505 | let end_y = y + ry * end_rad.sin(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_end_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_x` [INFO] [stdout] --> src/internal/pdf_page.rs:568:13 [INFO] [stdout] | [INFO] [stdout] 568 | let end_x = x + rx * end_rad.cos(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_end_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_y` [INFO] [stdout] --> src/internal/pdf_page.rs:569:13 [INFO] [stdout] | [INFO] [stdout] 569 | let end_y = y + ry * end_rad.sin(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_end_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image_data` [INFO] [stdout] --> src/internal/pdf_page.rs:627:9 [INFO] [stdout] | [INFO] [stdout] 627 | image_data: crate::image_parsers::PdfImageData, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_image_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image_data` [INFO] [stdout] --> src/internal/pdf_page.rs:689:9 [INFO] [stdout] | [INFO] [stdout] 689 | image_data: crate::image_parsers::PdfImageData, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_image_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mask_data` [INFO] [stdout] --> src/internal/pdf_page.rs:690:9 [INFO] [stdout] | [INFO] [stdout] 690 | mask_data: &[u8], [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mask_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image_data` [INFO] [stdout] --> src/internal/pdf_page.rs:717:9 [INFO] [stdout] | [INFO] [stdout] 717 | image_data: crate::image_parsers::PdfImageData, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_image_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/internal/pdf_memory_efficient.rs:147:34 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn start_page(&mut self, width: f32, height: f32) -> io::Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/internal/pdf_border.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 83 | / BorderStyle::Solid { width } [INFO] [stdout] 84 | | | BorderStyle::Dashed { width, .. } [INFO] [stdout] 85 | | | BorderStyle::Beveled { width } [INFO] [stdout] 86 | | | BorderStyle::Inset { width } [INFO] [stdout] 87 | | | BorderStyle::Underline { width } => { [INFO] [stdout] | |______________________________________________- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 95 | BorderStyle::Dashed { dash_pattern, .. } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:128:42 [INFO] [stdout] | [INFO] [stdout] 128 | std::fs::read(path).map_err(|e| ImageParseError::FileNotFound(path.to_string()))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/image_parsers/image_handler.rs:136:43 [INFO] [stdout] | [INFO] [stdout] 136 | std::fs::read(&path).map_err(|e| ImageParseError::FileNotFound(path_str.clone()))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/image_parsers/image_handler.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | let data = self.data_cache.get(identifier).ok_or_else(|| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/image_parsers/image_handler.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | options: ImageProcessingOptions, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/image_parsers/image_handler.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | let data = self.data_cache.get(identifier).ok_or_else(|| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/image_parsers/pdf_gif_parser.rs:517:18 [INFO] [stdout] | [INFO] [stdout] 517 | let (width, height) = decoder.dimensions(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/image_parsers/pdf_gif_parser.rs:517:25 [INFO] [stdout] | [INFO] [stdout] 517 | let (width, height) = decoder.dimensions(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/image_parsers/pdf_gif_parser.rs:593:25 [INFO] [stdout] | [INFO] [stdout] 593 | let mut mask = vec![255u8; width * height]; // Default to opaque [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/image_parsers/pdf_jpg_parser.rs:343:21 [INFO] [stdout] | [INFO] [stdout] 343 | let mut scan_start = cursor.position() as usize; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `has_exif` is assigned to, but never used [INFO] [stdout] --> src/image_parsers/pdf_jpg_parser.rs:403:13 [INFO] [stdout] | [INFO] [stdout] 403 | let mut has_exif = false; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_has_exif` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `has_exif` is never read [INFO] [stdout] --> src/image_parsers/pdf_jpg_parser.rs:432:25 [INFO] [stdout] | [INFO] [stdout] 432 | has_exif = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compressed_data` [INFO] [stdout] --> src/image_parsers/pdf_png_parser.rs:498:13 [INFO] [stdout] | [INFO] [stdout] 498 | let compressed_data = Self::extract_image_data(&mut cursor)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compressed_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/image_parsers/pdf_png_parser.rs:510:18 [INFO] [stdout] | [INFO] [stdout] 510 | let (width, height) = decoder.dimensions(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/image_parsers/pdf_png_parser.rs:510:25 [INFO] [stdout] | [INFO] [stdout] 510 | let (width, height) = decoder.dimensions(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_type` [INFO] [stdout] --> src/image_parsers/pdf_png_parser.rs:511:17 [INFO] [stdout] | [INFO] [stdout] 511 | let color_type = decoder.color_type(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header_size` [INFO] [stdout] --> src/image_parsers/pdf_webp_parser.rs:375:25 [INFO] [stdout] | [INFO] [stdout] 375 | let (file_size, header_size) = Self::read_riff_header(&mut cursor)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quality` [INFO] [stdout] --> src/image_parsers/pdf_webp_parser.rs:396:13 [INFO] [stdout] | [INFO] [stdout] 396 | let quality = 85; // Default to high quality [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_char` [INFO] [stdout] --> src/font/font_metrics.rs:199:31 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn get_kerning(&self, left_char: u32, right_char: u32) -> f32 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_char` [INFO] [stdout] --> src/font/font_metrics.rs:199:47 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn get_kerning(&self, left_char: u32, right_char: u32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default_width` [INFO] [stdout] --> src/font/font_metrics.rs:705:73 [INFO] [stdout] | [INFO] [stdout] 705 | fn add_common_latin_extended_widths(widths: &mut HashMap, default_width: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default_width` [INFO] [stdout] --> src/font/font_metrics.rs:777:67 [INFO] [stdout] | [INFO] [stdout] 777 | fn add_common_cyrillic_widths(widths: &mut HashMap, default_width: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default_width` [INFO] [stdout] --> src/font/font_metrics.rs:851:64 [INFO] [stdout] | [INFO] [stdout] 851 | fn add_common_greek_widths(widths: &mut HashMap, default_width: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/font/text_decoration.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | text: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/font/text_decoration.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 310 | text: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word_spacing` [INFO] [stdout] --> src/font/text_decoration.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | word_spacing: f32, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_word_spacing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metrics` [INFO] [stdout] --> src/font/rtl_text_renderer.rs:480:9 [INFO] [stdout] | [INFO] [stdout] 480 | metrics: &FontMetrics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metrics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `font_size` [INFO] [stdout] --> src/font/rtl_text_renderer.rs:481:9 [INFO] [stdout] | [INFO] [stdout] 481 | font_size: f32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_font_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `adjusted_x` [INFO] [stdout] --> src/font/rtl_text_renderer.rs:636:21 [INFO] [stdout] | [INFO] [stdout] 636 | let adjusted_x = Self::calculate_rtl_x_position( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_adjusted_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rtl_lines` [INFO] [stdout] --> src/font/rtl_text_renderer.rs:734:9 [INFO] [stdout] | [INFO] [stdout] 734 | rtl_lines: &[RTLRenderedLine], [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rtl_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/font/text_renderer.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let mut processed_text = text.to_string(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/font/text_renderer.rs:330:17 [INFO] [stdout] | [INFO] [stdout] 330 | let direction = Self::detect_text_direction(&processed_text); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/font/text_renderer.rs:373:13 [INFO] [stdout] | [INFO] [stdout] 373 | let mut encodings = std::collections::HashSet::new(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `font_size` [INFO] [stdout] --> src/font/text_renderer.rs:583:9 [INFO] [stdout] | [INFO] [stdout] 583 | font_size: f32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_font_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metrics` [INFO] [stdout] --> src/font/text_renderer.rs:631:9 [INFO] [stdout] | [INFO] [stdout] 631 | metrics: &FontMetrics, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metrics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `font_size` [INFO] [stdout] --> src/font/text_renderer.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | font_size: f32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_font_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/font/text_renderer.rs:784:9 [INFO] [stdout] | [INFO] [stdout] 784 | width: f32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tolerance` [INFO] [stdout] --> src/graphics/clipping.rs:294:47 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn simplify_path(path: &ClippingPath, tolerance: f32) -> ClippingPath { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tolerance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/content/metadata.rs:297:21 [INFO] [stdout] | [INFO] [stdout] 297 | if let Some(content) = &self.header_content { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_text` [INFO] [stdout] --> src/content/metadata.rs:306:17 [INFO] [stdout] | [INFO] [stdout] 306 | let page_text = self [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/content/metadata.rs:319:21 [INFO] [stdout] | [INFO] [stdout] 319 | if let Some(content) = &self.footer_content { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/utils/bidi.rs:373:13 [INFO] [stdout] | [INFO] [stdout] 367 | 0x0600..=0x06FF => Ok(BidiCharacterType::AL), // Arabic [INFO] [stdout] | --------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 373 | 0x0660..=0x0669 => Ok(BidiCharacterType::AN), // Arabic-Indic numbers (overlaps with AL range) [INFO] [stdout] | ^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/utils/encoding_utils.rs:40:63 [INFO] [stdout] | [INFO] [stdout] 40 | crate::utils::bidi::BidiError::InvalidCodePoint { code } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `code: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of field of type `f32` to itself [INFO] [stdout] --> src/internal/pdf_document.rs:1228:17 [INFO] [stdout] | [INFO] [stdout] 1228 | self.x = self.x; // Keep current X position [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filename` is never read [INFO] [stdout] --> src/internal/pdf_attachment.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PdfAttachment { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 5 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PdfAttachment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `render_footer` is never used [INFO] [stdout] --> src/internal/pdf_document.rs:586:8 [INFO] [stdout] | [INFO] [stdout] 292 | impl FPDF { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 586 | fn render_footer(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `style` are never read [INFO] [stdout] --> src/internal/pdf_font.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PdfFont { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 5 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | style: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PdfFont` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/internal/pdf_font_file.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PdfFontFile { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 5 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PdfFontFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/internal/pdf_image.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PdfImage { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 5 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PdfImage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/internal/pdf_page.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct PdfPage { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PdfPage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `buffer` is never read [INFO] [stdout] --> src/internal/pdf_streaming.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct StreamingPdfWriter { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 93 | buffer: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamingPdfWriter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title` is never read [INFO] [stdout] --> src/internal/pdf_streaming.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct StreamingPdfDocument { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 241 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamingPdfDocument` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `simple_decompress` is never used [INFO] [stdout] --> src/internal/pdf_object_compression.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 104 | impl PdfObjectCompressor { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 227 | fn simple_decompress(compressed: &[u8]) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `default_scaling`, `default_alignment`, and `default_vertical_alignment` are never read [INFO] [stdout] --> src/image_parsers/image_handler.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ImageHandler { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | default_scaling: ImageScaling, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | /// Default alignment [INFO] [stdout] 27 | default_alignment: ImageAlignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | /// Default vertical alignment [INFO] [stdout] 29 | default_vertical_alignment: ImageVerticalAlignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImageHandler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `width`, `height`, `background_color_index`, and `aspect_ratio` are never read [INFO] [stdout] --> src/image_parsers/pdf_gif_parser.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | struct GifHeader { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 33 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 34 | width: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | height: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 36 | global_color_table: Option>, [INFO] [stdout] 37 | background_color_index: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | aspect_ratio: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GifHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sort_flag` and `color_resolution` are never read [INFO] [stdout] --> src/image_parsers/pdf_gif_parser.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 43 | struct LogicalScreenFlags { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 44 | global_color_table_size: u8, [INFO] [stdout] 45 | sort_flag: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 46 | color_resolution: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogicalScreenFlags` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `left`, `top`, `interlace_flag`, `sort_flag`, and `local_color_table_size` are never read [INFO] [stdout] --> src/image_parsers/pdf_gif_parser.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | struct GifImageDescriptor { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 53 | left: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 54 | top: u16, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | interlace_flag: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 59 | sort_flag: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 60 | local_color_table_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GifImageDescriptor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `disposal_method`, `user_input_flag`, `delay_time`, and `transparent_color_index` are never read [INFO] [stdout] --> src/image_parsers/pdf_gif_parser.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 74 | struct GifGraphicControl { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 75 | disposal_method: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 76 | user_input_flag: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 77 | transparent_color_flag: bool, [INFO] [stdout] 78 | delay_time: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 79 | transparent_color_index: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GifGraphicControl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `identifier`, `authentication_code`, and `data` are never read [INFO] [stdout] --> src/image_parsers/pdf_gif_parser.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 84 | struct GifApplicationExtension { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 85 | identifier: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 86 | authentication_code: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 87 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GifApplicationExtension` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `image_data` is never read [INFO] [stdout] --> src/image_parsers/pdf_gif_parser.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 92 | struct GifFrame { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 95 | image_data: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GifFrame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DHT_MARKER` is never used [INFO] [stdout] --> src/image_parsers/pdf_jpg_parser.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const DHT_MARKER: u16 = 0xFFC4; // Define Huffman Table [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SOS_MARKER` is never used [INFO] [stdout] --> src/image_parsers/pdf_jpg_parser.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | const SOS_MARKER: u16 = 0xFFDA; // Start of Scan [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COM_MARKER` is never used [INFO] [stdout] --> src/image_parsers/pdf_jpg_parser.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const COM_MARKER: u16 = 0xFFFE; // Comment [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RGB` is never constructed [INFO] [stdout] --> src/image_parsers/pdf_jpg_parser.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | enum JpegColorSpace { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 28 | Grayscale = 1, [INFO] [stdout] 29 | RGB = 3, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JpegColorSpace` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `h` and `v` are never read [INFO] [stdout] --> src/image_parsers/pdf_jpg_parser.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | struct JpegSamplingFactors { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 38 | h: u8, // Horizontal sampling factor [INFO] [stdout] | ^ [INFO] [stdout] 39 | v: u8, // Vertical sampling factor [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `JpegSamplingFactors` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `sampling_factors`, and `quantization_table_id` are never read [INFO] [stdout] --> src/image_parsers/pdf_jpg_parser.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | struct JpegComponent { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 45 | id: u8, [INFO] [stdout] | ^^ [INFO] [stdout] 46 | sampling_factors: JpegSamplingFactors, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | quantization_table_id: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JpegComponent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `precision`, `components_count`, and `components` are never read [INFO] [stdout] --> src/image_parsers/pdf_jpg_parser.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | struct JpegFrameHeader { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 53 | precision: u8, // Sample precision (bits per sample) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | components_count: u8, // Number of image components [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | components: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JpegFrameHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `thumb_width`, and `thumb_height` are never read [INFO] [stdout] --> src/image_parsers/pdf_jpg_parser.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 63 | struct JpegJfifData { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 64 | version: (u8, u8), // Major and minor version [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | thumb_width: u8, // Thumbnail width [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 69 | thumb_height: u8, // Thumbnail height [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JpegJfifData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JpegExifData` is never constructed [INFO] [stdout] --> src/image_parsers/pdf_jpg_parser.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | struct JpegExifData { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `extract_scan_data` is never used [INFO] [stdout] --> src/image_parsers/pdf_jpg_parser.rs:327:8 [INFO] [stdout] | [INFO] [stdout] 83 | impl JpgParser { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 327 | fn extract_scan_data(cursor: &mut Cursor<&[u8]>) -> Result, ImageParseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `compression_method`, `filter_method`, and `interlace_method` are never read [INFO] [stdout] --> src/image_parsers/pdf_png_parser.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 57 | struct PngHeader { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 62 | compression_method: PngCompressionMethod, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | filter_method: PngFilterMethod, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 64 | interlace_method: PngInterlaceMethod, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PngHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `bytes_per_pixel` is never used [INFO] [stdout] --> src/image_parsers/pdf_png_parser.rs:280:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl PngParser { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 280 | fn bytes_per_pixel(color_type: PngColorType, bit_depth: u8) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ANIM_CHUNK` is never used [INFO] [stdout] --> src/image_parsers/pdf_webp_parser.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const ANIM_CHUNK: [u8; 4] = *b"ANIM"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ANMF_CHUNK` is never used [INFO] [stdout] --> src/image_parsers/pdf_webp_parser.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const ANMF_CHUNK: [u8; 4] = *b"ANMF"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ICCP_CHUNK` is never used [INFO] [stdout] --> src/image_parsers/pdf_webp_parser.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | const ICCP_CHUNK: [u8; 4] = *b"ICCP"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXIF_CHUNK` is never used [INFO] [stdout] --> src/image_parsers/pdf_webp_parser.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | const EXIF_CHUNK: [u8; 4] = *b"EXIF"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `XMP_CHUNK` is never used [INFO] [stdout] --> src/image_parsers/pdf_webp_parser.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | const XMP_CHUNK: [u8; 4] = *b"XMP "; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnimationHeader` is never constructed [INFO] [stdout] --> src/image_parsers/pdf_webp_parser.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | struct AnimationHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnimationFrameHeader` is never constructed [INFO] [stdout] --> src/image_parsers/pdf_webp_parser.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | struct AnimationFrameHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `has_icc`, `has_exif`, `has_xmp`, and `is_animation` are never read [INFO] [stdout] --> src/image_parsers/pdf_webp_parser.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 74 | struct WebPFeatures { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 75 | has_icc: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 76 | has_alpha: bool, [INFO] [stdout] 77 | has_exif: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 78 | has_xmp: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 79 | is_animation: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WebPFeatures` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `parse_animation_header` and `parse_animation_frame_header` are never used [INFO] [stdout] --> src/image_parsers/pdf_webp_parser.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 86 | impl WebpParser { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 184 | fn parse_animation_header(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | fn parse_animation_frame_header(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unicode_processor` is never read [INFO] [stdout] --> src/font/font_encoding.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FontEncodingManager { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | unicode_processor: UnicodeProcessor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FontEncodingManager` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_rtl` is never read [INFO] [stdout] --> src/font/text_renderer.rs:772:5 [INFO] [stdout] | [INFO] [stdout] 766 | struct UnicodeToken { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 772 | is_rtl: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnicodeToken` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/internal/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub mod pdf_clipping_path; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/internal/mod.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub mod pdf_graphics_state; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/internal/mod.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub mod pdf_page_info; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/internal/mod.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | pub mod pdf_viewer_preferences; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a type alias [INFO] [stdout] --> src/internal/mod.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | pub type PageLinkCollection = pdf_page_link::PageLinkCollection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a type alias [INFO] [stdout] --> src/internal/mod.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | pub type BookmarkTree = pdf_bookmark::BookmarkTree; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/internal/pdf_attachment.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PdfAttachment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/internal/pdf_attachment.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(filename: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a type alias [INFO] [stdout] --> src/internal/pdf_document.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub type PdfResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_document.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub pages: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_document.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub y: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_document.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub fill_color: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an enum [INFO] [stdout] --> src/internal/pdf_document.rs:3189:1 [INFO] [stdout] | [INFO] [stdout] 3189 | pub enum PdfError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_document.rs:3191:5 [INFO] [stdout] | [INFO] [stdout] 3191 | NoPage, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_document.rs:3193:5 [INFO] [stdout] | [INFO] [stdout] 3193 | FontNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_document.rs:3195:5 [INFO] [stdout] | [INFO] [stdout] 3195 | InvalidParameters(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_document.rs:3197:5 [INFO] [stdout] | [INFO] [stdout] 3197 | Io(#[from] io::Error), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_document.rs:3199:5 [INFO] [stdout] | [INFO] [stdout] 3199 | Encoding(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_document.rs:3201:5 [INFO] [stdout] | [INFO] [stdout] 3201 | ImageNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_document.rs:3203:5 [INFO] [stdout] | [INFO] [stdout] 3203 | UnsupportedImageFormat(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_document.rs:3205:5 [INFO] [stdout] | [INFO] [stdout] 3205 | ImageError(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_document.rs:3207:5 [INFO] [stdout] | [INFO] [stdout] 3207 | FontError(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_document.rs:3209:5 [INFO] [stdout] | [INFO] [stdout] 3209 | GraphicsError(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_document.rs:3211:5 [INFO] [stdout] | [INFO] [stdout] 3211 | InvalidTransform(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_document.rs:3213:5 [INFO] [stdout] | [INFO] [stdout] 3213 | ClippingError(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_document.rs:3215:5 [INFO] [stdout] | [INFO] [stdout] 3215 | TransparencyNotSupported, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/internal/pdf_font.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PdfFont { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/internal/pdf_font.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(name: &str, style: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/internal/pdf_font_file.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PdfFontFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/internal/pdf_font_file.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(path: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/internal/pdf_font_parser.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct PdfFontParser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/internal/pdf_font_parser.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_graphics_state.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub stroke_alpha: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_graphics_state.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub stroke_color: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_graphics_state.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub text_color: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_graphics_state.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub line_cap: PdfLineCap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_graphics_state.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub line_join: PdfLineJoin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_graphics_state.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub line_dash_pattern: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_graphics_state.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub line_dash_phase: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/internal/pdf_image.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PdfImage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/internal/pdf_image.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(path: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_link.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | Internal { page: u32, y: f32 }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_link.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | Internal { page: u32, y: f32 }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_link.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | File { file: String, page: Option }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_link.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | File { file: String, page: Option }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_link.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | Launch { file: String }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_link.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | URI { url: String }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_link.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | JavaScript { script: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_link.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | SubmitForm { url: String, fields: Vec }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_link.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | SubmitForm { url: String, fields: Vec }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_link.rs:524:9 [INFO] [stdout] | [INFO] [stdout] 524 | x: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_link.rs:525:9 [INFO] [stdout] | [INFO] [stdout] 525 | y: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_link.rs:526:9 [INFO] [stdout] | [INFO] [stdout] 526 | width: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_link.rs:527:9 [INFO] [stdout] | [INFO] [stdout] 527 | height: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_border.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | Solid { width: f32 }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_border.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | Dashed { width: f32, dash_pattern: Vec }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_border.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | Dashed { width: f32, dash_pattern: Vec }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_border.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | Beveled { width: f32 }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_border.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | Inset { width: f32 }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_border.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | Underline { width: f32 }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | contents: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | open: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | icon: TextIcon, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | action: LinkAction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | highlight_mode: LinkHighlightMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | contents: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | appearance: TextAppearance, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | start_point: (f32, f32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | end_point: (f32, f32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | line_style: LineStyle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | border_style: BorderStyle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | fill_color: Option<[f32; 3]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | border_style: BorderStyle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | fill_color: Option<[f32; 3]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | quad_points: Vec<(f32, f32)>, // 8 points for highlighting text [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | Underline { quad_points: Vec<(f32, f32)> }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | StrikeOut { quad_points: Vec<(f32, f32)> }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | FileAttachment { file_path: String, icon: FileIcon }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:49:41 [INFO] [stdout] | [INFO] [stdout] 49 | FileAttachment { file_path: String, icon: FileIcon }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | Comment, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | Help, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | Insert, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | Key, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | NewParagraph, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | Note, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | Paragraph, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | GoTo { page: u32, y: f32 }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | GoTo { page: u32, y: f32 }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | GoToR { file: String, page: Option }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | GoToR { file: String, page: Option }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | Remote { url: String }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | Launch { file: String }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | URI { url: String }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | Invert, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | Outline, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | Push, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub font_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub font_size: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub text_color: [f32; 3], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub alignment: TextAlignment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | Center, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub line_width: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | pub line_style: AnnotationLineStyle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | pub start_cap: LineCap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | pub end_cap: LineCap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | pub dash_pattern: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | Solid, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | Dashed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | Beveled, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | Inset, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | Underline, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Butt, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | Round, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | Square, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | pub width: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | pub style: AnnotationLineStyle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | pub dash_pattern: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | Graph, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | Paperclip, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | PushPin, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/internal/pdf_page_annotation.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | Tag, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | UnsupportedFormat, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | InvalidImageData(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | FileNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | IoError(#[from] std::io::Error), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | DecodingError(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | UnsupportedColorSpace, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | ImageTooLarge { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | width: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | height: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | max_width: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | max_height: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | InvalidCompression, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | TransparencyNotSupported, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | palette: Vec<[u8; 3]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | transparent_index: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | DCT { quality: u8 }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | Flate { level: u8 }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | CCITT { group: u8, encoded_byte_align: bool }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | CCITT { group: u8, encoded_byte_align: bool }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | Fit { width: f32, height: f32 }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | Fit { width: f32, height: f32 }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | Fill { width: f32, height: f32 }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | Fill { width: f32, height: f32 }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | Stretch { width: f32, height: f32 }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | Stretch { width: f32, height: f32 }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | Scale { factor: f32 }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | Center, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | Top, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | Middle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/image_parsers/abstract_image_parser.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | Bottom, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `pHYs_CHUNK` should have an upper case name [INFO] [stdout] --> src/image_parsers/pdf_png_parser.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const pHYs_CHUNK: &[u8] = b"pHYs"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 24 - const pHYs_CHUNK: &[u8] = b"pHYs"; [INFO] [stdout] 24 + const P_HYS_CHUNK: &[u8] = b"pHYs"; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/font/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub mod standard_fonts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/font/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub mod courier; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/font/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub mod helvetica; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/font/mod.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub mod symbol; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/font/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub mod times; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/font/mod.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub mod zapfdingbats; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/graphics/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod coordinate_system; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/graphics/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod drawing_primitives; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_cmyk_color.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | pub const BLACK: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_cmyk_color.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | pub const WHITE: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_cmyk_color.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | pub const RED: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_cmyk_color.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | pub const GREEN: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_cmyk_color.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | pub const BLUE: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_cmyk_color.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | pub const YELLOW: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_cmyk_color.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | pub const CYAN: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_cmyk_color.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | pub const MAGENTA: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_gray_color.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub const BLACK: Self = Self { gray: 0.0 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_gray_color.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub const WHITE: Self = Self { gray: 1.0 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_gray_color.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | pub const GRAY_25: Self = Self { gray: 0.25 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_gray_color.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub const GRAY_50: Self = Self { gray: 0.5 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_gray_color.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | pub const GRAY_75: Self = Self { gray: 0.75 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_rgb_color.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | pub const BLACK: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_rgb_color.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | pub const WHITE: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_rgb_color.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | pub const RED: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_rgb_color.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | pub const GREEN: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_rgb_color.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | pub const BLUE: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_rgb_color.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | pub const YELLOW: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_rgb_color.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | pub const ORANGE: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_rgb_color.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | pub const CYAN: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_rgb_color.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | pub const MAGENTA: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_rgb_color.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | pub const PURPLE: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated constant [INFO] [stdout] --> src/color/pdf_rgb_color.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | pub const GRAY: Self = Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/content/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod content_objects; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/content/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod image_content; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/content/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod table_content; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/content/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub mod text_content; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/utils/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod file_utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/utils/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod math_utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/utils/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub mod string_utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/bidi.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | InvalidCodePoint { code: u32 }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/bidi.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | UnsupportedFeature { feature: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/bidi.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | InvalidEmbeddingLevel { level: u8 }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/bidi.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub is_run_end: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/utils/compression_utils.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | AlgorithmNotAvailable { algorithm: CompressionAlgorithm }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/compression_utils.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | AlgorithmNotAvailable { algorithm: CompressionAlgorithm }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/utils/compression_utils.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | CompressionFailed { source: io::Error }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/compression_utils.rs:221:25 [INFO] [stdout] | [INFO] [stdout] 221 | CompressionFailed { source: io::Error }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/utils/compression_utils.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | DecompressionFailed { source: io::Error }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/compression_utils.rs:224:27 [INFO] [stdout] | [INFO] [stdout] 224 | DecompressionFailed { source: io::Error }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/utils/compression_utils.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | DataTooSmall { size: usize, min_size: usize }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/compression_utils.rs:227:20 [INFO] [stdout] | [INFO] [stdout] 227 | DataTooSmall { size: usize, min_size: usize }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/compression_utils.rs:227:33 [INFO] [stdout] | [INFO] [stdout] 227 | DataTooSmall { size: usize, min_size: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/utils/compression_utils.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | InvalidCompressionLevel { level: u8 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/compression_utils.rs:230:31 [INFO] [stdout] | [INFO] [stdout] 230 | InvalidCompressionLevel { level: u8 }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/utils/compression_utils.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | StreamError { source: io::Error }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/compression_utils.rs:233:19 [INFO] [stdout] | [INFO] [stdout] 233 | StreamError { source: io::Error }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | InvalidUtf8 { position: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | code: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | character: char, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | encoding: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | InvalidEncoding { encoding: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | ConversionFailed { from: String, to: String }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:28:38 [INFO] [stdout] | [INFO] [stdout] 28 | ConversionFailed { from: String, to: String }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | EncodingTableNotFound { encoding: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | position: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | description: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:320:24 [INFO] [stdout] | [INFO] [stdout] 320 | InvalidCodePoint { position: usize, code_point: u32 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:320:41 [INFO] [stdout] | [INFO] [stdout] 320 | InvalidCodePoint { position: usize, code_point: u32 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:322:19 [INFO] [stdout] | [INFO] [stdout] 322 | TextTooLong { length: usize, max_length: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:322:34 [INFO] [stdout] | [INFO] [stdout] 322 | TextTooLong { length: usize, max_length: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:329:26 [INFO] [stdout] | [INFO] [stdout] 329 | SurrogateCharacter { position: usize, character: char }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:329:43 [INFO] [stdout] | [INFO] [stdout] 329 | SurrogateCharacter { position: usize, character: char }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:331:20 [INFO] [stdout] | [INFO] [stdout] 331 | NonCharacter { position: usize, character: char }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:331:37 [INFO] [stdout] | [INFO] [stdout] 331 | NonCharacter { position: usize, character: char }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:333:24 [INFO] [stdout] | [INFO] [stdout] 333 | ControlCharacter { position: usize, character: char }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:333:41 [INFO] [stdout] | [INFO] [stdout] 333 | ControlCharacter { position: usize, character: char }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:335:27 [INFO] [stdout] | [INFO] [stdout] 335 | PrivateUseCharacter { position: usize, character: char }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:335:44 [INFO] [stdout] | [INFO] [stdout] 335 | PrivateUseCharacter { position: usize, character: char }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:337:18 [INFO] [stdout] | [INFO] [stdout] 337 | OutsideBMP { position: usize, character: char }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:337:35 [INFO] [stdout] | [INFO] [stdout] 337 | OutsideBMP { position: usize, character: char }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:344:24 [INFO] [stdout] | [INFO] [stdout] 344 | RequiresEscaping { position: usize, character: char }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:344:41 [INFO] [stdout] | [INFO] [stdout] 344 | RequiresEscaping { position: usize, character: char }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:346:35 [INFO] [stdout] | [INFO] [stdout] 346 | SupplementaryPlaneCharacter { position: usize, character: char }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:346:52 [INFO] [stdout] | [INFO] [stdout] 346 | SupplementaryPlaneCharacter { position: usize, character: char }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:348:29 [INFO] [stdout] | [INFO] [stdout] 348 | EncodingCompatibility { encoding: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:350:29 [INFO] [stdout] | [INFO] [stdout] 350 | TextDirectionDetected { direction: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils/encoding_utils.rs:352:28 [INFO] [stdout] | [INFO] [stdout] 352 | CharacterSetDetected { character_set: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/utils/encoding_utils.rs:672:5 [INFO] [stdout] | [INFO] [stdout] 672 | LTR, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/utils/encoding_utils.rs:673:5 [INFO] [stdout] | [INFO] [stdout] 673 | RTL, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/utils/encoding_utils.rs:679:5 [INFO] [stdout] | [INFO] [stdout] 679 | NFC, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/utils/encoding_utils.rs:680:5 [INFO] [stdout] | [INFO] [stdout] 680 | NFD, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/utils/encoding_utils.rs:681:5 [INFO] [stdout] | [INFO] [stdout] 681 | NFKC, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/utils/encoding_utils.rs:682:5 [INFO] [stdout] | [INFO] [stdout] 682 | NFKD, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/enums/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod pdf_blend_mode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/enums/mod.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub mod pdf_direction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/enums/mod.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub mod pdf_duplex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/enums/mod.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub mod pdf_layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/enums/mod.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub mod pdf_page_mode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/enums/mod.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub mod pdf_zoom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/enums/mod.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub mod pdf_font_name; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/enums/mod.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub mod pdf_font_style; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/enums/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub mod pdf_text_alignment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/enums/pdf_page_size.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | Custom { width: f32, height: f32 }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/enums/pdf_page_size.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | Custom { width: f32, height: f32 }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/traits/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod pdf_attachment_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/traits/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod pdf_rotation_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/traits/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub mod pdf_sector_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/traits/mod.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub mod pdf_transparency_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/traits/mod.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub mod pdf_enum_default_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected closing delimiter: `}` [INFO] [stdout] --> tests/common/mod.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn assert_approx_eq(a: f32, b: f32, epsilon: f32) { [INFO] [stdout] | - this opening brace... [INFO] [stdout] 37 | assert!((a - b).abs() < epsilon, "Expected {} ≈ {} (±{})", a, b, epsilon); [INFO] [stdout] 38 | } [INFO] [stdout] | - ...matches this closing brace [INFO] [stdout] ... [INFO] [stdout] 46 | } [INFO] [stdout] | ^ unexpected closing delimiter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `DashPattern` is defined multiple times [INFO] [stdout] --> examples/graphics_demo.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | use fpdf2_rs::graphics::DashPattern; [INFO] [stdout] | ------------------------------- previous import of the type `DashPattern` here [INFO] [stdout] 7 | use fpdf2_rs::graphics::DashPattern; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `DashPattern` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `DashPattern` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fpdf2_rs` (test "lib") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused imports: `JpgParser` and `PngParser` [INFO] [stdout] --> examples/image_handling_demo.rs:8:43 [INFO] [stdout] | [INFO] [stdout] 8 | ImageScaling, ImageVerticalAlignment, JpgParser, PngParser, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: argument never used [INFO] [stdout] --> examples/interactive_links.rs:122:53 [INFO] [stdout] | [INFO] [stdout] 122 | pdf.cell(0, 6, &format!("Document Statistics:", 0), 0, 1, "L"); [INFO] [stdout] | ---------------------- ^ argument never used [INFO] [stdout] | | [INFO] [stdout] | formatting specifier missing [INFO] [stdout] | [INFO] [stdout] help: format specifiers use curly braces, consider adding a format specifier [INFO] [stdout] | [INFO] [stdout] 122 | pdf.cell(0, 6, &format!("Document Statistics:{}", 0), 0, 1, "L"); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FontStyle` [INFO] [stdout] --> examples/text_features.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | use fpdf2_rs::enums::{FontStyle, TextAlignment}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/basic.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pdf.set_font("Helvetica", "", 12.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 12 | let _ = pdf.set_font("Helvetica", "", 12.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImageParser` [INFO] [stdout] --> examples/image_handling_demo.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | ImageAlignment, ImageHandler, ImageParser, ImagePlacement, ImageProcessingOptions, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/multi_page.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | pdf.set_font("Helvetica", "B", 20.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 10 | let _ = pdf.set_font("Helvetica", "B", 20.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/multi_page.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | pdf.set_font("Helvetica", "", 12.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 14 | let _ = pdf.set_font("Helvetica", "", 12.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/multi_page.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pdf.set_font("Helvetica", "B", 16.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = pdf.set_font("Helvetica", "B", 16.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/multi_page.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pdf.set_font("Helvetica", "", 12.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 25 | let _ = pdf.set_font("Helvetica", "", 12.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/multi_page.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pdf.set_font("Helvetica", "B", 16.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 40 | let _ = pdf.set_font("Helvetica", "B", 16.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/multi_page.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | pdf.set_font("Helvetica", "", 12.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 44 | let _ = pdf.set_font("Helvetica", "", 12.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/rtl_mixed_languages.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pdf.add_page(PdfPageSize::A4, PdfOrientation::Portrait)?; [INFO] [stdout] | ^^^^^^^^ --------------- ------------------------ unexpected argument #2 of type `fpdf2_rs::enums::PdfOrientation` [INFO] [stdout] | | [INFO] [stdout] | unexpected argument #1 of type `fpdf2_rs::enums::PdfPageSize` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn add_page(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 13 - pdf.add_page(PdfPageSize::A4, PdfOrientation::Portrait)?; [INFO] [stdout] 13 + pdf.add_page()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> examples/text_features.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | pdf.ln(10.0); [INFO] [stdout] | ^^ ---- unexpected argument of type `{float}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:754:12 [INFO] [stdout] | [INFO] [stdout] 754 | pub fn ln(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 44 - pdf.ln(10.0); [INFO] [stdout] 44 + pdf.ln(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> examples/rtl_mixed_languages.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | pdf.add_page(PdfPageSize::A4, PdfOrientation::Portrait)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> examples/text_features.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | pdf.ln(5.0); [INFO] [stdout] | ^^ --- unexpected argument of type `{float}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:754:12 [INFO] [stdout] | [INFO] [stdout] 754 | pub fn ln(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 51 - pdf.ln(5.0); [INFO] [stdout] 51 + pdf.ln(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `id` [INFO] [stdout] --> examples/image_handling_demo.rs:41:66 [INFO] [stdout] | [INFO] [stdout] 36 | Ok(id) => { [INFO] [stdout] | -- move occurs because `id` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] 37 | println!("✓ Loaded: {}", file); [INFO] [stdout] 38 | loaded_images.push(id); [INFO] [stdout] | -- value moved here [INFO] [stdout] ... [INFO] [stdout] 41 | if let Some(metadata) = handler.get_metadata(&id) { [INFO] [stdout] | ^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] = note: borrow occurs due to deref coercion to `str` [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 38 | loaded_images.push(id.clone()); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metadata` [INFO] [stdout] --> examples/image_handling_demo.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | let metadata = handler.get_metadata(image_id).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> examples/text_features.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | pdf.ln(10.0); [INFO] [stdout] | ^^ ---- unexpected argument of type `{float}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:754:12 [INFO] [stdout] | [INFO] [stdout] 754 | pub fn ln(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 72 - pdf.ln(10.0); [INFO] [stdout] 72 + pdf.ln(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fpdf2_rs::internal::pdf_content_stream` [INFO] [stdout] --> tests/compression_tests.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | internal::pdf_content_stream::*, internal::pdf_memory_efficient::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ could not find `pdf_content_stream` in `internal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> examples/text_features.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | pdf.ln(5.0); [INFO] [stdout] | ^^ --- unexpected argument of type `{float}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:754:12 [INFO] [stdout] | [INFO] [stdout] 754 | pub fn ln(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 78 - pdf.ln(5.0); [INFO] [stdout] 78 + pdf.ln(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> examples/rtl_mixed_languages.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pdf.set_font(&FontName::Helvetica, FontStyle::Bold, 18.0)?; [INFO] [stdout] | ^^^^^^^^ -------------------- --------------- expected `&str`, found `FontStyle` [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found `&FontName` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&fpdf2_rs::enums::FontName` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:638:12 [INFO] [stdout] | [INFO] [stdout] 638 | pub fn set_font(&mut self, family: &str, style: &str, size: f32) -> Result<(), PdfError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `pdf` [INFO] [stdout] --> examples/memory_efficient_demo.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 18 | let mut pdf = MemoryEfficientPdf::new(output_path, MemoryPolicy::Balanced)?; [INFO] [stdout] | ------- move occurs because `pdf` has type `MemoryEfficientPdf`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 35 | pdf.finalize()?; [INFO] [stdout] | ---------- `pdf` moved due to this method call [INFO] [stdout] ... [INFO] [stdout] 38 | println!("{}", pdf.memory_report()); [INFO] [stdout] | ^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] note: `MemoryEfficientPdf::finalize` takes ownership of the receiver `self`, which moves `pdf` [INFO] [stdout] --> src/internal/pdf_memory_efficient.rs:300:25 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn finalize(mut self) -> io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `pdf` [INFO] [stdout] --> examples/memory_efficient_demo.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 47 | let mut pdf = MemoryEfficientPdfBuilder::new(output_path2) [INFO] [stdout] | ------- move occurs because `pdf` has type `MemoryEfficientPdf`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 57 | pdf.finalize()?; [INFO] [stdout] | ---------- `pdf` moved due to this method call [INFO] [stdout] 58 | [INFO] [stdout] 59 | println!("{}", pdf.memory_report()); [INFO] [stdout] | ^^^ value borrowed here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `pdf` [INFO] [stdout] --> examples/memory_efficient_demo.rs:76:24 [INFO] [stdout] | [INFO] [stdout] 67 | let mut pdf = MemoryEfficientPdf::new(output_path3, MemoryPolicy::Minimal)?; [INFO] [stdout] | ------- move occurs because `pdf` has type `MemoryEfficientPdf`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 74 | pdf.finalize()?; [INFO] [stdout] | ---------- `pdf` moved due to this method call [INFO] [stdout] 75 | [INFO] [stdout] 76 | println!("{}", pdf.memory_report()); [INFO] [stdout] | ^^^ value borrowed here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> examples/advanced_graphics.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pdf.set_font("Arial", None, 16)?; [INFO] [stdout] | ^^^^^^^^ -- expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] note: expected `&str`, found `Option<_>` [INFO] [stdout] --> examples/advanced_graphics.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | pdf.set_font("Arial", None, 16)?; [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:638:12 [INFO] [stdout] | [INFO] [stdout] 638 | pub fn set_font(&mut self, family: &str, style: &str, size: f32) -> Result<(), PdfError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 21 | pdf.set_font("Arial", None, 16.0)?; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> examples/interactive_links.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pdf.set_font("Helvetica", None, 16); [INFO] [stdout] | ^^^^^^^^ -- expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] note: expected `&str`, found `Option<_>` [INFO] [stdout] --> examples/interactive_links.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | pdf.set_font("Helvetica", None, 16); [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:638:12 [INFO] [stdout] | [INFO] [stdout] 638 | pub fn set_font(&mut self, family: &str, style: &str, size: f32) -> Result<(), PdfError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 15 | pdf.set_font("Helvetica", None, 16.0); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> examples/text_features.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | pdf.ln(8.0); [INFO] [stdout] | ^^ --- unexpected argument of type `{float}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:754:12 [INFO] [stdout] | [INFO] [stdout] 754 | pub fn ln(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 92 - pdf.ln(8.0); [INFO] [stdout] 92 + pdf.ln(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{integer}: PdfColor` is not satisfied [INFO] [stdout] --> examples/rtl_mixed_languages.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | pdf.set_text_color(0, 0, 0); [INFO] [stdout] | -------------- ^ the trait `PdfColor` is not implemented for `{integer}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `PdfColor` [INFO] [stdout] --> src/color/pdf_cmyk_color.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | impl PdfColor for PdfCmykColor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `PdfCmykColor` [INFO] [stdout] | [INFO] [stdout] ::: src/color/pdf_gray_color.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | impl PdfColor for PdfGrayColor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `PdfGrayColor` [INFO] [stdout] | [INFO] [stdout] ::: src/color/pdf_rgb_color.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | impl PdfColor for PdfRgbColor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `fpdf2_rs::color::PdfRgbColor` [INFO] [stdout] note: required by a bound in `FPDF::set_text_color` [INFO] [stdout] --> src/internal/pdf_document.rs:713:30 [INFO] [stdout] | [INFO] [stdout] 713 | pub fn set_text_color(&mut self, color: C) { [INFO] [stdout] | ^^^^^^^^ required by this bound in `FPDF::set_text_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> examples/text_features.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | pdf.ln(5.0); [INFO] [stdout] | ^^ --- unexpected argument of type `{float}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:754:12 [INFO] [stdout] | [INFO] [stdout] 754 | pub fn ln(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 95 - pdf.ln(5.0); [INFO] [stdout] 95 + pdf.ln(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 6 arguments were supplied [INFO] [stdout] --> examples/interactive_links.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pdf.cell(0, 10, "Interactive Links Demo", 0, 1, "C"); [INFO] [stdout] | ^^^^ - -- - - --- unexpected argument #6 of type `&'static str` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | unexpected argument #5 of type `{integer}` [INFO] [stdout] | | | unexpected argument #4 of type `{integer}` [INFO] [stdout] | | expected `f32`, found integer [INFO] [stdout] | expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:766:12 [INFO] [stdout] | [INFO] [stdout] 766 | pub fn cell(&mut self, w: f32, h: f32, txt: &str) -> Result<(), PdfError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 18 | pdf.cell(0.0, 10, "Interactive Links Demo", 0, 1, "C"); [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 18 | pdf.cell(0, 10.0, "Interactive Links Demo", 0, 1, "C"); [INFO] [stdout] | ++ [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 18 - pdf.cell(0, 10, "Interactive Links Demo", 0, 1, "C"); [INFO] [stdout] 18 + pdf.cell(/* f32 */, /* f32 */, "Interactive Links Demo"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> examples/text_features.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | pdf.ln(5.0); [INFO] [stdout] | ^^ --- unexpected argument of type `{float}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:754:12 [INFO] [stdout] | [INFO] [stdout] 754 | pub fn ln(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 102 - pdf.ln(5.0); [INFO] [stdout] 102 + pdf.ln(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 6 arguments were supplied [INFO] [stdout] --> examples/advanced_graphics.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pdf.cell( [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | 0, [INFO] [stdout] | - expected `f32`, found integer [INFO] [stdout] 24 | 10, [INFO] [stdout] | -- expected `f32`, found integer [INFO] [stdout] 25 | "Transparency and Blend Modes", [INFO] [stdout] 26 | 0, [INFO] [stdout] | - unexpected argument #4 of type `{integer}` [INFO] [stdout] 27 | 1, [INFO] [stdout] | - unexpected argument #5 of type `{integer}` [INFO] [stdout] 28 | fpdf2_rs::enums::TextAlignment::Center, [INFO] [stdout] | -------------------------------------- unexpected argument #6 of type `fpdf2_rs::enums::TextAlignment` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:766:12 [INFO] [stdout] | [INFO] [stdout] 766 | pub fn cell(&mut self, w: f32, h: f32, txt: &str) -> Result<(), PdfError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 23 | 0.0, [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 24 | 10.0, [INFO] [stdout] | ++ [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 23 ~ /* f32 */, [INFO] [stdout] 24 ~ /* f32 */, [INFO] [stdout] 25 ~ "Transparency and Blend Modes", [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fpdf2_rs` (example "image_handling_demo") due to 1 previous error; 3 warnings emitted [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> examples/text_features.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | pdf.ln(5.0); [INFO] [stdout] | ^^ --- unexpected argument of type `{float}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:754:12 [INFO] [stdout] | [INFO] [stdout] 754 | pub fn ln(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 111 - pdf.ln(5.0); [INFO] [stdout] 111 + pdf.ln(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> tests/rtl_text_tests.rs:471:16 [INFO] [stdout] | [INFO] [stdout] 471 | use crate::utils::bidi::BidiUtils; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `fpdf2_rs::utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/bookmarks_and_navigation.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | pdf.set_font("Helvetica", "B", 20); [INFO] [stdout] | -------- ^^ expected `f32`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:638:12 [INFO] [stdout] | [INFO] [stdout] 638 | pub fn set_font(&mut self, family: &str, style: &str, size: f32) -> Result<(), PdfError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 15 | pdf.set_font("Helvetica", "B", 20.0); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> examples/rtl_mixed_languages.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pdf.set_text_color(0, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ - - unexpected argument #3 of type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | unexpected argument #2 of type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:713:12 [INFO] [stdout] | [INFO] [stdout] 713 | pub fn set_text_color(&mut self, color: C) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 23 - pdf.set_text_color(0, 0, 0); [INFO] [stdout] 23 + pdf.set_text_color(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fpdf2_rs::enums::TextDirection` [INFO] [stdout] --> tests/rtl_text_tests.rs:13:39 [INFO] [stdout] | [INFO] [stdout] 13 | enums::{FontStyle, TextAlignment, TextDirection}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `TextDirection` in `enums` [INFO] [stdout] | help: a similar name exists in the module: `PdfDirection` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these enums instead: [INFO] [stdout] fpdf2_rs::font::TextDirection [INFO] [stdout] fpdf2_rs::utils::TextDirection [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> examples/text_features.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | pdf.ln(5.0); [INFO] [stdout] | ^^ --- unexpected argument of type `{float}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:754:12 [INFO] [stdout] | [INFO] [stdout] 754 | pub fn ln(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 118 - pdf.ln(5.0); [INFO] [stdout] 118 + pdf.ln(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> examples/interactive_links.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pdf.ln(10); [INFO] [stdout] | ^^ -- unexpected argument of type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:754:12 [INFO] [stdout] | [INFO] [stdout] 754 | pub fn ln(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 19 - pdf.ln(10); [INFO] [stdout] 19 + pdf.ln(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> examples/advanced_graphics.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pdf.set_xy(20, 40); [INFO] [stdout] | ^^^^^^ -- -- expected `f32`, found integer [INFO] [stdout] | | [INFO] [stdout] | expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:748:12 [INFO] [stdout] | [INFO] [stdout] 748 | pub fn set_xy(&mut self, x: f32, y: f32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 32 | pdf.set_xy(20.0, 40); [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 32 | pdf.set_xy(20, 40.0); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 6 arguments were supplied [INFO] [stdout] --> examples/rtl_mixed_languages.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pdf.cell( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | 0, [INFO] [stdout] | - unexpected argument #4 of type `{integer}` [INFO] [stdout] 29 | 1, [INFO] [stdout] | - unexpected argument #5 of type `{integer}` [INFO] [stdout] 30 | TextAlignment::Center, [INFO] [stdout] | --------------------- unexpected argument #6 of type `fpdf2_rs::enums::TextAlignment` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:766:12 [INFO] [stdout] | [INFO] [stdout] 766 | pub fn cell(&mut self, w: f32, h: f32, txt: &str) -> Result<(), PdfError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 27 - "Mixed RTL Languages Text Rendering", [INFO] [stdout] 28 - 0, [INFO] [stdout] 29 - 1, [INFO] [stdout] 30 - TextAlignment::Center, [INFO] [stdout] 27 + "Mixed RTL Languages Text Rendering", [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fpdf2_rs` (example "memory_efficient_demo") due to 3 previous errors [INFO] [stdout] error[E0277]: the trait bound `&PdfRgbColor: PdfColor` is not satisfied [INFO] [stdout] --> examples/advanced_graphics.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | pdf.set_fill_color(&PdfRgbColor::new(255, 0, 0)); // Red [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `PdfColor` is not implemented for `&PdfRgbColor` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `FPDF::set_fill_color` [INFO] [stdout] --> src/internal/pdf_document.rs:718:30 [INFO] [stdout] | [INFO] [stdout] 718 | pub fn set_fill_color(&mut self, color: C) { [INFO] [stdout] | ^^^^^^^^ required by this bound in `FPDF::set_fill_color` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 35 - pdf.set_fill_color(&PdfRgbColor::new(255, 0, 0)); // Red [INFO] [stdout] 35 + pdf.set_fill_color(PdfRgbColor::new(255, 0, 0)); // Red [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> examples/text_features.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | pdf.ln(8.0); [INFO] [stdout] | ^^ --- unexpected argument of type `{float}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:754:12 [INFO] [stdout] | [INFO] [stdout] 754 | pub fn ln(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 138 - pdf.ln(8.0); [INFO] [stdout] 138 + pdf.ln(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 6 arguments were supplied [INFO] [stdout] --> examples/bookmarks_and_navigation.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pdf.cell(0, 15, "Document Navigation Demo", 0, 1, "C"); [INFO] [stdout] | ^^^^ - -- - - --- unexpected argument #6 of type `&'static str` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | unexpected argument #5 of type `{integer}` [INFO] [stdout] | | | unexpected argument #4 of type `{integer}` [INFO] [stdout] | | expected `f32`, found integer [INFO] [stdout] | expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:766:12 [INFO] [stdout] | [INFO] [stdout] 766 | pub fn cell(&mut self, w: f32, h: f32, txt: &str) -> Result<(), PdfError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 16 | pdf.cell(0.0, 15, "Document Navigation Demo", 0, 1, "C"); [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 16 | pdf.cell(0, 15.0, "Document Navigation Demo", 0, 1, "C"); [INFO] [stdout] | ++ [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 16 - pdf.cell(0, 15, "Document Navigation Demo", 0, 1, "C"); [INFO] [stdout] 16 + pdf.cell(/* f32 */, /* f32 */, "Document Navigation Demo"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> examples/rtl_mixed_languages.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pdf.ln(10.0); [INFO] [stdout] | ^^ ---- unexpected argument of type `{float}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:754:12 [INFO] [stdout] | [INFO] [stdout] 754 | pub fn ln(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 33 - pdf.ln(10.0); [INFO] [stdout] 33 + pdf.ln(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> examples/interactive_links.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pdf.set_font("Helvetica", None, 12); [INFO] [stdout] | ^^^^^^^^ -- expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] note: expected `&str`, found `Option<_>` [INFO] [stdout] --> examples/interactive_links.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | pdf.set_font("Helvetica", None, 12); [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:638:12 [INFO] [stdout] | [INFO] [stdout] 638 | pub fn set_font(&mut self, family: &str, style: &str, size: f32) -> Result<(), PdfError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 22 | pdf.set_font("Helvetica", None, 12.0); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> examples/advanced_graphics.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | pdf.rect(20, 50, 60, 40, "F")?; // Filled rectangle [INFO] [stdout] | ^^^^ -- -- -- -- --- expected `PdfRectangleStyle`, found `&str` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | expected `f32`, found integer [INFO] [stdout] | | | expected `f32`, found integer [INFO] [stdout] | | expected `f32`, found integer [INFO] [stdout] | expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/graphics/shape_drawing.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn rect( [INFO] [stdout] | ^^^^ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 36 | pdf.rect(20.0, 50, 60, 40, "F")?; // Filled rectangle [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 36 | pdf.rect(20, 50.0, 60, 40, "F")?; // Filled rectangle [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 36 | pdf.rect(20, 50, 60.0, 40, "F")?; // Filled rectangle [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 36 | pdf.rect(20, 50, 60, 40.0, "F")?; // Filled rectangle [INFO] [stdout] | ++ [INFO] [stdout] help: call `Into::into` on this expression to convert `&'static str` into `PdfRectangleStyle` [INFO] [stdout] | [INFO] [stdout] 36 | pdf.rect(20, 50, 60, 40, "F".into())?; // Filled rectangle [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&PdfRgbColor: PdfColor` is not satisfied [INFO] [stdout] --> examples/advanced_graphics.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | pdf.set_fill_color(&PdfRgbColor::new(0, 0, 255)); // Blue [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `PdfColor` is not implemented for `&PdfRgbColor` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `FPDF::set_fill_color` [INFO] [stdout] --> src/internal/pdf_document.rs:718:30 [INFO] [stdout] | [INFO] [stdout] 718 | pub fn set_fill_color(&mut self, color: C) { [INFO] [stdout] | ^^^^^^^^ required by this bound in `FPDF::set_fill_color` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 39 - pdf.set_fill_color(&PdfRgbColor::new(0, 0, 255)); // Blue [INFO] [stdout] 39 + pdf.set_fill_color(PdfRgbColor::new(0, 0, 255)); // Blue [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> examples/rtl_mixed_languages.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | pdf.set_font(&FontName::Helvetica, FontStyle::Bold, 14.0)?; [INFO] [stdout] | ^^^^^^^^ -------------------- --------------- expected `&str`, found `FontStyle` [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found `&FontName` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&fpdf2_rs::enums::FontName` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:638:12 [INFO] [stdout] | [INFO] [stdout] 638 | pub fn set_font(&mut self, family: &str, style: &str, size: f32) -> Result<(), PdfError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> examples/text_features.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | .color(Box::new(fpdf2_rs::color::PdfRgbColor::new(1.0, 0.0, 0.0))) // Red [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --- --- --- expected `u8`, found floating-point number [INFO] [stdout] | | | [INFO] [stdout] | | expected `u8`, found floating-point number [INFO] [stdout] | expected `u8`, found floating-point number [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/color/pdf_rgb_color.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(red: u8, green: u8, blue: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 6 arguments were supplied [INFO] [stdout] --> examples/interactive_links.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pdf.cell(0, 8, "External Links:", 0, 1, "L"); [INFO] [stdout] | ^^^^ - - - - --- unexpected argument #6 of type `&'static str` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | unexpected argument #5 of type `{integer}` [INFO] [stdout] | | | unexpected argument #4 of type `{integer}` [INFO] [stdout] | | expected `f32`, found integer [INFO] [stdout] | expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:766:12 [INFO] [stdout] | [INFO] [stdout] 766 | pub fn cell(&mut self, w: f32, h: f32, txt: &str) -> Result<(), PdfError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 23 | pdf.cell(0.0, 8, "External Links:", 0, 1, "L"); [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 23 | pdf.cell(0, 8.0, "External Links:", 0, 1, "L"); [INFO] [stdout] | ++ [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 23 - pdf.cell(0, 8, "External Links:", 0, 1, "L"); [INFO] [stdout] 23 + pdf.cell(/* f32 */, /* f32 */, "External Links:"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> examples/advanced_graphics.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | pdf.rect(50, 70, 60, 40, "F")?; // Overlapping blue rectangle [INFO] [stdout] | ^^^^ -- -- -- -- --- expected `PdfRectangleStyle`, found `&str` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | expected `f32`, found integer [INFO] [stdout] | | | expected `f32`, found integer [INFO] [stdout] | | expected `f32`, found integer [INFO] [stdout] | expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/graphics/shape_drawing.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn rect( [INFO] [stdout] | ^^^^ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 40 | pdf.rect(50.0, 70, 60, 40, "F")?; // Overlapping blue rectangle [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 40 | pdf.rect(50, 70.0, 60, 40, "F")?; // Overlapping blue rectangle [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 40 | pdf.rect(50, 70, 60.0, 40, "F")?; // Overlapping blue rectangle [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 40 | pdf.rect(50, 70, 60, 40.0, "F")?; // Overlapping blue rectangle [INFO] [stdout] | ++ [INFO] [stdout] help: call `Into::into` on this expression to convert `&'static str` into `PdfRectangleStyle` [INFO] [stdout] | [INFO] [stdout] 40 | pdf.rect(50, 70, 60, 40, "F".into())?; // Overlapping blue rectangle [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> examples/text_features.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | pdf.ln(10.0); [INFO] [stdout] | ^^ ---- unexpected argument of type `{float}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:754:12 [INFO] [stdout] | [INFO] [stdout] 754 | pub fn ln(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 149 - pdf.ln(10.0); [INFO] [stdout] 149 + pdf.ln(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 6 arguments were supplied [INFO] [stdout] --> examples/rtl_mixed_languages.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | pdf.cell( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | 0, [INFO] [stdout] | - unexpected argument #4 of type `{integer}` [INFO] [stdout] 42 | 1, [INFO] [stdout] | - unexpected argument #5 of type `{integer}` [INFO] [stdout] 43 | TextAlignment::Left, [INFO] [stdout] | ------------------- unexpected argument #6 of type `fpdf2_rs::enums::TextAlignment` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:766:12 [INFO] [stdout] | [INFO] [stdout] 766 | pub fn cell(&mut self, w: f32, h: f32, txt: &str) -> Result<(), PdfError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 40 - "Example 1: Arabic Text", [INFO] [stdout] 41 - 0, [INFO] [stdout] 42 - 1, [INFO] [stdout] 43 - TextAlignment::Left, [INFO] [stdout] 40 + "Example 1: Arabic Text", [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/interactive_links.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | pdf.set_x(20); [INFO] [stdout] | ----- ^^ expected `f32`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:738:12 [INFO] [stdout] | [INFO] [stdout] 738 | pub fn set_x(&mut self, x: f32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 26 | pdf.set_x(20.0); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> examples/advanced_graphics.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | pdf.set_xy(20, 130); [INFO] [stdout] | ^^^^^^ -- --- expected `f32`, found integer [INFO] [stdout] | | [INFO] [stdout] | expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:748:12 [INFO] [stdout] | [INFO] [stdout] 748 | pub fn set_xy(&mut self, x: f32, y: f32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 45 | pdf.set_xy(20.0, 130); [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 45 | pdf.set_xy(20, 130.0); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> examples/text_features.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | pdf.ln(5.0); [INFO] [stdout] | ^^ --- unexpected argument of type `{float}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:754:12 [INFO] [stdout] | [INFO] [stdout] 754 | pub fn ln(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 155 - pdf.ln(5.0); [INFO] [stdout] 155 + pdf.ln(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> examples/rtl_mixed_languages.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | pdf.ln(5.0); [INFO] [stdout] | ^^ --- unexpected argument of type `{float}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:754:12 [INFO] [stdout] | [INFO] [stdout] 754 | pub fn ln(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 45 - pdf.ln(5.0); [INFO] [stdout] 45 + pdf.ln(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> examples/rtl_mixed_languages.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | pdf.get_y()?, [INFO] [stdout] | ^^^^^^^^^^^^ the `?` operator cannot be applied to type `f32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> examples/bookmarks_and_navigation.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pdf.set_font("Helvetica", None, 12); [INFO] [stdout] | ^^^^^^^^ -- expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] note: expected `&str`, found `Option<_>` [INFO] [stdout] --> examples/bookmarks_and_navigation.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | pdf.set_font("Helvetica", None, 12); [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:638:12 [INFO] [stdout] | [INFO] [stdout] 638 | pub fn set_font(&mut self, family: &str, style: &str, size: f32) -> Result<(), PdfError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 18 | pdf.set_font("Helvetica", None, 12.0); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> examples/text_features.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | pdf.ln(10.0); [INFO] [stdout] | ^^ ---- unexpected argument of type `{float}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:754:12 [INFO] [stdout] | [INFO] [stdout] 754 | pub fn ln(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 175 - pdf.ln(10.0); [INFO] [stdout] 175 + pdf.ln(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 6 arguments were supplied [INFO] [stdout] --> examples/interactive_links.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pdf.cell(0, 8, "Visit Example Website", 0, 0, "L"); [INFO] [stdout] | ^^^^ - - - - --- unexpected argument #6 of type `&'static str` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | unexpected argument #5 of type `{integer}` [INFO] [stdout] | | | unexpected argument #4 of type `{integer}` [INFO] [stdout] | | expected `f32`, found integer [INFO] [stdout] | expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:766:12 [INFO] [stdout] | [INFO] [stdout] 766 | pub fn cell(&mut self, w: f32, h: f32, txt: &str) -> Result<(), PdfError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 27 | pdf.cell(0.0, 8, "Visit Example Website", 0, 0, "L"); [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 27 | pdf.cell(0, 8.0, "Visit Example Website", 0, 0, "L"); [INFO] [stdout] | ++ [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 27 - pdf.cell(0, 8, "Visit Example Website", 0, 0, "L"); [INFO] [stdout] 27 + pdf.cell(/* f32 */, /* f32 */, "Visit Example Website"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> examples/advanced_graphics.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | pdf.set_font("Arial", None, 12)?; [INFO] [stdout] | ^^^^^^^^ -- expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] note: expected `&str`, found `Option<_>` [INFO] [stdout] --> examples/advanced_graphics.rs:46:27 [INFO] [stdout] | [INFO] [stdout] 46 | pdf.set_font("Arial", None, 12)?; [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:638:12 [INFO] [stdout] | [INFO] [stdout] 638 | pub fn set_font(&mut self, family: &str, style: &str, size: f32) -> Result<(), PdfError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 46 | pdf.set_font("Arial", None, 12.0)?; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> examples/text_features.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | pdf.ln(5.0); [INFO] [stdout] | ^^ --- unexpected argument of type `{float}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:754:12 [INFO] [stdout] | [INFO] [stdout] 754 | pub fn ln(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 181 - pdf.ln(5.0); [INFO] [stdout] 181 + pdf.ln(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> examples/bookmarks_and_navigation.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pdf.ln(20); [INFO] [stdout] | ^^ -- unexpected argument of type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:754:12 [INFO] [stdout] | [INFO] [stdout] 754 | pub fn ln(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 19 - pdf.ln(20); [INFO] [stdout] 19 + pdf.ln(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/rtl_mixed_languages.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 52 | let (rtl_text, _decorations) = RTLTextRenderer::render_rtl_text( [INFO] [stdout] | -------------------------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 60 | &black_color, [INFO] [stdout] | ^^^^^^^^^^^^ expected `&Box`, found `&Box` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Box<(dyn PdfColor + 'static)>` [INFO] [stdout] found reference `&Box` [INFO] [stdout] = help: `fpdf2_rs::color::PdfRgbColor` implements `PdfColor` so you could box the found value and coerce it to the trait object `Box`, you will have to change the expected type as well [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/font/rtl_text_renderer.rs:279:12 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn render_rtl_text( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> examples/text_features.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | pdf.ln(5.0); [INFO] [stdout] | ^^ --- unexpected argument of type `{float}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:754:12 [INFO] [stdout] | [INFO] [stdout] 754 | pub fn ln(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 190 - pdf.ln(5.0); [INFO] [stdout] 190 + pdf.ln(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 6 arguments were supplied [INFO] [stdout] --> examples/advanced_graphics.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pdf.cell( [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | 0, [INFO] [stdout] | - expected `f32`, found integer [INFO] [stdout] 49 | 8, [INFO] [stdout] | - expected `f32`, found integer [INFO] [stdout] 50 | "Red rectangle with 50% transparent blue overlay", [INFO] [stdout] 51 | 0, [INFO] [stdout] | - unexpected argument #4 of type `{integer}` [INFO] [stdout] 52 | 1, [INFO] [stdout] | - unexpected argument #5 of type `{integer}` [INFO] [stdout] 53 | fpdf2_rs::enums::TextAlignment::Left, [INFO] [stdout] | ------------------------------------ unexpected argument #6 of type `fpdf2_rs::enums::TextAlignment` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:766:12 [INFO] [stdout] | [INFO] [stdout] 766 | pub fn cell(&mut self, w: f32, h: f32, txt: &str) -> Result<(), PdfError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 48 | 0.0, [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 49 | 8.0, [INFO] [stdout] | ++ [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 48 ~ /* f32 */, [INFO] [stdout] 49 ~ /* f32 */, [INFO] [stdout] 50 ~ "Red rectangle with 50% transparent blue overlay", [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&PdfRgbColor: PdfColor` is not satisfied [INFO] [stdout] --> examples/advanced_graphics.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | pdf.set_fill_color(&PdfRgbColor::new(255, 0, 0)); // Red [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `PdfColor` is not implemented for `&PdfRgbColor` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `FPDF::set_fill_color` [INFO] [stdout] --> src/internal/pdf_document.rs:718:30 [INFO] [stdout] | [INFO] [stdout] 718 | pub fn set_fill_color(&mut self, color: C) { [INFO] [stdout] | ^^^^^^^^ required by this bound in `FPDF::set_fill_color` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 57 - pdf.set_fill_color(&PdfRgbColor::new(255, 0, 0)); // Red [INFO] [stdout] 57 + pdf.set_fill_color(PdfRgbColor::new(255, 0, 0)); // Red [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> examples/text_features.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | pdf.ln(10.0); [INFO] [stdout] | ^^ ---- unexpected argument of type `{float}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:754:12 [INFO] [stdout] | [INFO] [stdout] 754 | pub fn ln(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 199 - pdf.ln(10.0); [INFO] [stdout] 199 + pdf.ln(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> examples/rtl_mixed_languages.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | pdf.set_font(&FontName::Helvetica, FontStyle::Regular, 12.0)?; [INFO] [stdout] | ^^^^^^^^ -------------------- ------------------ expected `&str`, found `FontStyle` [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found `&FontName` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&fpdf2_rs::enums::FontName` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:638:12 [INFO] [stdout] | [INFO] [stdout] 638 | pub fn set_font(&mut self, family: &str, style: &str, size: f32) -> Result<(), PdfError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::common` [INFO] [stdout] --> tests/pdf_comparison.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::common::*; [INFO] [stdout] | ^^^^^^ could not find `common` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> examples/rtl_mixed_languages.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | pdf.set_x(20.0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> examples/text_features.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | pdf.ln(5.0); [INFO] [stdout] | ^^ --- unexpected argument of type `{float}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:754:12 [INFO] [stdout] | [INFO] [stdout] 754 | pub fn ln(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 206 - pdf.ln(5.0); [INFO] [stdout] 206 + pdf.ln(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 5 arguments were supplied [INFO] [stdout] --> examples/bookmarks_and_navigation.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | ...df.multi_cell(0, 8, "This document demonstrates the bookmark and navigation features of FPDF2-RS. Use the bookmarks panel in your PDF viewer to navigate through different sections.", 0, "L"); [INFO] [stdout] | ^^^^^^^^^^ - - - --- unexpected argument #5 of type `&'static str` [INFO] [stdout] | | | | [INFO] [stdout] | | expected `f32`, found integer unexpected argument #4 of type `{integer}` [INFO] [stdout] | expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:932:12 [INFO] [stdout] | [INFO] [stdout] 932 | pub fn multi_cell(&mut self, w: f32, h: f32, txt: &str) -> Result<(), PdfError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 20 | pdf.multi_cell(0.0, 8, "This document demonstrates the bookmark and navigation features of FPDF2-RS. Use the bookmarks panel in your PDF viewer to navigate through different sections.", 0, "L"); [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 20 | pdf.multi_cell(0, 8.0, "This document demonstrates the bookmark and navigation features of FPDF2-RS. Use the bookmarks panel in your PDF viewer to navigate through different sections.", 0, "L"); [INFO] [stdout] | ++ [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 20 - pdf.multi_cell(0, 8, "This document demonstrates the bookmark and navigation features of FPDF2-RS. Use the bookmarks panel in your PDF viewer to navigate through different sections.", 0, "L"); [INFO] [stdout] 20 + pdf.multi_cell(/* f32 */, /* f32 */, "This document demonstrates the bookmark and navigation features of FPDF2-RS. Use the bookmarks panel in your PDF viewer to navigate through different sections."); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> examples/advanced_graphics.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | pdf.rect(120, 50, 60, 40, "F")?; [INFO] [stdout] | ^^^^ --- -- -- -- --- expected `PdfRectangleStyle`, found `&str` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | expected `f32`, found integer [INFO] [stdout] | | | expected `f32`, found integer [INFO] [stdout] | | expected `f32`, found integer [INFO] [stdout] | expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/graphics/shape_drawing.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn rect( [INFO] [stdout] | ^^^^ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 58 | pdf.rect(120.0, 50, 60, 40, "F")?; [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 58 | pdf.rect(120, 50.0, 60, 40, "F")?; [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 58 | pdf.rect(120, 50, 60.0, 40, "F")?; [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 58 | pdf.rect(120, 50, 60, 40.0, "F")?; [INFO] [stdout] | ++ [INFO] [stdout] help: call `Into::into` on this expression to convert `&'static str` into `PdfRectangleStyle` [INFO] [stdout] | [INFO] [stdout] 58 | pdf.rect(120, 50, 60, 40, "F".into())?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 6 arguments were supplied [INFO] [stdout] --> examples/rtl_mixed_languages.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | pdf.cell(170.0, 6.0, &line.visual_order, 0, 1, TextAlignment::Right)?; [INFO] [stdout] | ^^^^ - - -------------------- unexpected argument #6 of type `fpdf2_rs::enums::TextAlignment` [INFO] [stdout] | | | [INFO] [stdout] | | unexpected argument #5 of type `{integer}` [INFO] [stdout] | unexpected argument #4 of type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:766:12 [INFO] [stdout] | [INFO] [stdout] 766 | pub fn cell(&mut self, w: f32, h: f32, txt: &str) -> Result<(), PdfError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 66 - pdf.cell(170.0, 6.0, &line.visual_order, 0, 1, TextAlignment::Right)?; [INFO] [stdout] 66 + pdf.cell(170.0, 6.0, &line.visual_order)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&PdfRgbColor: PdfColor` is not satisfied [INFO] [stdout] --> examples/advanced_graphics.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | pdf.set_fill_color(&PdfRgbColor::new(0, 255, 0)); // Green [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `PdfColor` is not implemented for `&PdfRgbColor` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `FPDF::set_fill_color` [INFO] [stdout] --> src/internal/pdf_document.rs:718:30 [INFO] [stdout] | [INFO] [stdout] 718 | pub fn set_fill_color(&mut self, color: C) { [INFO] [stdout] | ^^^^^^^^ required by this bound in `FPDF::set_fill_color` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 62 - pdf.set_fill_color(&PdfRgbColor::new(0, 255, 0)); // Green [INFO] [stdout] 62 + pdf.set_fill_color(PdfRgbColor::new(0, 255, 0)); // Green [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_link` found for struct `fpdf2_rs::FPDF` in the current scope [INFO] [stdout] --> examples/interactive_links.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pdf.add_link("https://www.example.com", 120, 63, 80, 8); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `add_file_link` with a similar name, but with different arguments [INFO] [stdout] --> src/internal/pdf_document.rs:3053:5 [INFO] [stdout] | [INFO] [stdout] 3053 | / pub fn add_file_link( [INFO] [stdout] 3054 | | &mut self, [INFO] [stdout] 3055 | | file: &str, [INFO] [stdout] 3056 | | page: Option, [INFO] [stdout] ... | [INFO] [stdout] 3060 | | height: f32, [INFO] [stdout] 3061 | | ) -> u32 { [INFO] [stdout] | |____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> examples/bookmarks_and_navigation.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pdf.ln(10); [INFO] [stdout] | ^^ -- unexpected argument of type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:754:12 [INFO] [stdout] | [INFO] [stdout] 754 | pub fn ln(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 22 - pdf.ln(10); [INFO] [stdout] 22 + pdf.ln(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> examples/text_features.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | pdf.ln(3.0); [INFO] [stdout] | ^^ --- unexpected argument of type `{float}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:754:12 [INFO] [stdout] | [INFO] [stdout] 754 | pub fn ln(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 225 - pdf.ln(3.0); [INFO] [stdout] 225 + pdf.ln(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> examples/rtl_mixed_languages.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | pdf.ln(12.0); [INFO] [stdout] | ^^ ---- unexpected argument of type `{float}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:754:12 [INFO] [stdout] | [INFO] [stdout] 754 | pub fn ln(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 69 - pdf.ln(12.0); [INFO] [stdout] 69 + pdf.ln(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `id1` in this scope [INFO] [stdout] --> tests/interactive_features_test.rs:440:48 [INFO] [stdout] | [INFO] [stdout] 440 | let removed = pdf.remove_javascript_action(id1); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> examples/text_features.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | pdf.ln(5.0); [INFO] [stdout] | ^^ --- unexpected argument of type `{float}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:754:12 [INFO] [stdout] | [INFO] [stdout] 754 | pub fn ln(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 240 - pdf.ln(5.0); [INFO] [stdout] 240 + pdf.ln(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> examples/rtl_mixed_languages.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | pdf.set_font(&FontName::Helvetica, FontStyle::Bold, 14.0)?; [INFO] [stdout] | ^^^^^^^^ -------------------- --------------- expected `&str`, found `FontStyle` [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found `&FontName` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&fpdf2_rs::enums::FontName` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:638:12 [INFO] [stdout] | [INFO] [stdout] 638 | pub fn set_font(&mut self, family: &str, style: &str, size: f32) -> Result<(), PdfError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 6 arguments were supplied [INFO] [stdout] --> examples/bookmarks_and_navigation.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pdf.cell(0, 8, "Table of Contents:", 0, 1, "L"); [INFO] [stdout] | ^^^^ - - - - --- unexpected argument #6 of type `&'static str` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | unexpected argument #5 of type `{integer}` [INFO] [stdout] | | | unexpected argument #4 of type `{integer}` [INFO] [stdout] | | expected `f32`, found integer [INFO] [stdout] | expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:766:12 [INFO] [stdout] | [INFO] [stdout] 766 | pub fn cell(&mut self, w: f32, h: f32, txt: &str) -> Result<(), PdfError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 23 | pdf.cell(0.0, 8, "Table of Contents:", 0, 1, "L"); [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 23 | pdf.cell(0, 8.0, "Table of Contents:", 0, 1, "L"); [INFO] [stdout] | ++ [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 23 - pdf.cell(0, 8, "Table of Contents:", 0, 1, "L"); [INFO] [stdout] 23 + pdf.cell(/* f32 */, /* f32 */, "Table of Contents:"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> examples/advanced_graphics.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | pdf.rect(150, 70, 60, 40, "F")?; [INFO] [stdout] | ^^^^ --- -- -- -- --- expected `PdfRectangleStyle`, found `&str` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | expected `f32`, found integer [INFO] [stdout] | | | expected `f32`, found integer [INFO] [stdout] | | expected `f32`, found integer [INFO] [stdout] | expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/graphics/shape_drawing.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn rect( [INFO] [stdout] | ^^^^ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 63 | pdf.rect(150.0, 70, 60, 40, "F")?; [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 63 | pdf.rect(150, 70.0, 60, 40, "F")?; [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 63 | pdf.rect(150, 70, 60.0, 40, "F")?; [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 63 | pdf.rect(150, 70, 60, 40.0, "F")?; [INFO] [stdout] | ++ [INFO] [stdout] help: call `Into::into` on this expression to convert `&'static str` into `PdfRectangleStyle` [INFO] [stdout] | [INFO] [stdout] 63 | pdf.rect(150, 70, 60, 40, "F".into())?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/interactive_links.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | pdf.set_x(20); [INFO] [stdout] | ----- ^^ expected `f32`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:738:12 [INFO] [stdout] | [INFO] [stdout] 738 | pub fn set_x(&mut self, x: f32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 31 | pdf.set_x(20.0); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> tests/pdf_comparison.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> tests/pdf_comparison.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::TempDir` [INFO] [stdout] --> tests/pdf_comparison.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tempfile::TempDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&PdfRgbColor: PdfColor` is not satisfied [INFO] [stdout] --> examples/advanced_graphics.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | pdf.set_fill_color(&PdfRgbColor::new(0, 0, 255)); // Blue [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `PdfColor` is not implemented for `&PdfRgbColor` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `FPDF::set_fill_color` [INFO] [stdout] --> src/internal/pdf_document.rs:718:30 [INFO] [stdout] | [INFO] [stdout] 718 | pub fn set_fill_color(&mut self, color: C) { [INFO] [stdout] | ^^^^^^^^ required by this bound in `FPDF::set_fill_color` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 66 - pdf.set_fill_color(&PdfRgbColor::new(0, 0, 255)); // Blue [INFO] [stdout] 66 + pdf.set_fill_color(PdfRgbColor::new(0, 0, 255)); // Blue [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::common` [INFO] [stdout] --> tests/test_validation.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::common::*; [INFO] [stdout] | ^^^^^^ could not find `common` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> examples/bookmarks_and_navigation.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pdf.ln(5); [INFO] [stdout] | ^^ - unexpected argument of type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:754:12 [INFO] [stdout] | [INFO] [stdout] 754 | pub fn ln(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 24 - pdf.ln(5); [INFO] [stdout] 24 + pdf.ln(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 6 arguments were supplied [INFO] [stdout] --> examples/rtl_mixed_languages.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | pdf.cell( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | 0, [INFO] [stdout] | - unexpected argument #4 of type `{integer}` [INFO] [stdout] 78 | 1, [INFO] [stdout] | - unexpected argument #5 of type `{integer}` [INFO] [stdout] 79 | TextAlignment::Left, [INFO] [stdout] | ------------------- unexpected argument #6 of type `fpdf2_rs::enums::TextAlignment` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:766:12 [INFO] [stdout] | [INFO] [stdout] 766 | pub fn cell(&mut self, w: f32, h: f32, txt: &str) -> Result<(), PdfError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 76 - "Example 2: Hebrew Text", [INFO] [stdout] 77 - 0, [INFO] [stdout] 78 - 1, [INFO] [stdout] 79 - TextAlignment::Left, [INFO] [stdout] 76 + "Example 2: Hebrew Text", [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> examples/text_features.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | pdf.ln(10.0); [INFO] [stdout] | ^^ ---- unexpected argument of type `{float}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:754:12 [INFO] [stdout] | [INFO] [stdout] 754 | pub fn ln(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 263 - pdf.ln(10.0); [INFO] [stdout] 263 + pdf.ln(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> examples/rtl_mixed_languages.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | pdf.ln(5.0); [INFO] [stdout] | ^^ --- unexpected argument of type `{float}` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:754:12 [INFO] [stdout] | [INFO] [stdout] 754 | pub fn ln(&mut self) { [INFO] [stdout] | ^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 81 - pdf.ln(5.0); [INFO] [stdout] 81 + pdf.ln(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 6 arguments were supplied [INFO] [stdout] --> examples/interactive_links.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pdf.cell(0, 8, "Send Email", 0, 1, "L"); [INFO] [stdout] | ^^^^ - - - - --- unexpected argument #6 of type `&'static str` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | unexpected argument #5 of type `{integer}` [INFO] [stdout] | | | unexpected argument #4 of type `{integer}` [INFO] [stdout] | | expected `f32`, found integer [INFO] [stdout] | expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/internal/pdf_document.rs:766:12 [INFO] [stdout] | [INFO] [stdout] 766 | pub fn cell(&mut self, w: f32, h: f32, txt: &str) -> Result<(), PdfError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 32 | pdf.cell(0.0, 8, "Send Email", 0, 1, "L"); [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 32 | pdf.cell(0, 8.0, "Send Email", 0, 1, "L"); [INFO] [stdout] | ++ [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 32 - pdf.cell(0, 8, "Send Email", 0, 1, "L"); [INFO] [stdout] 32 + pdf.cell(/* f32 */, /* f32 */, "Send Email"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::fixtures` [INFO] [stdout] --> tests/test_validation.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::fixtures::FixtureGenerator; [INFO] [stdout] | ^^^^^^^^ could not find `fixtures` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> examples/rtl_mixed_languages.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | pdf.get_y()?, [INFO] [stdout] | ^^^^^^^^^^^^ the `?` operator cannot be applied to type `f32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> examples/advanced_graphics.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | pdf.rect(130, 90, 60, 40, "F")?; [INFO] [stdout] | ^^^^ --- -- -- -- --- expected `PdfRectangleStyle`, found `&str` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | expected `f32`, found integer [INFO] [stdout] | | | expected `f32`, found integer [INFO] [stdout] | | expected `f32`, found integer [INFO] [stdout] | expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/graphics/shape_drawing.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn rect( [INFO] [stdout] | ^^^^ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 67 | pdf.rect(130.0, 90, 60, 40, "F")?; [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 67 | pdf.rect(130, 90.0, 60, 40, "F")?; [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 67 | pdf.rect(130, 90, 60.0, 40, "F")?; [INFO] [stdout] | ++ [WARN] too many lines in the log, truncating it