[INFO] cloning repository https://github.com/thrilliams/jc3-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thrilliams/jc3-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthrilliams%2Fjc3-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthrilliams%2Fjc3-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 558e7026a07243cbc35d6d806e3819614390d489 [INFO] checking thrilliams/jc3-rs against try#1baf923b9c3a455162afe43e18647f494c1a4b73 for pr-151510 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthrilliams%2Fjc3-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/thrilliams/jc3-rs [INFO] finished tweaking git repo https://github.com/thrilliams/jc3-rs [INFO] tweaked toml for git repo https://github.com/thrilliams/jc3-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thrilliams/jc3-rs on toolchain 1baf923b9c3a455162afe43e18647f494c1a4b73 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/thrilliams/jc3-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" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking thrilliams/jc3-rs against try#1baf923b9c3a455162afe43e18647f494c1a4b73 for pr-151510 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthrilliams%2Fjc3-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/thrilliams/jc3-rs [INFO] finished tweaking git repo https://github.com/thrilliams/jc3-rs [INFO] tweaked toml for git repo https://github.com/thrilliams/jc3-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thrilliams/jc3-rs on toolchain 1baf923b9c3a455162afe43e18647f494c1a4b73 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/thrilliams/jc3-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" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded texpresso v2.0.1 [INFO] [stderr] Downloaded webp v0.2.6 [INFO] [stderr] Downloaded libz-ng-sys v1.1.12 [INFO] [stderr] Downloaded libwebp-sys v0.9.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c18a3fe9c8e8587630bfd56f0441e993bbd4e8dcbc2e27ecd0616ce776191f1f [INFO] running `Command { std: "docker" "start" "-a" "c18a3fe9c8e8587630bfd56f0441e993bbd4e8dcbc2e27ecd0616ce776191f1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c18a3fe9c8e8587630bfd56f0441e993bbd4e8dcbc2e27ecd0616ce776191f1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c18a3fe9c8e8587630bfd56f0441e993bbd4e8dcbc2e27ecd0616ce776191f1f", kill_on_drop: false }` [INFO] [stdout] c18a3fe9c8e8587630bfd56f0441e993bbd4e8dcbc2e27ecd0616ce776191f1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1faad753a6963a714517e1f90c60f161462df7e27fd297004399cfc527cb0947 [INFO] running `Command { std: "docker" "start" "-a" "1faad753a6963a714517e1f90c60f161462df7e27fd297004399cfc527cb0947", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Checking texpresso v2.0.1 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling libwebp-sys v0.9.4 [INFO] [stderr] Compiling libz-ng-sys v1.1.12 [INFO] [stderr] Checking webp v0.2.6 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking jc3-tools v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Cursor` [INFO] [stdout] --> src/file_formats/cool_archive.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Cursor, Error, ErrorKind, Read, SeekFrom}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::file_formats::cool_archive::CoolArchive` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::file_formats::cool_archive::CoolArchive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cursor` [INFO] [stdout] --> src/file_formats/cool_archive.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Cursor, Error, ErrorKind, Read, SeekFrom}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::file_formats::cool_archive::CoolArchive` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::file_formats::cool_archive::CoolArchive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `le` and `alignment` are never read [INFO] [stdout] --> src/file_formats/archive_table.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ArchiveTable { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 13 | pub le: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | pub alignment: u32, [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 `SIGNATURE` is never used [INFO] [stdout] --> src/file_formats/cool_archive.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const SIGNATURE: &[u8; 4] = b"AAF\0"; // 0x00464141 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COMMENT` is never used [INFO] [stdout] --> src/file_formats/cool_archive.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const COMMENT: &[u8; 28] = b"AVALANCHEARCHIVEFORMATISCOOL"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHUNK_SIGNATURE` is never used [INFO] [stdout] --> src/file_formats/cool_archive.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const CHUNK_SIGNATURE: &[u8; 4] = b"EWAM"; // 0x4D415745 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CoolArchive` is never constructed [INFO] [stdout] --> src/file_formats/cool_archive.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CoolArchive { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CoolArchiveChunk` is never constructed [INFO] [stdout] --> src/file_formats/cool_archive.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct CoolArchiveChunk { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load` is never used [INFO] [stdout] --> src/file_formats/file_lists.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn load() -> std::io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SIMPLE_4_LOOKUP` is never used [INFO] [stdout] --> src/file_formats/packed_archive.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const SIMPLE_4_LOOKUP: [(u32, &str); 5] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SIMPLE_8_LOOKUP` is never used [INFO] [stdout] --> src/file_formats/packed_archive.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const SIMPLE_8_LOOKUP: [(u64, &str); 3] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `detect_file_extension` is never used [INFO] [stdout] --> src/file_formats/packed_archive.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl PackedArchive { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | fn detect_file_extension(guess: &[u8], read: usize) -> std::io::Result<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/file_formats/texture.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Texture { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 11 | pub le: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | pub unknown_06: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | pub dimension: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub depth: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | pub flags: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | pub mip_count: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | pub header_mip_count: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | pub unknown_1c: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `offset`, `size`, `unknown_8`, `unknown_a`, and `is_external` are never read [INFO] [stdout] --> src/file_formats/texture.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct TextureElement { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 26 | pub offset: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 27 | pub size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | pub unknown_8: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | pub unknown_a: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 30 | pub is_external: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DDSFile` is never constructed [INFO] [stdout] --> src/file_formats/texture_serializers/dds_file.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct DDSFile {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_pixel_format` is never used [INFO] [stdout] --> src/file_formats/texture_serializers/dds_file.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl DDSFile { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 13 | fn get_pixel_format(texture: &Texture) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DDSHeader` is never constructed [INFO] [stdout] --> src/file_formats/texture_serializers/dds_file.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct DDSHeader { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `DEFAULT_SIZE` is never used [INFO] [stdout] --> src/file_formats/texture_serializers/dds_file.rs:102:15 [INFO] [stdout] | [INFO] [stdout] 101 | impl DDSHeader { [INFO] [stdout] | -------------- associated constant in this implementation [INFO] [stdout] 102 | pub const DEFAULT_SIZE: u32 = (18 * 4) + PixelFormat::DEFAULT_SIZE + (5 * 4); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `HeaderFlags` is never used [INFO] [stdout] --> src/file_formats/texture_serializers/dds_file.rs:169:6 [INFO] [stdout] | [INFO] [stdout] 169 | enum HeaderFlags { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PixelFormat` is never constructed [INFO] [stdout] --> src/file_formats/texture_serializers/dds_file.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct PixelFormat { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `DEFAULT_SIZE` and `new` are never used [INFO] [stdout] --> src/file_formats/texture_serializers/dds_file.rs:189:15 [INFO] [stdout] | [INFO] [stdout] 188 | impl PixelFormat { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 189 | pub const DEFAULT_SIZE: u32 = 8 * 4; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 190 | [INFO] [stdout] 191 | pub fn new(file_format: FileFormat) -> std::io::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PixelFormatFlags` is never used [INFO] [stdout] --> src/file_formats/texture_serializers/dds_file.rs:357:6 [INFO] [stdout] | [INFO] [stdout] 357 | enum PixelFormatFlags { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FileFormat` is never used [INFO] [stdout] --> src/file_formats/texture_serializers/dds_file.rs:364:10 [INFO] [stdout] | [INFO] [stdout] 364 | pub enum FileFormat { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PNGFile` is never constructed [INFO] [stdout] --> src/file_formats/texture_serializers/png_file.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct PNGFile {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `serialize_to_bytes` is never used [INFO] [stdout] --> src/file_formats/texture_serializers/texture_serializer.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait TextureSerializerExt { [INFO] [stdout] | -------------------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 25 | fn serialize_to_bytes(texture: &Texture) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_s8`, `read_s16`, `read_s32`, and `read_string` are never used [INFO] [stdout] --> src/helpers/byte.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait ByteReaderExt: std::io::Read { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 53 | fn read_s8(&mut self) -> std::io::Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn read_s16(&mut self, le: bool) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn read_s32(&mut self, le: bool) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn read_string(&mut self, length: u32) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ByteWriterExt` is never used [INFO] [stdout] --> src/helpers/byte.rs:106:11 [INFO] [stdout] | [INFO] [stdout] 106 | pub trait ByteWriterExt { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `serialize`, `serialize_to_path`, and `serialize_to_bytes` are never used [INFO] [stdout] --> src/helpers/serializable.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait SerializableExt> { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] 12 | fn deserialize(input: &mut R) -> std::io::Result; [INFO] [stdout] 13 | fn serialize(&self, output: &mut R) -> std::io::Result<()>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn serialize_to_path>(&self, path: &P) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn serialize_to_bytes(&self) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write` is never used [INFO] [stdout] --> src/helpers/serializable.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait SerializablePartExt { [INFO] [stdout] | ------------------- method in this trait [INFO] [stdout] 43 | fn read(input: &mut R, le: bool) -> std::io::Result; [INFO] [stdout] 44 | fn write(&self, output: &mut R, le: bool) -> std::io::Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `le` and `alignment` are never read [INFO] [stdout] --> src/file_formats/archive_table.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ArchiveTable { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 13 | pub le: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | pub alignment: u32, [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 `SIGNATURE` is never used [INFO] [stdout] --> src/file_formats/cool_archive.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const SIGNATURE: &[u8; 4] = b"AAF\0"; // 0x00464141 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COMMENT` is never used [INFO] [stdout] --> src/file_formats/cool_archive.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const COMMENT: &[u8; 28] = b"AVALANCHEARCHIVEFORMATISCOOL"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHUNK_SIGNATURE` is never used [INFO] [stdout] --> src/file_formats/cool_archive.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const CHUNK_SIGNATURE: &[u8; 4] = b"EWAM"; // 0x4D415745 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CoolArchive` is never constructed [INFO] [stdout] --> src/file_formats/cool_archive.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CoolArchive { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CoolArchiveChunk` is never constructed [INFO] [stdout] --> src/file_formats/cool_archive.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct CoolArchiveChunk { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load` is never used [INFO] [stdout] --> src/file_formats/file_lists.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn load() -> std::io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SIMPLE_4_LOOKUP` is never used [INFO] [stdout] --> src/file_formats/packed_archive.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const SIMPLE_4_LOOKUP: [(u32, &str); 5] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SIMPLE_8_LOOKUP` is never used [INFO] [stdout] --> src/file_formats/packed_archive.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const SIMPLE_8_LOOKUP: [(u64, &str); 3] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `detect_file_extension` is never used [INFO] [stdout] --> src/file_formats/packed_archive.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl PackedArchive { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | fn detect_file_extension(guess: &[u8], read: usize) -> std::io::Result<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/file_formats/texture.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Texture { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 11 | pub le: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | pub unknown_06: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | pub dimension: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub depth: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | pub flags: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | pub mip_count: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | pub header_mip_count: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | pub unknown_1c: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `offset`, `size`, `unknown_8`, `unknown_a`, and `is_external` are never read [INFO] [stdout] --> src/file_formats/texture.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct TextureElement { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 26 | pub offset: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 27 | pub size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | pub unknown_8: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | pub unknown_a: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 30 | pub is_external: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DDSFile` is never constructed [INFO] [stdout] --> src/file_formats/texture_serializers/dds_file.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct DDSFile {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_pixel_format` is never used [INFO] [stdout] --> src/file_formats/texture_serializers/dds_file.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl DDSFile { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 13 | fn get_pixel_format(texture: &Texture) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DDSHeader` is never constructed [INFO] [stdout] --> src/file_formats/texture_serializers/dds_file.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct DDSHeader { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `DEFAULT_SIZE` is never used [INFO] [stdout] --> src/file_formats/texture_serializers/dds_file.rs:102:15 [INFO] [stdout] | [INFO] [stdout] 101 | impl DDSHeader { [INFO] [stdout] | -------------- associated constant in this implementation [INFO] [stdout] 102 | pub const DEFAULT_SIZE: u32 = (18 * 4) + PixelFormat::DEFAULT_SIZE + (5 * 4); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `HeaderFlags` is never used [INFO] [stdout] --> src/file_formats/texture_serializers/dds_file.rs:169:6 [INFO] [stdout] | [INFO] [stdout] 169 | enum HeaderFlags { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PixelFormat` is never constructed [INFO] [stdout] --> src/file_formats/texture_serializers/dds_file.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct PixelFormat { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `DEFAULT_SIZE` and `new` are never used [INFO] [stdout] --> src/file_formats/texture_serializers/dds_file.rs:189:15 [INFO] [stdout] | [INFO] [stdout] 188 | impl PixelFormat { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 189 | pub const DEFAULT_SIZE: u32 = 8 * 4; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 190 | [INFO] [stdout] 191 | pub fn new(file_format: FileFormat) -> std::io::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PixelFormatFlags` is never used [INFO] [stdout] --> src/file_formats/texture_serializers/dds_file.rs:357:6 [INFO] [stdout] | [INFO] [stdout] 357 | enum PixelFormatFlags { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FileFormat` is never used [INFO] [stdout] --> src/file_formats/texture_serializers/dds_file.rs:364:10 [INFO] [stdout] | [INFO] [stdout] 364 | pub enum FileFormat { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PNGFile` is never constructed [INFO] [stdout] --> src/file_formats/texture_serializers/png_file.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct PNGFile {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `serialize_to_bytes` is never used [INFO] [stdout] --> src/file_formats/texture_serializers/texture_serializer.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait TextureSerializerExt { [INFO] [stdout] | -------------------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 25 | fn serialize_to_bytes(texture: &Texture) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_s8`, `read_s16`, `read_s32`, and `read_string` are never used [INFO] [stdout] --> src/helpers/byte.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait ByteReaderExt: std::io::Read { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 53 | fn read_s8(&mut self) -> std::io::Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn read_s16(&mut self, le: bool) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn read_s32(&mut self, le: bool) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn read_string(&mut self, length: u32) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ByteWriterExt` is never used [INFO] [stdout] --> src/helpers/byte.rs:106:11 [INFO] [stdout] | [INFO] [stdout] 106 | pub trait ByteWriterExt { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `serialize`, `serialize_to_path`, and `serialize_to_bytes` are never used [INFO] [stdout] --> src/helpers/serializable.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait SerializableExt> { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] 12 | fn deserialize(input: &mut R) -> std::io::Result; [INFO] [stdout] 13 | fn serialize(&self, output: &mut R) -> std::io::Result<()>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn serialize_to_path>(&self, path: &P) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn serialize_to_bytes(&self) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write` is never used [INFO] [stdout] --> src/helpers/serializable.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait SerializablePartExt { [INFO] [stdout] | ------------------- method in this trait [INFO] [stdout] 43 | fn read(input: &mut R, le: bool) -> std::io::Result; [INFO] [stdout] 44 | fn write(&self, output: &mut R, le: bool) -> std::io::Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.69s [INFO] running `Command { std: "docker" "inspect" "1faad753a6963a714517e1f90c60f161462df7e27fd297004399cfc527cb0947", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1faad753a6963a714517e1f90c60f161462df7e27fd297004399cfc527cb0947", kill_on_drop: false }` [INFO] [stdout] 1faad753a6963a714517e1f90c60f161462df7e27fd297004399cfc527cb0947