[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] testing HeNeos/steganography-tools against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHeNeos%2Fsteganography-tools" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] cde657bee378634f4465d4f67a81d848b63be4c9ebe98a3f1cd1b11f4e35b729 [INFO] running `Command { std: "docker" "start" "-a" "cde657bee378634f4465d4f67a81d848b63be4c9ebe98a3f1cd1b11f4e35b729", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cde657bee378634f4465d4f67a81d848b63be4c9ebe98a3f1cd1b11f4e35b729", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cde657bee378634f4465d4f67a81d848b63be4c9ebe98a3f1cd1b11f4e35b729", kill_on_drop: false }` [INFO] [stdout] cde657bee378634f4465d4f67a81d848b63be4c9ebe98a3f1cd1b11f4e35b729 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 080f2c7258667028cafdc2f90f76fc5f42bbcff7b09daaee792f69ba1f1fe5ca [INFO] running `Command { std: "docker" "start" "-a" "080f2c7258667028cafdc2f90f76fc5f42bbcff7b09daaee792f69ba1f1fe5ca", kill_on_drop: false }` [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling avif-serialize v0.8.3 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling zune-jpeg v0.4.14 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling image-webp v0.2.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling hound v3.5.1 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [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 rav1e v0.7.1 [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 36.94s [INFO] running `Command { std: "docker" "inspect" "080f2c7258667028cafdc2f90f76fc5f42bbcff7b09daaee792f69ba1f1fe5ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "080f2c7258667028cafdc2f90f76fc5f42bbcff7b09daaee792f69ba1f1fe5ca", kill_on_drop: false }` [INFO] [stdout] 080f2c7258667028cafdc2f90f76fc5f42bbcff7b09daaee792f69ba1f1fe5ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] f0e3d3acd04189ed45fad78b4dc95106945b36add26665a336bfddaf78d35ca6 [INFO] running `Command { std: "docker" "start" "-a" "f0e3d3acd04189ed45fad78b4dc95106945b36add26665a336bfddaf78d35ca6", kill_on_drop: false }` [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] [stderr] Compiling steganography v0.1.0 (/opt/rustwide/workdir) [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: 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: 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.72s [INFO] running `Command { std: "docker" "inspect" "f0e3d3acd04189ed45fad78b4dc95106945b36add26665a336bfddaf78d35ca6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0e3d3acd04189ed45fad78b4dc95106945b36add26665a336bfddaf78d35ca6", kill_on_drop: false }` [INFO] [stdout] f0e3d3acd04189ed45fad78b4dc95106945b36add26665a336bfddaf78d35ca6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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", kill_on_drop: false }` [INFO] [stdout] 1284354f49d8453b15a10999a4e5ab9d68c571c7d0c79254549e31ee0b39af3d [INFO] running `Command { std: "docker" "start" "-a" "1284354f49d8453b15a10999a4e5ab9d68c571c7d0c79254549e31ee0b39af3d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::content::audio::AudioContent` [INFO] [stderr] --> src/decode/to_image/lsb.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::content::audio::AudioContent; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::content::image::ImageContent` [INFO] [stderr] --> src/decode/to_image/lsb.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::content::image::ImageContent; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Decodable` [INFO] [stderr] --> src/decode/to_image/lsb.rs:3:34 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::traits::{ContentType, Decodable}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs as std_fs` [INFO] [stderr] --> src/decode/to_image/lsb.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::fs as std_fs; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::Path as StdPath` [INFO] [stderr] --> src/decode/to_image/lsb.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::path::Path as StdPath; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `WavSpec` [INFO] [stderr] --> src/encode/to_audio/lsb.rs:2:38 [INFO] [stderr] | [INFO] [stderr] 2 | use hound::{SampleFormat, WavReader, WavSpec, WavWriter}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/decode/to_audio/lsb.rs:73:9 [INFO] [stderr] | [INFO] [stderr] 73 | for i in 0..data_len { [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: constant `BITS_PER_SAMPLE_TO_EXTRACT` is never used [INFO] [stderr] --> src/decode/to_audio/lsb.rs:4:7 [INFO] [stderr] | [INFO] [stderr] 4 | const BITS_PER_SAMPLE_TO_EXTRACT: u32 = 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `steganography` (lib) generated 8 warnings (run `cargo fix --lib -p steganography` to apply 6 suggestions) [INFO] [stderr] warning: `steganography` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/main.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `extract_from_image` is never used [INFO] [stderr] --> src/encode/utils/extract.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn extract_from_image(hide_file: &str) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `metadata` is never used [INFO] [stderr] --> src/traits.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub trait Encodable { [INFO] [stderr] | --------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 4 | fn metadata(&self) -> Vec; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `to_string` and `file_extension` are never used [INFO] [stderr] --> src/traits.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl ContentType { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 30 | pub fn to_string(&self) -> &'static str { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | pub fn file_extension(&self) -> &'static str { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `steganography` (bin "steganography" test) generated 12 warnings (8 duplicates) (run `cargo fix --bin "steganography" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/steganography-b6658ddd34020f68) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/steganography-844b910dd04842aa) [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] [stderr] Doc-tests steganography [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" "1284354f49d8453b15a10999a4e5ab9d68c571c7d0c79254549e31ee0b39af3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1284354f49d8453b15a10999a4e5ab9d68c571c7d0c79254549e31ee0b39af3d", kill_on_drop: false }` [INFO] [stdout] 1284354f49d8453b15a10999a4e5ab9d68c571c7d0c79254549e31ee0b39af3d