[INFO] cloning repository https://github.com/no-venv/libcontrast [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/no-venv/libcontrast" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fno-venv%2Flibcontrast", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fno-venv%2Flibcontrast'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2630e64f7f899db778225d2d91380a17fc6fc3b9 [INFO] testing no-venv/libcontrast against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fno-venv%2Flibcontrast" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/no-venv/libcontrast [INFO] finished tweaking git repo https://github.com/no-venv/libcontrast [INFO] tweaked toml for git repo https://github.com/no-venv/libcontrast written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/no-venv/libcontrast on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/no-venv/libcontrast 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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ravif v0.12.0 [INFO] [stderr] Downloaded zune-jpeg v0.5.5 [INFO] [stderr] Downloaded zune-core v0.5.0 [INFO] [stderr] Downloaded aligned v0.4.2 [INFO] [stderr] Downloaded avif-serialize v0.8.6 [INFO] [stderr] Downloaded cc v1.2.49 [INFO] [stderr] Downloaded libfuzzer-sys v0.4.10 [INFO] [stderr] Downloaded moxcms v0.7.10 [INFO] [stderr] Downloaded image v0.25.9 [INFO] [stderr] Downloaded yuv v0.8.9 [INFO] [stderr] Downloaded pxfm v0.1.27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a4739071cbb7535c74237a8ccb865890ef60940da12de062cf26adc54bc8d2b [INFO] running `Command { std: "docker" "start" "-a" "9a4739071cbb7535c74237a8ccb865890ef60940da12de062cf26adc54bc8d2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a4739071cbb7535c74237a8ccb865890ef60940da12de062cf26adc54bc8d2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a4739071cbb7535c74237a8ccb865890ef60940da12de062cf26adc54bc8d2b", kill_on_drop: false }` [INFO] [stdout] 9a4739071cbb7535c74237a8ccb865890ef60940da12de062cf26adc54bc8d2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f50b0daa2a5d865ab6d53385f9c4c00395f6c2c8f39cda09ff99595bf5a8cc1 [INFO] running `Command { std: "docker" "start" "-a" "4f50b0daa2a5d865ab6d53385f9c4c00395f6c2c8f39cda09ff99595bf5a8cc1", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling aligned v0.4.2 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling pxfm v0.1.27 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling avif-serialize v0.8.6 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling zune-core v0.5.0 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling flate2 v1.1.7 [INFO] [stderr] Compiling zune-jpeg v0.4.21 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling zune-jpeg v0.5.5 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling yuv v0.8.9 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling bitstream-io v4.9.0 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling moxcms v0.7.10 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.31 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling fax v0.2.6 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling av-scenechange v0.14.1 [INFO] [stderr] Compiling av1-grain v0.2.5 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling rav1e v0.8.1 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling tiff v0.10.3 [INFO] [stderr] Compiling exr v1.74.0 [INFO] [stderr] Compiling ravif v0.12.0 [INFO] [stderr] Compiling image v0.25.9 [INFO] [stderr] Compiling qtcompress v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/libcontrast/bitio/read.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | for i in 0..bytes { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/libcontrast/bitio/write.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | for i in 0..8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `block_value` is never read [INFO] [stdout] --> src/libcontrast/decoder.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | let mut block_value = 0; [INFO] [stdout] | ^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 48 | block_value = reader.read_bits_unalinged(7) as u8; [INFO] [stdout] | ------------------------------------------------- `block_value` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `should_return_as_little_endian` is never read [INFO] [stdout] --> src/libcontrast/bitio/read.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct BitReader { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | should_return_as_little_endian: bool, [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 `return_as_little_endian` and `read_bits_unalinged_signed` are never used [INFO] [stdout] --> src/libcontrast/bitio/read.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl BitReader { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 11 | pub fn return_as_little_endian(&mut self, bool: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn read_bits_unalinged_signed(&mut self, bits: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `append_byte_unalinged`, `append_byte_alinged`, and `print_buffer` are never used [INFO] [stdout] --> src/libcontrast/bitio/write.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl BitWriter { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn append_byte_unalinged(&mut self, byte: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn append_byte_alinged(&mut self, byte: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn print_buffer(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_from_buffer` is never used [INFO] [stdout] --> src/libcontrast/decoder.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn new_from_buffer(buffer: Vec) -> Decode { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "4f50b0daa2a5d865ab6d53385f9c4c00395f6c2c8f39cda09ff99595bf5a8cc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f50b0daa2a5d865ab6d53385f9c4c00395f6c2c8f39cda09ff99595bf5a8cc1", kill_on_drop: false }` [INFO] [stdout] 4f50b0daa2a5d865ab6d53385f9c4c00395f6c2c8f39cda09ff99595bf5a8cc1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19a47b93c0e21e4eb59e513c8c3eead106b7e96665b882003f9eeb6dedc17959 [INFO] running `Command { std: "docker" "start" "-a" "19a47b93c0e21e4eb59e513c8c3eead106b7e96665b882003f9eeb6dedc17959", kill_on_drop: false }` [INFO] [stderr] Compiling qtcompress v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/libcontrast/bitio/read.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | for i in 0..bytes { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/libcontrast/bitio/write.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | for i in 0..8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `block_value` is never read [INFO] [stdout] --> src/libcontrast/decoder.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | let mut block_value = 0; [INFO] [stdout] | ^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 48 | block_value = reader.read_bits_unalinged(7) as u8; [INFO] [stdout] | ------------------------------------------------- `block_value` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `should_return_as_little_endian` is never read [INFO] [stdout] --> src/libcontrast/bitio/read.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct BitReader { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | should_return_as_little_endian: bool, [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 `return_as_little_endian` and `read_bits_unalinged_signed` are never used [INFO] [stdout] --> src/libcontrast/bitio/read.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl BitReader { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 11 | pub fn return_as_little_endian(&mut self, bool: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn read_bits_unalinged_signed(&mut self, bits: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `append_byte_unalinged`, `append_byte_alinged`, and `print_buffer` are never used [INFO] [stdout] --> src/libcontrast/bitio/write.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl BitWriter { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn append_byte_unalinged(&mut self, byte: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn append_byte_alinged(&mut self, byte: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn print_buffer(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_from_buffer` is never used [INFO] [stdout] --> src/libcontrast/decoder.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn new_from_buffer(buffer: Vec) -> Decode { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.65s [INFO] running `Command { std: "docker" "inspect" "19a47b93c0e21e4eb59e513c8c3eead106b7e96665b882003f9eeb6dedc17959", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19a47b93c0e21e4eb59e513c8c3eead106b7e96665b882003f9eeb6dedc17959", kill_on_drop: false }` [INFO] [stdout] 19a47b93c0e21e4eb59e513c8c3eead106b7e96665b882003f9eeb6dedc17959 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 66d6d4b20af8ad1c99571e4567f9a65a93e3cf3441e78561b2087e118e44ed6a [INFO] running `Command { std: "docker" "start" "-a" "66d6d4b20af8ad1c99571e4567f9a65a93e3cf3441e78561b2087e118e44ed6a", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/libcontrast/bitio/read.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | for i in 0..bytes { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/libcontrast/bitio/write.rs:52:13 [INFO] [stderr] | [INFO] [stderr] 52 | for i in 0..8 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `block_value` is never read [INFO] [stderr] --> src/libcontrast/decoder.rs:44:43 [INFO] [stderr] | [INFO] [stderr] 44 | let mut block_value = 0; [INFO] [stderr] | ^ this value is reassigned later and never used [INFO] [stderr] ... [INFO] [stderr] 48 | block_value = reader.read_bits_unalinged(7) as u8; [INFO] [stderr] | ------------------------------------------------- `block_value` is overwritten here before the previous value is read [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `should_return_as_little_endian` is never read [INFO] [stderr] --> src/libcontrast/bitio/read.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct BitReader { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 7 | should_return_as_little_endian: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `return_as_little_endian` and `read_bits_unalinged_signed` are never used [INFO] [stderr] --> src/libcontrast/bitio/read.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl BitReader { [INFO] [stderr] | -------------- methods in this implementation [INFO] [stderr] 11 | pub fn return_as_little_endian(&mut self, bool: bool) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 23 | pub fn read_bits_unalinged_signed(&mut self, bits: usize) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `append_byte_unalinged`, `append_byte_alinged`, and `print_buffer` are never used [INFO] [stderr] --> src/libcontrast/bitio/write.rs:35:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl BitWriter { [INFO] [stderr] | -------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 35 | pub fn append_byte_unalinged(&mut self, byte: u8) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 46 | pub fn append_byte_alinged(&mut self, byte: u8) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 51 | pub fn print_buffer(&self) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `new_from_buffer` is never used [INFO] [stderr] --> src/libcontrast/decoder.rs:119:8 [INFO] [stderr] | [INFO] [stderr] 119 | pub fn new_from_buffer(buffer: Vec) -> Decode { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `qtcompress` (bin "qtcompress" test) generated 7 warnings (run `cargo fix --bin "qtcompress" -p qtcompress --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/qtcompress-a3844ba148446704) [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" "66d6d4b20af8ad1c99571e4567f9a65a93e3cf3441e78561b2087e118e44ed6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66d6d4b20af8ad1c99571e4567f9a65a93e3cf3441e78561b2087e118e44ed6a", kill_on_drop: false }` [INFO] [stdout] 66d6d4b20af8ad1c99571e4567f9a65a93e3cf3441e78561b2087e118e44ed6a