[INFO] cloning repository https://github.com/dog-tired/Epdf
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dog-tired/Epdf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdog-tired%2FEpdf", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdog-tired%2FEpdf'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7db69d2febb3ce51e899adcdc7cc2c12e1233f97
[INFO] checking dog-tired/Epdf against try#d8be25549d5418405531341b4be6d8538fc3c42e for pr-156160
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdog-tired%2FEpdf" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/dog-tired/Epdf
[INFO] finished tweaking git repo https://github.com/dog-tired/Epdf
[INFO] tweaked toml for git repo https://github.com/dog-tired/Epdf written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dog-tired/Epdf on toolchain d8be25549d5418405531341b4be6d8538fc3c42e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8be25549d5418405531341b4be6d8538fc3c42e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dog-tired/Epdf 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" "+d8be25549d5418405531341b4be6d8538fc3c42e" "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 unic-bidi v0.9.0
[INFO] [stderr]   Downloaded unic-ucd-bidi v0.9.0
[INFO] [stderr]   Downloaded toml_edit v0.22.23
[INFO] [stderr]   Downloaded cc v1.2.12
[INFO] [stderr]   Downloaded unic-langid v0.9.5
[INFO] [stderr]   Downloaded associative-cache v1.0.1
[INFO] [stderr]   Downloaded winnow v0.7.1
[INFO] [stderr]   Downloaded intl-memoizer v0.5.2
[INFO] [stderr]   Downloaded piet-web v0.6.2
[INFO] [stderr]   Downloaded utf16_lit v2.0.2
[INFO] [stderr]   Downloaded self_cell v1.1.0
[INFO] [stderr]   Downloaded piet v0.6.2
[INFO] [stderr]   Downloaded piet-common v0.6.2
[INFO] [stderr]   Downloaded dwrote v0.11.2
[INFO] [stderr]   Downloaded unic-langid-impl v0.9.5
[INFO] [stderr]   Downloaded piet-direct2d v0.6.2
[INFO] [stderr]   Downloaded pangocairo v0.16.3
[INFO] [stderr]   Downloaded pangocairo-sys v0.16.3
[INFO] [stderr]   Downloaded piet-coregraphics v0.6.2
[INFO] [stderr]   Downloaded core-text v19.2.0
[INFO] [stderr]   Downloaded piet-cairo v0.6.2
[INFO] [stderr]   Downloaded druid v0.8.3
[INFO] [stderr]   Downloaded druid-shell v0.8.3
[INFO] [stderr]   Downloaded druid-derive v0.5.1
[INFO] [stderr]   Downloaded pdfium-render v0.8.27
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b181a129dabdd57f97d24c6d3f69c0ea70e1c4784d6994e5d929e52d9345322d
[INFO] running `Command { std: "docker" "start" "b181a129dabdd57f97d24c6d3f69c0ea70e1c4784d6994e5d929e52d9345322d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b181a129dabdd57f97d24c6d3f69c0ea70e1c4784d6994e5d929e52d9345322d" "/opt/rustwide/cargo-home/bin/cargo" "+d8be25549d5418405531341b4be6d8538fc3c42e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b181a129dabdd57f97d24c6d3f69c0ea70e1c4784d6994e5d929e52d9345322d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b181a129dabdd57f97d24c6d3f69c0ea70e1c4784d6994e5d929e52d9345322d" "/opt/rustwide/cargo-home/bin/cargo" "+d8be25549d5418405531341b4be6d8538fc3c42e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]    Compiling target-lexicon v0.12.16
[INFO] [stderr]    Compiling winnow v0.7.1
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling unicode-ident v1.0.16
[INFO] [stderr]    Compiling version-compare v0.2.0
[INFO] [stderr]    Compiling indexmap v2.7.1
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]    Compiling anyhow v1.0.95
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]    Compiling gio v0.16.7
[INFO] [stderr]    Compiling semver v1.0.25
[INFO] [stderr]     Checking bytemuck v1.21.0
[INFO] [stderr]     Checking unic-common v0.9.0
[INFO] [stderr]     Checking unic-char-range v0.9.0
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]     Checking either v1.13.0
[INFO] [stderr]     Checking unic-char-property v0.9.0
[INFO] [stderr]     Checking unic-ucd-version v0.9.0
[INFO] [stderr]     Checking miniz_oxide v0.8.3
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking unic-ucd-bidi v0.9.0
[INFO] [stderr]    Compiling built v0.7.5
[INFO] [stderr]     Checking aligned-vec v0.5.0
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking kurbo v0.9.5
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking v_frame v0.3.8
[INFO] [stderr]     Checking unic-bidi v0.9.0
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling rav1e v0.7.1
[INFO] [stderr]     Checking log v0.4.25
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]     Checking flate2 v1.0.35
[INFO] [stderr]     Checking itertools v0.12.1
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]    Compiling cfg-expr v0.15.8
[INFO] [stderr]    Compiling field-offset v0.3.6
[INFO] [stderr]    Compiling gtk v0.16.2
[INFO] [stderr]    Compiling noop_proc_macro v0.3.0
[INFO] [stderr]     Checking bitstream-io v2.6.0
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]     Checking weezl v0.1.8
[INFO] [stderr]     Checking new_debug_unreachable v1.0.6
[INFO] [stderr]     Checking imgref v1.11.0
[INFO] [stderr]     Checking quick-error v2.0.1
[INFO] [stderr]     Checking type-map v0.5.0
[INFO] [stderr]     Checking avif-serialize v0.8.2
[INFO] [stderr]     Checking fdeflate v0.3.7
[INFO] [stderr]     Checking zune-inflate v0.2.54
[INFO] [stderr]     Checking half v2.4.1
[INFO] [stderr]     Checking zune-core v0.4.12
[INFO] [stderr]     Checking rgb v0.8.50
[INFO] [stderr]     Checking self_cell v1.1.0
[INFO] [stderr]     Checking loop9 v0.1.5
[INFO] [stderr]     Checking piet v0.6.2
[INFO] [stderr]     Checking byteorder-lite v0.1.0
[INFO] [stderr]     Checking lebe v0.5.2
[INFO] [stderr]     Checking jpeg-decoder v0.3.1
[INFO] [stderr]    Compiling druid-shell v0.8.3
[INFO] [stderr]     Checking time v0.3.37
[INFO] [stderr]     Checking self_cell v0.10.3
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]     Checking gif v0.13.1
[INFO] [stderr]     Checking qoi v0.4.1
[INFO] [stderr]     Checking keyboard-types v0.6.2
[INFO] [stderr]     Checking zune-jpeg v0.4.14
[INFO] [stderr]     Checking image-webp v0.2.1
[INFO] [stderr]     Checking exr v1.73.0
[INFO] [stderr]     Checking instant v0.1.13
[INFO] [stderr]     Checking piston-float v1.0.1
[INFO] [stderr]    Compiling pdfium-render v0.8.27
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]     Checking chrono v0.4.39
[INFO] [stderr]     Checking vecmath v1.0.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking itertools v0.14.0
[INFO] [stderr]     Checking tiff v0.9.1
[INFO] [stderr]     Checking av1-grain v0.2.3
[INFO] [stderr]     Checking utf16string v0.2.0
[INFO] [stderr]     Checking bitflags v2.8.0
[INFO] [stderr]     Checking maybe-owned v0.3.4
[INFO] [stderr]     Checking bytes v1.10.0
[INFO] [stderr]     Checking maybe-rayon v0.1.1
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling toml_edit v0.22.23
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]    Compiling toml v0.8.19
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling system-deps v6.2.2
[INFO] [stderr]    Compiling druid-derive v0.5.1
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]    Compiling glib-macros v0.16.8
[INFO] [stderr]    Compiling gtk3-macros v0.16.3
[INFO] [stderr]    Compiling glib-sys v0.16.3
[INFO] [stderr]    Compiling gobject-sys v0.16.3
[INFO] [stderr]    Compiling gio-sys v0.16.3
[INFO] [stderr]    Compiling pango-sys v0.16.3
[INFO] [stderr]    Compiling cairo-sys-rs v0.16.3
[INFO] [stderr]    Compiling gdk-sys v0.16.0
[INFO] [stderr]    Compiling atk-sys v0.16.0
[INFO] [stderr]    Compiling gdk-pixbuf-sys v0.16.3
[INFO] [stderr]    Compiling pangocairo-sys v0.16.3
[INFO] [stderr]    Compiling gtk-sys v0.16.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling profiling-procmacros v1.0.16
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]     Checking profiling v1.0.16
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking unic-langid-impl v0.9.5
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking unic-langid v0.9.5
[INFO] [stderr]     Checking fluent-syntax v0.11.1
[INFO] [stderr]     Checking intl-memoizer v0.5.2
[INFO] [stderr]     Checking fluent-langneg v0.13.0
[INFO] [stderr]     Checking intl_pluralrules v7.0.2
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking fluent-bundle v0.15.3
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking glib v0.16.9
[INFO] [stderr]     Checking ravif v0.11.11
[INFO] [stderr]     Checking image v0.25.5
[INFO] [stderr]     Checking cairo-rs v0.16.7
[INFO] [stderr]     Checking atk v0.16.0
[INFO] [stderr]     Checking pango v0.16.5
[INFO] [stderr]     Checking gdk-pixbuf v0.16.7
[INFO] [stderr]     Checking pangocairo v0.16.3
[INFO] [stderr]     Checking gdk v0.16.2
[INFO] [stderr]     Checking piet-cairo v0.6.2
[INFO] [stderr]     Checking piet-common v0.6.2
[INFO] [stderr]     Checking druid v0.8.3
[INFO] [stderr]     Checking Epdf v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Widget` and `text`
[INFO] [stdout]  --> src/pdf_util/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     text, widget::{Flex, Image as DruidImage, Label, Scroll, SizedBox}, AppLauncher, Color, ImageBuf, Widget, WidgetExt, WindowDesc
[INFO] [stdout]   |     ^^^^                                                                                              ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/pdf_util/mod.rs:439:16
[INFO] [stdout]     |
[INFO] [stdout] 439 |             if (unicode_char == '\n' || unicode_char == '\r') {
[INFO] [stdout]     |                ^                                            ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 439 -             if (unicode_char == '\n' || unicode_char == '\r') {
[INFO] [stdout] 439 +             if unicode_char == '\n' || unicode_char == '\r'  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/license/mod.rs:7:31
[INFO] [stdout]   |
[INFO] [stdout] 7 |     use std::io::{self, Read, Write};
[INFO] [stdout]   |                               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use core::num;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Widget` and `text`
[INFO] [stdout]  --> src/pdf_util/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     text, widget::{Flex, Image as DruidImage, Label, Scroll, SizedBox}, AppLauncher, Color, ImageBuf, Widget, WidgetExt, WindowDesc
[INFO] [stdout]   |     ^^^^                                                                                              ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/pdf_util/mod.rs:439:16
[INFO] [stdout]     |
[INFO] [stdout] 439 |             if (unicode_char == '\n' || unicode_char == '\r') {
[INFO] [stdout]     |                ^                                            ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 439 -             if (unicode_char == '\n' || unicode_char == '\r') {
[INFO] [stdout] 439 +             if unicode_char == '\n' || unicode_char == '\r'  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/license/mod.rs:7:31
[INFO] [stdout]   |
[INFO] [stdout] 7 |     use std::io::{self, Read, Write};
[INFO] [stdout]   |                               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::licence_mod`
[INFO] [stdout]   --> src/license/mod.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |     use super::licence_mod;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use core::num;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `piet`
[INFO] [stdout]  --> src/pdf_util/mod.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use piet::*;
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `piet`
[INFO] [stdout]  --> src/pdf_util/mod.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use piet::*;
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/pdf_util/mod.rs:556:10
[INFO] [stdout]     |
[INFO] [stdout] 556 |     for (index, image_path) in images.iter().enumerate() {
[INFO] [stdout]     |          ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bitmap`
[INFO] [stdout]    --> src/pdf_util/mod.rs:578:13
[INFO] [stdout]     |
[INFO] [stdout] 578 |         let bitmap = img.to_rgba8();
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bitmap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/pdf_util/mod.rs:556:10
[INFO] [stdout]     |
[INFO] [stdout] 556 |     for (index, image_path) in images.iter().enumerate() {
[INFO] [stdout]     |          ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bitmap`
[INFO] [stdout]    --> src/pdf_util/mod.rs:578:13
[INFO] [stdout]     |
[INFO] [stdout] 578 |         let bitmap = img.to_rgba8();
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bitmap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut op = match args.get(1) {
[INFO] [stdout]    |         ----^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ImageWrapper` is never constructed
[INFO] [stdout]   --> src/pdf_util/mod.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct ImageWrapper {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_dynamic_image` is never used
[INFO] [stdout]   --> src/pdf_util/mod.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl ImageWrapper {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 29 |     fn from_dynamic_image(image: DynamicImage, format: ImageFormat) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PDF_PATH` is never used
[INFO] [stdout]   --> src/pdf_util/mod.rs:35:7
[INFO] [stdout]    |
[INFO] [stdout] 35 | const PDF_PATH: &str = "C:\\Users\\slh\\Downloads\\kafka.pdf";
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LICENCE_FILE` is never used
[INFO] [stdout]  --> src/license/mod.rs:2:7
[INFO] [stdout]   |
[INFO] [stdout] 2 | const LICENCE_FILE: &str = "licence.txt";
[INFO] [stdout]   |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LICENCE_PROMPT` is never used
[INFO] [stdout]   --> src/license/mod.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 |     const LICENCE_PROMPT: &str = "The number of times has been used up. Please contact the author for activation. 1 yuan and 10000 t...
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_content` is never used
[INFO] [stdout]   --> src/license/mod.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn get_content(file_path: &str) -> Result<String, io::Error> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compare_file_content_with_123` is never used
[INFO] [stdout]   --> src/license/mod.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn compare_file_content_with_123(file_path: &str) -> io::Result<bool> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decrement_file_number` is never used
[INFO] [stdout]   --> src/license/mod.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn decrement_file_number(file_path: &str) -> io::Result<()> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LICENCE_FILE` is never used
[INFO] [stdout]   --> src/license/mod.rs:83:11
[INFO] [stdout]    |
[INFO] [stdout] 83 |     const LICENCE_FILE: &str = "licence.txt";
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut op = match args.get(1) {
[INFO] [stdout]    |         ----^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ImageWrapper` is never constructed
[INFO] [stdout]   --> src/pdf_util/mod.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct ImageWrapper {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_dynamic_image` is never used
[INFO] [stdout]   --> src/pdf_util/mod.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl ImageWrapper {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 29 |     fn from_dynamic_image(image: DynamicImage, format: ImageFormat) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LICENCE_FILE` is never used
[INFO] [stdout]  --> src/license/mod.rs:2:7
[INFO] [stdout]   |
[INFO] [stdout] 2 | const LICENCE_FILE: &str = "licence.txt";
[INFO] [stdout]   |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LICENCE_FILE` is never used
[INFO] [stdout]   --> src/license/mod.rs:83:11
[INFO] [stdout]    |
[INFO] [stdout] 83 |     const LICENCE_FILE: &str = "licence.txt";
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |             pdf_util::copy(path, pages);
[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] 42 |             let _ = pdf_util::copy(path, pages);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |             pdf_util::copy(path, pages);
[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] 42 |             let _ = pdf_util::copy(path, pages);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |             pdf_util::concat(pdf_page_ranges);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 56 |             let _ = pdf_util::concat(pdf_page_ranges);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |             pdf_util::watermark(path, w);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 67 |             let _ = pdf_util::watermark(path, w);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             pdf_util::exportImages(path, width);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 81 |             let _ = pdf_util::exportImages(path, width);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |             pdf_util::extract_images(path);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 89 |             let _ = pdf_util::extract_images(path);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:96:13
[INFO] [stdout]    |
[INFO] [stdout] 96 |             pdf_util::extract_text(path);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 96 |             let _ = pdf_util::extract_text(path);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `exportImages` should have a snake case name
[INFO] [stdout]    --> src/pdf_util/mod.rs:166:8
[INFO] [stdout]     |
[INFO] [stdout] 166 | pub fn exportImages(pdf_path: &str, maximum_width: i32) -> Result<(), PdfiumError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^ help: convert the identifier to snake case: `export_images`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_exportImages` should have a snake case name
[INFO] [stdout]    --> src/pdf_util/mod.rs:676:4
[INFO] [stdout]     |
[INFO] [stdout] 676 | fn test_exportImages() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_export_images`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/pdf_util/mod.rs:677:5
[INFO] [stdout]     |
[INFO] [stdout] 677 |     exportImages(PDF_PATH, 1000);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 677 |     let _ = exportImages(PDF_PATH, 1000);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/pdf_util/mod.rs:682:5
[INFO] [stdout]     |
[INFO] [stdout] 682 |     extract_images(PDF_PATH);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 682 |     let _ = extract_images(PDF_PATH);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/pdf_util/mod.rs:687:5
[INFO] [stdout]     |
[INFO] [stdout] 687 |     extract_text(PDF_PATH);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 687 |     let _ = extract_text(PDF_PATH);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |             pdf_util::concat(pdf_page_ranges);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 56 |             let _ = pdf_util::concat(pdf_page_ranges);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |             pdf_util::watermark(path, w);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 67 |             let _ = pdf_util::watermark(path, w);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             pdf_util::exportImages(path, width);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 81 |             let _ = pdf_util::exportImages(path, width);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |             pdf_util::extract_images(path);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 89 |             let _ = pdf_util::extract_images(path);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:96:13
[INFO] [stdout]    |
[INFO] [stdout] 96 |             pdf_util::extract_text(path);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 96 |             let _ = pdf_util::extract_text(path);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `exportImages` should have a snake case name
[INFO] [stdout]    --> src/pdf_util/mod.rs:166:8
[INFO] [stdout]     |
[INFO] [stdout] 166 | pub fn exportImages(pdf_path: &str, maximum_width: i32) -> Result<(), PdfiumError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^ help: convert the identifier to snake case: `export_images`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 42s
[INFO] running `Command { std: "docker" "inspect" "b181a129dabdd57f97d24c6d3f69c0ea70e1c4784d6994e5d929e52d9345322d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b181a129dabdd57f97d24c6d3f69c0ea70e1c4784d6994e5d929e52d9345322d", kill_on_drop: false }`
[INFO] [stdout] b181a129dabdd57f97d24c6d3f69c0ea70e1c4784d6994e5d929e52d9345322d
