[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] testing loovjo/qr-mogus against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floovjo%2Fqr-mogus" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[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-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/loovjo/qr-mogus on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded weezl v0.1.5
[INFO] [stderr]   Downloaded crossbeam-deque v0.8.1
[INFO] [stderr]   Downloaded rustc_version v0.1.7
[INFO] [stderr]   Downloaded crossbeam-epoch v0.9.8
[INFO] [stderr]   Downloaded semver v0.1.20
[INFO] [stderr]   Downloaded gif v0.11.3
[INFO] [stderr]   Downloaded newtype_derive v0.1.6
[INFO] [stderr]   Downloaded rayon v1.5.2
[INFO] [stderr]   Downloaded object v0.27.1
[INFO] [stderr]   Downloaded backtrace v0.3.64
[INFO] [stderr]   Downloaded num-iter v0.1.42
[INFO] [stderr]   Downloaded rayon-core v1.9.2
[INFO] [stderr]   Downloaded libc v0.2.123
[INFO] [stderr]   Downloaded gimli v0.26.1
[INFO] [stderr]   Downloaded checked_int_cast v1.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0fb9f398a7ba2922ff8c4e5a2308173001d089d00c5cc26beffb7f79007f009a
[INFO] running `Command { std: "docker" "start" "-a" "0fb9f398a7ba2922ff8c4e5a2308173001d089d00c5cc26beffb7f79007f009a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0fb9f398a7ba2922ff8c4e5a2308173001d089d00c5cc26beffb7f79007f009a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0fb9f398a7ba2922ff8c4e5a2308173001d089d00c5cc26beffb7f79007f009a", kill_on_drop: false }`
[INFO] [stdout] 0fb9f398a7ba2922ff8c4e5a2308173001d089d00c5cc26beffb7f79007f009a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 55a15a746220f95ee576f826ed6295a24c7e41f860d91aecd1c3a86cf99e3264
[INFO] running `Command { std: "docker" "start" "-a" "55a15a746220f95ee576f826ed6295a24c7e41f860d91aecd1c3a86cf99e3264", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling libc v0.2.123
[INFO] [stderr]    Compiling crossbeam-utils v0.8.8
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling rayon-core v1.9.2
[INFO] [stderr]    Compiling proc-macro2 v1.0.37
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.91
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.8
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling rayon v1.5.2
[INFO] [stderr]    Compiling crossbeam-channel v0.5.4
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling crossbeam-deque v0.8.1
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]    Compiling weezl v0.1.5
[INFO] [stderr]    Compiling semver v0.1.20
[INFO] [stderr]    Compiling deflate v0.8.6
[INFO] [stderr]    Compiling rustc_version v0.1.7
[INFO] [stderr]    Compiling miniz_oxide v0.3.7
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling backtrace v0.3.64
[INFO] [stderr]    Compiling gimli v0.26.1
[INFO] [stderr]    Compiling gif v0.11.3
[INFO] [stderr]    Compiling object v0.27.1
[INFO] [stderr]    Compiling png v0.16.8
[INFO] [stderr]    Compiling newtype_derive v0.1.6
[INFO] [stderr]    Compiling getrandom v0.2.6
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling rustc-demangle v0.1.21
[INFO] [stderr]    Compiling bytemuck v1.9.1
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling checked_int_cast v1.0.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling jpeg-decoder v0.1.22
[INFO] [stderr]    Compiling addr2line v0.17.0
[INFO] [stderr]    Compiling tiff v0.6.1
[INFO] [stderr]    Compiling image v0.23.14
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling qrcode v0.12.0 (/opt/rustwide/workdir/qrcode-rust)
[INFO] [stderr]    Compiling bardecoder v0.3.0 (/opt/rustwide/workdir/bardecoder-patch)
[INFO] [stdout] error: unnecessary parentheses around closure body
[INFO] [stdout]   --> qrcode-rust/src/render/unicode.rs:66:70
[INFO] [stdout]    |
[INFO] [stdout] 66 |                         rows[0].iter().zip(rows[1]).map(|(top, bot)| (top * 2 + bot)).collect::<Vec<u8>>()
[INFO] [stdout]    |                                                                      ^             ^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> qrcode-rust/src/lib.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 | #![deny(warnings, clippy::pedantic)]
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    = note: `#[deny(unused_parens)]` implied by `#[deny(warnings)]`
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 66 -                         rows[0].iter().zip(rows[1]).map(|(top, bot)| (top * 2 + bot)).collect::<Vec<u8>>()
[INFO] [stdout] 66 +                         rows[0].iter().zip(rows[1]).map(|(top, bot)| top * 2 + bot).collect::<Vec<u8>>()
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unnecessary parentheses around closure body
[INFO] [stdout]   --> qrcode-rust/src/render/unicode.rs:68:50
[INFO] [stdout]    |
[INFO] [stdout] 68 |                         rows[0].iter().map(|top| (top * 2)).collect::<Vec<u8>>()
[INFO] [stdout]    |                                                  ^       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 68 -                         rows[0].iter().map(|top| (top * 2)).collect::<Vec<u8>>()
[INFO] [stdout] 68 +                         rows[0].iter().map(|top| top * 2).collect::<Vec<u8>>()
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[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)]` (part of `#[warn(unused)]`) 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<u8>, block_info: &BlockInfo) -> Result<Vec<u8>, QRError> {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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<QRData, QRError>) -> 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> bardecoder-patch/src/util/qr.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Fail, Debug, Clone, PartialEq)]
[INFO] [stdout]    |          ^---
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Fail` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_QRError`
[INFO] [stdout] 11 | #[fail(display = "Error decoding QR Code: {}", msg)]
[INFO] [stdout] 12 | pub struct QRError {
[INFO] [stdout]    |            ------- `QRError` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> bardecoder-patch/src/util/qr.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Fail, Debug, Clone, PartialEq)]
[INFO] [stdout]    |          ^---
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Display` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_QRError`
[INFO] [stdout] 11 | #[fail(display = "Error decoding QR Code: {}", msg)]
[INFO] [stdout] 12 | pub struct QRError {
[INFO] [stdout]    |            ------- `QRError` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> qrcode-rust/src/lib.rs:246:29
[INFO] [stdout]     |
[INFO] [stdout] 246 |     pub fn render<P: Pixel>(&self) -> Renderer<P> {
[INFO] [stdout]     |                             ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]`
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 246 |     pub fn render<P: Pixel>(&self) -> Renderer<'_, P> {
[INFO] [stdout]     |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> qrcode-rust/src/optimize.rs:101:22
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub fn new(data: &[u8]) -> Parser {
[INFO] [stdout]     |                      ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub fn new(data: &[u8]) -> Parser<'_> {
[INFO] [stdout]     |                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `qrcode` (lib) due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "55a15a746220f95ee576f826ed6295a24c7e41f860d91aecd1c3a86cf99e3264", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "55a15a746220f95ee576f826ed6295a24c7e41f860d91aecd1c3a86cf99e3264", kill_on_drop: false }`
[INFO] [stdout] 55a15a746220f95ee576f826ed6295a24c7e41f860d91aecd1c3a86cf99e3264
