[INFO] cloning repository https://github.com/nguyencongcuong/azf-rust-pdf
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nguyencongcuong/azf-rust-pdf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnguyencongcuong%2Fazf-rust-pdf", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnguyencongcuong%2Fazf-rust-pdf'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 42285b1650b4ae38b13352201111ed7c0c54868f
[INFO] checking nguyencongcuong/azf-rust-pdf against master#b3bd7058c139e71bae0862ef8f8ac936208873e9 for pr-123752
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnguyencongcuong%2Fazf-rust-pdf" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/nguyencongcuong/azf-rust-pdf on toolchain b3bd7058c139e71bae0862ef8f8ac936208873e9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/nguyencongcuong/azf-rust-pdf
[INFO] finished tweaking git repo https://github.com/nguyencongcuong/azf-rust-pdf
[INFO] tweaked toml for git repo https://github.com/nguyencongcuong/azf-rust-pdf written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/nguyencongcuong/azf-rust-pdf 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" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded unicode-canonical-combining-class v0.5.0
[INFO] [stderr]   Downloaded unicode-joining-type v0.7.0
[INFO] [stderr]   Downloaded glyph-names v0.2.0
[INFO] [stderr]   Downloaded allsorts v0.14.1
[INFO] [stderr]   Downloaded printpdf v0.7.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f615bdb157e223e0183c408ceddfbe12b9cc2054cd80567875c0b12d4554db76
[INFO] running `Command { std: "docker" "start" "-a" "f615bdb157e223e0183c408ceddfbe12b9cc2054cd80567875c0b12d4554db76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f615bdb157e223e0183c408ceddfbe12b9cc2054cd80567875c0b12d4554db76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f615bdb157e223e0183c408ceddfbe12b9cc2054cd80567875c0b12d4554db76", kill_on_drop: false }`
[INFO] [stdout] f615bdb157e223e0183c408ceddfbe12b9cc2054cd80567875c0b12d4554db76
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a6f9caa3cfef2e2607c9b07286dbeff5d3203fdf4347e33bcd063ad22fdd5f89
[INFO] running `Command { std: "docker" "start" "-a" "a6f9caa3cfef2e2607c9b07286dbeff5d3203fdf4347e33bcd063ad22fdd5f89", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]     Checking pin-project-lite v0.2.13
[INFO] [stderr]     Checking smallvec v1.13.1
[INFO] [stderr]    Compiling crc32fast v1.4.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]     Checking itoa v1.0.10
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]     Checking regex-syntax v0.8.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking miniz_oxide v0.7.2
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]     Checking either v1.10.0
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]     Checking aho-corasick v1.1.2
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking alloc-no-stdlib v2.0.4
[INFO] [stderr]     Checking flate2 v1.0.28
[INFO] [stderr]     Checking tinyvec_macros v0.1.1
[INFO] [stderr]     Checking alloc-stdlib v0.2.2
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling syn v2.0.53
[INFO] [stderr]    Compiling jobserver v0.1.28
[INFO] [stderr]     Checking bytemuck v1.15.0
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]     Checking weezl v0.1.8
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]    Compiling cc v1.0.90
[INFO] [stderr]     Checking socket2 v0.5.6
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]    Compiling thiserror v1.0.58
[INFO] [stderr]    Compiling anyhow v1.0.81
[INFO] [stderr]    Compiling time-macros v0.2.17
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking deranged v0.3.11
[INFO] [stderr]     Checking tokio v1.36.0
[INFO] [stderr]     Checking brotli-decompressor v2.5.1
[INFO] [stderr]     Checking encoding_rs v0.8.33
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking arrayvec v0.7.4
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]     Checking aligned-vec v0.5.0
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]    Compiling zstd-safe v7.0.0
[INFO] [stderr]     Checking local-waker v0.1.4
[INFO] [stderr]    Compiling built v0.7.1
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking v_frame v0.3.8
[INFO] [stderr]    Compiling rav1e v0.7.1
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking rayon v1.9.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking fdeflate v0.3.4
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling unicode-joining-type v0.7.0
[INFO] [stderr]    Compiling zstd-sys v2.0.9+zstd.1.5.5
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking time v0.3.34
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]    Compiling unicode-canonical-combining-class v0.5.0
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]    Compiling unicode-general-category v0.6.0
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking jpeg-decoder v0.3.1
[INFO] [stderr]     Checking indexmap v2.2.5
[INFO] [stderr]     Checking tiff v0.9.1
[INFO] [stderr]     Checking av1-grain v0.2.3
[INFO] [stderr]     Checking gif v0.13.1
[INFO] [stderr]     Checking regex v1.10.3
[INFO] [stderr]     Checking bstr v1.9.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking png v0.17.13
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling bytestring v1.3.1
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]     Checking actix-service v2.0.2
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking itertools v0.12.1
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking actix-rt v2.9.0
[INFO] [stderr]     Checking maybe-rayon v0.1.1
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling noop_proc_macro v0.3.0
[INFO] [stderr]     Checking bitstream-io v2.2.0
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking imgref v1.10.1
[INFO] [stderr]     Checking aliasable v0.1.3
[INFO] [stderr]    Compiling serde_json v1.0.114
[INFO] [stderr]     Checking new_debug_unreachable v1.0.6
[INFO] [stderr]     Checking ryu v1.0.17
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]     Checking utf8parse v0.2.1
[INFO] [stderr]     Checking unicode-bidi v0.3.15
[INFO] [stderr]     Checking bitflags v2.4.2
[INFO] [stderr]     Checking zerocopy v0.7.32
[INFO] [stderr]     Checking anstyle-parse v0.2.3
[INFO] [stderr]     Checking loop9 v0.1.5
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking pom v3.4.0
[INFO] [stderr]     Checking flume v0.11.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking brotli v3.5.0
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking h2 v0.3.25
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]     Checking local-channel v0.1.5
[INFO] [stderr]     Checking avif-serialize v0.8.1
[INFO] [stderr]     Checking rgb v0.8.37
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking zune-inflate v0.2.54
[INFO] [stderr]     Checking half v2.4.0
[INFO] [stderr]     Checking bitreader v0.3.8
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]     Checking ttf-parser v0.15.2
[INFO] [stderr]     Checking colorchoice v1.0.0
[INFO] [stderr]     Checking anstyle-query v1.0.2
[INFO] [stderr]     Checking rustc-hash v1.1.0
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]     Checking anstyle v1.0.6
[INFO] [stderr]     Checking quick-error v2.0.1
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]     Checking ttf-parser v0.19.2
[INFO] [stderr]     Checking zune-core v0.4.12
[INFO] [stderr]     Checking base64 v0.21.7
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking bit_field v0.10.2
[INFO] [stderr]     Checking md5 v0.7.0
[INFO] [stderr]     Checking ucd-trie v0.1.6
[INFO] [stderr]     Checking glyph-names v0.2.0
[INFO] [stderr]     Checking lebe v0.5.2
[INFO] [stderr]     Checking zune-jpeg v0.4.11
[INFO] [stderr]     Checking lopdf v0.31.0
[INFO] [stderr]     Checking exr v1.72.0
[INFO] [stderr]     Checking anstream v0.6.13
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.58
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling profiling-procmacros v1.0.15
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling ouroboros_macro v0.17.2
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]     Checking owned_ttf_parser v0.19.0
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]     Checking profiling v1.0.15
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking owned_ttf_parser v0.15.2
[INFO] [stderr]     Checking actix-server v2.3.0
[INFO] [stderr]     Checking env_filter v0.1.0
[INFO] [stderr]    Compiling actix-router v0.5.2
[INFO] [stderr]     Checking qoi v0.4.1
[INFO] [stderr]     Checking ab_glyph_rasterizer v0.1.8
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking rusttype v0.9.3
[INFO] [stderr]     Checking env_logger v0.11.3
[INFO] [stderr]    Compiling actix-web-codegen v4.2.2
[INFO] [stderr]     Checking image-webp v0.1.1
[INFO] [stderr]     Checking ouroboros v0.17.2
[INFO] [stderr]     Checking allsorts v0.14.1
[INFO] [stderr]     Checking zstd v0.13.0
[INFO] [stderr]     Checking actix-http v3.6.0
[INFO] [stderr]     Checking printpdf v0.7.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking ravif v0.11.5
[INFO] [stderr]     Checking image v0.25.0
[INFO] [stderr]     Checking actix-web v4.5.1
[INFO] [stderr]     Checking handler v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> src/lib.rs:1:23
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{Cursor, Read};
[INFO] [stdout]   |                       ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> src/lib.rs:1:23
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{Cursor, Read};
[INFO] [stdout]   |                       ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut white: Color = Color::Rgb(Rgb::new(100., 100., 100., None));
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let mut black: Color = Color::Rgb(Rgb::new(0., 0., 0., None));
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_time` is never used
[INFO] [stdout]  --> src/util.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn calculate_time<F, R>(operation_name: &str, function: F) -> R where F: FnOnce() -> R {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `file_to_bytes` is never used
[INFO] [stdout]   --> src/util.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn file_to_bytes(mut file: File) -> Vec<u8> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `open_and_save` is never used
[INFO] [stdout]   --> src/util.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn open_and_save(path: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut white: Color = Color::Rgb(Rgb::new(100., 100., 100., None));
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let mut black: Color = Color::Rgb(Rgb::new(0., 0., 0., None));
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_time` is never used
[INFO] [stdout]  --> src/util.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn calculate_time<F, R>(operation_name: &str, function: F) -> R where F: FnOnce() -> R {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `file_to_bytes` is never used
[INFO] [stdout]   --> src/util.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn file_to_bytes(mut file: File) -> Vec<u8> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `open_and_save` is never used
[INFO] [stdout]   --> src/util.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn open_and_save(path: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `pdf_file` is never read
[INFO] [stdout]   --> src/main.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let mut pdf_file: Result<Vec<u8>, Error> = Ok(Vec::new());
[INFO] [stdout]    |             ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `pdf_file` is never read
[INFO] [stdout]   --> src/main.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let mut pdf_file: Result<Vec<u8>, Error> = Ok(Vec::new());
[INFO] [stdout]    |             ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `file_to_bytes` is never used
[INFO] [stdout]   --> src/util.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn file_to_bytes(mut file: File) -> Vec<u8> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `open_and_save` is never used
[INFO] [stdout]   --> src/util.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn open_and_save(path: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_image` is never used
[INFO] [stdout]   --> src/util.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub fn read_image(path: &str) -> printpdf::image_crate::DynamicImage {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `file_to_bytes` is never used
[INFO] [stdout]   --> src/util.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn file_to_bytes(mut file: File) -> Vec<u8> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `open_and_save` is never used
[INFO] [stdout]   --> src/util.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn open_and_save(path: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_image` is never used
[INFO] [stdout]   --> src/util.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub fn read_image(path: &str) -> printpdf::image_crate::DynamicImage {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.43s
[INFO] running `Command { std: "docker" "inspect" "a6f9caa3cfef2e2607c9b07286dbeff5d3203fdf4347e33bcd063ad22fdd5f89", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a6f9caa3cfef2e2607c9b07286dbeff5d3203fdf4347e33bcd063ad22fdd5f89", kill_on_drop: false }`
[INFO] [stdout] a6f9caa3cfef2e2607c9b07286dbeff5d3203fdf4347e33bcd063ad22fdd5f89
