[INFO] cloning repository https://github.com/marcel-baur/png-me [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marcel-baur/png-me" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcel-baur%2Fpng-me", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcel-baur%2Fpng-me'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 173a9f783c2995b7b4f752635ed20778171773e7 [INFO] checking marcel-baur/png-me against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcel-baur%2Fpng-me" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marcel-baur/png-me on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/marcel-baur/png-me [INFO] finished tweaking git repo https://github.com/marcel-baur/png-me [INFO] tweaked toml for git repo https://github.com/marcel-baur/png-me written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/marcel-baur/png-me 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded magic-crypt v3.1.9 [INFO] [stderr] Downloaded tiger v0.1.0 [INFO] [stderr] Downloaded debug-helper v0.3.12 [INFO] [stderr] Downloaded build_const v0.2.2 [INFO] [stderr] Downloaded md-5 v0.9.1 [INFO] [stderr] Downloaded block-modes v0.8.1 [INFO] [stderr] Downloaded des v0.7.0 [INFO] [stderr] Downloaded anyhow v1.0.53 [INFO] [stderr] Downloaded crc-any v2.4.1 [INFO] [stderr] Downloaded libc v0.2.118 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88c88f26d94a7f235ffa4c3a0bc337c8d6a79a70b61f361f8ca4b39f2e984309 [INFO] running `Command { std: "docker" "start" "-a" "88c88f26d94a7f235ffa4c3a0bc337c8d6a79a70b61f361f8ca4b39f2e984309", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88c88f26d94a7f235ffa4c3a0bc337c8d6a79a70b61f361f8ca4b39f2e984309", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88c88f26d94a7f235ffa4c3a0bc337c8d6a79a70b61f361f8ca4b39f2e984309", kill_on_drop: false }` [INFO] [stdout] 88c88f26d94a7f235ffa4c3a0bc337c8d6a79a70b61f361f8ca4b39f2e984309 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7dd5736283f8ca6a4957fff442326c7589c068ac72e1c792215f027f6e124c3f [INFO] running `Command { std: "docker" "start" "-a" "7dd5736283f8ca6a4957fff442326c7589c068ac72e1c792215f027f6e124c3f", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.118 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking debug-helper v0.3.12 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking crc-any v2.4.1 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking tiger v0.1.0 [INFO] [stderr] Checking des v0.7.0 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking block-modes v0.8.1 [INFO] [stderr] Checking magic-crypt v3.1.9 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.0.14 [INFO] [stderr] Checking clap v3.0.14 [INFO] [stderr] Checking pngme v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::chunk_type::ChunkType` [INFO] [stdout] --> src/chunk.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | use crate::chunk_type::ChunkType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/chunk.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_err`, `is_critical`, `is_public`, `is_reserved_bit_valid`, and `is_safe_to_copy` are never used [INFO] [stdout] --> src/chunk_type.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl ChunkType { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | fn is_err(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn is_critical(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn is_public(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn is_reserved_bit_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn is_safe_to_copy(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_valid_ascii` is never used [INFO] [stdout] --> src/chunk_type.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn check_valid_ascii(ubyte: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_uppercase` is never used [INFO] [stdout] --> src/chunk_type.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn is_uppercase(ubyte: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_chunks` is never used [INFO] [stdout] --> src/png.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Png { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn from_chunks(chunks: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidCrc` is never constructed [INFO] [stdout] --> src/png.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub enum PNGError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 66 | InvalidCrc [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PNGError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `testing_chunks` is never used [INFO] [stdout] --> src/png.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | fn testing_chunks() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `testing_png` is never used [INFO] [stdout] --> src/png.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | fn testing_png() -> Png { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chunk_from_strings` is never used [INFO] [stdout] --> src/png.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | fn chunk_from_strings(chunk_type: &str, data: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PNG_FILE` is never used [INFO] [stdout] --> src/png.rs:284:11 [INFO] [stdout] | [INFO] [stdout] 284 | const PNG_FILE: [u8; 4803] = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/chunk.rs:85:30 [INFO] [stdout] | [INFO] [stdout] 85 | let mut_value = value.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/png.rs:85:30 [INFO] [stdout] | [INFO] [stdout] 85 | let mut_value = value.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/chunk.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | let err = chunk.is_err(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `png` [INFO] [stdout] --> src/png.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | let png: Png = TryFrom::try_from(bytes.as_ref()).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_png` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_err` is never used [INFO] [stdout] --> src/chunk_type.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl ChunkType { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | fn is_err(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_valid_ascii` is never used [INFO] [stdout] --> src/chunk_type.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn check_valid_ascii(ubyte: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidCrc` is never constructed [INFO] [stdout] --> src/png.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub enum PNGError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 66 | InvalidCrc [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PNGError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/chunk.rs:85:30 [INFO] [stdout] | [INFO] [stdout] 85 | let mut_value = value.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/png.rs:85:30 [INFO] [stdout] | [INFO] [stdout] 85 | let mut_value = value.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.11s [INFO] running `Command { std: "docker" "inspect" "7dd5736283f8ca6a4957fff442326c7589c068ac72e1c792215f027f6e124c3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dd5736283f8ca6a4957fff442326c7589c068ac72e1c792215f027f6e124c3f", kill_on_drop: false }` [INFO] [stdout] 7dd5736283f8ca6a4957fff442326c7589c068ac72e1c792215f027f6e124c3f [INFO] checking marcel-baur/png-me against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcel-baur%2Fpng-me" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marcel-baur/png-me on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/marcel-baur/png-me [INFO] finished tweaking git repo https://github.com/marcel-baur/png-me [INFO] tweaked toml for git repo https://github.com/marcel-baur/png-me written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/marcel-baur/png-me 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3099a8f1fa2c2c2ca82d312e725b47615c552c7ffabc8a97a04d0063fc5edbb4 [INFO] running `Command { std: "docker" "start" "-a" "3099a8f1fa2c2c2ca82d312e725b47615c552c7ffabc8a97a04d0063fc5edbb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3099a8f1fa2c2c2ca82d312e725b47615c552c7ffabc8a97a04d0063fc5edbb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3099a8f1fa2c2c2ca82d312e725b47615c552c7ffabc8a97a04d0063fc5edbb4", kill_on_drop: false }` [INFO] [stdout] 3099a8f1fa2c2c2ca82d312e725b47615c552c7ffabc8a97a04d0063fc5edbb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5779fcf4804e281bf80f0451c3a8f7cdd8a241740576a272ece1d0921846a50b [INFO] running `Command { std: "docker" "start" "-a" "5779fcf4804e281bf80f0451c3a8f7cdd8a241740576a272ece1d0921846a50b", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.118 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Checking debug-helper v0.3.12 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking crc-any v2.4.1 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking generic-array v0.14.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking tiger v0.1.0 [INFO] [stderr] Checking des v0.7.0 [INFO] [stderr] Checking block-modes v0.8.1 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking magic-crypt v3.1.9 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.0.14 [INFO] [stderr] Checking clap v3.0.14 [INFO] [stderr] Checking pngme v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::chunk_type::ChunkType` [INFO] [stdout] --> src/chunk.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | use crate::chunk_type::ChunkType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/chunk.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_err`, `is_critical`, `is_public`, `is_reserved_bit_valid`, and `is_safe_to_copy` are never used [INFO] [stdout] --> src/chunk_type.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl ChunkType { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | fn is_err(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn is_critical(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn is_public(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn is_reserved_bit_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn is_safe_to_copy(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_valid_ascii` is never used [INFO] [stdout] --> src/chunk_type.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn check_valid_ascii(ubyte: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_uppercase` is never used [INFO] [stdout] --> src/chunk_type.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn is_uppercase(ubyte: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_chunks` is never used [INFO] [stdout] --> src/png.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Png { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn from_chunks(chunks: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidCrc` is never constructed [INFO] [stdout] --> src/png.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub enum PNGError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 66 | InvalidCrc [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PNGError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `testing_chunks` is never used [INFO] [stdout] --> src/png.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | fn testing_chunks() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `testing_png` is never used [INFO] [stdout] --> src/png.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | fn testing_png() -> Png { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chunk_from_strings` is never used [INFO] [stdout] --> src/png.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | fn chunk_from_strings(chunk_type: &str, data: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PNG_FILE` is never used [INFO] [stdout] --> src/png.rs:284:11 [INFO] [stdout] | [INFO] [stdout] 284 | const PNG_FILE: [u8; 4803] = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/chunk.rs:85:30 [INFO] [stdout] | [INFO] [stdout] 85 | let mut_value = value.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/commands.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | match png.remove_chunk(&args.chunk_type) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/png.rs:85:30 [INFO] [stdout] | [INFO] [stdout] 85 | let mut_value = value.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/chunk.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | let err = chunk.is_err(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pngme` (bin "pngme") due to 2 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `png` [INFO] [stdout] --> src/png.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | let png: Png = TryFrom::try_from(bytes.as_ref()).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_png` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_err` is never used [INFO] [stdout] --> src/chunk_type.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl ChunkType { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | fn is_err(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_valid_ascii` is never used [INFO] [stdout] --> src/chunk_type.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn check_valid_ascii(ubyte: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidCrc` is never constructed [INFO] [stdout] --> src/png.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub enum PNGError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 66 | InvalidCrc [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PNGError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/chunk.rs:85:30 [INFO] [stdout] | [INFO] [stdout] 85 | let mut_value = value.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/commands.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | match png.remove_chunk(&args.chunk_type) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/png.rs:85:30 [INFO] [stdout] | [INFO] [stdout] 85 | let mut_value = value.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pngme` (bin "pngme" test) due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5779fcf4804e281bf80f0451c3a8f7cdd8a241740576a272ece1d0921846a50b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5779fcf4804e281bf80f0451c3a8f7cdd8a241740576a272ece1d0921846a50b", kill_on_drop: false }` [INFO] [stdout] 5779fcf4804e281bf80f0451c3a8f7cdd8a241740576a272ece1d0921846a50b