[INFO] cloning repository https://github.com/msauvee/cypher-in-png [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/msauvee/cypher-in-png" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmsauvee%2Fcypher-in-png", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmsauvee%2Fcypher-in-png'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92566f333505a9391831ddf2d93d691436381981 [INFO] checking msauvee/cypher-in-png against master#d49be02cf6d2e2a01264fcdef1e20c826710c0f5 for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmsauvee%2Fcypher-in-png" "/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/msauvee/cypher-in-png on toolchain d49be02cf6d2e2a01264fcdef1e20c826710c0f5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/msauvee/cypher-in-png [INFO] finished tweaking git repo https://github.com/msauvee/cypher-in-png [INFO] tweaked toml for git repo https://github.com/msauvee/cypher-in-png written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/msauvee/cypher-in-png 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" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "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" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46acb3e716d08f182dc85a4287c8f4af2df42d23dd23e4badc5d922505e10424 [INFO] running `Command { std: "docker" "start" "-a" "46acb3e716d08f182dc85a4287c8f4af2df42d23dd23e4badc5d922505e10424", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46acb3e716d08f182dc85a4287c8f4af2df42d23dd23e4badc5d922505e10424", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46acb3e716d08f182dc85a4287c8f4af2df42d23dd23e4badc5d922505e10424", kill_on_drop: false }` [INFO] [stdout] 46acb3e716d08f182dc85a4287c8f4af2df42d23dd23e4badc5d922505e10424 [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" "-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" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e30416d7b03619cecb1aeef889994e279f5daecd3b5cffe8dc7aceb7f3acea2 [INFO] running `Command { std: "docker" "start" "-a" "9e30416d7b03619cecb1aeef889994e279f5daecd3b5cffe8dc7aceb7f3acea2", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.7 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking clap_builder v4.3.21 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Checking clap v4.3.21 [INFO] [stderr] Checking cypher-in-png v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut png: Png = read_png(input)?; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut png: Png = read_png(input)?; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `length`, `crc`, and `data` are never used [INFO] [stdout] --> src/chunk.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl Chunk { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | fn length(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn crc(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn data(&self) -> &[u8] { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MASK` is never used [INFO] [stdout] --> src/chunk_type.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const MASK: u8 = 32; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_critical`, `is_public`, `is_reserved_bit_valid`, `is_safe_to_copy`, and `is_valid` are never used [INFO] [stdout] --> src/chunk_type.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl ChunkType { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | fn is_critical(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn is_public(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn is_reserved_bit_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn is_safe_to_copy(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `chunks` is never used [INFO] [stdout] --> src/png.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Png { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | fn chunks(&self) -> &[Chunk] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | / match args.command { [INFO] [stdout] 54 | | Commands::Decode { png_path, chunk } => commands::decode(png_path.as_path(), chunk), [INFO] [stdout] 55 | | Commands::Encode { png_path, chunk, message } => commands::encode(png_path.as_path(), chunk, message), [INFO] [stdout] 56 | | Commands::Remove { png_path, chunk } => commands::remove(png_path.as_path(), chunk), [INFO] [stdout] 57 | | Commands::Print { png_path } => commands::print(png_path.as_path()), [INFO] [stdout] 58 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 53 | let _ = match args.command { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/chunk.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | write!(f, "length:{}, type:{}, data size: {}, crc {}", self.length, self.chunk_type, self.data.len(), self.crc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/chunk_type.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | write!(f, "{}", String::from_utf8_lossy(self.data.to_vec().as_slice())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/png.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | writeln!(f, "{}", chunk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `data` is never used [INFO] [stdout] --> src/chunk.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl Chunk { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | fn data(&self) -> &[u8] { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | / match args.command { [INFO] [stdout] 54 | | Commands::Decode { png_path, chunk } => commands::decode(png_path.as_path(), chunk), [INFO] [stdout] 55 | | Commands::Encode { png_path, chunk, message } => commands::encode(png_path.as_path(), chunk, message), [INFO] [stdout] 56 | | Commands::Remove { png_path, chunk } => commands::remove(png_path.as_path(), chunk), [INFO] [stdout] 57 | | Commands::Print { png_path } => commands::print(png_path.as_path()), [INFO] [stdout] 58 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 53 | let _ = match args.command { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/chunk.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | write!(f, "length:{}, type:{}, data size: {}, crc {}", self.length, self.chunk_type, self.data.len(), self.crc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/chunk_type.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | write!(f, "{}", String::from_utf8_lossy(self.data.to_vec().as_slice())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/png.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | writeln!(f, "{}", chunk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.24s [INFO] running `Command { std: "docker" "inspect" "9e30416d7b03619cecb1aeef889994e279f5daecd3b5cffe8dc7aceb7f3acea2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e30416d7b03619cecb1aeef889994e279f5daecd3b5cffe8dc7aceb7f3acea2", kill_on_drop: false }` [INFO] [stdout] 9e30416d7b03619cecb1aeef889994e279f5daecd3b5cffe8dc7aceb7f3acea2