[INFO] cloning repository https://github.com/WVAviator/stegocrypt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WVAviator/stegocrypt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWVAviator%2Fstegocrypt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWVAviator%2Fstegocrypt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a2e06e682062beffa44d12a19e8fca83fdd9a2c [INFO] checking WVAviator/stegocrypt/8a2e06e682062beffa44d12a19e8fca83fdd9a2c against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWVAviator%2Fstegocrypt" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WVAviator/stegocrypt on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/WVAviator/stegocrypt [INFO] finished tweaking git repo https://github.com/WVAviator/stegocrypt [INFO] tweaked toml for git repo https://github.com/WVAviator/stegocrypt written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/WVAviator/stegocrypt 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98bc0aaf920473f8cac94e26b2bf54d07903b1ea9f5af2c138f5132240d94a45 [INFO] running `Command { std: "docker" "start" "-a" "98bc0aaf920473f8cac94e26b2bf54d07903b1ea9f5af2c138f5132240d94a45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98bc0aaf920473f8cac94e26b2bf54d07903b1ea9f5af2c138f5132240d94a45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98bc0aaf920473f8cac94e26b2bf54d07903b1ea9f5af2c138f5132240d94a45", kill_on_drop: false }` [INFO] [stdout] 98bc0aaf920473f8cac94e26b2bf54d07903b1ea9f5af2c138f5132240d94a45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd0dbeb3d2ca4eba87a05caceff951732ee5a32dc2e974ecdb865908ce380f2c [INFO] running `Command { std: "docker" "start" "-a" "cd0dbeb3d2ca4eba87a05caceff951732ee5a32dc2e974ecdb865908ce380f2c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking clap_builder v4.4.7 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking clap v4.4.7 [INFO] [stderr] Checking stegocrypt v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/mp3/mpegframeheader/mpegframesync.rs (2 fixes) [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/mp3/mpegframeheader/crcprotection.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | let length = data.len(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `checksum` [INFO] [stdout] --> src/mp3/mpegframeheader.rs:125:50 [INFO] [stdout] | [INFO] [stdout] 125 | CRCProtection::Enabled { checksum } => 2, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `checksum: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id3v2` is never read [INFO] [stdout] --> src/mp3.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MP3 { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 8 | pub id3v2: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/mp3.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct MP3Frame { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 14 | pub header: MPEGFrameHeader, [INFO] [stdout] 15 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `flags`, and `frames` are never read [INFO] [stdout] --> src/mp3/id3v2.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct ID3v2 { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 2 | pub version: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | pub size: u32, [INFO] [stdout] 4 | pub flags: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | pub frames: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `flags` is never read [INFO] [stdout] --> src/mp3/id3v2.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct ID3v2Frame { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 67 | pub flags: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mp3/id3v2.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | Other(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FrameIdentifier` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 101 | Other(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/mp3/mpegframeheader.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct MPEGFrameHeader { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 56 | pub raw_header: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub frame_sync: MPEGFrameSync, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 60 | pub version: MPEGVersion, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 61 | pub layer: MPEGLayer, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 62 | pub crc_protection: CRCProtection, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 63 | pub bitrate: FrameBitrate, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 64 | pub sample_rate: SampleRate, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 65 | pub padding: FramePadding, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 66 | pub private_bit: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 67 | pub channel_mode: MP3ChannelMode, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 68 | pub mode_extension: MP3ModeExtension, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 69 | pub copyright: Copyright, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 70 | pub original: Original, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 71 | pub emphasis: MP3Emphasis, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply` is never used [INFO] [stdout] --> src/mp3/mpegframeheader/framebitrate.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl FrameBitrate { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn apply(&self, header: u32) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply` is never used [INFO] [stdout] --> src/mp3/mpegframeheader/mpegframesync.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl MPEGFrameSync { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn apply(&self, header: u32) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/mp3/mpegframeheader/crcprotection.rs (1 fix) [INFO] [stderr] Fixed src/mp3/mpegframeheader/mpegversion.rs (1 fix) [INFO] [stderr] Fixed src/mp3/mpegframeheader/mpegframesync.rs (1 fix) [INFO] [stderr] Fixed src/mp3/mpegframeheader/samplerate.rs (1 fix) [INFO] [stderr] Fixed src/mp3/mpegframeheader/copyright.rs (1 fix) [INFO] [stderr] Fixed src/mp3/mpegframeheader/mpeglayer.rs (1 fix) [INFO] [stderr] Fixed src/mp3/mpegframeheader/framepadding.rs (1 fix) [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/mp3/mpegframeheader/crcprotection.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | let length = data.len(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `checksum` [INFO] [stdout] --> src/mp3/mpegframeheader.rs:125:50 [INFO] [stdout] | [INFO] [stdout] 125 | CRCProtection::Enabled { checksum } => 2, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `checksum: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id3v2` is never read [INFO] [stdout] --> src/mp3.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MP3 { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 8 | pub id3v2: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/mp3.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct MP3Frame { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 14 | pub header: MPEGFrameHeader, [INFO] [stdout] 15 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `flags`, and `frames` are never read [INFO] [stdout] --> src/mp3/id3v2.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct ID3v2 { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 2 | pub version: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | pub size: u32, [INFO] [stdout] 4 | pub flags: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | pub frames: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `flags` is never read [INFO] [stdout] --> src/mp3/id3v2.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct ID3v2Frame { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 67 | pub flags: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mp3/id3v2.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | Other(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FrameIdentifier` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 101 | Other(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/mp3/mpegframeheader.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct MPEGFrameHeader { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 56 | pub raw_header: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub frame_sync: MPEGFrameSync, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 60 | pub version: MPEGVersion, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 61 | pub layer: MPEGLayer, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 62 | pub crc_protection: CRCProtection, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 63 | pub bitrate: FrameBitrate, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 64 | pub sample_rate: SampleRate, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 65 | pub padding: FramePadding, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 66 | pub private_bit: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 67 | pub channel_mode: MP3ChannelMode, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 68 | pub mode_extension: MP3ModeExtension, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 69 | pub copyright: Copyright, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 70 | pub original: Original, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 71 | pub emphasis: MP3Emphasis, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply` is never used [INFO] [stdout] --> src/mp3/mpegframeheader/copyright.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Copyright { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn apply(&self, header: u32) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply` is never used [INFO] [stdout] --> src/mp3/mpegframeheader/crcprotection.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl CRCProtection { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn apply(&self, header: u32, data: &mut Vec) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply` is never used [INFO] [stdout] --> src/mp3/mpegframeheader/framebitrate.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl FrameBitrate { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn apply(&self, header: u32) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply` is never used [INFO] [stdout] --> src/mp3/mpegframeheader/framepadding.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl FramePadding { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn apply(&self, header: u32) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply` is never used [INFO] [stdout] --> src/mp3/mpegframeheader/mpegframesync.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl MPEGFrameSync { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn apply(&self, header: u32) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply` is never used [INFO] [stdout] --> src/mp3/mpegframeheader/mpeglayer.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl MPEGLayer { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn apply(&self, header: u32) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply` is never used [INFO] [stdout] --> src/mp3/mpegframeheader/mpegversion.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl MPEGVersion { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn apply(&self, header: u32) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply` is never used [INFO] [stdout] --> src/mp3/mpegframeheader/samplerate.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl SampleRate { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn apply(&self, header: u32) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.35s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking stegocrypt v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Copyright` [INFO] [stdout] --> src/mp3/mpegframeheader/copyright.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | let result = Copyright::parse(header); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Copyright` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 41 + use crate::mp3::mpegframeheader::Copyright; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Copyright` [INFO] [stdout] --> src/mp3/mpegframeheader/copyright.rs:46:37 [INFO] [stdout] | [INFO] [stdout] 46 | assert_eq!(result.unwrap(), Copyright::Unprotected); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Copyright` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 41 + use crate::mp3::mpegframeheader::Copyright; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Copyright` [INFO] [stdout] --> src/mp3/mpegframeheader/copyright.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | let result = Copyright::Protected.apply(header); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Copyright` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 41 + use crate::mp3::mpegframeheader::Copyright; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CRCProtection` [INFO] [stdout] --> src/mp3/mpegframeheader/crcprotection.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | let result = CRCProtection::parse(header, &data); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `CRCProtection` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 49 + use crate::mp3::mpegframeheader::CRCProtection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CRCProtection` [INFO] [stdout] --> src/mp3/mpegframeheader/crcprotection.rs:55:37 [INFO] [stdout] | [INFO] [stdout] 55 | assert_eq!(result.unwrap(), CRCProtection::Disabled); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `CRCProtection` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 49 + use crate::mp3::mpegframeheader::CRCProtection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CRCProtection` [INFO] [stdout] --> src/mp3/mpegframeheader/crcprotection.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | let result = CRCProtection::parse(header, &data); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `CRCProtection` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 49 + use crate::mp3::mpegframeheader::CRCProtection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CRCProtection` [INFO] [stdout] --> src/mp3/mpegframeheader/crcprotection.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | CRCProtection::Enabled { [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `CRCProtection` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 49 + use crate::mp3::mpegframeheader::CRCProtection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CRCProtection` [INFO] [stdout] --> src/mp3/mpegframeheader/crcprotection.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | let result = CRCProtection::Disabled.apply(header, &mut data); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `CRCProtection` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 49 + use crate::mp3::mpegframeheader::CRCProtection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CRCProtection` [INFO] [stdout] --> src/mp3/mpegframeheader/crcprotection.rs:88:22 [INFO] [stdout] | [INFO] [stdout] 88 | let result = CRCProtection::Enabled { [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `CRCProtection` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 49 + use crate::mp3::mpegframeheader::CRCProtection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FramePadding` [INFO] [stdout] --> src/mp3/mpegframeheader/framepadding.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | let result = FramePadding::parse(header); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `FramePadding` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 41 + use crate::mp3::mpegframeheader::FramePadding; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FramePadding` [INFO] [stdout] --> src/mp3/mpegframeheader/framepadding.rs:46:37 [INFO] [stdout] | [INFO] [stdout] 46 | assert_eq!(result.unwrap(), FramePadding::Enabled); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `FramePadding` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 41 + use crate::mp3::mpegframeheader::FramePadding; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FramePadding` [INFO] [stdout] --> src/mp3/mpegframeheader/framepadding.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | let result = FramePadding::Enabled.apply(header); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `FramePadding` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 41 + use crate::mp3::mpegframeheader::FramePadding; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MPEGFrameSync` [INFO] [stdout] --> src/mp3/mpegframeheader/mpegframesync.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | let result = MPEGFrameSync::parse(header); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `MPEGFrameSync` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 41 + use crate::mp3::mpegframeheader::MPEGFrameSync; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MPEGFrameSync` [INFO] [stdout] --> src/mp3/mpegframeheader/mpegframesync.rs:46:37 [INFO] [stdout] | [INFO] [stdout] 46 | assert_eq!(result.unwrap(), MPEGFrameSync::Sync); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `MPEGFrameSync` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 41 + use crate::mp3::mpegframeheader::MPEGFrameSync; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MPEGFrameSync` [INFO] [stdout] --> src/mp3/mpegframeheader/mpegframesync.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | let result = MPEGFrameSync::parse(header); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `MPEGFrameSync` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 41 + use crate::mp3::mpegframeheader::MPEGFrameSync; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MPEGParseError` [INFO] [stdout] --> src/mp3/mpegframeheader/mpegframesync.rs:54:41 [INFO] [stdout] | [INFO] [stdout] 54 | assert_eq!(result.unwrap_err(), MPEGParseError::NoFrameSync); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `MPEGParseError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 41 + use crate::mp3::MPEGParseError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MPEGFrameSync` [INFO] [stdout] --> src/mp3/mpegframeheader/mpegframesync.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | assert!(MPEGFrameSync::has_frame_sync(&data)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `MPEGFrameSync` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 41 + use crate::mp3::mpegframeheader::MPEGFrameSync; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MPEGFrameSync` [INFO] [stdout] --> src/mp3/mpegframeheader/mpegframesync.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | assert!(!MPEGFrameSync::has_frame_sync(&data)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `MPEGFrameSync` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 41 + use crate::mp3::mpegframeheader::MPEGFrameSync; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MPEGLayer` [INFO] [stdout] --> src/mp3/mpegframeheader/mpeglayer.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | let result = MPEGLayer::parse(header); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MPEGLayer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 48 + use crate::mp3::mpegframeheader::MPEGLayer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MPEGLayer` [INFO] [stdout] --> src/mp3/mpegframeheader/mpeglayer.rs:53:37 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(result.unwrap(), MPEGLayer::Layer3); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MPEGLayer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 48 + use crate::mp3::mpegframeheader::MPEGLayer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MPEGLayer` [INFO] [stdout] --> src/mp3/mpegframeheader/mpeglayer.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | let result = MPEGLayer::Layer3.apply(header); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MPEGLayer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 48 + use crate::mp3::mpegframeheader::MPEGLayer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MPEGVersion` [INFO] [stdout] --> src/mp3/mpegframeheader/mpegversion.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | let result = MPEGVersion::parse(header); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MPEGVersion` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 48 + use crate::mp3::mpegframeheader::MPEGVersion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MPEGVersion` [INFO] [stdout] --> src/mp3/mpegframeheader/mpegversion.rs:53:37 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(result.unwrap(), MPEGVersion::Version1); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MPEGVersion` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 48 + use crate::mp3::mpegframeheader::MPEGVersion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MPEGVersion` [INFO] [stdout] --> src/mp3/mpegframeheader/mpegversion.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | let result = MPEGVersion::Version1.apply(header); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MPEGVersion` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 48 + use crate::mp3::mpegframeheader::MPEGVersion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SampleRate` [INFO] [stdout] --> src/mp3/mpegframeheader/samplerate.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 50 | let sample_rate = SampleRate::parse(header).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SampleRate` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 47 + use crate::mp3::mpegframeheader::SampleRate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SampleRate` [INFO] [stdout] --> src/mp3/mpegframeheader/samplerate.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | assert!(sample_rate == SampleRate::Hz48000); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SampleRate` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 47 + use crate::mp3::mpegframeheader::SampleRate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SampleRate` [INFO] [stdout] --> src/mp3/mpegframeheader/samplerate.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | let sample_rate = SampleRate::parse(header).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SampleRate` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 47 + use crate::mp3::mpegframeheader::SampleRate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SampleRate` [INFO] [stdout] --> src/mp3/mpegframeheader/samplerate.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | assert!(sample_rate == SampleRate::Hz44100); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SampleRate` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 47 + use crate::mp3::mpegframeheader::SampleRate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SampleRate` [INFO] [stdout] --> src/mp3/mpegframeheader/samplerate.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 61 | let sample_rate = SampleRate::Hz32000; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SampleRate` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 47 + use crate::mp3::mpegframeheader::SampleRate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/mp3/mpegframeheader/crcprotection.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | let length = data.len(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `checksum` [INFO] [stdout] --> src/mp3/mpegframeheader.rs:125:50 [INFO] [stdout] | [INFO] [stdout] 125 | CRCProtection::Enabled { checksum } => 2, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `checksum: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id3v2` is never read [INFO] [stdout] --> src/mp3.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MP3 { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 8 | pub id3v2: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/mp3.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct MP3Frame { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 14 | pub header: MPEGFrameHeader, [INFO] [stdout] 15 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `flags`, and `frames` are never read [INFO] [stdout] --> src/mp3/id3v2.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct ID3v2 { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 2 | pub version: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | pub size: u32, [INFO] [stdout] 4 | pub flags: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | pub frames: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `flags` is never read [INFO] [stdout] --> src/mp3/id3v2.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct ID3v2Frame { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 67 | pub flags: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mp3/id3v2.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | Other(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FrameIdentifier` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 101 | Other(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/mp3/mpegframeheader.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct MPEGFrameHeader { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 56 | pub raw_header: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub frame_sync: MPEGFrameSync, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 60 | pub version: MPEGVersion, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 61 | pub layer: MPEGLayer, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 62 | pub crc_protection: CRCProtection, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 63 | pub bitrate: FrameBitrate, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 64 | pub sample_rate: SampleRate, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 65 | pub padding: FramePadding, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 66 | pub private_bit: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 67 | pub channel_mode: MP3ChannelMode, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 68 | pub mode_extension: MP3ModeExtension, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 69 | pub copyright: Copyright, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 70 | pub original: Original, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 71 | pub emphasis: MP3Emphasis, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply` is never used [INFO] [stdout] --> src/mp3/mpegframeheader/copyright.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Copyright { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn apply(&self, header: u32) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply` is never used [INFO] [stdout] --> src/mp3/mpegframeheader/crcprotection.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl CRCProtection { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn apply(&self, header: u32, data: &mut Vec) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply` is never used [INFO] [stdout] --> src/mp3/mpegframeheader/framebitrate.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl FrameBitrate { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn apply(&self, header: u32) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply` is never used [INFO] [stdout] --> src/mp3/mpegframeheader/framepadding.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl FramePadding { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn apply(&self, header: u32) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply` is never used [INFO] [stdout] --> src/mp3/mpegframeheader/mpegframesync.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl MPEGFrameSync { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn apply(&self, header: u32) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply` is never used [INFO] [stdout] --> src/mp3/mpegframeheader/mpeglayer.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl MPEGLayer { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn apply(&self, header: u32) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply` is never used [INFO] [stdout] --> src/mp3/mpegframeheader/mpegversion.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl MPEGVersion { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn apply(&self, header: u32) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply` is never used [INFO] [stdout] --> src/mp3/mpegframeheader/samplerate.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl SampleRate { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn apply(&self, header: u32) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/mp3/mpegframeheader/crcprotection.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | let length = data.len(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `checksum` [INFO] [stdout] --> src/mp3/mpegframeheader.rs:125:50 [INFO] [stdout] | [INFO] [stdout] 125 | CRCProtection::Enabled { checksum } => 2, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `checksum: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stegocrypt` (bin "stegocrypt" test) due to 30 previous errors; 2 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "cd0dbeb3d2ca4eba87a05caceff951732ee5a32dc2e974ecdb865908ce380f2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd0dbeb3d2ca4eba87a05caceff951732ee5a32dc2e974ecdb865908ce380f2c", kill_on_drop: false }` [INFO] [stdout] cd0dbeb3d2ca4eba87a05caceff951732ee5a32dc2e974ecdb865908ce380f2c