[INFO] cloning repository https://github.com/muhamadtarek/ara_yaaaay [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/muhamadtarek/ara_yaaaay" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuhamadtarek%2Fara_yaaaay", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuhamadtarek%2Fara_yaaaay'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d17cf97a33a625383ebdc9b9fa2a114221c7f06 [INFO] checking muhamadtarek/ara_yaaaay against try#0f31acebf540c89e4a4d5d114959fe91973419cb for pr-147017 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuhamadtarek%2Fara_yaaaay" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 65% (973/1476) Updating files: 66% (975/1476) Updating files: 67% (989/1476) Updating files: 68% (1004/1476) Updating files: 69% (1019/1476) Updating files: 70% (1034/1476) Updating files: 71% (1048/1476) Updating files: 72% (1063/1476) Updating files: 73% (1078/1476) Updating files: 74% (1093/1476) Updating files: 75% (1107/1476) Updating files: 76% (1122/1476) Updating files: 77% (1137/1476) Updating files: 78% (1152/1476) Updating files: 79% (1167/1476) Updating files: 80% (1181/1476) Updating files: 81% (1196/1476) Updating files: 82% (1211/1476) Updating files: 83% (1226/1476) Updating files: 84% (1240/1476) Updating files: 85% (1255/1476) Updating files: 86% (1270/1476) Updating files: 87% (1285/1476) Updating files: 88% (1299/1476) Updating files: 89% (1314/1476) Updating files: 90% (1329/1476) Updating files: 91% (1344/1476) Updating files: 92% (1358/1476) Updating files: 93% (1373/1476) Updating files: 94% (1388/1476) Updating files: 95% (1403/1476) Updating files: 96% (1417/1476) Updating files: 97% (1432/1476) Updating files: 98% (1447/1476) Updating files: 99% (1462/1476) Updating files: 100% (1476/1476) Updating files: 100% (1476/1476), done. [INFO] started tweaking git repo https://github.com/muhamadtarek/ara_yaaaay [INFO] finished tweaking git repo https://github.com/muhamadtarek/ara_yaaaay [INFO] tweaked toml for git repo https://github.com/muhamadtarek/ara_yaaaay written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/muhamadtarek/ara_yaaaay on toolchain 0f31acebf540c89e4a4d5d114959fe91973419cb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/muhamadtarek/ara_yaaaay 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" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking muhamadtarek/ara_yaaaay against try#0f31acebf540c89e4a4d5d114959fe91973419cb for pr-147017 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuhamadtarek%2Fara_yaaaay" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 65% (973/1476) Updating files: 66% (975/1476) Updating files: 67% (989/1476) Updating files: 68% (1004/1476) Updating files: 69% (1019/1476) Updating files: 70% (1034/1476) Updating files: 71% (1048/1476) Updating files: 72% (1063/1476) Updating files: 73% (1078/1476) Updating files: 74% (1093/1476) Updating files: 75% (1107/1476) Updating files: 76% (1122/1476) Updating files: 77% (1137/1476) Updating files: 78% (1152/1476) Updating files: 79% (1167/1476) Updating files: 80% (1181/1476) Updating files: 81% (1196/1476) Updating files: 82% (1211/1476) Updating files: 83% (1226/1476) Updating files: 84% (1240/1476) Updating files: 85% (1255/1476) Updating files: 86% (1270/1476) Updating files: 87% (1285/1476) Updating files: 88% (1299/1476) Updating files: 89% (1314/1476) Updating files: 90% (1329/1476) Updating files: 91% (1344/1476) Updating files: 92% (1358/1476) Updating files: 93% (1373/1476) Updating files: 94% (1388/1476) Updating files: 95% (1403/1476) Updating files: 96% (1417/1476) Updating files: 97% (1432/1476) Updating files: 98% (1447/1476) Updating files: 99% (1462/1476) Updating files: 100% (1476/1476) Updating files: 100% (1476/1476), done. [INFO] started tweaking git repo https://github.com/muhamadtarek/ara_yaaaay [INFO] finished tweaking git repo https://github.com/muhamadtarek/ara_yaaaay [INFO] tweaked toml for git repo https://github.com/muhamadtarek/ara_yaaaay written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/muhamadtarek/ara_yaaaay on toolchain 0f31acebf540c89e4a4d5d114959fe91973419cb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/muhamadtarek/ara_yaaaay 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" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded type1-encoding-parser v0.1.0 [INFO] [stderr] Downloaded adobe-cmap-parser v0.4.1 [INFO] [stderr] Downloaded pom v1.1.0 [INFO] [stderr] Downloaded postscript v0.14.1 [INFO] [stderr] Downloaded lopdf v0.32.0 [INFO] [stderr] Downloaded ureq v2.12.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2291c18300889f1b3d229325f4693d6809abae7718912173384d1b2549da53bb [INFO] running `Command { std: "docker" "start" "-a" "2291c18300889f1b3d229325f4693d6809abae7718912173384d1b2549da53bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2291c18300889f1b3d229325f4693d6809abae7718912173384d1b2549da53bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2291c18300889f1b3d229325f4693d6809abae7718912173384d1b2549da53bb", kill_on_drop: false }` [INFO] [stdout] 2291c18300889f1b3d229325f4693d6809abae7718912173384d1b2549da53bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebf7ccf01bccdd30c180c6c0ecf478125b0be24d62788d982296f6474ee45c3d [INFO] running `Command { std: "docker" "start" "-a" "ebf7ccf01bccdd30c180c6c0ecf478125b0be24d62788d982296f6474ee45c3d", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.5 [INFO] [stderr] Checking miniz_oxide v0.8.2 [INFO] [stderr] Checking rustls-pki-types v1.10.1 [INFO] [stderr] Checking pom v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustls v0.23.20 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Compiling syn v2.0.91 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Checking tinyvec v1.8.1 [INFO] [stderr] Checking postscript v0.14.1 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking adobe-cmap-parser v0.4.1 [INFO] [stderr] Checking type1-encoding-parser v0.1.0 [INFO] [stderr] Checking webpki-roots v0.26.7 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking euclid v0.20.14 [INFO] [stderr] Checking lopdf v0.32.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking ara_yaaaay v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `encoding_rs::UTF_16BE` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use encoding_rs::UTF_16BE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lopdf::content::Content` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use lopdf::content::Content; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PDFDocEncoding` and `to_utf8` [INFO] [stdout] --> src/lib.rs:14:54 [INFO] [stdout] | [INFO] [stdout] 14 | use utils::{maybe_deref, maybe_get_obj, pdf_to_utf8, to_utf8, PDFDocEncoding}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::Entry` [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::collections::hash_map::Entry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | 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:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use lopdf::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice::Iter` [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use std::slice::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unicode_normalization::UnicodeNormalization` [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use unicode_normalization::UnicodeNormalization; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/font.rs:235:65 [INFO] [stdout] | [INFO] [stdout] 235 | ... Entry::Occupied(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stdout] warning: fields `contents`, `size`, `bits_per_sample`, `encode`, and `decode` are never read [INFO] [stdout] --> src/lib.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 240 | struct Type0Func { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 243 | contents: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 244 | size: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 245 | bits_per_sample: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 246 | encode: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 247 | 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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `c0`, `c1`, and `n` are never read [INFO] [stdout] --> src/lib.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 271 | struct Type2Func { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 272 | c0: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 273 | c1: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 274 | 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:279:11 [INFO] [stdout] | [INFO] [stdout] 279 | 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] 279 - Type0(Type0Func), [INFO] [stdout] 279 + Type0(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:280:11 [INFO] [stdout] | [INFO] [stdout] 280 | 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] 280 - Type2(Type2Func), [INFO] [stdout] 280 + 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:524:5 [INFO] [stdout] | [INFO] [stdout] 523 | pub struct CalGray { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 524 | white_point: [f64; 3], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 525 | black_point: Option<[f64; 3]>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 526 | 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:531:5 [INFO] [stdout] | [INFO] [stdout] 530 | pub struct CalRGB { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 531 | white_point: [f64; 3], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 532 | black_point: Option<[f64; 3]>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 533 | gamma: Option<[f64; 3]>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 534 | 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:539:5 [INFO] [stdout] | [INFO] [stdout] 538 | pub struct Lab { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 539 | white_point: [f64; 3], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 540 | black_point: Option<[f64; 3]>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 541 | 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:557:5 [INFO] [stdout] | [INFO] [stdout] 556 | pub struct Separation { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 557 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 558 | alternate_space: AlternateColorSpace, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 559 | 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: field `doc` is never read [INFO] [stdout] --> src/font.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 36 | struct PdfType3Font<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 37 | font: &'a Dictionary, [INFO] [stdout] 38 | 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] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/font.rs:425:23 [INFO] [stdout] | [INFO] [stdout] 425 | 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] 425 | 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/font.rs:554:53 [INFO] [stdout] | [INFO] [stdout] 554 | pub 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] 554 | pub 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/output.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | 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] 81 | 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/output.rs:186:22 [INFO] [stdout] | [INFO] [stdout] 186 | 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] 186 | pub fn new(file: &mut dyn std::io::Write) -> SVGOutput<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking ureq v2.12.1 [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/extract.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | output_doc(&doc, output.as_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 40 | let _ = output_doc(&doc, output.as_mut()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `encoding_rs::UTF_16BE` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use encoding_rs::UTF_16BE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lopdf::content::Content` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use lopdf::content::Content; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PDFDocEncoding` and `to_utf8` [INFO] [stdout] --> src/lib.rs:14:54 [INFO] [stdout] | [INFO] [stdout] 14 | use utils::{maybe_deref, maybe_get_obj, pdf_to_utf8, to_utf8, PDFDocEncoding}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::Entry` [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::collections::hash_map::Entry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | 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:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use lopdf::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice::Iter` [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use std::slice::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unicode_normalization::UnicodeNormalization` [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use unicode_normalization::UnicodeNormalization; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/font.rs:235:65 [INFO] [stdout] | [INFO] [stdout] 235 | ... Entry::Occupied(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) 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:243:5 [INFO] [stdout] | [INFO] [stdout] 240 | struct Type0Func { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 243 | contents: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 244 | size: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 245 | bits_per_sample: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 246 | encode: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 247 | 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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `c0`, `c1`, and `n` are never read [INFO] [stdout] --> src/lib.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 271 | struct Type2Func { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 272 | c0: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 273 | c1: Option>, [INFO] [stdout] | ^^ [INFO] [stdout] 274 | 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:279:11 [INFO] [stdout] | [INFO] [stdout] 279 | 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] 279 - Type0(Type0Func), [INFO] [stdout] 279 + Type0(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:280:11 [INFO] [stdout] | [INFO] [stdout] 280 | 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] 280 - Type2(Type2Func), [INFO] [stdout] 280 + 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:524:5 [INFO] [stdout] | [INFO] [stdout] 523 | pub struct CalGray { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 524 | white_point: [f64; 3], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 525 | black_point: Option<[f64; 3]>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 526 | 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:531:5 [INFO] [stdout] | [INFO] [stdout] 530 | pub struct CalRGB { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 531 | white_point: [f64; 3], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 532 | black_point: Option<[f64; 3]>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 533 | gamma: Option<[f64; 3]>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 534 | 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:539:5 [INFO] [stdout] | [INFO] [stdout] 538 | pub struct Lab { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 539 | white_point: [f64; 3], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 540 | black_point: Option<[f64; 3]>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 541 | 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:557:5 [INFO] [stdout] | [INFO] [stdout] 556 | pub struct Separation { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 557 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 558 | alternate_space: AlternateColorSpace, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 559 | 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: field `doc` is never read [INFO] [stdout] --> src/font.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 36 | struct PdfType3Font<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 37 | font: &'a Dictionary, [INFO] [stdout] 38 | 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] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/font.rs:425:23 [INFO] [stdout] | [INFO] [stdout] 425 | 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] 425 | 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/font.rs:554:53 [INFO] [stdout] | [INFO] [stdout] 554 | pub 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] 554 | pub 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/output.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | 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] 81 | 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/output.rs:186:22 [INFO] [stdout] | [INFO] [stdout] 186 | 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] 186 | 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 8.86s [INFO] running `Command { std: "docker" "inspect" "ebf7ccf01bccdd30c180c6c0ecf478125b0be24d62788d982296f6474ee45c3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebf7ccf01bccdd30c180c6c0ecf478125b0be24d62788d982296f6474ee45c3d", kill_on_drop: false }` [INFO] [stdout] ebf7ccf01bccdd30c180c6c0ecf478125b0be24d62788d982296f6474ee45c3d