[INFO] fetching crate pdf-extract-temporary-mitigation-panic 0.7.1... [INFO] testing pdf-extract-temporary-mitigation-panic-0.7.1 against 1.90.0 for beta-1.91-3 [INFO] extracting crate pdf-extract-temporary-mitigation-panic 0.7.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate pdf-extract-temporary-mitigation-panic 0.7.1 [INFO] finished tweaking crates.io crate pdf-extract-temporary-mitigation-panic 0.7.1 [INFO] tweaked toml for crates.io crate pdf-extract-temporary-mitigation-panic 0.7.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pdf-extract-temporary-mitigation-panic 0.7.1 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pdf-extract-temporary-mitigation-panic 0.7.1 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" "+1.90.0" "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] Downloading crates ... [INFO] [stderr] Downloaded postscript v0.17.3 [INFO] [stderr] Downloaded linked-hash-map v0.5.3 [INFO] [stderr] Downloaded type1-encoding-parser v0.1.0 [INFO] [stderr] Downloaded adobe-cmap-parser v0.3.3 [INFO] [stderr] Downloaded typeface v0.2.7 [INFO] [stderr] Downloaded const_fn v0.4.9 [INFO] [stderr] Downloaded sha1_smol v1.0.0 [INFO] [stderr] Downloaded euclid v0.20.14 [INFO] [stderr] Downloaded pom v3.2.0 [INFO] [stderr] Downloaded lopdf v0.29.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9df566ede53a10f3c75edfc6e5b03c929bbeaff462369a134ebe61f326d55ddb [INFO] running `Command { std: "docker" "start" "-a" "9df566ede53a10f3c75edfc6e5b03c929bbeaff462369a134ebe61f326d55ddb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9df566ede53a10f3c75edfc6e5b03c929bbeaff462369a134ebe61f326d55ddb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9df566ede53a10f3c75edfc6e5b03c929bbeaff462369a134ebe61f326d55ddb", kill_on_drop: false }` [INFO] [stdout] 9df566ede53a10f3c75edfc6e5b03c929bbeaff462369a134ebe61f326d55ddb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ed63c00f092cd47c32a1288aaa30019738406a366f8e88225989e6707a7e507 [INFO] running `Command { std: "docker" "start" "-a" "8ed63c00f092cd47c32a1288aaa30019738406a366f8e88225989e6707a7e507", kill_on_drop: false }` [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling pom v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling typeface v0.2.7 [INFO] [stderr] Compiling pom v3.2.0 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling postscript v0.17.3 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling adobe-cmap-parser v0.3.3 [INFO] [stderr] Compiling type1-encoding-parser v0.1.0 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling euclid v0.20.14 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling lopdf v0.29.0 [INFO] [stderr] Compiling pdf-extract-temporary-mitigation-panic v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::f32::consts::E` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::f32::consts::E; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | 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:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use lopdf::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `doc` is never read [INFO] [stdout] --> src/lib.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 315 | struct PdfType3Font<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 316 | font: &'a Dictionary, [INFO] [stdout] 317 | 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:1113:5 [INFO] [stdout] | [INFO] [stdout] 1110 | struct Type0Func { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1113 | contents: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1114 | size: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1115 | bits_per_sample: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 1116 | encode: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1117 | 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:1142:5 [INFO] [stdout] | [INFO] [stdout] 1141 | struct Type2Func { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 1142 | c0: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 1143 | c1: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 1144 | 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:1149:11 [INFO] [stdout] | [INFO] [stdout] 1149 | 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] 1149 - Type0(Type0Func), [INFO] [stdout] 1149 + Type0(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:1150:11 [INFO] [stdout] | [INFO] [stdout] 1150 | 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] 1150 - Type2(Type2Func), [INFO] [stdout] 1150 + 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:1388:5 [INFO] [stdout] | [INFO] [stdout] 1387 | pub struct CalGray { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 1388 | white_point: [f64; 3], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1389 | black_point: Option<[f64; 3]>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1390 | gamma: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CalGray` has a derived impl for the trait `Clone`, but this is 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:1395:5 [INFO] [stdout] | [INFO] [stdout] 1394 | pub struct CalRGB { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 1395 | white_point: [f64; 3], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1396 | black_point: Option<[f64; 3]>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1397 | gamma: Option<[f64; 3]>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1398 | matrix: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CalRGB` has a derived impl for the trait `Clone`, but this is 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:1403:5 [INFO] [stdout] | [INFO] [stdout] 1402 | pub struct Lab { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 1403 | white_point: [f64; 3], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1404 | black_point: Option<[f64; 3]>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1405 | range: Option<[f64; 4]>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lab` has a derived impl for the trait `Clone`, but this is 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:1410:5 [INFO] [stdout] | [INFO] [stdout] 1409 | pub struct Separation { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 1410 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1411 | alternate_space: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 1412 | 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:652:23 [INFO] [stdout] | [INFO] [stdout] 652 | 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] 652 | 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:781:20 [INFO] [stdout] | [INFO] [stdout] 781 | 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] 781 | 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:1948:22 [INFO] [stdout] | [INFO] [stdout] 1948 | 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] 1948 | 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:2054:22 [INFO] [stdout] | [INFO] [stdout] 2054 | 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] 2054 | 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 10.77s [INFO] running `Command { std: "docker" "inspect" "8ed63c00f092cd47c32a1288aaa30019738406a366f8e88225989e6707a7e507", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ed63c00f092cd47c32a1288aaa30019738406a366f8e88225989e6707a7e507", kill_on_drop: false }` [INFO] [stdout] 8ed63c00f092cd47c32a1288aaa30019738406a366f8e88225989e6707a7e507 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b6c023dfc8590615399fb3d9471747cec6a6a4f4f4df2e62e39a85412d8355c [INFO] running `Command { std: "docker" "start" "-a" "8b6c023dfc8590615399fb3d9471747cec6a6a4f4f4df2e62e39a85412d8355c", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::f32::consts::E` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::f32::consts::E; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | 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:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use lopdf::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `doc` is never read [INFO] [stdout] --> src/lib.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 315 | struct PdfType3Font<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 316 | font: &'a Dictionary, [INFO] [stdout] 317 | 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:1113:5 [INFO] [stdout] | [INFO] [stdout] 1110 | struct Type0Func { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1113 | contents: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1114 | size: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1115 | bits_per_sample: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 1116 | encode: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1117 | 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:1142:5 [INFO] [stdout] | [INFO] [stdout] 1141 | struct Type2Func { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 1142 | c0: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 1143 | c1: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 1144 | 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:1149:11 [INFO] [stdout] | [INFO] [stdout] 1149 | 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] 1149 - Type0(Type0Func), [INFO] [stdout] 1149 + Type0(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:1150:11 [INFO] [stdout] | [INFO] [stdout] 1150 | 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] 1150 - Type2(Type2Func), [INFO] [stdout] 1150 + 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:1388:5 [INFO] [stdout] | [INFO] [stdout] 1387 | pub struct CalGray { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 1388 | white_point: [f64; 3], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1389 | black_point: Option<[f64; 3]>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1390 | gamma: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CalGray` has a derived impl for the trait `Clone`, but this is 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:1395:5 [INFO] [stdout] | [INFO] [stdout] 1394 | pub struct CalRGB { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 1395 | white_point: [f64; 3], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1396 | black_point: Option<[f64; 3]>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1397 | gamma: Option<[f64; 3]>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1398 | matrix: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CalRGB` has a derived impl for the trait `Clone`, but this is 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:1403:5 [INFO] [stdout] | [INFO] [stdout] 1402 | pub struct Lab { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 1403 | white_point: [f64; 3], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1404 | black_point: Option<[f64; 3]>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1405 | range: Option<[f64; 4]>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lab` has a derived impl for the trait `Clone`, but this is 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:1410:5 [INFO] [stdout] | [INFO] [stdout] 1409 | pub struct Separation { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 1410 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1411 | alternate_space: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 1412 | 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:652:23 [INFO] [stdout] | [INFO] [stdout] 652 | 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] 652 | 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:781:20 [INFO] [stdout] | [INFO] [stdout] 781 | 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] 781 | 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:1948:22 [INFO] [stdout] | [INFO] [stdout] 1948 | 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] 1948 | 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:2054:22 [INFO] [stdout] | [INFO] [stdout] 2054 | 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] 2054 | pub fn new(file: &mut dyn std::io::Write) -> SVGOutput<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pdf-extract-temporary-mitigation-panic v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `pdf_extract` [INFO] [stdout] --> tests/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use pdf_extract::{extract_text, extract_text_from_mem}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `pdf_extract` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pdf_extract`, use `cargo add pdf_extract` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::E` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::f32::consts::E; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | 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:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use lopdf::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `pdf_extract` [INFO] [stdout] --> examples/extract.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate pdf_extract; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pdf-extract-temporary-mitigation-panic` (test "tests") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Document` [INFO] [stdout] --> examples/extract.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | let doc = Document::load(path).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Document` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use lopdf::Document; [INFO] [stdout] | [INFO] [stdout] 3 + use pdf_extract_temporary_mitigation_panic::Document; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `print_metadata` in this scope [INFO] [stdout] --> examples/extract.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | print_metadata(&doc).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use pdf_extract_temporary_mitigation_panic::print_metadata; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OutputDev` in this scope [INFO] [stdout] --> examples/extract.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | let mut output: Box = match output_kind.as_ref() { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 + use pdf_extract_temporary_mitigation_panic::OutputDev; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlainTextOutput` [INFO] [stdout] --> examples/extract.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | "txt" => Box::new(PlainTextOutput::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `PlainTextOutput` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use pdf_extract_temporary_mitigation_panic::PlainTextOutput; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HTMLOutput` [INFO] [stdout] --> examples/extract.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | "html" => Box::new(HTMLOutput::new(&mut output_file)), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `HTMLOutput` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use pdf_extract_temporary_mitigation_panic::HTMLOutput; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SVGOutput` [INFO] [stdout] --> examples/extract.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | "svg" => Box::new(SVGOutput::new(&mut output_file)), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SVGOutput` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use pdf_extract_temporary_mitigation_panic::SVGOutput; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `output_doc` in this scope [INFO] [stdout] --> examples/extract.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | output_doc(&doc, output.as_mut()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use pdf_extract_temporary_mitigation_panic::output_doc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pdf-extract-temporary-mitigation-panic` (example "extract") due to 8 previous errors [INFO] [stdout] warning: field `doc` is never read [INFO] [stdout] --> src/lib.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 315 | struct PdfType3Font<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 316 | font: &'a Dictionary, [INFO] [stdout] 317 | 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:1113:5 [INFO] [stdout] | [INFO] [stdout] 1110 | struct Type0Func { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1113 | contents: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1114 | size: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1115 | bits_per_sample: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 1116 | encode: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1117 | 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:1142:5 [INFO] [stdout] | [INFO] [stdout] 1141 | struct Type2Func { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 1142 | c0: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 1143 | c1: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 1144 | 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:1149:11 [INFO] [stdout] | [INFO] [stdout] 1149 | 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] 1149 - Type0(Type0Func), [INFO] [stdout] 1149 + Type0(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:1150:11 [INFO] [stdout] | [INFO] [stdout] 1150 | 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] 1150 - Type2(Type2Func), [INFO] [stdout] 1150 + 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:1388:5 [INFO] [stdout] | [INFO] [stdout] 1387 | pub struct CalGray { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 1388 | white_point: [f64; 3], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1389 | black_point: Option<[f64; 3]>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1390 | gamma: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CalGray` has a derived impl for the trait `Clone`, but this is 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:1395:5 [INFO] [stdout] | [INFO] [stdout] 1394 | pub struct CalRGB { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 1395 | white_point: [f64; 3], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1396 | black_point: Option<[f64; 3]>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1397 | gamma: Option<[f64; 3]>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1398 | matrix: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CalRGB` has a derived impl for the trait `Clone`, but this is 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:1403:5 [INFO] [stdout] | [INFO] [stdout] 1402 | pub struct Lab { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 1403 | white_point: [f64; 3], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1404 | black_point: Option<[f64; 3]>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1405 | range: Option<[f64; 4]>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lab` has a derived impl for the trait `Clone`, but this is 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:1410:5 [INFO] [stdout] | [INFO] [stdout] 1409 | pub struct Separation { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 1410 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1411 | alternate_space: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 1412 | 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:652:23 [INFO] [stdout] | [INFO] [stdout] 652 | 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] 652 | 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:781:20 [INFO] [stdout] | [INFO] [stdout] 781 | 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] 781 | 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:1948:22 [INFO] [stdout] | [INFO] [stdout] 1948 | 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] 1948 | 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:2054:22 [INFO] [stdout] | [INFO] [stdout] 2054 | 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] 2054 | pub fn new(file: &mut dyn std::io::Write) -> SVGOutput<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8b6c023dfc8590615399fb3d9471747cec6a6a4f4f4df2e62e39a85412d8355c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b6c023dfc8590615399fb3d9471747cec6a6a4f4f4df2e62e39a85412d8355c", kill_on_drop: false }` [INFO] [stdout] 8b6c023dfc8590615399fb3d9471747cec6a6a4f4f4df2e62e39a85412d8355c