[INFO] cloning repository https://github.com/RavuAlHemio/pdfmcr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RavuAlHemio/pdfmcr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRavuAlHemio%2Fpdfmcr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRavuAlHemio%2Fpdfmcr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 58177fac0244198527321d01005be5dfd849928e [INFO] checking RavuAlHemio/pdfmcr against master#092a284ba0421695f2032c947765429fd7095796 for pr-139763 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRavuAlHemio%2Fpdfmcr" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RavuAlHemio/pdfmcr on toolchain 092a284ba0421695f2032c947765429fd7095796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RavuAlHemio/pdfmcr [INFO] finished tweaking git repo https://github.com/RavuAlHemio/pdfmcr [INFO] tweaked toml for git repo https://github.com/RavuAlHemio/pdfmcr written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/RavuAlHemio/pdfmcr 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" "+092a284ba0421695f2032c947765429fd7095796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded askama v0.13.0 [INFO] [stderr] Downloaded askama_derive v0.13.0 [INFO] [stderr] Downloaded askama_parser v0.13.0 [INFO] [stderr] Downloaded basic-toml v0.1.10 [INFO] [stderr] Downloaded from-to-repr v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9a3cb729ca42a8742fc712822e8cabeb321d744f9cf4c5d39458e6427bdbc74 [INFO] running `Command { std: "docker" "start" "-a" "f9a3cb729ca42a8742fc712822e8cabeb321d744f9cf4c5d39458e6427bdbc74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9a3cb729ca42a8742fc712822e8cabeb321d744f9cf4c5d39458e6427bdbc74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9a3cb729ca42a8742fc712822e8cabeb321d744f9cf4c5d39458e6427bdbc74", kill_on_drop: false }` [INFO] [stdout] f9a3cb729ca42a8742fc712822e8cabeb321d744f9cf4c5d39458e6427bdbc74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f28c952421f8cbea30073d0402118a5e68330434743f029103c7a6fd457cbf8 [INFO] running `Command { std: "docker" "start" "-a" "0f28c952421f8cbea30073d0402118a5e68330434743f029103c7a6fd457cbf8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Checking winnow v0.7.6 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Compiling basic-toml v0.1.10 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Checking tempfile v3.19.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling from-to-repr v0.2.2 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling askama_parser v0.13.0 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling askama_derive v0.13.0 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking toml_edit v0.22.24 [INFO] [stderr] Checking toml v0.8.20 [INFO] [stderr] Checking askama v0.13.0 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking pdfmcr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: static `WEB_FILE` is never used [INFO] [stdout] --> src/main.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | static WEB_FILE: LazyLock> = LazyLock::new(|| RwLock::new(crate::model::File::default())); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_to_pdf` is never used [INFO] [stdout] --> src/file_to_pdf.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) fn file_to_pdf(file: &File) -> Document { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `WEB_FILE` is never used [INFO] [stdout] --> src/main.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | static WEB_FILE: LazyLock> = LazyLock::new(|| RwLock::new(crate::model::File::default())); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Short` and `Long` are never constructed [INFO] [stdout] --> src/jpeg/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Block { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 15 | Short { kind: u8 }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | Long { kind: u8, data: Vec }, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `kind`, `data`, `is_required`, `write`, and `try_read` are never used [INFO] [stdout] --> src/jpeg/mod.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Block { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 19 | pub fn kind(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn data(&self) -> &[u8] { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn is_required(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn write(&self, mut writer: W) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn try_read(mut reader: R) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_to_pdf` is never used [INFO] [stdout] --> src/file_to_pdf.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) fn file_to_pdf(file: &File) -> Document { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Short` and `Long` are never constructed [INFO] [stdout] --> src/jpeg/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Block { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 15 | Short { kind: u8 }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | Long { kind: u8, data: Vec }, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/jpeg/mod.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 98 | Io(io::Error), [INFO] [stdout] 99 | NotABlock { start_byte: u8 }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 100 | BlockTooShort { min_expected: usize, obtained: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 101 | BlockTooLong { max_allowed: usize, obtained: usize }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 102 | IncompleteData { builder: ImageBuilder }, [INFO] [stdout] 103 | UnexpectedBlock { expected_kind: u8, obtained_kind: u8 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 104 | IncorrectImageDataTermination, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 105 | NotJfif, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 106 | UnexpectedJfifVersion { expected: u16, obtained: u16 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 107 | JfifTooShort { min_expected: usize, obtained: usize }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 108 | SofTooShort { min_expected: usize, obtained: usize }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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 items `kind`, `data`, `is_required`, `write`, and `try_read` are never used [INFO] [stdout] --> src/jpeg/mod.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Block { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 19 | pub fn kind(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn data(&self) -> &[u8] { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn is_required(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn write(&self, mut writer: W) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn try_read(mut reader: R) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `try_read` and `write` are never used [INFO] [stdout] --> src/jpeg/mod.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 180 | impl Image { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 181 | pub fn try_read(mut reader: R) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | pub fn write(&self, mut writer: W) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/jpeg/mod.rs:295:12 [INFO] [stdout] | [INFO] [stdout] 294 | impl ImageBuilder { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 295 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/jpeg/mod.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 98 | Io(io::Error), [INFO] [stdout] 99 | NotABlock { start_byte: u8 }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 100 | BlockTooShort { min_expected: usize, obtained: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 101 | BlockTooLong { max_allowed: usize, obtained: usize }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 102 | IncompleteData { builder: ImageBuilder }, [INFO] [stdout] 103 | UnexpectedBlock { expected_kind: u8, obtained_kind: u8 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 104 | IncorrectImageDataTermination, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 105 | NotJfif, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 106 | UnexpectedJfifVersion { expected: u16, obtained: u16 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 107 | JfifTooShort { min_expected: usize, obtained: usize }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 108 | SofTooShort { min_expected: usize, obtained: usize }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ByteOrderIndicator`, `Version`, `BigPointerSize`, `BigReserved`, and `UnknownType` are never constructed [INFO] [stdout] --> src/jpeg/exif.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 14 | ByteOrderIndicator { bytes: [u8; 2] }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | Version { version: u16 }, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | BigPointerSize { size: u16 }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 17 | BigReserved { value: u16 }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | UnknownType { data_type: ValueType }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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 items `try_read` and `write` are never used [INFO] [stdout] --> src/jpeg/mod.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 180 | impl Image { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 181 | pub fn try_read(mut reader: R) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | pub fn write(&self, mut writer: W) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Reader` is never constructed [INFO] [stdout] --> src/jpeg/exif.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | struct Reader { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/jpeg/mod.rs:295:12 [INFO] [stdout] | [INFO] [stdout] 294 | impl ImageBuilder { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 295 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ByteOrderIndicator`, `Version`, `BigPointerSize`, `BigReserved`, and `UnknownType` are never constructed [INFO] [stdout] --> src/jpeg/exif.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 14 | ByteOrderIndicator { bytes: [u8; 2] }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | Version { version: u16 }, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | BigPointerSize { size: u16 }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 17 | BigReserved { value: u16 }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | UnknownType { data_type: ValueType }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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 `Reader` is never constructed [INFO] [stdout] --> src/jpeg/exif.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | struct Reader { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/jpeg/exif.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl Reader { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 70 | pub fn new(mut reader: R) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn read_i8(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | impl_read!(read_u16, u16, 2); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 126 | impl_read!(read_u32, u32, 4); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 127 | impl_read!(read_u64, u64, 8); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 128 | impl_read!(read_i16, i16, 2); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 129 | impl_read!(read_i32, i32, 4); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 130 | impl_read!(read_i64, i64, 8); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 131 | impl_read!(read_f32, f32, 4); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 132 | impl_read!(read_f64, f64, 8); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 133 | [INFO] [stdout] 134 | fn read_offset(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn read_ifd_entry_count(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn read_type(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn read_value_or_pointer(&mut self, tag: u16, kind: ValueType, count: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | fn read_values(&mut self, kind: ValueType, count: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/jpeg/exif.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 373 | pub enum Values { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 374 | Byte(Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] 375 | Ascii(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 376 | Short(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 377 | Long(Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] 378 | Rational(Vec<(u32, u32)>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 379 | SByte(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 380 | Undefined(Vec), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 381 | SShort(Vec), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 382 | SLong(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 383 | SRational(Vec<(i32, i32)>), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 384 | Float(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 385 | Double(Vec), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 386 | Ifd(Vec), [INFO] [stdout] | ^^^ [INFO] [stdout] 387 | Long8(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 388 | SLong8(Vec), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 389 | Ifd8(Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Values` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/jpeg/exif.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl Reader { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 70 | pub fn new(mut reader: R) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn read_i8(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | impl_read!(read_u16, u16, 2); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 126 | impl_read!(read_u32, u32, 4); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 127 | impl_read!(read_u64, u64, 8); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 128 | impl_read!(read_i16, i16, 2); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 129 | impl_read!(read_i32, i32, 4); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 130 | impl_read!(read_i64, i64, 8); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 131 | impl_read!(read_f32, f32, 4); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 132 | impl_read!(read_f64, f64, 8); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 133 | [INFO] [stdout] 134 | fn read_offset(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn read_ifd_entry_count(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn read_type(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn read_value_or_pointer(&mut self, tag: u16, kind: ValueType, count: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | fn read_values(&mut self, kind: ValueType, count: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Value`, `Pointer`, and `Unknown` are never constructed [INFO] [stdout] --> src/jpeg/exif.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 393 | pub enum ValueOrPointer { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 394 | Value { tag: u16, values: Values }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 395 | Pointer { tag: u16, value_type: ValueType, count: u32, pointer: u64 }, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 396 | Unknown { tag: u16, value_type: ValueType, count: u32, inline_data: [u8; 8] }, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValueOrPointer` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `tag` and `value` are never used [INFO] [stdout] --> src/jpeg/exif.rs:399:12 [INFO] [stdout] | [INFO] [stdout] 398 | impl ValueOrPointer { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 399 | pub fn tag(&self) -> u16 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | pub fn value(&self) -> Option<&Values> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process` is never used [INFO] [stdout] --> src/jpeg/exif.rs:416:15 [INFO] [stdout] | [INFO] [stdout] 416 | pub(crate) fn process(app1_data: &[u8], builder: &mut ImageBuilder) -> Result<(), crate::jpeg::Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_info` is never used [INFO] [stdout] --> src/model.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Page { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 44 | pub fn to_info(&self) -> PageInfo { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_object_body` is never used [INFO] [stdout] --> src/model.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl JpegImage { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 111 | pub fn write_object_body(&self, mut writer: W) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/jpeg/exif.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 373 | pub enum Values { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 374 | Byte(Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] 375 | Ascii(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 376 | Short(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 377 | Long(Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] 378 | Rational(Vec<(u32, u32)>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 379 | SByte(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 380 | Undefined(Vec), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 381 | SShort(Vec), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 382 | SLong(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 383 | SRational(Vec<(i32, i32)>), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 384 | Float(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 385 | Double(Vec), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 386 | Ifd(Vec), [INFO] [stdout] | ^^^ [INFO] [stdout] 387 | Long8(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 388 | SLong8(Vec), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 389 | Ifd8(Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Values` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `External` is never constructed [INFO] [stdout] --> src/model.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 130 | pub enum ImageData { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 135 | External { path: PathBuf }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImageData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Value`, `Pointer`, and `Unknown` are never constructed [INFO] [stdout] --> src/jpeg/exif.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 393 | pub enum ValueOrPointer { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 394 | Value { tag: u16, values: Values }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 395 | Pointer { tag: u16, value_type: ValueType, count: u32, pointer: u64 }, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 396 | Unknown { tag: u16, value_type: ValueType, count: u32, inline_data: [u8; 8] }, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValueOrPointer` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len`, `read`, `internalize`, and `externalize` are never used [INFO] [stdout] --> src/model.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 137 | impl ImageData { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 138 | pub fn len(&self) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn read(&self) -> Result>, io::Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn internalize(&mut self) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn externalize>(&mut self, path: P) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_drawing_commands` is never used [INFO] [stdout] --> src/model.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 253 | impl Annotation { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 254 | pub fn write_drawing_commands(&self, mut writer: W) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `tag` and `value` are never used [INFO] [stdout] --> src/jpeg/exif.rs:399:12 [INFO] [stdout] | [INFO] [stdout] 398 | impl ValueOrPointer { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 399 | pub fn tag(&self) -> u16 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | pub fn value(&self) -> Option<&Values> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_drawing_commands` is never used [INFO] [stdout] --> src/model.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 275 | impl Artifact { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 276 | pub fn write_drawing_commands(&self, mut writer: W) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process` is never used [INFO] [stdout] --> src/jpeg/exif.rs:416:15 [INFO] [stdout] | [INFO] [stdout] 416 | pub(crate) fn process(app1_data: &[u8], builder: &mut ImageBuilder) -> Result<(), crate::jpeg::Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_pdf_name` is never used [INFO] [stdout] --> src/model.rs:300:18 [INFO] [stdout] | [INFO] [stdout] 299 | impl ArtifactKind { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 300 | pub const fn as_pdf_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_info` is never used [INFO] [stdout] --> src/model.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Page { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 44 | pub fn to_info(&self) -> PageInfo { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_drawing_commands` is never used [INFO] [stdout] --> src/model.rs:360:12 [INFO] [stdout] | [INFO] [stdout] 359 | impl TextChunk { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 360 | pub fn write_drawing_commands(&self, mut writer: W) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_object_body` is never used [INFO] [stdout] --> src/model.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl JpegImage { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 111 | pub fn write_object_body(&self, mut writer: W) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_index` is never used [INFO] [stdout] --> src/model.rs:426:18 [INFO] [stdout] | [INFO] [stdout] 425 | impl FontVariant { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 426 | pub const fn as_index(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `External` is never constructed [INFO] [stdout] --> src/model.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 130 | pub enum ImageData { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 135 | External { path: PathBuf }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImageData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_pdf` is never used [INFO] [stdout] --> src/pdf.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Document { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 22 | pub fn write_pdf(&self, writer: &mut W) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len`, `read`, `internalize`, and `externalize` are never used [INFO] [stdout] --> src/model.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 137 | impl ImageData { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 138 | pub fn len(&self) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn read(&self) -> Result>, io::Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn internalize(&mut self) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn externalize>(&mut self, path: P) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Catalog`, `Pages`, `Page`, `PageContents`, `ImageXObject`, and `StandardFont` are never constructed [INFO] [stdout] --> src/pdf.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub enum Content { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 76 | Catalog(Catalog), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 77 | Pages(Pages), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 78 | Page(Page), [INFO] [stdout] | ^^^^ [INFO] [stdout] 79 | PageContents(PageContents), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 80 | ImageXObject(ImageXObject), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 81 | StandardFont(StandardFont), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Content` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_drawing_commands` is never used [INFO] [stdout] --> src/model.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 253 | impl Annotation { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 254 | pub fn write_drawing_commands(&self, mut writer: W) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_drawing_commands` is never used [INFO] [stdout] --> src/model.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 275 | impl Artifact { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 276 | pub fn write_drawing_commands(&self, mut writer: W) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_pdf_name` is never used [INFO] [stdout] --> src/model.rs:300:18 [INFO] [stdout] | [INFO] [stdout] 299 | impl ArtifactKind { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 300 | pub const fn as_pdf_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_drawing_commands` is never used [INFO] [stdout] --> src/model.rs:360:12 [INFO] [stdout] | [INFO] [stdout] 359 | impl TextChunk { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 360 | pub fn write_drawing_commands(&self, mut writer: W) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_index` is never used [INFO] [stdout] --> src/model.rs:426:18 [INFO] [stdout] | [INFO] [stdout] 425 | impl FontVariant { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 426 | pub const fn as_index(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_pdf` is never used [INFO] [stdout] --> src/pdf.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Document { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 22 | pub fn write_pdf(&self, writer: &mut W) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Catalog`, `Pages`, `Page`, `PageContents`, `ImageXObject`, and `StandardFont` are never constructed [INFO] [stdout] --> src/pdf.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub enum Content { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 76 | Catalog(Catalog), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 77 | Pages(Pages), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 78 | Page(Page), [INFO] [stdout] | ^^^^ [INFO] [stdout] 79 | PageContents(PageContents), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 80 | ImageXObject(ImageXObject), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 81 | StandardFont(StandardFont), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Content` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.48s [INFO] running `Command { std: "docker" "inspect" "0f28c952421f8cbea30073d0402118a5e68330434743f029103c7a6fd457cbf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f28c952421f8cbea30073d0402118a5e68330434743f029103c7a6fd457cbf8", kill_on_drop: false }` [INFO] [stdout] 0f28c952421f8cbea30073d0402118a5e68330434743f029103c7a6fd457cbf8