[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] building rmoalic/rust-image against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frmoalic%2Frust-image" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rmoalic/rust-image on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-6-tc1/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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1fdf1c14169ac4de90cb8613e914ce3254da55a8effdec597f05f6b8cfa58276 [INFO] running `Command { std: "docker" "start" "-a" "1fdf1c14169ac4de90cb8613e914ce3254da55a8effdec597f05f6b8cfa58276", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1fdf1c14169ac4de90cb8613e914ce3254da55a8effdec597f05f6b8cfa58276", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fdf1c14169ac4de90cb8613e914ce3254da55a8effdec597f05f6b8cfa58276", kill_on_drop: false }` [INFO] [stdout] 1fdf1c14169ac4de90cb8613e914ce3254da55a8effdec597f05f6b8cfa58276 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 697ec81855d49865f2047b3d4c866446a2a1f49616170f36eb5854c208034b6f [INFO] running `Command { std: "docker" "start" "-a" "697ec81855d49865f2047b3d4c866446a2a1f49616170f36eb5854c208034b6f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [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 3.98s [INFO] running `Command { std: "docker" "inspect" "697ec81855d49865f2047b3d4c866446a2a1f49616170f36eb5854c208034b6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "697ec81855d49865f2047b3d4c866446a2a1f49616170f36eb5854c208034b6f", kill_on_drop: false }` [INFO] [stdout] 697ec81855d49865f2047b3d4c866446a2a1f49616170f36eb5854c208034b6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77dc5133d50437d0c7c6922a8d8d4a2d2aa642524a736655c11bfcb4332d86d0 [INFO] running `Command { std: "docker" "start" "-a" "77dc5133d50437d0c7c6922a8d8d4a2d2aa642524a736655c11bfcb4332d86d0", 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 0.63s [INFO] running `Command { std: "docker" "inspect" "77dc5133d50437d0c7c6922a8d8d4a2d2aa642524a736655c11bfcb4332d86d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77dc5133d50437d0c7c6922a8d8d4a2d2aa642524a736655c11bfcb4332d86d0", kill_on_drop: false }` [INFO] [stdout] 77dc5133d50437d0c7c6922a8d8d4a2d2aa642524a736655c11bfcb4332d86d0