[INFO] cloning repository https://github.com/rmoalic/rust-image [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rmoalic/rust-image" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frmoalic%2Frust-image", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frmoalic%2Frust-image'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f3ed34c82e89a11e7c5f98f5014804df489b753a [INFO] checking rmoalic/rust-image against master#ba412a6e70ac84641be7764d088acabd0eb3fa39 for pr-145457 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frmoalic%2Frust-image" "/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/rmoalic/rust-image [INFO] finished tweaking git repo https://github.com/rmoalic/rust-image [INFO] tweaked toml for git repo https://github.com/rmoalic/rust-image written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rmoalic/rust-image on toolchain ba412a6e70ac84641be7764d088acabd0eb3fa39 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rmoalic/rust-image 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" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 873ef6312511b55e8196289ad77de3cfc5c0830515657d1a6f9f4e41f8d9b368 [INFO] running `Command { std: "docker" "start" "-a" "873ef6312511b55e8196289ad77de3cfc5c0830515657d1a6f9f4e41f8d9b368", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "873ef6312511b55e8196289ad77de3cfc5c0830515657d1a6f9f4e41f8d9b368", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "873ef6312511b55e8196289ad77de3cfc5c0830515657d1a6f9f4e41f8d9b368", kill_on_drop: false }` [INFO] [stdout] 873ef6312511b55e8196289ad77de3cfc5c0830515657d1a6f9f4e41f8d9b368 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebcf9ba3fa890bf595187328e887dcd72b00267d8ba1a1a1795c8e04ba502743 [INFO] running `Command { std: "docker" "start" "-a" "ebcf9ba3fa890bf595187328e887dcd72b00267d8ba1a1a1795c8e04ba502743", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking polms_image v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | IO(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImageError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 - IO(std::io::Error), [INFO] [stdout] 32 + IO(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | Decoding(DecodingError), [INFO] [stdout] | -------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImageError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 - Decoding(DecodingError), [INFO] [stdout] 33 + Decoding(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | Compression(TINFLStatus), [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImageError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 - Compression(TINFLStatus), [INFO] [stdout] 34 + Compression(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RGBA` and `G` are never constructed [INFO] [stdout] --> src/image.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum GenericImageColors { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 6 | RGB, [INFO] [stdout] 7 | RGBA, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | G [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `colors` is never read [INFO] [stdout] --> src/image.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GenericImage { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub colors: GenericImageColors, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_rgba` and `to_g` are never used [INFO] [stdout] --> src/image.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait GenericImageTo { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 19 | fn to_rgb(&self) -> Result; [INFO] [stdout] 20 | fn to_rgba(&self) -> Result; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | fn to_g(&self) -> Result; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bit_depth`, `compression_method`, `filter_method`, and `interlace_method` are never read [INFO] [stdout] --> src/codecs/png/png.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct IHDR { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | bit_depth: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 39 | color_type: ColorType, [INFO] [stdout] 40 | compression_method: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | filter_method: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 42 | interlace_method: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IHDR` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOD_ADLER32` is never used [INFO] [stdout] --> src/hashs/adler32.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const MOD_ADLER32: u32 = 65521; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Adler32` is never constructed [INFO] [stdout] --> src/hashs/adler32.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Adler32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update`, and `finalise` are never used [INFO] [stdout] --> src/hashs/adler32.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Adler32 { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 11 | fn new() -> Adler32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn update(&mut self, data: &[u8]) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn finalise(&mut self) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `posl_substr_overlap` is never used [INFO] [stdout] --> src/compress/lz77.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn posl_substr_overlap(d: &[u8], w: &[u8]) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compress` is never used [INFO] [stdout] --> src/compress/lz77.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn compress(data: &[u8], window_size: usize) -> Vec<(usize, usize, u8)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decompress` is never used [INFO] [stdout] --> src/compress/lz77.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn decompress(compressed_data: Vec<(usize, usize, u8)>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codecs/png/png.rs:408:27 [INFO] [stdout] | [INFO] [stdout] 408 | fn parse_text(text_chunk: Chunk) -> Result<&str, ImageError> { [INFO] [stdout] | ^^^^^ ---- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden 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] 408 | fn parse_text(text_chunk: Chunk<'_>) -> Result<&str, ImageError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codecs/png/png.rs:417:27 [INFO] [stdout] | [INFO] [stdout] 417 | fn parse_ztxt(text_chunk: Chunk) -> Result<(&str, String), ImageError> { [INFO] [stdout] | ^^^^^ ---- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden 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] 417 | fn parse_ztxt(text_chunk: Chunk<'_>) -> Result<(&str, String), ImageError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codecs/png/png.rs:508:23 [INFO] [stdout] | [INFO] [stdout] 508 | fn parse_chunk(chunk: &[u8]) -> Result<(&[u8], Chunk), ImageError> { [INFO] [stdout] | ^^^^^ ----- ----- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 508 | fn parse_chunk(chunk: &[u8]) -> Result<(&[u8], Chunk<'_>), ImageError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | IO(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImageError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 - IO(std::io::Error), [INFO] [stdout] 32 + IO(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | Decoding(DecodingError), [INFO] [stdout] | -------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImageError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 - Decoding(DecodingError), [INFO] [stdout] 33 + Decoding(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | Compression(TINFLStatus), [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImageError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 - Compression(TINFLStatus), [INFO] [stdout] 34 + Compression(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RGBA` and `G` are never constructed [INFO] [stdout] --> src/image.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum GenericImageColors { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 6 | RGB, [INFO] [stdout] 7 | RGBA, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | G [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `colors` is never read [INFO] [stdout] --> src/image.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GenericImage { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub colors: GenericImageColors, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_rgba` and `to_g` are never used [INFO] [stdout] --> src/image.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait GenericImageTo { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 19 | fn to_rgb(&self) -> Result; [INFO] [stdout] 20 | fn to_rgba(&self) -> Result; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | fn to_g(&self) -> Result; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bit_depth`, `compression_method`, `filter_method`, and `interlace_method` are never read [INFO] [stdout] --> src/codecs/png/png.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct IHDR { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | bit_depth: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 39 | color_type: ColorType, [INFO] [stdout] 40 | compression_method: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | filter_method: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 42 | interlace_method: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IHDR` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codecs/png/png.rs:408:27 [INFO] [stdout] | [INFO] [stdout] 408 | fn parse_text(text_chunk: Chunk) -> Result<&str, ImageError> { [INFO] [stdout] | ^^^^^ ---- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden 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] 408 | fn parse_text(text_chunk: Chunk<'_>) -> Result<&str, ImageError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codecs/png/png.rs:417:27 [INFO] [stdout] | [INFO] [stdout] 417 | fn parse_ztxt(text_chunk: Chunk) -> Result<(&str, String), ImageError> { [INFO] [stdout] | ^^^^^ ---- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden 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] 417 | fn parse_ztxt(text_chunk: Chunk<'_>) -> Result<(&str, String), ImageError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codecs/png/png.rs:508:23 [INFO] [stdout] | [INFO] [stdout] 508 | fn parse_chunk(chunk: &[u8]) -> Result<(&[u8], Chunk), ImageError> { [INFO] [stdout] | ^^^^^ ----- ----- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 508 | fn parse_chunk(chunk: &[u8]) -> Result<(&[u8], Chunk<'_>), ImageError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.42s [INFO] running `Command { std: "docker" "inspect" "ebcf9ba3fa890bf595187328e887dcd72b00267d8ba1a1a1795c8e04ba502743", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebcf9ba3fa890bf595187328e887dcd72b00267d8ba1a1a1795c8e04ba502743", kill_on_drop: false }` [INFO] [stdout] ebcf9ba3fa890bf595187328e887dcd72b00267d8ba1a1a1795c8e04ba502743