[INFO] cloning repository https://github.com/loovjo/qr-mogus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/loovjo/qr-mogus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floovjo%2Fqr-mogus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floovjo%2Fqr-mogus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b50d4ee4f7391712db532f1b75552f7496ef0fda [INFO] checking loovjo/qr-mogus against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floovjo%2Fqr-mogus" "/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/loovjo/qr-mogus on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/loovjo/qr-mogus [INFO] finished tweaking git repo https://github.com/loovjo/qr-mogus [INFO] tweaked toml for git repo https://github.com/loovjo/qr-mogus written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/loovjo/qr-mogus 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9bd5c7f3ee230c735df82fc44f017616c381c6813691b78f48022286296f18b [INFO] running `Command { std: "docker" "start" "-a" "e9bd5c7f3ee230c735df82fc44f017616c381c6813691b78f48022286296f18b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9bd5c7f3ee230c735df82fc44f017616c381c6813691b78f48022286296f18b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9bd5c7f3ee230c735df82fc44f017616c381c6813691b78f48022286296f18b", kill_on_drop: false }` [INFO] [stdout] e9bd5c7f3ee230c735df82fc44f017616c381c6813691b78f48022286296f18b [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1834b8748c13e0a0cb1823225af21adaebc9731ea7984a46d7bcb5baeb1318b7 [INFO] running `Command { std: "docker" "start" "-a" "1834b8748c13e0a0cb1823225af21adaebc9731ea7984a46d7bcb5baeb1318b7", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling rayon-core v1.9.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking gif v0.11.3 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rayon v1.5.2 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling newtype_derive v0.1.6 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking checked_int_cast v1.0.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking bardecoder v0.3.0 (/opt/rustwide/workdir/bardecoder-patch) [INFO] [stderr] Checking qrcode v0.12.0 (/opt/rustwide/workdir/qrcode-rust) [INFO] [stdout] warning: use of deprecated method `image::DynamicImage::to_luma`: replaced by `to_luma8` [INFO] [stdout] --> bardecoder-patch/src/prepare/blockedmean.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | let grayscale = input.to_luma(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> bardecoder-patch/src/prepare/blockedmean.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | let mut stats = &mut blocks[to_index(coords, block_width)]; [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] --> bardecoder-patch/src/prepare/blockedmean.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | for mut stat in &mut blocks { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `correct` is never used [INFO] [stdout] --> bardecoder-patch/src/decode/qr/correct.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn correct(block: Vec, block_info: &BlockInfo) -> Result, QRError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> bardecoder-patch/src/decode/qr/decoder.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn decode_with_error_count(&self, data: Result) -> Result<(String, u32), QRError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> bardecoder-patch/src/lib.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking qrmogus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Decode` [INFO] [stdout] --> src/qr.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use bardecoder::decode::{Decode, QRDecoder}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Decode` [INFO] [stdout] --> src/qr.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use bardecoder::decode::{Decode, QRDecoder}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `optimize::Parser` [INFO] [stdout] --> src/main.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use qrcode::{cast::As, optimize::Parser, Color}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `optimize::Parser` [INFO] [stdout] --> src/main.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use qrcode::{cast::As, optimize::Parser, Color}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/qr.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | for x in 0..self.side+2 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/qr.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | for x in 0..self.side+2 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/qr.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | for x in 0..self.side+2 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/qr.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | for x in 0..self.side+2 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hl_diff` is never used [INFO] [stdout] --> src/main.rs:157:4 [INFO] [stdout] | [INFO] [stdout] 157 | fn hl_diff(qa: &QR, qb: &QR) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version` and `functional` are never read [INFO] [stdout] --> src/qr.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct QR { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub version: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | [INFO] [stdout] 13 | functional: Rc>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QR` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hl_diff` is never used [INFO] [stdout] --> src/main.rs:157:4 [INFO] [stdout] | [INFO] [stdout] 157 | fn hl_diff(qa: &QR, qb: &QR) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `make`, `is_functional`, `get_at`, and `decode` are never used [INFO] [stdout] --> src/qr.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl QR { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn make(data: &[u8], version: u32) -> QR { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn is_functional(&self, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn get_at(&self, x: usize, y: usize) -> u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn decode(&self) -> Result<(String, u32), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version` and `functional` are never read [INFO] [stdout] --> src/qr.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct QR { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub version: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | [INFO] [stdout] 13 | functional: Rc>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QR` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `make`, `is_functional`, `get_at`, and `decode` are never used [INFO] [stdout] --> src/qr.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl QR { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn make(data: &[u8], version: u32) -> QR { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn is_functional(&self, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn get_at(&self, x: usize, y: usize) -> u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn decode(&self) -> Result<(String, u32), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.15s [INFO] running `Command { std: "docker" "inspect" "1834b8748c13e0a0cb1823225af21adaebc9731ea7984a46d7bcb5baeb1318b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1834b8748c13e0a0cb1823225af21adaebc9731ea7984a46d7bcb5baeb1318b7", kill_on_drop: false }` [INFO] [stdout] 1834b8748c13e0a0cb1823225af21adaebc9731ea7984a46d7bcb5baeb1318b7