[INFO] cloning repository https://github.com/RienkMarsman/ptouch2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RienkMarsman/ptouch2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRienkMarsman%2Fptouch2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRienkMarsman%2Fptouch2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ec7b6a88db228d365e277740021899bd69e2d82e [INFO] building RienkMarsman/ptouch2 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRienkMarsman%2Fptouch2" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/RienkMarsman/ptouch2 [INFO] finished tweaking git repo https://github.com/RienkMarsman/ptouch2 [INFO] tweaked toml for git repo https://github.com/RienkMarsman/ptouch2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/RienkMarsman/ptouch2 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/RienkMarsman/ptouch2 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rgb v0.8.40 [INFO] [stderr] Downloaded miniz_oxide v0.4.4 [INFO] [stderr] Downloaded interpolate_name v0.2.4 [INFO] [stderr] Downloaded float-cmp v0.9.0 [INFO] [stderr] Downloaded v_frame v0.3.8 [INFO] [stderr] Downloaded zune-core v0.4.12 [INFO] [stderr] Downloaded ouroboros v0.17.2 [INFO] [stderr] Downloaded embedded-layout-macros v0.3.1 [INFO] [stderr] Downloaded arg_enum_proc_macro v0.3.4 [INFO] [stderr] Downloaded embedded-graphics-simulator v0.6.0 [INFO] [stderr] Downloaded arbitrary v1.3.2 [INFO] [stderr] Downloaded imgref v1.10.1 [INFO] [stderr] Downloaded embedded-layout v0.4.1 [INFO] [stderr] Downloaded sdl2 v0.35.2 [INFO] [stderr] Downloaded az v1.2.1 [INFO] [stderr] Downloaded exr v1.72.0 [INFO] [stderr] Downloaded version-compare v0.1.1 [INFO] [stderr] Downloaded bitstream-io v2.4.2 [INFO] [stderr] Downloaded profiling v1.0.15 [INFO] [stderr] Downloaded noop_proc_macro v0.3.0 [INFO] [stderr] Downloaded toml_edit v0.21.1 [INFO] [stderr] Downloaded proc-macro-crate v3.1.0 [INFO] [stderr] Downloaded gif v0.13.1 [INFO] [stderr] Downloaded simd_helpers v0.1.0 [INFO] [stderr] Downloaded rav1e v0.7.1 [INFO] [stderr] Downloaded ouroboros_macro v0.17.2 [INFO] [stderr] Downloaded num_enum_derive v0.7.2 [INFO] [stderr] Downloaded num_enum v0.7.2 [INFO] [stderr] Downloaded loop9 v0.1.5 [INFO] [stderr] Downloaded embedded-graphics-core v0.4.0 [INFO] [stderr] Downloaded quick-error v2.0.1 [INFO] [stderr] Downloaded cc v1.0.104 [INFO] [stderr] Downloaded embedded-graphics v0.8.1 [INFO] [stderr] Downloaded zune-jpeg v0.4.11 [INFO] [stderr] Downloaded image-webp v0.1.2 [INFO] [stderr] Downloaded profiling-procmacros v1.0.15 [INFO] [stderr] Downloaded jobserver v0.1.31 [INFO] [stderr] Downloaded ravif v0.11.7 [INFO] [stderr] Downloaded snmp v0.2.2 [INFO] [stderr] Downloaded avif-serialize v0.8.1 [INFO] [stderr] Downloaded built v0.7.3 [INFO] [stderr] Downloaded libfuzzer-sys v0.4.7 [INFO] [stderr] Downloaded aligned-vec v0.5.0 [INFO] [stderr] Downloaded av1-grain v0.2.3 [INFO] [stderr] Downloaded target-lexicon v0.12.14 [INFO] [stderr] Downloaded maybe-rayon v0.1.1 [INFO] [stderr] Downloaded toml v0.8.14 [INFO] [stderr] Downloaded micromath v2.1.0 [INFO] [stderr] Downloaded gif v0.11.4 [INFO] [stderr] Downloaded flume v0.11.0 [INFO] [stderr] Downloaded toml_edit v0.22.14 [INFO] [stderr] Downloaded image v0.25.1 [INFO] [stderr] Downloaded sdl2-sys v0.35.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff5507c9aaa1378cbeae23c644dbb134ee7580ff82f2c5cb9d79d98135d82761 [INFO] running `Command { std: "docker" "start" "-a" "ff5507c9aaa1378cbeae23c644dbb134ee7580ff82f2c5cb9d79d98135d82761", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff5507c9aaa1378cbeae23c644dbb134ee7580ff82f2c5cb9d79d98135d82761", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff5507c9aaa1378cbeae23c644dbb134ee7580ff82f2c5cb9d79d98135d82761", kill_on_drop: false }` [INFO] [stdout] ff5507c9aaa1378cbeae23c644dbb134ee7580ff82f2c5cb9d79d98135d82761 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25f9e5d0372de5a2bf077564355bac98f8e911cb398defa9a7ed9f6ff4633be1 [INFO] running `Command { std: "docker" "start" "-a" "25f9e5d0372de5a2bf077564355bac98f8e911cb398defa9a7ed9f6ff4633be1", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bytemuck v1.16.1 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling built v0.7.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling micromath v2.1.0 [INFO] [stderr] Compiling embedded-graphics-core v0.4.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling bitstream-io v2.4.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling rgb v0.8.40 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling embedded-graphics v0.8.1 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling zune-jpeg v0.4.11 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling snmp v0.2.2 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling ouroboros_macro v0.17.2 [INFO] [stderr] Compiling embedded-layout-macros v0.3.1 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling embedded-layout v0.4.1 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling image-webp v0.1.2 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Compiling ouroboros v0.17.2 [INFO] [stderr] Compiling num_enum v0.7.2 [INFO] [stderr] Compiling embedded-graphics-simulator v0.6.0 [INFO] [stderr] Compiling ravif v0.11.7 [INFO] [stderr] Compiling image v0.25.1 [INFO] [stderr] Compiling ql-raster v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `commands` [INFO] [stdout] --> src/commands.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{commands, prelude::*, printer::PTouchPrinter, status::MediaKind}; [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: `TryFromPrimitive` [INFO] [stdout] --> src/status.rs:5:46 [INFO] [stdout] | [INFO] [stdout] 5 | use num_enum::{FromPrimitive, IntoPrimitive, TryFromPrimitive}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MonoFont` [INFO] [stdout] --> src/render/mod.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use embedded_graphics::mono_font::{MonoFont, MonoTextStyle}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rectangle` and `StyledDrawable` [INFO] [stdout] --> src/render/mod.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | use embedded_graphics::primitives::{Rectangle, StyledDrawable}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Alignment` and `TextStyleBuilder` [INFO] [stdout] --> src/render/mod.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | use embedded_graphics::text::{Alignment, Text, TextStyleBuilder}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CharacterStyle` and `TextRenderer` [INFO] [stdout] --> src/render/mod.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | use embedded_graphics::text::renderer::{CharacterStyle, TextRenderer}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MonoTextStyle`, `ascii::FONT_6X10`, `pixelcolor::Rgb565`, `prelude::*`, and `text::Text` [INFO] [stdout] --> src/render/ops.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | mono_font::{ascii::FONT_6X10, MonoTextStyle}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 3 | pixelcolor::Rgb565, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | prelude::*, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | text::Text, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render/mod.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut x = Text::new(text, point, character_style); [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: associated items `encode_binary`, `error_correction_level`, and `mask` are never used [INFO] [stdout] --> src/render/qr_code.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl<'a> QrCode<'a> { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn encode_binary<'b>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | pub fn error_correction_level(&self) -> QrCodeEcc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | pub fn mask(&self) -> Mask { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Low` is never constructed [INFO] [stdout] --> src/render/qr_code.rs:1007:5 [INFO] [stdout] | [INFO] [stdout] 1005 | pub enum QrCodeEcc { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 1006 | /// The QR Code can tolerate about 7% erroneous codewords. [INFO] [stdout] 1007 | Low, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QrCodeEcc` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `make_eci`, `mode`, and `num_chars` are never used [INFO] [stdout] --> src/render/qr_code.rs:1138:12 [INFO] [stdout] | [INFO] [stdout] 1071 | impl<'a> QrSegment<'a> { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 1138 | pub fn make_eci(assignval: u32, buf: &'a mut [u8]) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1168 | pub fn mode(&self) -> QrSegmentMode { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1173 | pub fn num_chars(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Kanji` and `Eci` are never constructed [INFO] [stdout] --> src/render/qr_code.rs:1265:5 [INFO] [stdout] | [INFO] [stdout] 1261 | pub enum QrSegmentMode { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 1265 | Kanji, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1266 | Eci, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QrSegmentMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/render/qr_code.rs:1315:12 [INFO] [stdout] | [INFO] [stdout] 1308 | impl<'a> BitBuffer<'a> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1315 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `MIN` and `MAX` are never used [INFO] [stdout] --> src/render/qr_code.rs:1373:15 [INFO] [stdout] | [INFO] [stdout] 1371 | impl Version { [INFO] [stdout] | ------------ associated constants in this implementation [INFO] [stdout] 1372 | /// The minimum version number supported in the QR Code Model 2 standard. [INFO] [stdout] 1373 | pub const MIN: Version = Version(1); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1376 | pub const MAX: Version = Version(40); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `inverted` and `reset` are never used [INFO] [stdout] --> src/render/qr_code_embedded_graphic.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl<'a> StyledQrCode<'a> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] 91 | pub fn inverted(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn reset(self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | self.flush(); [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] 217 | let _ = self.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `embedded_graphics::prelude::Dimensions` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use embedded_graphics::prelude::Dimensions; [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: `Commands`, `PrintInfo`, `VariousMode`, `prelude::*`, and `printer::PTouchPrinter` [INFO] [stdout] --> src/main.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | commands::{Commands, PrintInfo, VariousMode}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 5 | prelude::*, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | printer::PTouchPrinter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ql_raster::prelude::display::Display` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use ql_raster::prelude::display::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MonoTextStyle`, `ascii::FONT_6X10`, and `pixelcolor::BinaryColor` [INFO] [stdout] --> src/main.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | mono_font::{ascii::FONT_6X10, MonoTextStyle}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 11 | pixelcolor::BinaryColor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `embedded_graphics::mono_font::iso_8859_13::FONT_10X20` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use embedded_graphics::mono_font::iso_8859_13::FONT_10X20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `embedded_graphics::text::Text` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use embedded_graphics::text::Text; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.50s [INFO] running `Command { std: "docker" "inspect" "25f9e5d0372de5a2bf077564355bac98f8e911cb398defa9a7ed9f6ff4633be1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25f9e5d0372de5a2bf077564355bac98f8e911cb398defa9a7ed9f6ff4633be1", kill_on_drop: false }` [INFO] [stdout] 25f9e5d0372de5a2bf077564355bac98f8e911cb398defa9a7ed9f6ff4633be1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a4608d575ac522982daaf136dbd43a7ebda73155b1a02234b5198c83b6af0c4 [INFO] running `Command { std: "docker" "start" "-a" "2a4608d575ac522982daaf136dbd43a7ebda73155b1a02234b5198c83b6af0c4", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `commands` [INFO] [stdout] --> src/commands.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{commands, prelude::*, printer::PTouchPrinter, status::MediaKind}; [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: `TryFromPrimitive` [INFO] [stdout] --> src/status.rs:5:46 [INFO] [stdout] | [INFO] [stdout] 5 | use num_enum::{FromPrimitive, IntoPrimitive, TryFromPrimitive}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MonoFont` [INFO] [stdout] --> src/render/mod.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use embedded_graphics::mono_font::{MonoFont, MonoTextStyle}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rectangle` and `StyledDrawable` [INFO] [stdout] --> src/render/mod.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | use embedded_graphics::primitives::{Rectangle, StyledDrawable}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Alignment` and `TextStyleBuilder` [INFO] [stdout] --> src/render/mod.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | use embedded_graphics::text::{Alignment, Text, TextStyleBuilder}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CharacterStyle` and `TextRenderer` [INFO] [stdout] --> src/render/mod.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | use embedded_graphics::text::renderer::{CharacterStyle, TextRenderer}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MonoTextStyle`, `ascii::FONT_6X10`, `pixelcolor::Rgb565`, `prelude::*`, and `text::Text` [INFO] [stdout] --> src/render/ops.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | mono_font::{ascii::FONT_6X10, MonoTextStyle}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 3 | pixelcolor::Rgb565, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | prelude::*, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | text::Text, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render/mod.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut x = Text::new(text, point, character_style); [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: associated items `encode_binary`, `error_correction_level`, and `mask` are never used [INFO] [stdout] --> src/render/qr_code.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl<'a> QrCode<'a> { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn encode_binary<'b>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | pub fn error_correction_level(&self) -> QrCodeEcc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | pub fn mask(&self) -> Mask { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Low` is never constructed [INFO] [stdout] --> src/render/qr_code.rs:1007:5 [INFO] [stdout] | [INFO] [stdout] 1005 | pub enum QrCodeEcc { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 1006 | /// The QR Code can tolerate about 7% erroneous codewords. [INFO] [stdout] 1007 | Low, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QrCodeEcc` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `make_eci`, `mode`, and `num_chars` are never used [INFO] [stdout] --> src/render/qr_code.rs:1138:12 [INFO] [stdout] | [INFO] [stdout] 1071 | impl<'a> QrSegment<'a> { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 1138 | pub fn make_eci(assignval: u32, buf: &'a mut [u8]) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1168 | pub fn mode(&self) -> QrSegmentMode { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1173 | pub fn num_chars(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Kanji` and `Eci` are never constructed [INFO] [stdout] --> src/render/qr_code.rs:1265:5 [INFO] [stdout] | [INFO] [stdout] 1261 | pub enum QrSegmentMode { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 1265 | Kanji, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1266 | Eci, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QrSegmentMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/render/qr_code.rs:1315:12 [INFO] [stdout] | [INFO] [stdout] 1308 | impl<'a> BitBuffer<'a> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1315 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `MIN` and `MAX` are never used [INFO] [stdout] --> src/render/qr_code.rs:1373:15 [INFO] [stdout] | [INFO] [stdout] 1371 | impl Version { [INFO] [stdout] | ------------ associated constants in this implementation [INFO] [stdout] 1372 | /// The minimum version number supported in the QR Code Model 2 standard. [INFO] [stdout] 1373 | pub const MIN: Version = Version(1); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1376 | pub const MAX: Version = Version(40); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `inverted` and `reset` are never used [INFO] [stdout] --> src/render/qr_code_embedded_graphic.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl<'a> StyledQrCode<'a> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] 91 | pub fn inverted(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn reset(self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | self.flush(); [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] 217 | let _ = self.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ql-raster v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `embedded_graphics::prelude::Dimensions` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use embedded_graphics::prelude::Dimensions; [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: `Commands`, `PrintInfo`, `VariousMode`, `prelude::*`, and `printer::PTouchPrinter` [INFO] [stdout] --> src/main.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | commands::{Commands, PrintInfo, VariousMode}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 5 | prelude::*, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | printer::PTouchPrinter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ql_raster::prelude::display::Display` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use ql_raster::prelude::display::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MonoTextStyle`, `ascii::FONT_6X10`, and `pixelcolor::BinaryColor` [INFO] [stdout] --> src/main.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | mono_font::{ascii::FONT_6X10, MonoTextStyle}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 11 | pixelcolor::BinaryColor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `embedded_graphics::mono_font::iso_8859_13::FONT_10X20` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use embedded_graphics::mono_font::iso_8859_13::FONT_10X20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `embedded_graphics::text::Text` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use embedded_graphics::text::Text; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `commands` [INFO] [stdout] --> src/commands.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{commands, prelude::*, printer::PTouchPrinter, status::MediaKind}; [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: `TryFromPrimitive` [INFO] [stdout] --> src/status.rs:5:46 [INFO] [stdout] | [INFO] [stdout] 5 | use num_enum::{FromPrimitive, IntoPrimitive, TryFromPrimitive}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MonoFont` [INFO] [stdout] --> src/render/mod.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use embedded_graphics::mono_font::{MonoFont, MonoTextStyle}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rectangle` and `StyledDrawable` [INFO] [stdout] --> src/render/mod.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | use embedded_graphics::primitives::{Rectangle, StyledDrawable}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Alignment` and `TextStyleBuilder` [INFO] [stdout] --> src/render/mod.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | use embedded_graphics::text::{Alignment, Text, TextStyleBuilder}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CharacterStyle` and `TextRenderer` [INFO] [stdout] --> src/render/mod.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | use embedded_graphics::text::renderer::{CharacterStyle, TextRenderer}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MonoTextStyle`, `ascii::FONT_6X10`, `pixelcolor::Rgb565`, `prelude::*`, and `text::Text` [INFO] [stdout] --> src/render/ops.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | mono_font::{ascii::FONT_6X10, MonoTextStyle}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 3 | pixelcolor::Rgb565, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | prelude::*, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | text::Text, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render/mod.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut x = Text::new(text, point, character_style); [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: associated items `encode_binary`, `error_correction_level`, and `mask` are never used [INFO] [stdout] --> src/render/qr_code.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl<'a> QrCode<'a> { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn encode_binary<'b>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | pub fn error_correction_level(&self) -> QrCodeEcc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | pub fn mask(&self) -> Mask { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Low` is never constructed [INFO] [stdout] --> src/render/qr_code.rs:1007:5 [INFO] [stdout] | [INFO] [stdout] 1005 | pub enum QrCodeEcc { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 1006 | /// The QR Code can tolerate about 7% erroneous codewords. [INFO] [stdout] 1007 | Low, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QrCodeEcc` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `make_eci`, `mode`, and `num_chars` are never used [INFO] [stdout] --> src/render/qr_code.rs:1138:12 [INFO] [stdout] | [INFO] [stdout] 1071 | impl<'a> QrSegment<'a> { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 1138 | pub fn make_eci(assignval: u32, buf: &'a mut [u8]) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1168 | pub fn mode(&self) -> QrSegmentMode { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1173 | pub fn num_chars(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Kanji` and `Eci` are never constructed [INFO] [stdout] --> src/render/qr_code.rs:1265:5 [INFO] [stdout] | [INFO] [stdout] 1261 | pub enum QrSegmentMode { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 1265 | Kanji, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1266 | Eci, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QrSegmentMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/render/qr_code.rs:1315:12 [INFO] [stdout] | [INFO] [stdout] 1308 | impl<'a> BitBuffer<'a> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1315 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `MIN` and `MAX` are never used [INFO] [stdout] --> src/render/qr_code.rs:1373:15 [INFO] [stdout] | [INFO] [stdout] 1371 | impl Version { [INFO] [stdout] | ------------ associated constants in this implementation [INFO] [stdout] 1372 | /// The minimum version number supported in the QR Code Model 2 standard. [INFO] [stdout] 1373 | pub const MIN: Version = Version(1); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1376 | pub const MAX: Version = Version(40); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `inverted` and `reset` are never used [INFO] [stdout] --> src/render/qr_code_embedded_graphic.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl<'a> StyledQrCode<'a> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] 91 | pub fn inverted(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn reset(self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | self.flush(); [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] 217 | let _ = self.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.16s [INFO] running `Command { std: "docker" "inspect" "2a4608d575ac522982daaf136dbd43a7ebda73155b1a02234b5198c83b6af0c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a4608d575ac522982daaf136dbd43a7ebda73155b1a02234b5198c83b6af0c4", kill_on_drop: false }` [INFO] [stdout] 2a4608d575ac522982daaf136dbd43a7ebda73155b1a02234b5198c83b6af0c4