[INFO] fetching crate pdf-extract 0.9.0... [INFO] checking pdf-extract-0.9.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate pdf-extract 0.9.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate pdf-extract 0.9.0 [INFO] finished tweaking crates.io crate pdf-extract 0.9.0 [INFO] tweaked toml for crates.io crate pdf-extract 0.9.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pdf-extract 0.9.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pdf-extract 0.9.0 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded type1-encoding-parser v0.1.0 [INFO] [stderr] Downloaded adobe-cmap-parser v0.4.1 [INFO] [stderr] Downloaded postscript v0.14.0 [INFO] [stderr] Downloaded nom_locate v5.0.0 [INFO] [stderr] Downloaded cff-parser v0.1.0 [INFO] [stderr] Downloaded miniz_oxide v0.5.1 [INFO] [stderr] Downloaded euclid v0.20.14 [INFO] [stderr] Downloaded flate2 v1.0.23 [INFO] [stderr] Downloaded pom v1.1.0 [INFO] [stderr] Downloaded ureq v2.6.2 [INFO] [stderr] Downloaded lopdf v0.36.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d036db8345c4364f15f6038b6bb4403c6c8d7683ea26d07328a8c0c48b25a9f [INFO] running `Command { std: "docker" "start" "-a" "7d036db8345c4364f15f6038b6bb4403c6c8d7683ea26d07328a8c0c48b25a9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d036db8345c4364f15f6038b6bb4403c6c8d7683ea26d07328a8c0c48b25a9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d036db8345c4364f15f6038b6bb4403c6c8d7683ea26d07328a8c0c48b25a9f", kill_on_drop: false }` [INFO] [stdout] 7d036db8345c4364f15f6038b6bb4403c6c8d7683ea26d07328a8c0c48b25a9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b2b1c5c6f5830255d4d379e0e5cb40bcb2f90548ebcd19044344d38a68a039d [INFO] running `Command { std: "docker" "start" "-a" "6b2b1c5c6f5830255d4d379e0e5cb40bcb2f90548ebcd19044344d38a68a039d", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking flate2 v1.0.23 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling rustls v0.20.8 [INFO] [stderr] Checking pom v1.1.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking ecb v0.1.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking rangemap v1.5.1 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking env_logger v0.11.6 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Checking euclid v0.20.14 [INFO] [stderr] Checking type1-encoding-parser v0.1.0 [INFO] [stderr] Checking adobe-cmap-parser v0.4.1 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking postscript v0.14.0 [INFO] [stderr] Checking cff-parser v0.1.0 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking simple_logger v5.0.0 [INFO] [stderr] Checking webpki-roots v0.22.6 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling test-log-macros v0.2.17 [INFO] [stderr] Checking nom_locate v5.0.0 [INFO] [stderr] Checking test-log v0.2.17 [INFO] [stderr] Checking lopdf v0.36.0 [INFO] [stderr] Checking ureq v2.6.2 [INFO] [stderr] Checking pdf-extract v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `Result` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/lib.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use lopdf::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `Result` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/lib.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use lopdf::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:511:65 [INFO] [stdout] | [INFO] [stdout] 511 | ... Entry::Occupied(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:583:17 [INFO] [stdout] | [INFO] [stdout] 583 | let name = if is_core_font(&base_name) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:511:65 [INFO] [stdout] | [INFO] [stdout] 511 | ... Entry::Occupied(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:583:17 [INFO] [stdout] | [INFO] [stdout] 583 | let name = if is_core_font(&base_name) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `doc` is never read [INFO] [stdout] --> src/lib.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 313 | struct PdfType3Font<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 314 | font: &'a Dictionary, [INFO] [stdout] 315 | doc: &'a Document, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PdfType3Font` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `contents`, `size`, `bits_per_sample`, `encode`, and `decode` are never read [INFO] [stdout] --> src/lib.rs:1120:5 [INFO] [stdout] | [INFO] [stdout] 1117 | struct Type0Func { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1120 | contents: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1121 | size: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1122 | bits_per_sample: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 1123 | encode: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1124 | decode: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type0Func` 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: fields `c0`, `c1`, and `n` are never read [INFO] [stdout] --> src/lib.rs:1150:5 [INFO] [stdout] | [INFO] [stdout] 1149 | struct Type2Func { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 1150 | c0: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 1151 | c1: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 1152 | n: f64, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Type2Func` 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: field `0` is never read [INFO] [stdout] --> src/lib.rs:1157:11 [INFO] [stdout] | [INFO] [stdout] 1157 | Type0(Type0Func), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Function` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 1157 - Type0(Type0Func), [INFO] [stdout] 1157 + Type0(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:1158:11 [INFO] [stdout] | [INFO] [stdout] 1158 | Type2(Type2Func), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Function` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 1158 - Type2(Type2Func), [INFO] [stdout] 1158 + Type2(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `white_point`, `black_point`, and `gamma` are never read [INFO] [stdout] --> src/lib.rs:1394:5 [INFO] [stdout] | [INFO] [stdout] 1393 | pub struct CalGray { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 1394 | white_point: [f64; 3], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1395 | black_point: Option<[f64; 3]>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1396 | gamma: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CalGray` 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: fields `white_point`, `black_point`, `gamma`, and `matrix` are never read [INFO] [stdout] --> src/lib.rs:1401:5 [INFO] [stdout] | [INFO] [stdout] 1400 | pub struct CalRGB { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 1401 | white_point: [f64; 3], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1402 | black_point: Option<[f64; 3]>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1403 | gamma: Option<[f64; 3]>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1404 | matrix: Option> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CalRGB` 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: fields `white_point`, `black_point`, and `range` are never read [INFO] [stdout] --> src/lib.rs:1409:5 [INFO] [stdout] | [INFO] [stdout] 1408 | pub struct Lab { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 1409 | white_point: [f64; 3], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1410 | black_point: Option<[f64; 3]>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1411 | range: Option<[f64; 4]>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lab` 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: fields `name`, `alternate_space`, and `tint_transform` are never read [INFO] [stdout] --> src/lib.rs:1427:5 [INFO] [stdout] | [INFO] [stdout] 1426 | pub struct Separation { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 1427 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1428 | alternate_space: AlternateColorSpace, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 1429 | tint_transform: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Separation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:682:23 [INFO] [stdout] | [INFO] [stdout] 682 | fn get_descriptor(&self) -> Option { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 682 | fn get_descriptor(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:792:20 [INFO] [stdout] | [INFO] [stdout] 792 | fn char_codes(&'a self, chars: &'a [u8]) -> PdfFontIter { [INFO] [stdout] | ^^ ^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 792 | fn char_codes(&'a self, chars: &'a [u8]) -> PdfFontIter<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:1918:22 [INFO] [stdout] | [INFO] [stdout] 1918 | pub fn new(file: &mut dyn std::io::Write) -> HTMLOutput { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1918 | pub fn new(file: &mut dyn std::io::Write) -> HTMLOutput<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:1996:22 [INFO] [stdout] | [INFO] [stdout] 1996 | pub fn new(file: &mut dyn std::io::Write) -> SVGOutput { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1996 | pub fn new(file: &mut dyn std::io::Write) -> SVGOutput<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `doc` is never read [INFO] [stdout] --> src/lib.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 313 | struct PdfType3Font<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 314 | font: &'a Dictionary, [INFO] [stdout] 315 | doc: &'a Document, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PdfType3Font` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `contents`, `size`, `bits_per_sample`, `encode`, and `decode` are never read [INFO] [stdout] --> src/lib.rs:1120:5 [INFO] [stdout] | [INFO] [stdout] 1117 | struct Type0Func { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1120 | contents: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1121 | size: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1122 | bits_per_sample: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 1123 | encode: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1124 | decode: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type0Func` 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: fields `c0`, `c1`, and `n` are never read [INFO] [stdout] --> src/lib.rs:1150:5 [INFO] [stdout] | [INFO] [stdout] 1149 | struct Type2Func { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 1150 | c0: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 1151 | c1: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 1152 | n: f64, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Type2Func` 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: field `0` is never read [INFO] [stdout] --> src/lib.rs:1157:11 [INFO] [stdout] | [INFO] [stdout] 1157 | Type0(Type0Func), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Function` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 1157 - Type0(Type0Func), [INFO] [stdout] 1157 + Type0(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:1158:11 [INFO] [stdout] | [INFO] [stdout] 1158 | Type2(Type2Func), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Function` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 1158 - Type2(Type2Func), [INFO] [stdout] 1158 + Type2(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `white_point`, `black_point`, and `gamma` are never read [INFO] [stdout] --> src/lib.rs:1394:5 [INFO] [stdout] | [INFO] [stdout] 1393 | pub struct CalGray { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 1394 | white_point: [f64; 3], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1395 | black_point: Option<[f64; 3]>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1396 | gamma: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CalGray` 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: fields `white_point`, `black_point`, `gamma`, and `matrix` are never read [INFO] [stdout] --> src/lib.rs:1401:5 [INFO] [stdout] | [INFO] [stdout] 1400 | pub struct CalRGB { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 1401 | white_point: [f64; 3], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1402 | black_point: Option<[f64; 3]>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1403 | gamma: Option<[f64; 3]>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1404 | matrix: Option> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CalRGB` 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: fields `white_point`, `black_point`, and `range` are never read [INFO] [stdout] --> src/lib.rs:1409:5 [INFO] [stdout] | [INFO] [stdout] 1408 | pub struct Lab { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 1409 | white_point: [f64; 3], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1410 | black_point: Option<[f64; 3]>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1411 | range: Option<[f64; 4]>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lab` 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: fields `name`, `alternate_space`, and `tint_transform` are never read [INFO] [stdout] --> src/lib.rs:1427:5 [INFO] [stdout] | [INFO] [stdout] 1426 | pub struct Separation { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 1427 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1428 | alternate_space: AlternateColorSpace, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 1429 | tint_transform: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Separation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:682:23 [INFO] [stdout] | [INFO] [stdout] 682 | fn get_descriptor(&self) -> Option { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 682 | fn get_descriptor(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:792:20 [INFO] [stdout] | [INFO] [stdout] 792 | fn char_codes(&'a self, chars: &'a [u8]) -> PdfFontIter { [INFO] [stdout] | ^^ ^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 792 | fn char_codes(&'a self, chars: &'a [u8]) -> PdfFontIter<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:1918:22 [INFO] [stdout] | [INFO] [stdout] 1918 | pub fn new(file: &mut dyn std::io::Write) -> HTMLOutput { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1918 | pub fn new(file: &mut dyn std::io::Write) -> HTMLOutput<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:1996:22 [INFO] [stdout] | [INFO] [stdout] 1996 | pub fn new(file: &mut dyn std::io::Write) -> SVGOutput { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1996 | pub fn new(file: &mut dyn std::io::Write) -> SVGOutput<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.96s [INFO] running `Command { std: "docker" "inspect" "6b2b1c5c6f5830255d4d379e0e5cb40bcb2f90548ebcd19044344d38a68a039d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b2b1c5c6f5830255d4d379e0e5cb40bcb2f90548ebcd19044344d38a68a039d", kill_on_drop: false }` [INFO] [stdout] 6b2b1c5c6f5830255d4d379e0e5cb40bcb2f90548ebcd19044344d38a68a039d