[INFO] cloning repository https://github.com/bcliden/PngCushion [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bcliden/PngCushion" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbcliden%2FPngCushion", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbcliden%2FPngCushion'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4e1e6a729944c6fb43aeed0d89a401e62c505c1d [INFO] checking bcliden/PngCushion against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbcliden%2FPngCushion" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bcliden/PngCushion [INFO] finished tweaking git repo https://github.com/bcliden/PngCushion [INFO] tweaked toml for git repo https://github.com/bcliden/PngCushion written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bcliden/PngCushion on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bcliden/PngCushion 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86c09fe95070802f6591159940566e7e782f018ddd1c0c646531673778391791 [INFO] running `Command { std: "docker" "start" "-a" "86c09fe95070802f6591159940566e7e782f018ddd1c0c646531673778391791", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86c09fe95070802f6591159940566e7e782f018ddd1c0c646531673778391791", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86c09fe95070802f6591159940566e7e782f018ddd1c0c646531673778391791", kill_on_drop: false }` [INFO] [stdout] 86c09fe95070802f6591159940566e7e782f018ddd1c0c646531673778391791 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89f4bcb82a5713fde68ffac68bc8a394fb38fe50311c06239dc48ba656f91e41 [INFO] running `Command { std: "docker" "start" "-a" "89f4bcb82a5713fde68ffac68bc8a394fb38fe50311c06239dc48ba656f91e41", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking os_str_bytes v6.0.1 [INFO] [stderr] Checking crc-catalog v2.1.0 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking crc v3.0.0 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Checking clap v3.1.18 [INFO] [stderr] Checking png-cushion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/png.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `header` is never used [INFO] [stdout] --> src/png.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Png { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn header(&self) -> &[u8; 8] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/args.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / #[clap(help = "What chunk key to add your message to")] [INFO] [stdout] 37 | | pub chunk_type: String, [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/args.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / #[clap(help = "Secret message to pass into the PNG file")] [INFO] [stdout] 40 | | pub message: String, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/args.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / #[clap(help = "What chunk key to read a message from")] [INFO] [stdout] 52 | | pub chunk_type: String, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/args.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / #[clap(help = "What chunk key to remove from the PNG")] [INFO] [stdout] 61 | | pub chunk_type: String, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `valid_PNG_bytes` should have a snake case name [INFO] [stdout] --> src/chunk_type.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn valid_PNG_bytes(bytes: [u8; 4]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `valid_png_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_fifth_bit` is never used [INFO] [stdout] --> src/chunk_type.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn get_fifth_bit(byte: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_valid`, `is_critical`, `is_public`, `is_reserved_bit_valid`, and `is_safe_to_copy` are never used [INFO] [stdout] --> src/chunk_type.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl ChunkType { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn is_critical(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn is_public(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn is_reserved_bit_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn is_safe_to_copy(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_chunks`, `header`, and `chunks` are never used [INFO] [stdout] --> src/png.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Png { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn from_chunks(chunks: Vec) -> Png { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn header(&self) -> &[u8; 8] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn chunks(&self) -> &[Chunk] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `png-cushion` (bin "png-cushion" test) due to 4 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/args.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / #[clap(help = "What chunk key to add your message to")] [INFO] [stdout] 37 | | pub chunk_type: String, [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/args.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / #[clap(help = "Secret message to pass into the PNG file")] [INFO] [stdout] 40 | | pub message: String, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/args.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / #[clap(help = "What chunk key to read a message from")] [INFO] [stdout] 52 | | pub chunk_type: String, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/args.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / #[clap(help = "What chunk key to remove from the PNG")] [INFO] [stdout] 61 | | pub chunk_type: String, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `valid_PNG_bytes` should have a snake case name [INFO] [stdout] --> src/chunk_type.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn valid_PNG_bytes(bytes: [u8; 4]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `valid_png_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `png-cushion` (bin "png-cushion") due to 4 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "89f4bcb82a5713fde68ffac68bc8a394fb38fe50311c06239dc48ba656f91e41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89f4bcb82a5713fde68ffac68bc8a394fb38fe50311c06239dc48ba656f91e41", kill_on_drop: false }` [INFO] [stdout] 89f4bcb82a5713fde68ffac68bc8a394fb38fe50311c06239dc48ba656f91e41