[INFO] cloning repository https://github.com/jordan-clayton/qr_writer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jordan-clayton/qr_writer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjordan-clayton%2Fqr_writer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjordan-clayton%2Fqr_writer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2630ba09a4642c87cde52cec93270233c796451d [INFO] checking jordan-clayton/qr_writer against 416264364aa47959f5827723e1d7dabc95d0744b for pr-162242 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjordan-clayton%2Fqr_writer" "/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/jordan-clayton/qr_writer [INFO] finished tweaking git repo https://github.com/jordan-clayton/qr_writer [INFO] tweaked toml for git repo https://github.com/jordan-clayton/qr_writer written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jordan-clayton/qr_writer on toolchain 416264364aa47959f5827723e1d7dabc95d0744b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+416264364aa47959f5827723e1d7dabc95d0744b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jordan-clayton/qr_writer 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" "+416264364aa47959f5827723e1d7dabc95d0744b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] d9d833a60897eafec5e2d282316d8840c696d0b1f7dcffb5177a5eea6ebb1e33 [INFO] running `Command { std: "docker" "start" "d9d833a60897eafec5e2d282316d8840c696d0b1f7dcffb5177a5eea6ebb1e33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9d833a60897eafec5e2d282316d8840c696d0b1f7dcffb5177a5eea6ebb1e33", 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" "d9d833a60897eafec5e2d282316d8840c696d0b1f7dcffb5177a5eea6ebb1e33" "/opt/rustwide/cargo-home/bin/cargo" "+416264364aa47959f5827723e1d7dabc95d0744b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9d833a60897eafec5e2d282316d8840c696d0b1f7dcffb5177a5eea6ebb1e33", 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" "d9d833a60897eafec5e2d282316d8840c696d0b1f7dcffb5177a5eea6ebb1e33" "/opt/rustwide/cargo-home/bin/cargo" "+416264364aa47959f5827723e1d7dabc95d0744b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.46 [INFO] [stderr] Compiling autocfg v1.5.1 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling zerocopy v0.8.52 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Checking memchr v2.8.2 [INFO] [stderr] Checking simd-adler32 v0.3.9 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking either v1.16.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking arrayvec v0.7.7 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking log v0.4.33 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking weezl v0.1.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking bitstream-io v2.6.0 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking imgref v1.12.2 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking zune-jpeg v0.4.21 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking avif-serialize v0.8.9 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling syn v2.0.118 [INFO] [stderr] Compiling csv-core v0.1.13 [INFO] [stderr] Checking rgb v0.8.53 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Checking bit_field v0.10.3 [INFO] [stderr] Checking fax v0.2.7 [INFO] [stderr] Checking lebe v0.5.3 [INFO] [stderr] Checking pxfm v0.1.29 [INFO] [stderr] Checking smallvec v1.15.2 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Checking bitflags v2.13.0 [INFO] [stderr] Checking regex-syntax v0.8.11 [INFO] [stderr] Checking image-webp v0.2.4 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Checking rayon v1.12.0 [INFO] [stderr] Checking gif v0.13.3 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking png v0.18.1 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking siphasher v1.0.3 [INFO] [stderr] Compiling chrono-tz v0.10.4 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking typenum v1.20.1 [INFO] [stderr] Checking phf_shared v0.12.1 [INFO] [stderr] Checking chrono v0.4.45 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking phf v0.12.1 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking uriparse v0.6.4 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking moxcms v0.7.11 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Checking unicode-segmentation v1.13.3 [INFO] [stderr] Checking svg v0.18.0 [INFO] [stderr] Compiling csv v1.4.0 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Checking ab_glyph v0.2.32 [INFO] [stderr] Compiling codepage-437 v0.1.0 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Compiling zerocopy-derive v0.8.52 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling profiling-procmacros v1.0.18 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling rxing-one-d-proc-derive v0.9.0 [INFO] [stderr] Checking profiling v1.0.18 [INFO] [stderr] Checking regex v1.12.4 [INFO] [stderr] Checking fancy-regex v0.18.0 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Checking av1-grain v0.2.5 [INFO] [stderr] Checking nalgebra v0.32.6 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking tiff v0.10.3 [INFO] [stderr] Checking exr v1.74.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.6 [INFO] [stderr] Checking ravif v0.11.20 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking image v0.25.8 [INFO] [stderr] Checking imageproc v0.25.1 [INFO] [stderr] Checking qr_writer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `render_svg_with_resampling` is never used [INFO] [stdout] --> src/export.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn render_svg_with_resampling( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resize_and_render_image_exact` is never used [INFO] [stdout] --> src/export.rs:398:8 [INFO] [stdout] | [INFO] [stdout] 398 | pub fn resize_and_render_image_exact( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_monomial` and `evaluate_at` are never used [INFO] [stdout] --> src/galois.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl GaloisPolynomial { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn is_monomial(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn evaluate_at(&self, a: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gf_exp` is never used [INFO] [stdout] --> src/galois.rs:364:8 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn gf_exp(a: usize) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gf_log` is never used [INFO] [stdout] --> src/galois.rs:379:8 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn gf_log(a: usize) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_penalties` is never used [INFO] [stdout] --> src/mask.rs:145:15 [INFO] [stdout] | [INFO] [stdout] 145 | pub(crate) fn compute_penalties(matrices: &[SquareMatrix]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QUIET_ZONE_SIZE` is never used [INFO] [stdout] --> src/matrix.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) const QUIET_ZONE_SIZE: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `destructure_into_bytes` is never used [INFO] [stdout] --> src/matrix.rs:305:19 [INFO] [stdout] | [INFO] [stdout] 302 | impl SquareMatrix { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 305 | pub(crate) fn destructure_into_bytes(self) -> (Vec, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `matrix` and `render` are never used [INFO] [stdout] --> src/matrix.rs:353:19 [INFO] [stdout] | [INFO] [stdout] 325 | impl QRCodeMatrix { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 353 | pub(crate) fn matrix(&self) -> &SquareMatrix { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | pub(crate) fn render(&self) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_matrix_and_crash` is never used [INFO] [stdout] --> src/matrix.rs:451:15 [INFO] [stdout] | [INFO] [stdout] 451 | pub(crate) fn print_matrix_and_crash(matrix: &SquareMatrix) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `groups` and `get_block` are never used [INFO] [stdout] --> src/qr.rs:676:19 [INFO] [stdout] | [INFO] [stdout] 613 | impl QrSegmentation { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 676 | pub(crate) fn groups(&self) -> &[Group] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 681 | pub(crate) fn get_block<'a>(&self, data: &'a [u8], group: usize, block: usize) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rxing v0.9.1 [INFO] [stdout] warning: unused import: `print_matrix_and_crash` [INFO] [stdout] --> src/lib.rs:42:77 [INFO] [stdout] | [INFO] [stdout] 42 | emplace_finder_patterns_into_blank_matrix, emplace_timing_patterns, print_matrix_and_crash, [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: `PathBuf` [INFO] [stdout] --> src/lib.rs:58:27 [INFO] [stdout] | [INFO] [stdout] 58 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stroke` [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | Stroke, SvgHints, SvgRectHints, render_svg_with_resampling, save_svg, write_svg, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rxing::common::BitMatrix` [INFO] [stdout] --> src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | use rxing::common::BitMatrix; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_monomial` and `evaluate_at` are never used [INFO] [stdout] --> src/galois.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl GaloisPolynomial { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn is_monomial(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn evaluate_at(&self, a: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gf_log` is never used [INFO] [stdout] --> src/galois.rs:379:8 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn gf_log(a: usize) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_penalties` is never used [INFO] [stdout] --> src/mask.rs:145:15 [INFO] [stdout] | [INFO] [stdout] 145 | pub(crate) fn compute_penalties(matrices: &[SquareMatrix]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_matrix_and_crash` is never used [INFO] [stdout] --> src/matrix.rs:451:15 [INFO] [stdout] | [INFO] [stdout] 451 | pub(crate) fn print_matrix_and_crash(matrix: &SquareMatrix) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "d9d833a60897eafec5e2d282316d8840c696d0b1f7dcffb5177a5eea6ebb1e33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9d833a60897eafec5e2d282316d8840c696d0b1f7dcffb5177a5eea6ebb1e33", kill_on_drop: false }` [INFO] [stdout] d9d833a60897eafec5e2d282316d8840c696d0b1f7dcffb5177a5eea6ebb1e33