[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#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fno-venv%2Flibcontrast" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/no-venv/libcontrast on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded flate2 v1.1.7 [INFO] [stderr] Downloaded yuv v0.8.9 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e17270bed9683dc2dd018a6568035fd45edb70d3da45b62605b96ada73ef84f7 [INFO] running `Command { std: "docker" "start" "-a" "e17270bed9683dc2dd018a6568035fd45edb70d3da45b62605b96ada73ef84f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e17270bed9683dc2dd018a6568035fd45edb70d3da45b62605b96ada73ef84f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e17270bed9683dc2dd018a6568035fd45edb70d3da45b62605b96ada73ef84f7", kill_on_drop: false }` [INFO] [stdout] e17270bed9683dc2dd018a6568035fd45edb70d3da45b62605b96ada73ef84f7 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04854f570bfee210dd95f64f06610ae2aed24825e0159a58c57b99e14892e5c1 [INFO] running `Command { std: "docker" "start" "-a" "04854f570bfee210dd95f64f06610ae2aed24825e0159a58c57b99e14892e5c1", kill_on_drop: false }` [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling as-slice v0.2.1 [INFO] [stderr] Compiling built v0.8.0 [INFO] [stderr] Compiling av-scenechange v0.14.1 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling pastey v0.1.1 [INFO] [stderr] Compiling y4m v0.8.0 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling aligned v0.4.2 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling bitstream-io v4.9.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling imgref v1.12.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling weezl v0.1.12 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling zune-jpeg v0.4.21 [INFO] [stderr] Compiling avif-serialize v0.8.6 [INFO] [stderr] Compiling flate2 v1.1.7 [INFO] [stderr] Compiling rav1e v0.8.1 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling zune-core v0.5.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling gif v0.14.1 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling image-webp v0.2.4 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling pxfm v0.1.27 [INFO] [stderr] Compiling yuv v0.8.9 [INFO] [stderr] Compiling zune-jpeg v0.5.5 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling moxcms v0.7.10 [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 av1-grain v0.2.5 [INFO] [stderr] Compiling clap v4.5.41 [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] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [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 07s [INFO] running `Command { std: "docker" "inspect" "04854f570bfee210dd95f64f06610ae2aed24825e0159a58c57b99e14892e5c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04854f570bfee210dd95f64f06610ae2aed24825e0159a58c57b99e14892e5c1", kill_on_drop: false }` [INFO] [stdout] 04854f570bfee210dd95f64f06610ae2aed24825e0159a58c57b99e14892e5c1 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06d516a8aef7b44e1eaee3089f94ca5609687875798d78655d194b8e5f977c48 [INFO] running `Command { std: "docker" "start" "-a" "06d516a8aef7b44e1eaee3089f94ca5609687875798d78655d194b8e5f977c48", 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] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [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.73s [INFO] running `Command { std: "docker" "inspect" "06d516a8aef7b44e1eaee3089f94ca5609687875798d78655d194b8e5f977c48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06d516a8aef7b44e1eaee3089f94ca5609687875798d78655d194b8e5f977c48", kill_on_drop: false }` [INFO] [stdout] 06d516a8aef7b44e1eaee3089f94ca5609687875798d78655d194b8e5f977c48 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eafaf63872049dc59623b1bda47d9a37ef766e36c0194cc476cd6d7c03c802f6 [INFO] running `Command { std: "docker" "start" "-a" "eafaf63872049dc59623b1bda47d9a37ef766e36c0194cc476cd6d7c03c802f6", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `i` [INFO] [stdout] [INFO] [stderr] --> src/libcontrast/bitio/read.rs:36:13 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 36 | for i in 0..bytes { [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [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] | ^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [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-b744b1c688c1de54) [INFO] running `Command { std: "docker" "inspect" "eafaf63872049dc59623b1bda47d9a37ef766e36c0194cc476cd6d7c03c802f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eafaf63872049dc59623b1bda47d9a37ef766e36c0194cc476cd6d7c03c802f6", kill_on_drop: false }` [INFO] [stdout] eafaf63872049dc59623b1bda47d9a37ef766e36c0194cc476cd6d7c03c802f6