[INFO] cloning repository https://github.com/windwhinny/pngme [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/windwhinny/pngme" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwindwhinny%2Fpngme", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwindwhinny%2Fpngme'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 97c848f2d99cc33e8740a787da500a1ba882d3f9 [INFO] testing windwhinny/pngme against master#160e7623e8cbbf1feab2b6e2a24733a98c7bde9c for pr-145628 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwindwhinny%2Fpngme" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/windwhinny/pngme [INFO] finished tweaking git repo https://github.com/windwhinny/pngme [INFO] tweaked toml for git repo https://github.com/windwhinny/pngme written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/windwhinny/pngme on toolchain 160e7623e8cbbf1feab2b6e2a24733a98c7bde9c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/windwhinny/pngme 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" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de35a8d0482620d9e0c46f7fd47d6afb9a2f87a9c66f7415216ef64f15cf8bf5 [INFO] running `Command { std: "docker" "start" "-a" "de35a8d0482620d9e0c46f7fd47d6afb9a2f87a9c66f7415216ef64f15cf8bf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de35a8d0482620d9e0c46f7fd47d6afb9a2f87a9c66f7415216ef64f15cf8bf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de35a8d0482620d9e0c46f7fd47d6afb9a2f87a9c66f7415216ef64f15cf8bf5", kill_on_drop: false }` [INFO] [stdout] de35a8d0482620d9e0c46f7fd47d6afb9a2f87a9c66f7415216ef64f15cf8bf5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b87b13c087b442fd98981969c76eee77b52ca246d34d80bc45f394637a900134 [INFO] running `Command { std: "docker" "start" "-a" "b87b13c087b442fd98981969c76eee77b52ca246d34d80bc45f394637a900134", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle v1.0.1 [INFO] [stderr] Compiling clap_lex v0.5.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling crc-catalog v2.2.0 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling pretty_assertions v1.3.0 [INFO] [stderr] Compiling syn v2.0.22 [INFO] [stderr] Compiling is-terminal v0.4.7 [INFO] [stderr] Compiling anstream v0.3.2 [INFO] [stderr] Compiling clap_builder v4.3.8 [INFO] [stderr] Compiling clap_derive v4.3.2 [INFO] [stderr] Compiling clap v4.3.8 [INFO] [stderr] Compiling pngme v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `actual` is never read [INFO] [stdout] --> src/error.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | HeaderLenMisMatch{ actual: usize }, [INFO] [stdout] | ----------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bytes` is never read [INFO] [stdout] --> src/error.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | HeaderMisMatch{ bytes: Vec }, [INFO] [stdout] | -------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | HeaderReadError(IOError), [INFO] [stdout] | --------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 8 - HeaderReadError(IOError), [INFO] [stdout] 8 + HeaderReadError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bytes` is never read [INFO] [stdout] --> src/error.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | ChunkTypeLenMismatch{ bytes: Vec }, [INFO] [stdout] | -------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bytes` and `err` are never read [INFO] [stdout] --> src/error.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | ChunkTypeNotUtf8{ bytes: [u8;4], err: Utf8Error }, [INFO] [stdout] | ---------------- ^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | ChunkTypeReadError(IOError), [INFO] [stdout] | ------------------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 11 - ChunkTypeReadError(IOError), [INFO] [stdout] 11 + ChunkTypeReadError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | ChunkDataReadError(IOError), [INFO] [stdout] | ------------------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 12 - ChunkDataReadError(IOError), [INFO] [stdout] 12 + ChunkDataReadError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | ChunkCrcReadError(IOError), [INFO] [stdout] | ----------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 13 - ChunkCrcReadError(IOError), [INFO] [stdout] 13 + ChunkCrcReadError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `string` is never read [INFO] [stdout] --> src/error.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | ChunkTypeNotAplhaBetic{ string: String }, [INFO] [stdout] | ---------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bytes` and `err` are never read [INFO] [stdout] --> src/error.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | ChunkDataNotUtf8{ bytes: Vec, err: Utf8Error }, [INFO] [stdout] | ---------------- ^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expect` and `actual` are never read [INFO] [stdout] --> src/error.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | ChunkCrcMismatch{ expect: u32, actual: u32 }, [INFO] [stdout] | ---------------- ^^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | ReadErr(IOError), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 18 - ReadErr(IOError), [INFO] [stdout] 18 + ReadErr(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/png.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | 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: using `.clone()` on a double reference, which returns `&mut &[u8]` instead of cloning the inner type [INFO] [stdout] --> src/chunk_type.rs:101:30 [INFO] [stdout] | [INFO] [stdout] 101 | if let Err(e) = value.clone().read_exact(&mut array) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.38s [INFO] running `Command { std: "docker" "inspect" "b87b13c087b442fd98981969c76eee77b52ca246d34d80bc45f394637a900134", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b87b13c087b442fd98981969c76eee77b52ca246d34d80bc45f394637a900134", kill_on_drop: false }` [INFO] [stdout] b87b13c087b442fd98981969c76eee77b52ca246d34d80bc45f394637a900134 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77c156f88abfe4e08fdd177da29cee176ebea0c5eee07cd23956a79731b347e4 [INFO] running `Command { std: "docker" "start" "-a" "77c156f88abfe4e08fdd177da29cee176ebea0c5eee07cd23956a79731b347e4", kill_on_drop: false }` [INFO] [stderr] error: failed to download `clap_lex v0.5.0` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] unable to get packages from source [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to unpack package `clap_lex v0.5.0` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to create directory `/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clap_lex-0.5.0` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] Read-only file system (os error 30) [INFO] running `Command { std: "docker" "inspect" "77c156f88abfe4e08fdd177da29cee176ebea0c5eee07cd23956a79731b347e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77c156f88abfe4e08fdd177da29cee176ebea0c5eee07cd23956a79731b347e4", kill_on_drop: false }` [INFO] [stdout] 77c156f88abfe4e08fdd177da29cee176ebea0c5eee07cd23956a79731b347e4