[INFO] cloning repository https://github.com/rob5300/vtfx_reader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rob5300/vtfx_reader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frob5300%2Fvtfx_reader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frob5300%2Fvtfx_reader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8c4c47488f7b138ef9a2977c070d544b855861cb [INFO] testing rob5300/vtfx_reader against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frob5300%2Fvtfx_reader" "/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/rob5300/vtfx_reader [INFO] finished tweaking git repo https://github.com/rob5300/vtfx_reader [INFO] tweaked toml for git repo https://github.com/rob5300/vtfx_reader written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rob5300/vtfx_reader on toolchain 9f93af291970322f4f1c6315ccde4d7078201159 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rob5300/vtfx_reader 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" "+9f93af291970322f4f1c6315ccde4d7078201159" "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] testing rob5300/vtfx_reader against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frob5300%2Fvtfx_reader" "/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/rob5300/vtfx_reader [INFO] finished tweaking git repo https://github.com/rob5300/vtfx_reader [INFO] tweaked toml for git repo https://github.com/rob5300/vtfx_reader written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rob5300/vtfx_reader on toolchain 9f93af291970322f4f1c6315ccde4d7078201159 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rob5300/vtfx_reader 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" "+9f93af291970322f4f1c6315ccde4d7078201159" "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 lzma-rs v0.3.0 [INFO] [stderr] Downloaded quote v1.0.39 [INFO] [stderr] Downloaded texpresso v2.0.1 [INFO] [stderr] Downloaded bswap v1.0.0 [INFO] [stderr] Downloaded opener v0.6.1 [INFO] [stderr] Downloaded once_cell v1.21.0 [INFO] [stderr] Downloaded normpath v1.3.0 [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" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 440a129ee0285d638a59e73d550b60f1fb2afc367ced2c7711c65a26a874f06c [INFO] running `Command { std: "docker" "start" "-a" "440a129ee0285d638a59e73d550b60f1fb2afc367ced2c7711c65a26a874f06c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "440a129ee0285d638a59e73d550b60f1fb2afc367ced2c7711c65a26a874f06c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "440a129ee0285d638a59e73d550b60f1fb2afc367ced2c7711c65a26a874f06c", kill_on_drop: false }` [INFO] [stdout] 440a129ee0285d638a59e73d550b60f1fb2afc367ced2c7711c65a26a874f06c [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" "-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" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] becd80f284238c8163ccfd37880c3bbfed7df28ded9252be33ad63269c61339d [INFO] running `Command { std: "docker" "start" "-a" "becd80f284238c8163ccfd37880c3bbfed7df28ded9252be33ad63269c61339d", kill_on_drop: false }` [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling once_cell v1.21.0 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling clap_builder v4.5.32 [INFO] [stderr] Compiling bswap v1.0.0 [INFO] [stderr] Compiling texpresso v2.0.1 [INFO] [stderr] Compiling lzma-rs v0.3.0 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling bstr v1.11.3 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling opener v0.6.1 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling num_enum v0.6.1 [INFO] [stderr] Compiling clap v4.5.32 [INFO] [stderr] Compiling vtfx_reader v1.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `image_format_info` should have an upper camel case name [INFO] [stdout] --> src/image_format.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct image_format_info [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImageFormatInfo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VTF_LEGACY_RSRC_LOW_RES_IMAGE` is never used [INFO] [stdout] --> src/vtfx.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const VTF_LEGACY_RSRC_LOW_RES_IMAGE: [u8;4] = [0x01, 0, 0, 0]; [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 `get_mip0_start` and `get_mip0_dxt_start` are never used [INFO] [stdout] --> src/vtfx.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl VTFXHEADER [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn get_mip0_start(&self) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn get_mip0_dxt_start(&self) -> Result> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `y`, and `z` are never read [INFO] [stdout] --> src/vtfx.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub struct Vector { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 238 | x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 239 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] 240 | z: f32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Vector` 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: struct `Rect` is never constructed [INFO] [stdout] --> src/vtfx.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 244 | pub struct Rect [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `GetMipMapLevelByteOffset` is never used [INFO] [stdout] --> src/image_format.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn GetMipMapLevelByteOffset(mut width: i32, mut height: i32, image_format: &image_format_info, mut skip_mip_levels: i32) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `GetMipMapLevelByteOffset` should have a snake case name [INFO] [stdout] --> src/image_format.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn GetMipMapLevelByteOffset(mut width: i32, mut height: i32, image_format: &image_format_info, mut skip_mip_levels: i32) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_mip_map_level_byte_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.76s [INFO] running `Command { std: "docker" "inspect" "becd80f284238c8163ccfd37880c3bbfed7df28ded9252be33ad63269c61339d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "becd80f284238c8163ccfd37880c3bbfed7df28ded9252be33ad63269c61339d", kill_on_drop: false }` [INFO] [stdout] becd80f284238c8163ccfd37880c3bbfed7df28ded9252be33ad63269c61339d [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" "-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" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 100c276c7b85f3a983f5d6d6f608d4a6972237a9cf5bdd7a02d8663f3dbc5989 [INFO] running `Command { std: "docker" "start" "-a" "100c276c7b85f3a983f5d6d6f608d4a6972237a9cf5bdd7a02d8663f3dbc5989", kill_on_drop: false }` [INFO] [stderr] Compiling vtfx_reader v1.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `image_format_info` should have an upper camel case name [INFO] [stdout] --> src/image_format.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct image_format_info [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImageFormatInfo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VTF_LEGACY_RSRC_LOW_RES_IMAGE` is never used [INFO] [stdout] --> src/vtfx.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const VTF_LEGACY_RSRC_LOW_RES_IMAGE: [u8;4] = [0x01, 0, 0, 0]; [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 `get_mip0_start` and `get_mip0_dxt_start` are never used [INFO] [stdout] --> src/vtfx.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl VTFXHEADER [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn get_mip0_start(&self) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn get_mip0_dxt_start(&self) -> Result> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `y`, and `z` are never read [INFO] [stdout] --> src/vtfx.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub struct Vector { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 238 | x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 239 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] 240 | z: f32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Vector` 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: struct `Rect` is never constructed [INFO] [stdout] --> src/vtfx.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 244 | pub struct Rect [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `GetMipMapLevelByteOffset` is never used [INFO] [stdout] --> src/image_format.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn GetMipMapLevelByteOffset(mut width: i32, mut height: i32, image_format: &image_format_info, mut skip_mip_levels: i32) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `GetMipMapLevelByteOffset` should have a snake case name [INFO] [stdout] --> src/image_format.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn GetMipMapLevelByteOffset(mut width: i32, mut height: i32, image_format: &image_format_info, mut skip_mip_levels: i32) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_mip_map_level_byte_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.30s [INFO] running `Command { std: "docker" "inspect" "100c276c7b85f3a983f5d6d6f608d4a6972237a9cf5bdd7a02d8663f3dbc5989", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "100c276c7b85f3a983f5d6d6f608d4a6972237a9cf5bdd7a02d8663f3dbc5989", kill_on_drop: false }` [INFO] [stdout] 100c276c7b85f3a983f5d6d6f608d4a6972237a9cf5bdd7a02d8663f3dbc5989 [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" "-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" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c1c8698274b84d00fe24c3ed13ce213a72952a6d51ccf691d5e38b7a27987b23 [INFO] running `Command { std: "docker" "start" "-a" "c1c8698274b84d00fe24c3ed13ce213a72952a6d51ccf691d5e38b7a27987b23", kill_on_drop: false }` [INFO] [stderr] warning: type `image_format_info` should have an upper camel case name [INFO] [stderr] --> src/image_format.rs:83:12 [INFO] [stderr] | [INFO] [stderr] 83 | pub struct image_format_info [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ImageFormatInfo` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `VTF_LEGACY_RSRC_LOW_RES_IMAGE` is never used [INFO] [stderr] --> src/vtfx.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | pub const VTF_LEGACY_RSRC_LOW_RES_IMAGE: [u8;4] = [0x01, 0, 0, 0]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `get_mip0_start` and `get_mip0_dxt_start` are never used [INFO] [stderr] --> src/vtfx.rs:177:12 [INFO] [stderr] | [INFO] [stderr] 39 | impl VTFXHEADER [INFO] [stderr] | --------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 177 | pub fn get_mip0_start(&self) -> usize [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 199 | pub fn get_mip0_dxt_start(&self) -> Result> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `x`, `y`, and `z` are never read [INFO] [stderr] --> src/vtfx.rs:238:5 [INFO] [stderr] | [INFO] [stderr] 237 | pub struct Vector { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 238 | x: f32, [INFO] [stderr] | ^ [INFO] [stderr] 239 | y: f32, [INFO] [stderr] | ^ [INFO] [stderr] 240 | z: f32, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `Vector` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `Rect` is never constructed [INFO] [stderr] --> src/vtfx.rs:244:12 [INFO] [stderr] | [INFO] [stderr] 244 | pub struct Rect [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `GetMipMapLevelByteOffset` is never used [INFO] [stderr] --> src/image_format.rs:272:8 [INFO] [stderr] | [INFO] [stderr] 272 | pub fn GetMipMapLevelByteOffset(mut width: i32, mut height: i32, image_format: &image_format_info, mut skip_mip_levels: i32) -> usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `GetMipMapLevelByteOffset` should have a snake case name [INFO] [stderr] --> src/image_format.rs:272:8 [INFO] [stderr] | [INFO] [stderr] 272 | pub fn GetMipMapLevelByteOffset(mut width: i32, mut height: i32, image_format: &image_format_info, mut skip_mip_levels: i32) -> usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_mip_map_level_byte_offset` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `vtfx_reader` (bin "vtfx_reader" test) generated 7 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/vtfx_reader-b1c21b3c36e3fb31) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c1c8698274b84d00fe24c3ed13ce213a72952a6d51ccf691d5e38b7a27987b23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1c8698274b84d00fe24c3ed13ce213a72952a6d51ccf691d5e38b7a27987b23", kill_on_drop: false }` [INFO] [stdout] c1c8698274b84d00fe24c3ed13ce213a72952a6d51ccf691d5e38b7a27987b23