[INFO] cloning repository https://github.com/Talon1024/doom-wad-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Talon1024/doom-wad-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTalon1024%2Fdoom-wad-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTalon1024%2Fdoom-wad-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9852b701ef45a5b8f12f9d7dcd4b466fbcaf09a9 [INFO] checking Talon1024/doom-wad-rs/9852b701ef45a5b8f12f9d7dcd4b466fbcaf09a9 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTalon1024%2Fdoom-wad-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Talon1024/doom-wad-rs on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Talon1024/doom-wad-rs [INFO] finished tweaking git repo https://github.com/Talon1024/doom-wad-rs [INFO] tweaked toml for git repo https://github.com/Talon1024/doom-wad-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Talon1024/doom-wad-rs 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded binrw v0.13.3 [INFO] [stderr] Downloaded binrw_derive v0.13.3 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e68a1f4b6a96b28a38a06c5053c6a6351b9c2cfd8297ea953f53c826231b8af9 [INFO] running `Command { std: "docker" "start" "-a" "e68a1f4b6a96b28a38a06c5053c6a6351b9c2cfd8297ea953f53c826231b8af9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e68a1f4b6a96b28a38a06c5053c6a6351b9c2cfd8297ea953f53c826231b8af9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e68a1f4b6a96b28a38a06c5053c6a6351b9c2cfd8297ea953f53c826231b8af9", kill_on_drop: false }` [INFO] [stdout] e68a1f4b6a96b28a38a06c5053c6a6351b9c2cfd8297ea953f53c826231b8af9 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d4f0236e1be595f46ad0f613da5bbecd5dcf0032e8970f6fbdf328721456958 [INFO] running `Command { std: "docker" "start" "-a" "0d4f0236e1be595f46ad0f613da5bbecd5dcf0032e8970f6fbdf328721456958", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Compiling binrw_derive v0.13.3 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Compiling binrw v0.13.3 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking fdeflate v0.3.3 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Checking hound v3.5.1 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking rayon-core v1.12.0 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking exr v1.71.0 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Checking tiff v0.9.0 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Compiling derive_deref v1.1.1 [INFO] [stderr] Checking doom-wad v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `short_buffer` [INFO] [stdout] --> src/res/graphic.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let mut short_buffer: [u8; 2] = [0; 2]; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_short_buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/res/graphic.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut short_buffer: [u8; 2] = [0; 2]; [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: function `lump_name` is never used [INFO] [stdout] --> src/wad/lump_name.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn lump_name(slice: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `str_to_lump_name` is never used [INFO] [stdout] --> src/wad/lump_name.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn str_to_lump_name(name: &str) -> [u8; 8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BlendFunction` is never used [INFO] [stdout] --> src/res/image/blending.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | pub(super) type BlendFunction = fn(&[u8], &[u8], Option) -> Box<[u8]>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mix` is never used [INFO] [stdout] --> src/res/image/blending.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | pub(super) fn mix(a: &[u8], b: &[u8], alpha_index: Option) -> Box<[u8]> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/res/image/blending.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub(super) fn add(a: &[u8], b: &[u8], alpha_index: Option) -> Box<[u8]> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `patch` and `flags` are never read [INFO] [stdout] --> src/res/textures.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct TexturePatch { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 24 | patch: LumpName, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | flags: PatchFlags, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TexturePatch` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `flags`, `scalex`, and `scaley` are never read [INFO] [stdout] --> src/res/textures.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Texture { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 42 | name: LumpName, [INFO] [stdout] 43 | flags: TextureFlags, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | scalex: TextureScale, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 45 | scaley: TextureScale, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Texture` has derived impls for the traits `Clone` and `Debug`, but these are 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/wad/lump_name.rs:146:34 [INFO] [stdout] | [INFO] [stdout] 146 | let mut vec = Vec::from(slice.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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `short_buffer` [INFO] [stdout] --> src/res/graphic.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let mut short_buffer: [u8; 2] = [0; 2]; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_short_buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/res/graphic.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut short_buffer: [u8; 2] = [0; 2]; [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: function `lump_name` is never used [INFO] [stdout] --> src/wad/lump_name.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn lump_name(slice: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `str_to_lump_name` is never used [INFO] [stdout] --> src/wad/lump_name.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn str_to_lump_name(name: &str) -> [u8; 8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BlendFunction` is never used [INFO] [stdout] --> src/res/image/blending.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | pub(super) type BlendFunction = fn(&[u8], &[u8], Option) -> Box<[u8]>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mix` is never used [INFO] [stdout] --> src/res/image/blending.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | pub(super) fn mix(a: &[u8], b: &[u8], alpha_index: Option) -> Box<[u8]> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/res/image/blending.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub(super) fn add(a: &[u8], b: &[u8], alpha_index: Option) -> Box<[u8]> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `patch` and `flags` are never read [INFO] [stdout] --> src/res/textures.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct TexturePatch { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 24 | patch: LumpName, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | flags: PatchFlags, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TexturePatch` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `flags`, `scalex`, and `scaley` are never read [INFO] [stdout] --> src/res/textures.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Texture { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 42 | name: LumpName, [INFO] [stdout] 43 | flags: TextureFlags, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | scalex: TextureScale, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 45 | scaley: TextureScale, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Texture` has derived impls for the traits `Clone` and `Debug`, but these are 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/wad/lump_name.rs:146:34 [INFO] [stdout] | [INFO] [stdout] 146 | let mut vec = Vec::from(slice.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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.26s [INFO] running `Command { std: "docker" "inspect" "0d4f0236e1be595f46ad0f613da5bbecd5dcf0032e8970f6fbdf328721456958", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d4f0236e1be595f46ad0f613da5bbecd5dcf0032e8970f6fbdf328721456958", kill_on_drop: false }` [INFO] [stdout] 0d4f0236e1be595f46ad0f613da5bbecd5dcf0032e8970f6fbdf328721456958