[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] testing rmoalic/rust-image against beta-2025-01-12 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frmoalic%2Frust-image" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rmoalic/rust-image on toolchain beta-2025-01-12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc2/source/Cargo.toml [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" "+beta-2025-01-12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aefc2656ae771a887539cb72d419fec81689246ab227680c7c691feb75fc10ff [INFO] running `Command { std: "docker" "start" "-a" "aefc2656ae771a887539cb72d419fec81689246ab227680c7c691feb75fc10ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aefc2656ae771a887539cb72d419fec81689246ab227680c7c691feb75fc10ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aefc2656ae771a887539cb72d419fec81689246ab227680c7c691feb75fc10ff", kill_on_drop: false }` [INFO] [stdout] aefc2656ae771a887539cb72d419fec81689246ab227680c7c691feb75fc10ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6d34be801f649c3182113b06d0b8873fa95d29cf42e5c6b3db602fcceb92b99 [INFO] running `Command { std: "docker" "start" "-a" "a6d34be801f649c3182113b06d0b8873fa95d29cf42e5c6b3db602fcceb92b99", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling 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(()), [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(()), [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(()), [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.52s [INFO] running `Command { std: "docker" "inspect" "a6d34be801f649c3182113b06d0b8873fa95d29cf42e5c6b3db602fcceb92b99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6d34be801f649c3182113b06d0b8873fa95d29cf42e5c6b3db602fcceb92b99", kill_on_drop: false }` [INFO] [stdout] a6d34be801f649c3182113b06d0b8873fa95d29cf42e5c6b3db602fcceb92b99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2ed905c5a9be7cfaaab77e556233ae79be2e73fdae3f91acc8fdbf81a5876e1 [INFO] running `Command { std: "docker" "start" "-a" "c2ed905c5a9be7cfaaab77e556233ae79be2e73fdae3f91acc8fdbf81a5876e1", kill_on_drop: false }` [INFO] [stderr] Compiling 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(()), [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(()), [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(()), [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.12s [INFO] running `Command { std: "docker" "inspect" "c2ed905c5a9be7cfaaab77e556233ae79be2e73fdae3f91acc8fdbf81a5876e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2ed905c5a9be7cfaaab77e556233ae79be2e73fdae3f91acc8fdbf81a5876e1", kill_on_drop: false }` [INFO] [stdout] c2ed905c5a9be7cfaaab77e556233ae79be2e73fdae3f91acc8fdbf81a5876e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6e0a3258b4bbe43e2ac4d3a4fcd2c800ada9f3021bdb2ff86ae7271420fb90fe [INFO] running `Command { std: "docker" "start" "-a" "6e0a3258b4bbe43e2ac4d3a4fcd2c800ada9f3021bdb2ff86ae7271420fb90fe", kill_on_drop: false }` [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:32:8 [INFO] [stderr] | [INFO] [stderr] 32 | IO(std::io::Error), [INFO] [stderr] | -- ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ImageError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 32 | IO(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:33:14 [INFO] [stderr] | [INFO] [stderr] 33 | Decoding(DecodingError), [INFO] [stderr] | -------- ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ImageError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 33 | Decoding(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:34:17 [INFO] [stderr] | [INFO] [stderr] 34 | Compression(TINFLStatus), [INFO] [stderr] | ----------- ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ImageError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 34 | Compression(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: variants `RGBA` and `G` are never constructed [INFO] [stderr] --> src/image.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 5 | pub enum GenericImageColors { [INFO] [stderr] | ------------------ variants in this enum [INFO] [stderr] 6 | RGB, [INFO] [stderr] 7 | RGBA, [INFO] [stderr] | ^^^^ [INFO] [stderr] 8 | G [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: field `colors` is never read [INFO] [stderr] --> src/image.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct GenericImage { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 14 | pub colors: GenericImageColors, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `to_rgba` and `to_g` are never used [INFO] [stderr] --> src/image.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 18 | pub trait GenericImageTo { [INFO] [stderr] | -------------- methods in this trait [INFO] [stderr] 19 | fn to_rgb(&self) -> Result; [INFO] [stderr] 20 | fn to_rgba(&self) -> Result; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 21 | fn to_g(&self) -> Result; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `bit_depth`, `compression_method`, `filter_method`, and `interlace_method` are never read [INFO] [stderr] --> src/codecs/png/png.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 35 | struct IHDR { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 38 | bit_depth: u8, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 39 | color_type: ColorType, [INFO] [stderr] 40 | compression_method: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 41 | filter_method: u8, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 42 | interlace_method: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `IHDR` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `polms_image` (bin "polms_image" test) generated 7 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/polms_image-248fbbc8d36628f4) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test compress::lz77::test_compress_decompress ... ok [INFO] [stdout] test hashs::adler32::test_alder32_big_update_rollover ... ok [INFO] [stdout] test hashs::adler32::test_alder32_big_update ... ok [INFO] [stdout] test hashs::adler32::test_alder32_double_finalise ... ok [INFO] [stdout] test hashs::adler32::test_alder32_big_big_update_rollover ... ok [INFO] [stdout] test hashs::adler32::test_alder32_multi_update ... ok [INFO] [stdout] test compress::lz77::test_compress_simple ... ok [INFO] [stdout] test hashs::adler32::test_alder32_simple ... ok [INFO] [stdout] test compress::lz77::test_compress_overlapping ... ok [INFO] [stdout] test compress::lz77::test_posl_substr_overlap ... ok [INFO] [stdout] test hashs::adler32::test_alder32_no_update ... ok [INFO] [stdout] test hashs::adler32::test_alder32_empty_update ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6e0a3258b4bbe43e2ac4d3a4fcd2c800ada9f3021bdb2ff86ae7271420fb90fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e0a3258b4bbe43e2ac4d3a4fcd2c800ada9f3021bdb2ff86ae7271420fb90fe", kill_on_drop: false }` [INFO] [stdout] 6e0a3258b4bbe43e2ac4d3a4fcd2c800ada9f3021bdb2ff86ae7271420fb90fe