[INFO] fetching crate devpng 0.1.2... [INFO] testing devpng-0.1.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate devpng 0.1.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate devpng 0.1.2 [INFO] finished tweaking crates.io crate devpng 0.1.2 [INFO] tweaked toml for crates.io crate devpng 0.1.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate devpng 0.1.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5359d1f0454dbcb51d24c4aa59cd7e8d51196d9e0deb4631efac24ca1a748380 [INFO] running `Command { std: "docker" "start" "-a" "5359d1f0454dbcb51d24c4aa59cd7e8d51196d9e0deb4631efac24ca1a748380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5359d1f0454dbcb51d24c4aa59cd7e8d51196d9e0deb4631efac24ca1a748380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5359d1f0454dbcb51d24c4aa59cd7e8d51196d9e0deb4631efac24ca1a748380", kill_on_drop: false }` [INFO] [stdout] 5359d1f0454dbcb51d24c4aa59cd7e8d51196d9e0deb4631efac24ca1a748380 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dcac8cdc0bcc072b489fd931b4cb9b36a297ec00b6153c3dc4a5c9a3fadb00c1 [INFO] running `Command { std: "docker" "start" "-a" "dcac8cdc0bcc072b489fd931b4cb9b36a297ec00b6153c3dc4a5c9a3fadb00c1", kill_on_drop: false }` [INFO] [stderr] Compiling devker v0.1.6 [INFO] [stderr] Compiling devpng v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/chunk/bkgd.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct BkgdMut<'a>(&'a mut [u8], ColourType); [INFO] [stdout] | ------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/chunk/sbit.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SbitMut<'a>(&'a mut [u8], ColourType); [INFO] [stdout] | ------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/chunk/trns.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TrnsMut<'a>(&'a mut [u8], ColourType); [INFO] [stdout] | ------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn image(&mut self) -> Image { [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: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 88 | pub fn image(&mut self) -> Image<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn filter(&mut self) -> Image { [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] 98 | pub fn filter(&mut self) -> Image<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn chunks(&self, chunk_size: usize) -> std::slice::Chunks { [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] 89 | pub fn chunks(&self, chunk_size: usize) -> std::slice::Chunks<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn chunks_mut(&mut self, chunk_size: usize) -> std::slice::ChunksMut { [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] 92 | pub fn chunks_mut(&mut self, chunk_size: usize) -> std::slice::ChunksMut<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn chunks_exact(&self, chunk_size: usize) -> std::slice::ChunksExact { [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] 95 | pub fn chunks_exact(&self, chunk_size: usize) -> std::slice::ChunksExact<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn chunks_exact_mut(&mut self, chunk_size: usize) -> std::slice::ChunksExactMut { [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] 98 | pub fn chunks_exact_mut(&mut self, chunk_size: usize) -> std::slice::ChunksExactMut<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn rchunks(&self, chunk_size: usize) -> std::slice::RChunks { [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 rchunks(&self, chunk_size: usize) -> std::slice::RChunks<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image.rs:104:24 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn rchunks_mut(&mut self, chunk_size: usize) -> std::slice::RChunksMut { [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] 104 | pub fn rchunks_mut(&mut self, chunk_size: usize) -> std::slice::RChunksMut<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image.rs:107:26 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn rchunks_exact(&self, chunk_size: usize) -> std::slice::RChunksExact { [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] 107 | pub fn rchunks_exact(&self, chunk_size: usize) -> std::slice::RChunksExact<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image.rs:110:30 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn rchunks_exact_mut(&mut self, chunk_size: usize) -> std::slice::RChunksExactMut { [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] 110 | pub fn rchunks_exact_mut(&mut self, chunk_size: usize) -> std::slice::RChunksExactMut<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn rows(&self) -> std::slice::Chunks { [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] 113 | pub fn rows(&self) -> std::slice::Chunks<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn rows_mut(&mut self) -> std::slice::ChunksMut { [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] 116 | pub fn rows_mut(&mut self) -> std::slice::ChunksMut<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn windows(&self, size: usize) -> std::slice::Windows { [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] 119 | pub fn windows(&self, size: usize) -> std::slice::Windows<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/png.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn image(&mut self) -> Image { [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] 39 | pub fn image(&mut self) -> Image<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/png.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn filter(&mut self) -> Image { [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] 42 | pub fn filter(&mut self) -> Image<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.31s [INFO] running `Command { std: "docker" "inspect" "dcac8cdc0bcc072b489fd931b4cb9b36a297ec00b6153c3dc4a5c9a3fadb00c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcac8cdc0bcc072b489fd931b4cb9b36a297ec00b6153c3dc4a5c9a3fadb00c1", kill_on_drop: false }` [INFO] [stdout] dcac8cdc0bcc072b489fd931b4cb9b36a297ec00b6153c3dc4a5c9a3fadb00c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18a0956d940002ac0bdcbb2b3f6c3a51b060a12c76bb04c707659b4328d2f9e8 [INFO] running `Command { std: "docker" "start" "-a" "18a0956d940002ac0bdcbb2b3f6c3a51b060a12c76bb04c707659b4328d2f9e8", kill_on_drop: false }` [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/chunk/bkgd.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct BkgdMut<'a>(&'a mut [u8], ColourType); [INFO] [stdout] | ------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/chunk/sbit.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SbitMut<'a>(&'a mut [u8], ColourType); [INFO] [stdout] | ------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/chunk/trns.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TrnsMut<'a>(&'a mut [u8], ColourType); [INFO] [stdout] | ------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn image(&mut self) -> Image { [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: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 88 | pub fn image(&mut self) -> Image<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn filter(&mut self) -> Image { [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] 98 | pub fn filter(&mut self) -> Image<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn chunks(&self, chunk_size: usize) -> std::slice::Chunks { [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] 89 | pub fn chunks(&self, chunk_size: usize) -> std::slice::Chunks<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn chunks_mut(&mut self, chunk_size: usize) -> std::slice::ChunksMut { [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] 92 | pub fn chunks_mut(&mut self, chunk_size: usize) -> std::slice::ChunksMut<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn chunks_exact(&self, chunk_size: usize) -> std::slice::ChunksExact { [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] 95 | pub fn chunks_exact(&self, chunk_size: usize) -> std::slice::ChunksExact<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn chunks_exact_mut(&mut self, chunk_size: usize) -> std::slice::ChunksExactMut { [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] 98 | pub fn chunks_exact_mut(&mut self, chunk_size: usize) -> std::slice::ChunksExactMut<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn rchunks(&self, chunk_size: usize) -> std::slice::RChunks { [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 rchunks(&self, chunk_size: usize) -> std::slice::RChunks<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image.rs:104:24 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn rchunks_mut(&mut self, chunk_size: usize) -> std::slice::RChunksMut { [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] 104 | pub fn rchunks_mut(&mut self, chunk_size: usize) -> std::slice::RChunksMut<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image.rs:107:26 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn rchunks_exact(&self, chunk_size: usize) -> std::slice::RChunksExact { [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] 107 | pub fn rchunks_exact(&self, chunk_size: usize) -> std::slice::RChunksExact<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image.rs:110:30 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn rchunks_exact_mut(&mut self, chunk_size: usize) -> std::slice::RChunksExactMut { [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] 110 | pub fn rchunks_exact_mut(&mut self, chunk_size: usize) -> std::slice::RChunksExactMut<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn rows(&self) -> std::slice::Chunks { [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] 113 | pub fn rows(&self) -> std::slice::Chunks<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn rows_mut(&mut self) -> std::slice::ChunksMut { [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] 116 | pub fn rows_mut(&mut self) -> std::slice::ChunksMut<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn windows(&self, size: usize) -> std::slice::Windows { [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] 119 | pub fn windows(&self, size: usize) -> std::slice::Windows<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/png.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn image(&mut self) -> Image { [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] 39 | pub fn image(&mut self) -> Image<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/png.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn filter(&mut self) -> Image { [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] 42 | pub fn filter(&mut self) -> Image<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling devpng v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/chunk/bkgd.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct BkgdMut<'a>(&'a mut [u8], ColourType); [INFO] [stdout] | ------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/chunk/sbit.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SbitMut<'a>(&'a mut [u8], ColourType); [INFO] [stdout] | ------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/chunk/trns.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TrnsMut<'a>(&'a mut [u8], ColourType); [INFO] [stdout] | ------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn image(&mut self) -> Image { [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: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 88 | pub fn image(&mut self) -> Image<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cache.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn filter(&mut self) -> Image { [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] 98 | pub fn filter(&mut self) -> Image<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn chunks(&self, chunk_size: usize) -> std::slice::Chunks { [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] 89 | pub fn chunks(&self, chunk_size: usize) -> std::slice::Chunks<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn chunks_mut(&mut self, chunk_size: usize) -> std::slice::ChunksMut { [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] 92 | pub fn chunks_mut(&mut self, chunk_size: usize) -> std::slice::ChunksMut<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn chunks_exact(&self, chunk_size: usize) -> std::slice::ChunksExact { [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] 95 | pub fn chunks_exact(&self, chunk_size: usize) -> std::slice::ChunksExact<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn chunks_exact_mut(&mut self, chunk_size: usize) -> std::slice::ChunksExactMut { [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] 98 | pub fn chunks_exact_mut(&mut self, chunk_size: usize) -> std::slice::ChunksExactMut<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn rchunks(&self, chunk_size: usize) -> std::slice::RChunks { [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 rchunks(&self, chunk_size: usize) -> std::slice::RChunks<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image.rs:104:24 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn rchunks_mut(&mut self, chunk_size: usize) -> std::slice::RChunksMut { [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] 104 | pub fn rchunks_mut(&mut self, chunk_size: usize) -> std::slice::RChunksMut<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image.rs:107:26 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn rchunks_exact(&self, chunk_size: usize) -> std::slice::RChunksExact { [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] 107 | pub fn rchunks_exact(&self, chunk_size: usize) -> std::slice::RChunksExact<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image.rs:110:30 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn rchunks_exact_mut(&mut self, chunk_size: usize) -> std::slice::RChunksExactMut { [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] 110 | pub fn rchunks_exact_mut(&mut self, chunk_size: usize) -> std::slice::RChunksExactMut<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn rows(&self) -> std::slice::Chunks { [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] 113 | pub fn rows(&self) -> std::slice::Chunks<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn rows_mut(&mut self) -> std::slice::ChunksMut { [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] 116 | pub fn rows_mut(&mut self) -> std::slice::ChunksMut<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/image.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn windows(&self, size: usize) -> std::slice::Windows { [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] 119 | pub fn windows(&self, size: usize) -> std::slice::Windows<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/png.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn image(&mut self) -> Image { [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] 39 | pub fn image(&mut self) -> Image<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/png.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn filter(&mut self) -> Image { [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] 42 | pub fn filter(&mut self) -> Image<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.69s [INFO] running `Command { std: "docker" "inspect" "18a0956d940002ac0bdcbb2b3f6c3a51b060a12c76bb04c707659b4328d2f9e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18a0956d940002ac0bdcbb2b3f6c3a51b060a12c76bb04c707659b4328d2f9e8", kill_on_drop: false }` [INFO] [stdout] 18a0956d940002ac0bdcbb2b3f6c3a51b060a12c76bb04c707659b4328d2f9e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8bb38c48ead3a1de094a278a20e591b9c20fbe2842fa4869bf3f4a2b2a16d662 [INFO] running `Command { std: "docker" "start" "-a" "8bb38c48ead3a1de094a278a20e591b9c20fbe2842fa4869bf3f4a2b2a16d662", kill_on_drop: false }` [INFO] [stderr] warning: field `1` is never read [INFO] [stderr] --> src/chunk/bkgd.rs:6:38 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct BkgdMut<'a>(&'a mut [u8], ColourType); [INFO] [stderr] | ------- ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `1` is never read [INFO] [stderr] --> src/chunk/sbit.rs:6:38 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct SbitMut<'a>(&'a mut [u8], ColourType); [INFO] [stderr] | ------- ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: field `1` is never read [INFO] [stderr] --> src/chunk/trns.rs:6:38 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct TrnsMut<'a>(&'a mut [u8], ColourType); [INFO] [stderr] | ------- ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/cache.rs:88:18 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn image(&mut self) -> Image { [INFO] [stderr] | ^^^^^^^^^ ----- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 88 | pub fn image(&mut self) -> Image<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/cache.rs:98:19 [INFO] [stderr] | [INFO] [stderr] 98 | pub fn filter(&mut self) -> Image { [INFO] [stderr] | ^^^^^^^^^ ----- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 98 | pub fn filter(&mut self) -> Image<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/image.rs:89:19 [INFO] [stderr] | [INFO] [stderr] 89 | pub fn chunks(&self, chunk_size: usize) -> std::slice::Chunks { [INFO] [stderr] | ^^^^^ ---------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 89 | pub fn chunks(&self, chunk_size: usize) -> std::slice::Chunks<'_, u8> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/image.rs:92:23 [INFO] [stderr] | [INFO] [stderr] 92 | pub fn chunks_mut(&mut self, chunk_size: usize) -> std::slice::ChunksMut { [INFO] [stderr] | ^^^^^^^^^ ------------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 92 | pub fn chunks_mut(&mut self, chunk_size: usize) -> std::slice::ChunksMut<'_, u8> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/image.rs:95:25 [INFO] [stderr] | [INFO] [stderr] 95 | pub fn chunks_exact(&self, chunk_size: usize) -> std::slice::ChunksExact { [INFO] [stderr] | ^^^^^ --------------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 95 | pub fn chunks_exact(&self, chunk_size: usize) -> std::slice::ChunksExact<'_, u8> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/image.rs:98:29 [INFO] [stderr] | [INFO] [stderr] 98 | pub fn chunks_exact_mut(&mut self, chunk_size: usize) -> std::slice::ChunksExactMut { [INFO] [stderr] | ^^^^^^^^^ ------------------------------ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 98 | pub fn chunks_exact_mut(&mut self, chunk_size: usize) -> std::slice::ChunksExactMut<'_, u8> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/image.rs:101:20 [INFO] [stderr] | [INFO] [stderr] 101 | pub fn rchunks(&self, chunk_size: usize) -> std::slice::RChunks { [INFO] [stderr] | ^^^^^ ----------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 101 | pub fn rchunks(&self, chunk_size: usize) -> std::slice::RChunks<'_, u8> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/image.rs:104:24 [INFO] [stderr] | [INFO] [stderr] 104 | pub fn rchunks_mut(&mut self, chunk_size: usize) -> std::slice::RChunksMut { [INFO] [stderr] | ^^^^^^^^^ -------------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 104 | pub fn rchunks_mut(&mut self, chunk_size: usize) -> std::slice::RChunksMut<'_, u8> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/image.rs:107:26 [INFO] [stderr] | [INFO] [stderr] 107 | pub fn rchunks_exact(&self, chunk_size: usize) -> std::slice::RChunksExact { [INFO] [stderr] | ^^^^^ ---------------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 107 | pub fn rchunks_exact(&self, chunk_size: usize) -> std::slice::RChunksExact<'_, u8> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/image.rs:110:30 [INFO] [stderr] | [INFO] [stderr] 110 | pub fn rchunks_exact_mut(&mut self, chunk_size: usize) -> std::slice::RChunksExactMut { [INFO] [stderr] | ^^^^^^^^^ ------------------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 110 | pub fn rchunks_exact_mut(&mut self, chunk_size: usize) -> std::slice::RChunksExactMut<'_, u8> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/image.rs:113:17 [INFO] [stderr] | [INFO] [stderr] 113 | pub fn rows(&self) -> std::slice::Chunks { [INFO] [stderr] | ^^^^^ ---------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 113 | pub fn rows(&self) -> std::slice::Chunks<'_, u8> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/image.rs:116:21 [INFO] [stderr] | [INFO] [stderr] 116 | pub fn rows_mut(&mut self) -> std::slice::ChunksMut { [INFO] [stderr] | ^^^^^^^^^ ------------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 116 | pub fn rows_mut(&mut self) -> std::slice::ChunksMut<'_, u8> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/image.rs:119:20 [INFO] [stderr] | [INFO] [stderr] 119 | pub fn windows(&self, size: usize) -> std::slice::Windows { [INFO] [stderr] | ^^^^^ ----------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 119 | pub fn windows(&self, size: usize) -> std::slice::Windows<'_, u8> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/png.rs:39:18 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn image(&mut self) -> Image { [INFO] [stderr] | ^^^^^^^^^ ----- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 39 | pub fn image(&mut self) -> Image<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/png.rs:42:19 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn filter(&mut self) -> Image { [INFO] [stderr] | ^^^^^^^^^ ----- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 42 | pub fn filter(&mut self) -> Image<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `devpng` (lib) generated 18 warnings (run `cargo fix --lib -p devpng` to apply 15 suggestions) [INFO] [stderr] warning: `devpng` (lib test) generated 18 warnings (18 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/devpng-259611b943160d8a) [INFO] [stderr] Doc-tests devpng [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 57) ... FAILED [INFO] [stdout] test src/lib.rs - (line 4) ... FAILED [INFO] [stdout] test src/lib.rs - (line 28) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 57) stdout ---- [INFO] [stdout] error[E0596]: cannot borrow `img` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/lib.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 17 | for x in img.iter_mut() { [INFO] [stdout] | ^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 14 | let mut img = cache.image(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 4) stdout ---- [INFO] [stdout] error[E0596]: cannot borrow `img` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/lib.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 16 | for x in img.iter_mut() { [INFO] [stdout] | ^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 13 | let mut img = png.image(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 28) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: "Read-only file system (os error 30)" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 28) [INFO] [stdout] src/lib.rs - (line 4) [INFO] [stdout] src/lib.rs - (line 57) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.40s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "8bb38c48ead3a1de094a278a20e591b9c20fbe2842fa4869bf3f4a2b2a16d662", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bb38c48ead3a1de094a278a20e591b9c20fbe2842fa4869bf3f4a2b2a16d662", kill_on_drop: false }` [INFO] [stdout] 8bb38c48ead3a1de094a278a20e591b9c20fbe2842fa4869bf3f4a2b2a16d662