[INFO] cloning repository https://github.com/jboschuk/paperless-asn-qr-codes-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jboschuk/paperless-asn-qr-codes-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjboschuk%2Fpaperless-asn-qr-codes-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjboschuk%2Fpaperless-asn-qr-codes-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c9d610ec70a97bed3a29003dcbdbc19f852551dc [INFO] building jboschuk/paperless-asn-qr-codes-rust against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjboschuk%2Fpaperless-asn-qr-codes-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jboschuk/paperless-asn-qr-codes-rust [INFO] finished tweaking git repo https://github.com/jboschuk/paperless-asn-qr-codes-rust [INFO] tweaked toml for git repo https://github.com/jboschuk/paperless-asn-qr-codes-rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jboschuk/paperless-asn-qr-codes-rust on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jboschuk/paperless-asn-qr-codes-rust 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded qrcode-generator v5.0.0 [INFO] [stderr] Downloaded unicode-ccc v0.4.0 [INFO] [stderr] Downloaded unicode-canonical-combining-class v0.5.0 [INFO] [stderr] Downloaded core_maths v0.1.1 [INFO] [stderr] Downloaded svg2pdf v0.13.0 [INFO] [stderr] Downloaded qrcodegen v1.8.0 [INFO] [stderr] Downloaded azul-simplecss v0.1.1 [INFO] [stderr] Downloaded highway v0.8.1 [INFO] [stderr] Downloaded kuchiki v0.8.1 [INFO] [stderr] Downloaded gl-context-loader v0.1.8 [INFO] [stderr] Downloaded pathfinder_simd v0.5.4 [INFO] [stderr] Downloaded clap v4.5.38 [INFO] [stderr] Downloaded azul-css v0.0.5 [INFO] [stderr] Downloaded fontdb v0.23.0 [INFO] [stderr] Downloaded usvg v0.45.1 [INFO] [stderr] Downloaded kurbo v0.11.2 [INFO] [stderr] Downloaded clap_builder v4.5.38 [INFO] [stderr] Downloaded html5ever v0.25.2 [INFO] [stderr] Downloaded resvg v0.45.1 [INFO] [stderr] Downloaded azul-core v0.0.5 [INFO] [stderr] Downloaded azul-layout v0.0.5 [INFO] [stderr] Downloaded glyph-names v0.2.0 [INFO] [stderr] Downloaded rustybuzz v0.20.1 [INFO] [stderr] Downloaded rust-fontconfig v1.0.1 [INFO] [stderr] Downloaded subsetter v0.2.1 [INFO] [stderr] Downloaded allsorts-subset-browser v0.16.0 [INFO] [stderr] Downloaded qrcode v0.14.1 [INFO] [stderr] Downloaded ouroboros_macro v0.17.2 [INFO] [stderr] Downloaded unicode-general-category v0.6.0 [INFO] [stderr] Downloaded unicode-joining-type v0.7.0 [INFO] [stderr] Downloaded bitreader v0.3.11 [INFO] [stderr] Downloaded ouroboros v0.17.2 [INFO] [stderr] Downloaded mmapio v0.9.1 [INFO] [stderr] Downloaded imagesize v0.13.0 [INFO] [stderr] Downloaded unicode-bidi-mirroring v0.4.0 [INFO] [stderr] Downloaded pdf-writer v0.12.1 [INFO] [stderr] Downloaded printpdf v0.8.2 [INFO] [stderr] Downloaded lopdf v0.35.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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3760090e4d538c864b875455e97378f0686110c7785bd97b19c1533337766b88 [INFO] running `Command { std: "docker" "start" "-a" "3760090e4d538c864b875455e97378f0686110c7785bd97b19c1533337766b88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3760090e4d538c864b875455e97378f0686110c7785bd97b19c1533337766b88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3760090e4d538c864b875455e97378f0686110c7785bd97b19c1533337766b88", kill_on_drop: false }` [INFO] [stdout] 3760090e4d538c864b875455e97378f0686110c7785bd97b19c1533337766b88 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ae4b9836898077e5d1cd22bf5d44dcef8619d67a2c9e34f2e768beb8bdddce5 [INFO] running `Command { std: "docker" "start" "-a" "8ae4b9836898077e5d1cd22bf5d44dcef8619d67a2c9e34f2e768beb8bdddce5", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling pathfinder_simd v0.5.4 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling image-webp v0.2.1 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling avif-serialize v0.8.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling unicode-joining-type v0.7.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling unicode-general-category v0.6.0 [INFO] [stderr] Compiling unicode-canonical-combining-class v0.5.0 [INFO] [stderr] Compiling core_maths v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling fontconfig-parser v0.5.8 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling pathfinder_geometry v0.5.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling brotli-decompressor v4.0.3 [INFO] [stderr] Compiling kurbo v0.11.2 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling bitreader v0.3.11 [INFO] [stderr] Compiling unicode-script v0.5.7 [INFO] [stderr] Compiling glyph-names v0.2.0 [INFO] [stderr] Compiling unicode-ccc v0.4.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling xmlwriter v0.1.0 [INFO] [stderr] Compiling xmlparser v0.13.6 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling unicode-bidi-mirroring v0.4.0 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling mmapio v0.9.1 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Compiling svgtypes v0.15.3 [INFO] [stderr] Compiling simplecss v0.2.2 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling fontdb v0.23.0 [INFO] [stderr] Compiling rustybuzz v0.20.1 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling unicode-vo v0.1.0 [INFO] [stderr] Compiling imagesize v0.13.0 [INFO] [stderr] Compiling azul-simplecss v0.1.1 [INFO] [stderr] Compiling servo_arc v0.1.1 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling azul-css v0.0.5 [INFO] [stderr] Compiling highway v0.8.1 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Compiling gl-context-loader v0.1.8 [INFO] [stderr] Compiling thin-slice v0.1.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling nom_locate v4.2.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling pdf-writer v0.12.1 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling roxmltree v0.14.1 [INFO] [stderr] Compiling subsetter v0.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Compiling rangemap v1.5.1 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Compiling clap_builder v4.5.38 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling qrcodegen v1.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [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 cssparser-macros v0.6.1 [INFO] [stderr] Compiling usvg v0.45.1 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling ouroboros_macro v0.17.2 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling html5ever v0.25.2 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling lopdf v0.35.0 [INFO] [stderr] Compiling ouroboros v0.17.2 [INFO] [stderr] Compiling allsorts-subset-browser v0.16.0 [INFO] [stderr] Compiling resvg v0.45.1 [INFO] [stderr] Compiling clap v4.5.38 [INFO] [stderr] Compiling kuchiki v0.8.1 [INFO] [stderr] Compiling ravif v0.11.12 [INFO] [stderr] Compiling rust-fontconfig v1.0.1 [INFO] [stderr] Compiling azul-core v0.0.5 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling svg2pdf v0.13.0 [INFO] [stderr] Compiling qrcode v0.14.1 [INFO] [stderr] Compiling qrcode-generator v5.0.0 [INFO] [stderr] Compiling azul-layout v0.0.5 [INFO] [stderr] Compiling printpdf v0.8.2 [INFO] [stderr] Compiling paperless-asn-qr-codes-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `font_size_text_mm` [INFO] [stdout] --> src/lib.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let font_size_text_mm = Mm::from(font_size_text_pt); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_font_size_text_mm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 208 | BarcodeFormat::Qr => { [INFO] [stdout] | ----------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 220 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_width` [INFO] [stdout] --> src/lib.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | label_width: Mm, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [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 imports: `BufWriter`, `Read`, and `Write` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{BufWriter, Read, Write}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::ValueEnum` [INFO] [stdout] --> src/cli.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::ValueEnum; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LabelInfo` [INFO] [stdout] --> src/main.rs:9:49 [INFO] [stdout] | [INFO] [stdout] 9 | use paperless_asn_qr_codes_rust::{generate_pdf, LabelInfo}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 13s [INFO] running `Command { std: "docker" "inspect" "8ae4b9836898077e5d1cd22bf5d44dcef8619d67a2c9e34f2e768beb8bdddce5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ae4b9836898077e5d1cd22bf5d44dcef8619d67a2c9e34f2e768beb8bdddce5", kill_on_drop: false }` [INFO] [stdout] 8ae4b9836898077e5d1cd22bf5d44dcef8619d67a2c9e34f2e768beb8bdddce5 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c16ac5d278b5f24e5a69215db8ff354b82f6416eeed37b9d753d8935e8fda90d [INFO] running `Command { std: "docker" "start" "-a" "c16ac5d278b5f24e5a69215db8ff354b82f6416eeed37b9d753d8935e8fda90d", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `font_size_text_mm` [INFO] [stdout] --> src/lib.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let font_size_text_mm = Mm::from(font_size_text_pt); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_font_size_text_mm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 208 | BarcodeFormat::Qr => { [INFO] [stdout] | ----------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 220 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling paperless-asn-qr-codes-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `label_width` [INFO] [stdout] --> src/lib.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | label_width: Mm, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `font_size_text_mm` [INFO] [stdout] --> src/lib.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let font_size_text_mm = Mm::from(font_size_text_pt); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_font_size_text_mm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 208 | BarcodeFormat::Qr => { [INFO] [stdout] | ----------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 220 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_width` [INFO] [stdout] --> src/lib.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | label_width: Mm, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [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 imports: `BufWriter`, `Read`, and `Write` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{BufWriter, Read, Write}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::ValueEnum` [INFO] [stdout] --> src/cli.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::ValueEnum; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LabelInfo` [INFO] [stdout] --> src/main.rs:9:49 [INFO] [stdout] | [INFO] [stdout] 9 | use paperless_asn_qr_codes_rust::{generate_pdf, LabelInfo}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.25s [INFO] running `Command { std: "docker" "inspect" "c16ac5d278b5f24e5a69215db8ff354b82f6416eeed37b9d753d8935e8fda90d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c16ac5d278b5f24e5a69215db8ff354b82f6416eeed37b9d753d8935e8fda90d", kill_on_drop: false }` [INFO] [stdout] c16ac5d278b5f24e5a69215db8ff354b82f6416eeed37b9d753d8935e8fda90d