[INFO] cloning repository https://github.com/nznznz42/QOI-Codec [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nznznz42/QOI-Codec" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnznznz42%2FQOI-Codec", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnznznz42%2FQOI-Codec'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f0482e7983fbaeee3c37a2c81f01424b34d1ea1a [INFO] checking nznznz42/QOI-Codec 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%2Fnznznz42%2FQOI-Codec" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nznznz42/QOI-Codec [INFO] finished tweaking git repo https://github.com/nznznz42/QOI-Codec [INFO] tweaked toml for git repo https://github.com/nznznz42/QOI-Codec written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nznznz42/QOI-Codec 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/nznznz42/QOI-Codec 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-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52ee91cc5eeaacd1df6f80d44c14441440a7f1fbbbfea57a916aed11023f55fe [INFO] running `Command { std: "docker" "start" "-a" "52ee91cc5eeaacd1df6f80d44c14441440a7f1fbbbfea57a916aed11023f55fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52ee91cc5eeaacd1df6f80d44c14441440a7f1fbbbfea57a916aed11023f55fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52ee91cc5eeaacd1df6f80d44c14441440a7f1fbbbfea57a916aed11023f55fe", kill_on_drop: false }` [INFO] [stdout] 52ee91cc5eeaacd1df6f80d44c14441440a7f1fbbbfea57a916aed11023f55fe [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 -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] 4110e652ea4bb61a252cb2d451adf9dae2aec9bf5bb28e5a10fe6870518e2ac0 [INFO] running `Command { std: "docker" "start" "-a" "4110e652ea4bb61a252cb2d451adf9dae2aec9bf5bb28e5a10fe6870518e2ac0", kill_on_drop: false }` [INFO] [stderr] Checking qoi_codec v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `magic`, `height`, `width`, `channels`, and `colourspace` are never read [INFO] [stdout] --> src/qoi.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct QoiImage { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 6 | magic: &'static str, //the string qoif in bytes [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | height: u32, //height in pixels (Big Endian) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | width: u32, //width in pixels (Big Endian) [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | channels: u8, // 3 = RGB, 4 = RGBA [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | colourspace: u8, // 0 = sRGB with linear alpha, 1 = all channels linear (not useful but make sure to write it in, set to 1 by default) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAGIC` is never used [INFO] [stdout] --> src/consts.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const MAGIC: &str = "qoif"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QOI_MASK_2` is never used [INFO] [stdout] --> src/consts.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const QOI_MASK_2: u8 = 0xc0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/qoi.rs:99:49 [INFO] [stdout] | [INFO] [stdout] 99 | ... bytes.insert(index, (((dr_dg + 8) << 4) | (db_dg + 8)).try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qoi_codec` (bin "qoi_codec") due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `magic`, `height`, `width`, `channels`, and `colourspace` are never read [INFO] [stdout] --> src/qoi.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct QoiImage { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 6 | magic: &'static str, //the string qoif in bytes [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | height: u32, //height in pixels (Big Endian) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | width: u32, //width in pixels (Big Endian) [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | channels: u8, // 3 = RGB, 4 = RGBA [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | colourspace: u8, // 0 = sRGB with linear alpha, 1 = all channels linear (not useful but make sure to write it in, set to 1 by default) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAGIC` is never used [INFO] [stdout] --> src/consts.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const MAGIC: &str = "qoif"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QOI_MASK_2` is never used [INFO] [stdout] --> src/consts.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const QOI_MASK_2: u8 = 0xc0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/qoi.rs:99:49 [INFO] [stdout] | [INFO] [stdout] 99 | ... bytes.insert(index, (((dr_dg + 8) << 4) | (db_dg + 8)).try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qoi_codec` (bin "qoi_codec" test) due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4110e652ea4bb61a252cb2d451adf9dae2aec9bf5bb28e5a10fe6870518e2ac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4110e652ea4bb61a252cb2d451adf9dae2aec9bf5bb28e5a10fe6870518e2ac0", kill_on_drop: false }` [INFO] [stdout] 4110e652ea4bb61a252cb2d451adf9dae2aec9bf5bb28e5a10fe6870518e2ac0