[INFO] cloning repository https://github.com/HeNeos/steganography-tools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HeNeos/steganography-tools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHeNeos%2Fsteganography-tools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHeNeos%2Fsteganography-tools'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f515238e20ac346e8f6533cfd453f9974563ba4d [INFO] building HeNeos/steganography-tools against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHeNeos%2Fsteganography-tools" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/HeNeos/steganography-tools [INFO] finished tweaking git repo https://github.com/HeNeos/steganography-tools [INFO] tweaked toml for git repo https://github.com/HeNeos/steganography-tools written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/HeNeos/steganography-tools on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/HeNeos/steganography-tools 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zune-jpeg v0.4.14 [INFO] [stderr] Downloaded arg_enum_proc_macro v0.3.4 [INFO] [stderr] Downloaded system-deps v6.2.2 [INFO] [stderr] Downloaded profiling-procmacros v1.0.16 [INFO] [stderr] Downloaded rgb v0.8.50 [INFO] [stderr] Downloaded loop9 v0.1.5 [INFO] [stderr] Downloaded profiling v1.0.16 [INFO] [stderr] Downloaded quick-error v2.0.1 [INFO] [stderr] Downloaded simd_helpers v0.1.0 [INFO] [stderr] Downloaded avif-serialize v0.8.3 [INFO] [stderr] Downloaded image-webp v0.2.1 [INFO] [stderr] Downloaded half v2.6.0 [INFO] [stderr] Downloaded av1-grain v0.2.3 [INFO] [stderr] Downloaded bitstream-io v2.6.0 [INFO] [stderr] Downloaded arbitrary v1.4.1 [INFO] [stderr] Downloaded libfuzzer-sys v0.4.9 [INFO] [stderr] Downloaded cfg-expr v0.15.8 [INFO] [stderr] Downloaded v_frame v0.3.8 [INFO] [stderr] Downloaded built v0.7.7 [INFO] [stderr] Downloaded interpolate_name v0.2.4 [INFO] [stderr] Downloaded maybe-rayon v0.1.1 [INFO] [stderr] Downloaded noop_proc_macro v0.3.0 [INFO] [stderr] Downloaded ravif v0.11.12 [INFO] [stderr] Downloaded zune-core v0.4.12 [INFO] [stderr] Downloaded aligned-vec v0.5.0 [INFO] [stderr] Downloaded imgref v1.11.0 [INFO] [stderr] Downloaded rav1e v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2af57176b7dff99fa6d201e208acd8c0b0c00a0cec7caa05bbc5fa98d256faa9 [INFO] running `Command { std: "docker" "start" "-a" "2af57176b7dff99fa6d201e208acd8c0b0c00a0cec7caa05bbc5fa98d256faa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2af57176b7dff99fa6d201e208acd8c0b0c00a0cec7caa05bbc5fa98d256faa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2af57176b7dff99fa6d201e208acd8c0b0c00a0cec7caa05bbc5fa98d256faa9", kill_on_drop: false }` [INFO] [stdout] 2af57176b7dff99fa6d201e208acd8c0b0c00a0cec7caa05bbc5fa98d256faa9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f6b2236b0557c5c139d2cbf6a1a0c7aa7d47e020ce51dc4d8d4b4564d6ef61d [INFO] running `Command { std: "docker" "start" "-a" "7f6b2236b0557c5c139d2cbf6a1a0c7aa7d47e020ce51dc4d8d4b4564d6ef61d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling avif-serialize v0.8.3 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling image-webp v0.2.1 [INFO] [stderr] Compiling zune-jpeg v0.4.14 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling hound v3.5.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling clap v4.5.38 [INFO] [stderr] Compiling ravif v0.11.12 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling steganography v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::content::audio::AudioContent` [INFO] [stdout] --> src/decode/to_image/lsb.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::content::audio::AudioContent; [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::content::image::ImageContent` [INFO] [stdout] --> src/decode/to_image/lsb.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::content::image::ImageContent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Decodable` [INFO] [stdout] --> src/decode/to_image/lsb.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::traits::{ContentType, Decodable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs as std_fs` [INFO] [stdout] --> src/decode/to_image/lsb.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs as std_fs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path as StdPath` [INFO] [stdout] --> src/decode/to_image/lsb.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::Path as StdPath; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WavSpec` [INFO] [stdout] --> src/encode/to_audio/lsb.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | use hound::{SampleFormat, WavReader, WavSpec, WavWriter}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/decode/to_audio/lsb.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | for i in 0..data_len { [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: constant `BITS_PER_SAMPLE_TO_EXTRACT` is never used [INFO] [stdout] --> src/decode/to_audio/lsb.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const BITS_PER_SAMPLE_TO_EXTRACT: u32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::content::audio::AudioContent` [INFO] [stdout] --> src/decode/to_image/lsb.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::content::audio::AudioContent; [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::content::image::ImageContent` [INFO] [stdout] --> src/decode/to_image/lsb.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::content::image::ImageContent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Decodable` [INFO] [stdout] --> src/decode/to_image/lsb.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::traits::{ContentType, Decodable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs as std_fs` [INFO] [stdout] --> src/decode/to_image/lsb.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs as std_fs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path as StdPath` [INFO] [stdout] --> src/decode/to_image/lsb.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::Path as StdPath; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WavSpec` [INFO] [stdout] --> src/encode/to_audio/lsb.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | use hound::{SampleFormat, WavReader, WavSpec, WavWriter}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/decode/to_audio/lsb.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | for i in 0..data_len { [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: constant `BITS_PER_SAMPLE_TO_EXTRACT` is never used [INFO] [stdout] --> src/decode/to_audio/lsb.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const BITS_PER_SAMPLE_TO_EXTRACT: u32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_from_image` is never used [INFO] [stdout] --> src/encode/utils/extract.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn extract_from_image(hide_file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `metadata` is never used [INFO] [stdout] --> src/traits.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Encodable { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 4 | fn metadata(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_string` and `file_extension` are never used [INFO] [stdout] --> src/traits.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl ContentType { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn to_string(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn file_extension(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.36s [INFO] running `Command { std: "docker" "inspect" "7f6b2236b0557c5c139d2cbf6a1a0c7aa7d47e020ce51dc4d8d4b4564d6ef61d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f6b2236b0557c5c139d2cbf6a1a0c7aa7d47e020ce51dc4d8d4b4564d6ef61d", kill_on_drop: false }` [INFO] [stdout] 7f6b2236b0557c5c139d2cbf6a1a0c7aa7d47e020ce51dc4d8d4b4564d6ef61d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4044577f029db7a498beeb4b363a2bcd908f993b92599612b22bc7eb9b539d45 [INFO] running `Command { std: "docker" "start" "-a" "4044577f029db7a498beeb4b363a2bcd908f993b92599612b22bc7eb9b539d45", kill_on_drop: false }` [INFO] [stderr] Compiling steganography v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::content::audio::AudioContent` [INFO] [stdout] --> src/decode/to_image/lsb.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::content::audio::AudioContent; [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::content::image::ImageContent` [INFO] [stdout] --> src/decode/to_image/lsb.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::content::image::ImageContent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Decodable` [INFO] [stdout] --> src/decode/to_image/lsb.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::traits::{ContentType, Decodable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs as std_fs` [INFO] [stdout] --> src/decode/to_image/lsb.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs as std_fs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path as StdPath` [INFO] [stdout] --> src/decode/to_image/lsb.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::Path as StdPath; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WavSpec` [INFO] [stdout] --> src/encode/to_audio/lsb.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | use hound::{SampleFormat, WavReader, WavSpec, WavWriter}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/decode/to_audio/lsb.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | for i in 0..data_len { [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: constant `BITS_PER_SAMPLE_TO_EXTRACT` is never used [INFO] [stdout] --> src/decode/to_audio/lsb.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const BITS_PER_SAMPLE_TO_EXTRACT: u32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::content::audio::AudioContent` [INFO] [stdout] --> src/decode/to_image/lsb.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::content::audio::AudioContent; [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::content::image::ImageContent` [INFO] [stdout] --> src/decode/to_image/lsb.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::content::image::ImageContent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Decodable` [INFO] [stdout] --> src/decode/to_image/lsb.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::traits::{ContentType, Decodable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs as std_fs` [INFO] [stdout] --> src/decode/to_image/lsb.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs as std_fs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path as StdPath` [INFO] [stdout] --> src/decode/to_image/lsb.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::Path as StdPath; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WavSpec` [INFO] [stdout] --> src/encode/to_audio/lsb.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | use hound::{SampleFormat, WavReader, WavSpec, WavWriter}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::content::audio::AudioContent` [INFO] [stdout] --> src/decode/to_image/lsb.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::content::audio::AudioContent; [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::content::image::ImageContent` [INFO] [stdout] --> src/decode/to_image/lsb.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::content::image::ImageContent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Decodable` [INFO] [stdout] --> src/decode/to_image/lsb.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::traits::{ContentType, Decodable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs as std_fs` [INFO] [stdout] --> src/decode/to_image/lsb.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs as std_fs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path as StdPath` [INFO] [stdout] --> src/decode/to_image/lsb.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::Path as StdPath; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WavSpec` [INFO] [stdout] --> src/encode/to_audio/lsb.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | use hound::{SampleFormat, WavReader, WavSpec, WavWriter}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/decode/to_audio/lsb.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | for i in 0..data_len { [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: constant `BITS_PER_SAMPLE_TO_EXTRACT` is never used [INFO] [stdout] --> src/decode/to_audio/lsb.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const BITS_PER_SAMPLE_TO_EXTRACT: u32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/decode/to_audio/lsb.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | for i in 0..data_len { [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: constant `BITS_PER_SAMPLE_TO_EXTRACT` is never used [INFO] [stdout] --> src/decode/to_audio/lsb.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const BITS_PER_SAMPLE_TO_EXTRACT: u32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_from_image` is never used [INFO] [stdout] --> src/encode/utils/extract.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn extract_from_image(hide_file: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `metadata` is never used [INFO] [stdout] --> src/traits.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Encodable { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 4 | fn metadata(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_string` and `file_extension` are never used [INFO] [stdout] --> src/traits.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl ContentType { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn to_string(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn file_extension(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.92s [INFO] running `Command { std: "docker" "inspect" "4044577f029db7a498beeb4b363a2bcd908f993b92599612b22bc7eb9b539d45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4044577f029db7a498beeb4b363a2bcd908f993b92599612b22bc7eb9b539d45", kill_on_drop: false }` [INFO] [stdout] 4044577f029db7a498beeb4b363a2bcd908f993b92599612b22bc7eb9b539d45