[INFO] fetching crate unsafe-libopus 0.1.1... [INFO] testing unsafe-libopus-0.1.1 against master#d7bd9cd469ff6871420007f091ef52fc32d2ca99 for pr-121417 [INFO] extracting crate unsafe-libopus 0.1.1 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate unsafe-libopus 0.1.1 on toolchain d7bd9cd469ff6871420007f091ef52fc32d2ca99 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate unsafe-libopus 0.1.1 [INFO] finished tweaking crates.io crate unsafe-libopus 0.1.1 [INFO] tweaked toml for crates.io crate unsafe-libopus 0.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate crates.io crate unsafe-libopus 0.1.1 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" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc-stdhandle v0.1.0 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e668b483296f958d8aa0c2640cf3712d282576bac72d8cb2e9a5e15f64a5d89 [INFO] running `Command { std: "docker" "start" "-a" "7e668b483296f958d8aa0c2640cf3712d282576bac72d8cb2e9a5e15f64a5d89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e668b483296f958d8aa0c2640cf3712d282576bac72d8cb2e9a5e15f64a5d89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e668b483296f958d8aa0c2640cf3712d282576bac72d8cb2e9a5e15f64a5d89", kill_on_drop: false }` [INFO] [stdout] 7e668b483296f958d8aa0c2640cf3712d282576bac72d8cb2e9a5e15f64a5d89 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 336d04c6fb34b4069e0778f3fc717466bb3f934a84b3f3ef4a135c46d93d8e89 [INFO] running `Command { std: "docker" "start" "-a" "336d04c6fb34b4069e0778f3fc717466bb3f934a84b3f3ef4a135c46d93d8e89", kill_on_drop: false }` [INFO] [stderr] Compiling unsafe-libopus v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `cache_bits50`, `cache_caps50`, `cache_index50`, `fft_bitrev120`, `fft_bitrev240`, `fft_bitrev480`, `fft_bitrev60`, `fft_state48000_960_0`, `fft_state48000_960_1`, `fft_state48000_960_2`, `fft_state48000_960_3`, `fft_twiddles48000_960`, `logN400`, `mdct_twiddles960`, `mode48000_960_120`, `window120` [INFO] [stdout] --> src/celt/modes.rs:7105:5 [INFO] [stdout] | [INFO] [stdout] 7105 | cache_bits50, cache_caps50, cache_index50, fft_bitrev120, fft_bitrev240, fft_bitrev480, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 7106 | fft_bitrev60, fft_state48000_960_0, fft_state48000_960_1, fft_state48000_960_2, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7107 | fft_state48000_960_3, fft_twiddles48000_960, logN400, mdct_twiddles960, mode48000_960_120, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7108 | static_mode_list, window120, TOTAL_MODES, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/silk/control_codec.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `silk_int16_MAX`, `silk_int16_MIN` [INFO] [stdout] --> src/silk/control_codec.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | pub use self::typedef_h::{silk_int16_MAX, silk_int16_MIN}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::float_h::FLT_MAX` [INFO] [stdout] --> src/silk/float/find_LPC_FLP.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::float_h::FLT_MAX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::internal::__FLT_MAX__` [INFO] [stdout] --> src/silk/float/find_LPC_FLP.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use self::internal::__FLT_MAX__; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/silk/float/pitch_analysis_core_FLP.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/silk/float/wrappers_FLP.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/src/analysis.rs:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/src/mapping_matrix.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/src/opus_decoder.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/src/opus_encoder.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/src/opus_multistream_decoder.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7070:29 [INFO] [stdout] | [INFO] [stdout] 7070 | ... &fft_state48000_960_0 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7070 | addr_of!(fft_state48000_960_0) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7071:29 [INFO] [stdout] | [INFO] [stdout] 7071 | ... &fft_state48000_960_1 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7071 | addr_of!(fft_state48000_960_1) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7072:29 [INFO] [stdout] | [INFO] [stdout] 7072 | ... &fft_state48000_960_2 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7072 | addr_of!(fft_state48000_960_2) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7073:29 [INFO] [stdout] | [INFO] [stdout] 7073 | ... &fft_state48000_960_3 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7073 | addr_of!(fft_state48000_960_3) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7094:19 [INFO] [stdout] | [INFO] [stdout] 7094 | unsafe { [&mode48000_960_120 as *const OpusCustomMode] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7094 | unsafe { [addr_of!(mode48000_960_120) as *const OpusCustomMode] }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/control_codec.rs:298:39 [INFO] [stdout] | [INFO] [stdout] 298 | (*psEnc).sCmn.psNLSF_CB = &silk_NLSF_CB_NB_MB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 298 | (*psEnc).sCmn.psNLSF_CB = addr_of!(silk_NLSF_CB_NB_MB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/control_codec.rs:301:39 [INFO] [stdout] | [INFO] [stdout] 301 | (*psEnc).sCmn.psNLSF_CB = &silk_NLSF_CB_WB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 301 | (*psEnc).sCmn.psNLSF_CB = addr_of!(silk_NLSF_CB_WB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/decoder_set_fs.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | (*psDec).psNLSF_CB = &silk_NLSF_CB_NB_MB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 64 | (*psDec).psNLSF_CB = addr_of!(silk_NLSF_CB_NB_MB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/decoder_set_fs.rs:67:38 [INFO] [stdout] | [INFO] [stdout] 67 | (*psDec).psNLSF_CB = &silk_NLSF_CB_WB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 67 | (*psDec).psNLSF_CB = addr_of!(silk_NLSF_CB_WB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/analysis.rs:1550:19 [INFO] [stdout] | [INFO] [stdout] 1550 | compute_dense(&layer0, layer_out.as_mut_ptr(), features.as_mut_ptr()); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1550 | compute_dense(addr_of!(layer0), layer_out.as_mut_ptr(), features.as_mut_ptr()); [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/analysis.rs:1552:9 [INFO] [stdout] | [INFO] [stdout] 1552 | &layer1, [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1552 | addr_of!(layer1), [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/analysis.rs:1557:9 [INFO] [stdout] | [INFO] [stdout] 1557 | &layer2, [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1557 | addr_of!(layer2), [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/bands.rs:774:5 [INFO] [stdout] | [INFO] [stdout] 774 | mut sctx: *mut split_ctx, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/bands.rs:1031:5 [INFO] [stdout] | [INFO] [stdout] 1031 | mut ctx: *mut band_ctx, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/bands.rs:1077:5 [INFO] [stdout] | [INFO] [stdout] 1077 | mut ctx: *mut band_ctx, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/bands.rs:1430:5 [INFO] [stdout] | [INFO] [stdout] 1430 | mut ctx: *mut band_ctx, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_decoder.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | mut st: *mut OpusCustomDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_decoder.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 286 | mut st: *mut OpusCustomDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_decoder.rs:677:28 [INFO] [stdout] | [INFO] [stdout] 677 | unsafe fn celt_decode_lost(mut st: *mut OpusCustomDecoder, N: i32, LM: i32) { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_decoder.rs:1038:5 [INFO] [stdout] | [INFO] [stdout] 1038 | mut st: *mut OpusCustomDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_decoder.rs:1597:5 [INFO] [stdout] | [INFO] [stdout] 1597 | mut st: *mut OpusCustomDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_encoder.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | mut st: *mut OpusCustomEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_encoder.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | mut st: *mut OpusCustomEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_encoder.rs:1679:5 [INFO] [stdout] | [INFO] [stdout] 1679 | mut st: *mut OpusCustomEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_encoder.rs:2113:5 [INFO] [stdout] | [INFO] [stdout] 2113 | mut st: *mut OpusCustomEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_encoder.rs:3537:5 [INFO] [stdout] | [INFO] [stdout] 3537 | mut st: *mut OpusCustomEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/CNG.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | pub unsafe fn silk_CNG_Reset(mut psDec: *mut silk_decoder_state) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/CNG.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut psCNG: *mut silk_CNG_struct = &mut (*psDec).sCNG; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/HP_variable_cutoff.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut psEncC1: *mut silk_encoder_state = &mut (*state_Fxx.offset(0 as i32 as isize)).sCmn; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/LP_variable_cutoff.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | mut psLP: *mut silk_LP_state, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ.rs:553:5 [INFO] [stdout] | [INFO] [stdout] 553 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ_del_dec.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ_del_dec.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | mut psIndices: *mut SideInfoIndices, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ_del_dec.rs:539:5 [INFO] [stdout] | [INFO] [stdout] 539 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ_del_dec.rs:1040:5 [INFO] [stdout] | [INFO] [stdout] 1040 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/PLC.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | pub unsafe fn silk_PLC_Reset(mut psDec: *mut silk_decoder_state) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/PLC.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/PLC.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/PLC.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | mut psDecCtrl: *mut silk_decoder_control, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/PLC.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | let mut psPLC: *mut silk_PLC_struct = &mut (*psDec).sPLC; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/VAD.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | pub unsafe fn silk_VAD_Init(mut psSilk_VAD: *mut silk_VAD_state) -> i32 { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/VAD.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | pub unsafe fn silk_VAD_GetSA_Q8_c(mut psEncC: *mut silk_encoder_state, pIn: *const i16) -> i32 { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/VAD.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let mut psSilk_VAD: *mut silk_VAD_state = &mut (*psEncC).sVAD; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/VAD.rs:280:51 [INFO] [stdout] | [INFO] [stdout] 280 | unsafe fn silk_VAD_GetNoiseLevels(pX: *const i32, mut psSilk_VAD: *mut silk_VAD_state) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_SNR.rs:467:5 [INFO] [stdout] | [INFO] [stdout] 467 | mut psEncC: *mut silk_encoder_state, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_audio_bandwidth.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mut psEncC: *mut silk_encoder_state, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_audio_bandwidth.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | mut encControl: *mut silk_EncControlStruct, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_codec.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_codec.rs:112:33 [INFO] [stdout] | [INFO] [stdout] 112 | unsafe fn silk_setup_resamplers(mut psEnc: *mut silk_encoder_state_FLP, fs_kHz: i32) -> i32 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_codec.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_codec.rs:334:33 [INFO] [stdout] | [INFO] [stdout] 334 | unsafe fn silk_setup_complexity(mut psEncC: *mut silk_encoder_state, Complexity: i32) -> i32 { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_codec.rs:479:5 [INFO] [stdout] | [INFO] [stdout] 479 | mut psEncC: *mut silk_encoder_state, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/dec_API.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | mut decControl: *mut silk_DecControlStruct, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/dec_API.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let mut psDec: *mut silk_decoder = decState as *mut silk_decoder; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_core.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_core.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | mut psDecCtrl: *mut silk_decoder_control, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_frame.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_indices.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_parameters.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_parameters.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | mut psDecCtrl: *mut silk_decoder_control, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decoder_set_fs.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/enc_API.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | mut encStatus: *mut silk_EncControlStruct, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/enc_API.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | mut encControl: *mut silk_EncControlStruct, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/enc_API.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | let mut psEnc: *mut silk_encoder = encState as *mut silk_encoder; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/encode_indices.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | mut psEncC: *mut silk_encoder_state, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/LTP_scale_ctrl_FLP.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/LTP_scale_ctrl_FLP.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/encode_frame_FLP.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | pub unsafe fn silk_encode_do_VAD_FLP(mut psEnc: *mut silk_encoder_state_FLP, activity: i32) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/encode_frame_FLP.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/encode_frame_FLP.rs:576:5 [INFO] [stdout] | [INFO] [stdout] 576 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/encode_frame_FLP.rs:577:5 [INFO] [stdout] | [INFO] [stdout] 577 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/encode_frame_FLP.rs:584:9 [INFO] [stdout] | [INFO] [stdout] 584 | let mut psIndices_LBRR: *mut SideInfoIndices = &mut *((*psEnc).sCmn.indices_LBRR) [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/find_LPC_FLP.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | mut psEncC: *mut silk_encoder_state, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/find_pitch_lags_FLP.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/find_pitch_lags_FLP.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/find_pred_coefs_FLP.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/find_pred_coefs_FLP.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/noise_shape_analysis_FLP.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/noise_shape_analysis_FLP.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/noise_shape_analysis_FLP.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let mut psShapeSt: *mut silk_shape_state_FLP = &mut (*psEnc).sShape; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/process_gains_FLP.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/process_gains_FLP.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/init_decoder.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | pub unsafe fn silk_init_decoder(mut psDec: *mut silk_decoder_state) -> i32 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/init_encoder.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | pub unsafe fn silk_init_encoder(mut psEnc: *mut silk_encoder_state_FLP, arch: i32) -> i32 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/resampler.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | mut S: *mut silk_resampler_state_struct, [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/stereo_LR_to_MS.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | mut state: *mut stereo_enc_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/stereo_MS_to_LR.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | mut state: *mut stereo_dec_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/analysis.rs:582:38 [INFO] [stdout] | [INFO] [stdout] 582 | pub unsafe fn tonality_analysis_init(mut tonal: *mut TonalityAnalysisState, Fs: i32) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/analysis.rs:598:5 [INFO] [stdout] | [INFO] [stdout] 598 | mut tonal: *mut TonalityAnalysisState, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/analysis.rs:599:5 [INFO] [stdout] | [INFO] [stdout] 599 | mut info_out: *mut AnalysisInfo, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/analysis.rs:830:5 [INFO] [stdout] | [INFO] [stdout] 830 | mut tonal: *mut TonalityAnalysisState, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/analysis.rs:1569:5 [INFO] [stdout] | [INFO] [stdout] 1569 | mut analysis: *mut TonalityAnalysisState, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_decoder.rs:195:33 [INFO] [stdout] | [INFO] [stdout] 195 | pub unsafe fn opus_decoder_init(mut st: *mut OpusDecoder, Fs: i32, channels: i32) -> i32 { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_decoder.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | mut st: *mut OpusDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_decoder.rs:875:5 [INFO] [stdout] | [INFO] [stdout] 875 | mut st: *mut OpusDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_decoder.rs:1148:37 [INFO] [stdout] | [INFO] [stdout] 1148 | pub unsafe fn opus_decoder_ctl_impl(mut st: *mut OpusDecoder, request: i32, args: VarArgs) -> i32 { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_encoder.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | mut st: *mut OpusEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_encoder.rs:757:5 [INFO] [stdout] | [INFO] [stdout] 757 | mut mem: *mut StereoWidthState, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_encoder.rs:1098:5 [INFO] [stdout] | [INFO] [stdout] 1098 | mut st: *mut OpusEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_encoder.rs:1252:5 [INFO] [stdout] | [INFO] [stdout] 1252 | mut st: *mut OpusEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_encoder.rs:2745:37 [INFO] [stdout] | [INFO] [stdout] 2745 | pub unsafe fn opus_encoder_ctl_impl(mut st: *mut OpusEncoder, request: i32, args: VarArgs) -> i32 { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_multistream_decoder.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | mut st: *mut OpusMSDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_multistream_encoder.rs:715:5 [INFO] [stdout] | [INFO] [stdout] 715 | mut st: *mut OpusMSEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_multistream_encoder.rs:830:5 [INFO] [stdout] | [INFO] [stdout] 830 | mut st: *mut OpusMSEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_multistream_encoder.rs:1591:5 [INFO] [stdout] | [INFO] [stdout] 1591 | mut st: *mut OpusMSEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_projection_decoder.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | mut st: *mut OpusProjectionDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_projection_encoder.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | mut st: *mut OpusProjectionEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/repacketizer.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | pub unsafe fn opus_repacketizer_init(mut rp: *mut OpusRepacketizer) -> *mut OpusRepacketizer { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/repacketizer.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | mut rp: *mut OpusRepacketizer, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 123 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.07s [INFO] running `Command { std: "docker" "inspect" "336d04c6fb34b4069e0778f3fc717466bb3f934a84b3f3ef4a135c46d93d8e89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "336d04c6fb34b4069e0778f3fc717466bb3f934a84b3f3ef4a135c46d93d8e89", kill_on_drop: false }` [INFO] [stdout] 336d04c6fb34b4069e0778f3fc717466bb3f934a84b3f3ef4a135c46d93d8e89 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d661df805ffbb32a41a3236e03a5095a2933b6e7da96caad7315bc245bfe2f9c [INFO] running `Command { std: "docker" "start" "-a" "d661df805ffbb32a41a3236e03a5095a2933b6e7da96caad7315bc245bfe2f9c", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `cache_bits50`, `cache_caps50`, `cache_index50`, `fft_bitrev120`, `fft_bitrev240`, `fft_bitrev480`, `fft_bitrev60`, `fft_state48000_960_0`, `fft_state48000_960_1`, `fft_state48000_960_2`, `fft_state48000_960_3`, `fft_twiddles48000_960`, `logN400`, `mdct_twiddles960`, `mode48000_960_120`, `window120` [INFO] [stdout] --> src/celt/modes.rs:7105:5 [INFO] [stdout] | [INFO] [stdout] 7105 | cache_bits50, cache_caps50, cache_index50, fft_bitrev120, fft_bitrev240, fft_bitrev480, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 7106 | fft_bitrev60, fft_state48000_960_0, fft_state48000_960_1, fft_state48000_960_2, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7107 | fft_state48000_960_3, fft_twiddles48000_960, logN400, mdct_twiddles960, mode48000_960_120, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7108 | static_mode_list, window120, TOTAL_MODES, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/silk/control_codec.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `silk_int16_MAX`, `silk_int16_MIN` [INFO] [stdout] --> src/silk/control_codec.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | pub use self::typedef_h::{silk_int16_MAX, silk_int16_MIN}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::float_h::FLT_MAX` [INFO] [stdout] --> src/silk/float/find_LPC_FLP.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::float_h::FLT_MAX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::internal::__FLT_MAX__` [INFO] [stdout] --> src/silk/float/find_LPC_FLP.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use self::internal::__FLT_MAX__; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/silk/float/pitch_analysis_core_FLP.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/silk/float/wrappers_FLP.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/src/analysis.rs:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/src/mapping_matrix.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/src/opus_decoder.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/src/opus_encoder.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/src/opus_multistream_decoder.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7070:29 [INFO] [stdout] | [INFO] [stdout] 7070 | ... &fft_state48000_960_0 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7070 | addr_of!(fft_state48000_960_0) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7071:29 [INFO] [stdout] | [INFO] [stdout] 7071 | ... &fft_state48000_960_1 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7071 | addr_of!(fft_state48000_960_1) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7072:29 [INFO] [stdout] | [INFO] [stdout] 7072 | ... &fft_state48000_960_2 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7072 | addr_of!(fft_state48000_960_2) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7073:29 [INFO] [stdout] | [INFO] [stdout] 7073 | ... &fft_state48000_960_3 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7073 | addr_of!(fft_state48000_960_3) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7094:19 [INFO] [stdout] | [INFO] [stdout] 7094 | unsafe { [&mode48000_960_120 as *const OpusCustomMode] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7094 | unsafe { [addr_of!(mode48000_960_120) as *const OpusCustomMode] }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/control_codec.rs:298:39 [INFO] [stdout] | [INFO] [stdout] 298 | (*psEnc).sCmn.psNLSF_CB = &silk_NLSF_CB_NB_MB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 298 | (*psEnc).sCmn.psNLSF_CB = addr_of!(silk_NLSF_CB_NB_MB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/control_codec.rs:301:39 [INFO] [stdout] | [INFO] [stdout] 301 | (*psEnc).sCmn.psNLSF_CB = &silk_NLSF_CB_WB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 301 | (*psEnc).sCmn.psNLSF_CB = addr_of!(silk_NLSF_CB_WB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/decoder_set_fs.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | (*psDec).psNLSF_CB = &silk_NLSF_CB_NB_MB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 64 | (*psDec).psNLSF_CB = addr_of!(silk_NLSF_CB_NB_MB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/decoder_set_fs.rs:67:38 [INFO] [stdout] | [INFO] [stdout] 67 | (*psDec).psNLSF_CB = &silk_NLSF_CB_WB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 67 | (*psDec).psNLSF_CB = addr_of!(silk_NLSF_CB_WB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/analysis.rs:1550:19 [INFO] [stdout] | [INFO] [stdout] 1550 | compute_dense(&layer0, layer_out.as_mut_ptr(), features.as_mut_ptr()); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1550 | compute_dense(addr_of!(layer0), layer_out.as_mut_ptr(), features.as_mut_ptr()); [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/analysis.rs:1552:9 [INFO] [stdout] | [INFO] [stdout] 1552 | &layer1, [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1552 | addr_of!(layer1), [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/analysis.rs:1557:9 [INFO] [stdout] | [INFO] [stdout] 1557 | &layer2, [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1557 | addr_of!(layer2), [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/bands.rs:774:5 [INFO] [stdout] | [INFO] [stdout] 774 | mut sctx: *mut split_ctx, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/bands.rs:1031:5 [INFO] [stdout] | [INFO] [stdout] 1031 | mut ctx: *mut band_ctx, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/bands.rs:1077:5 [INFO] [stdout] | [INFO] [stdout] 1077 | mut ctx: *mut band_ctx, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/bands.rs:1430:5 [INFO] [stdout] | [INFO] [stdout] 1430 | mut ctx: *mut band_ctx, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_decoder.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | mut st: *mut OpusCustomDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_decoder.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 286 | mut st: *mut OpusCustomDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_decoder.rs:677:28 [INFO] [stdout] | [INFO] [stdout] 677 | unsafe fn celt_decode_lost(mut st: *mut OpusCustomDecoder, N: i32, LM: i32) { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_decoder.rs:1038:5 [INFO] [stdout] | [INFO] [stdout] 1038 | mut st: *mut OpusCustomDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_decoder.rs:1597:5 [INFO] [stdout] | [INFO] [stdout] 1597 | mut st: *mut OpusCustomDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_encoder.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | mut st: *mut OpusCustomEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_encoder.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | mut st: *mut OpusCustomEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_encoder.rs:1679:5 [INFO] [stdout] | [INFO] [stdout] 1679 | mut st: *mut OpusCustomEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_encoder.rs:2113:5 [INFO] [stdout] | [INFO] [stdout] 2113 | mut st: *mut OpusCustomEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_encoder.rs:3537:5 [INFO] [stdout] | [INFO] [stdout] 3537 | mut st: *mut OpusCustomEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/CNG.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | pub unsafe fn silk_CNG_Reset(mut psDec: *mut silk_decoder_state) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/CNG.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut psCNG: *mut silk_CNG_struct = &mut (*psDec).sCNG; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/HP_variable_cutoff.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut psEncC1: *mut silk_encoder_state = &mut (*state_Fxx.offset(0 as i32 as isize)).sCmn; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/LP_variable_cutoff.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | mut psLP: *mut silk_LP_state, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ.rs:553:5 [INFO] [stdout] | [INFO] [stdout] 553 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ_del_dec.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ_del_dec.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | mut psIndices: *mut SideInfoIndices, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ_del_dec.rs:539:5 [INFO] [stdout] | [INFO] [stdout] 539 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ_del_dec.rs:1040:5 [INFO] [stdout] | [INFO] [stdout] 1040 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/PLC.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | pub unsafe fn silk_PLC_Reset(mut psDec: *mut silk_decoder_state) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/PLC.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/PLC.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/PLC.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | mut psDecCtrl: *mut silk_decoder_control, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/PLC.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | let mut psPLC: *mut silk_PLC_struct = &mut (*psDec).sPLC; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/VAD.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | pub unsafe fn silk_VAD_Init(mut psSilk_VAD: *mut silk_VAD_state) -> i32 { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/VAD.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | pub unsafe fn silk_VAD_GetSA_Q8_c(mut psEncC: *mut silk_encoder_state, pIn: *const i16) -> i32 { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/VAD.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let mut psSilk_VAD: *mut silk_VAD_state = &mut (*psEncC).sVAD; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/VAD.rs:280:51 [INFO] [stdout] | [INFO] [stdout] 280 | unsafe fn silk_VAD_GetNoiseLevels(pX: *const i32, mut psSilk_VAD: *mut silk_VAD_state) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_SNR.rs:467:5 [INFO] [stdout] | [INFO] [stdout] 467 | mut psEncC: *mut silk_encoder_state, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_audio_bandwidth.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mut psEncC: *mut silk_encoder_state, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_audio_bandwidth.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | mut encControl: *mut silk_EncControlStruct, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_codec.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_codec.rs:112:33 [INFO] [stdout] | [INFO] [stdout] 112 | unsafe fn silk_setup_resamplers(mut psEnc: *mut silk_encoder_state_FLP, fs_kHz: i32) -> i32 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_codec.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_codec.rs:334:33 [INFO] [stdout] | [INFO] [stdout] 334 | unsafe fn silk_setup_complexity(mut psEncC: *mut silk_encoder_state, Complexity: i32) -> i32 { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_codec.rs:479:5 [INFO] [stdout] | [INFO] [stdout] 479 | mut psEncC: *mut silk_encoder_state, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/dec_API.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | mut decControl: *mut silk_DecControlStruct, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/dec_API.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let mut psDec: *mut silk_decoder = decState as *mut silk_decoder; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_core.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_core.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | mut psDecCtrl: *mut silk_decoder_control, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_frame.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_indices.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_parameters.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_parameters.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | mut psDecCtrl: *mut silk_decoder_control, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decoder_set_fs.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/enc_API.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | mut encStatus: *mut silk_EncControlStruct, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/enc_API.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | mut encControl: *mut silk_EncControlStruct, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/enc_API.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | let mut psEnc: *mut silk_encoder = encState as *mut silk_encoder; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/encode_indices.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | mut psEncC: *mut silk_encoder_state, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/LTP_scale_ctrl_FLP.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/LTP_scale_ctrl_FLP.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/encode_frame_FLP.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | pub unsafe fn silk_encode_do_VAD_FLP(mut psEnc: *mut silk_encoder_state_FLP, activity: i32) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/encode_frame_FLP.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/encode_frame_FLP.rs:576:5 [INFO] [stdout] | [INFO] [stdout] 576 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/encode_frame_FLP.rs:577:5 [INFO] [stdout] | [INFO] [stdout] 577 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/encode_frame_FLP.rs:584:9 [INFO] [stdout] | [INFO] [stdout] 584 | let mut psIndices_LBRR: *mut SideInfoIndices = &mut *((*psEnc).sCmn.indices_LBRR) [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/find_LPC_FLP.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | mut psEncC: *mut silk_encoder_state, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/find_pitch_lags_FLP.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/find_pitch_lags_FLP.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/find_pred_coefs_FLP.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/find_pred_coefs_FLP.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/noise_shape_analysis_FLP.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/noise_shape_analysis_FLP.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/noise_shape_analysis_FLP.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let mut psShapeSt: *mut silk_shape_state_FLP = &mut (*psEnc).sShape; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/process_gains_FLP.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/process_gains_FLP.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/init_decoder.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | pub unsafe fn silk_init_decoder(mut psDec: *mut silk_decoder_state) -> i32 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/init_encoder.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | pub unsafe fn silk_init_encoder(mut psEnc: *mut silk_encoder_state_FLP, arch: i32) -> i32 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/resampler.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | mut S: *mut silk_resampler_state_struct, [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/stereo_LR_to_MS.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | mut state: *mut stereo_enc_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/stereo_MS_to_LR.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | mut state: *mut stereo_dec_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/analysis.rs:582:38 [INFO] [stdout] | [INFO] [stdout] 582 | pub unsafe fn tonality_analysis_init(mut tonal: *mut TonalityAnalysisState, Fs: i32) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/analysis.rs:598:5 [INFO] [stdout] | [INFO] [stdout] 598 | mut tonal: *mut TonalityAnalysisState, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/analysis.rs:599:5 [INFO] [stdout] | [INFO] [stdout] 599 | mut info_out: *mut AnalysisInfo, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/analysis.rs:830:5 [INFO] [stdout] | [INFO] [stdout] 830 | mut tonal: *mut TonalityAnalysisState, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/analysis.rs:1569:5 [INFO] [stdout] | [INFO] [stdout] 1569 | mut analysis: *mut TonalityAnalysisState, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_decoder.rs:195:33 [INFO] [stdout] | [INFO] [stdout] 195 | pub unsafe fn opus_decoder_init(mut st: *mut OpusDecoder, Fs: i32, channels: i32) -> i32 { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_decoder.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | mut st: *mut OpusDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_decoder.rs:875:5 [INFO] [stdout] | [INFO] [stdout] 875 | mut st: *mut OpusDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_decoder.rs:1148:37 [INFO] [stdout] | [INFO] [stdout] 1148 | pub unsafe fn opus_decoder_ctl_impl(mut st: *mut OpusDecoder, request: i32, args: VarArgs) -> i32 { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_encoder.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | mut st: *mut OpusEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_encoder.rs:757:5 [INFO] [stdout] | [INFO] [stdout] 757 | mut mem: *mut StereoWidthState, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_encoder.rs:1098:5 [INFO] [stdout] | [INFO] [stdout] 1098 | mut st: *mut OpusEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_encoder.rs:1252:5 [INFO] [stdout] | [INFO] [stdout] 1252 | mut st: *mut OpusEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_encoder.rs:2745:37 [INFO] [stdout] | [INFO] [stdout] 2745 | pub unsafe fn opus_encoder_ctl_impl(mut st: *mut OpusEncoder, request: i32, args: VarArgs) -> i32 { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_multistream_decoder.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | mut st: *mut OpusMSDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_multistream_encoder.rs:715:5 [INFO] [stdout] | [INFO] [stdout] 715 | mut st: *mut OpusMSEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_multistream_encoder.rs:830:5 [INFO] [stdout] | [INFO] [stdout] 830 | mut st: *mut OpusMSEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_multistream_encoder.rs:1591:5 [INFO] [stdout] | [INFO] [stdout] 1591 | mut st: *mut OpusMSEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_projection_decoder.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | mut st: *mut OpusProjectionDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_projection_encoder.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | mut st: *mut OpusProjectionEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/repacketizer.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | pub unsafe fn opus_repacketizer_init(mut rp: *mut OpusRepacketizer) -> *mut OpusRepacketizer { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/repacketizer.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | mut rp: *mut OpusRepacketizer, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 123 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling unsafe-libopus v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `cache_bits50`, `cache_caps50`, `cache_index50`, `fft_bitrev120`, `fft_bitrev240`, `fft_bitrev480`, `fft_bitrev60`, `fft_state48000_960_0`, `fft_state48000_960_1`, `fft_state48000_960_2`, `fft_state48000_960_3`, `fft_twiddles48000_960`, `logN400`, `mdct_twiddles960`, `mode48000_960_120`, `window120` [INFO] [stdout] --> src/celt/modes.rs:7105:5 [INFO] [stdout] | [INFO] [stdout] 7105 | cache_bits50, cache_caps50, cache_index50, fft_bitrev120, fft_bitrev240, fft_bitrev480, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 7106 | fft_bitrev60, fft_state48000_960_0, fft_state48000_960_1, fft_state48000_960_2, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7107 | fft_state48000_960_3, fft_twiddles48000_960, logN400, mdct_twiddles960, mode48000_960_120, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7108 | static_mode_list, window120, TOTAL_MODES, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/silk/control_codec.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `silk_int16_MAX`, `silk_int16_MIN` [INFO] [stdout] --> src/silk/control_codec.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | pub use self::typedef_h::{silk_int16_MAX, silk_int16_MIN}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::float_h::FLT_MAX` [INFO] [stdout] --> src/silk/float/find_LPC_FLP.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::float_h::FLT_MAX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::internal::__FLT_MAX__` [INFO] [stdout] --> src/silk/float/find_LPC_FLP.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use self::internal::__FLT_MAX__; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/silk/float/pitch_analysis_core_FLP.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/silk/float/wrappers_FLP.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/src/analysis.rs:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/src/mapping_matrix.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/src/opus_decoder.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/src/opus_encoder.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/src/opus_multistream_decoder.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7070:29 [INFO] [stdout] | [INFO] [stdout] 7070 | ... &fft_state48000_960_0 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7070 | addr_of!(fft_state48000_960_0) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7071:29 [INFO] [stdout] | [INFO] [stdout] 7071 | ... &fft_state48000_960_1 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7071 | addr_of!(fft_state48000_960_1) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7072:29 [INFO] [stdout] | [INFO] [stdout] 7072 | ... &fft_state48000_960_2 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7072 | addr_of!(fft_state48000_960_2) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7073:29 [INFO] [stdout] | [INFO] [stdout] 7073 | ... &fft_state48000_960_3 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7073 | addr_of!(fft_state48000_960_3) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7094:19 [INFO] [stdout] | [INFO] [stdout] 7094 | unsafe { [&mode48000_960_120 as *const OpusCustomMode] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7094 | unsafe { [addr_of!(mode48000_960_120) as *const OpusCustomMode] }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/control_codec.rs:298:39 [INFO] [stdout] | [INFO] [stdout] 298 | (*psEnc).sCmn.psNLSF_CB = &silk_NLSF_CB_NB_MB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 298 | (*psEnc).sCmn.psNLSF_CB = addr_of!(silk_NLSF_CB_NB_MB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/control_codec.rs:301:39 [INFO] [stdout] | [INFO] [stdout] 301 | (*psEnc).sCmn.psNLSF_CB = &silk_NLSF_CB_WB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 301 | (*psEnc).sCmn.psNLSF_CB = addr_of!(silk_NLSF_CB_WB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/decoder_set_fs.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | (*psDec).psNLSF_CB = &silk_NLSF_CB_NB_MB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 64 | (*psDec).psNLSF_CB = addr_of!(silk_NLSF_CB_NB_MB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/decoder_set_fs.rs:67:38 [INFO] [stdout] | [INFO] [stdout] 67 | (*psDec).psNLSF_CB = &silk_NLSF_CB_WB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 67 | (*psDec).psNLSF_CB = addr_of!(silk_NLSF_CB_WB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/analysis.rs:1550:19 [INFO] [stdout] | [INFO] [stdout] 1550 | compute_dense(&layer0, layer_out.as_mut_ptr(), features.as_mut_ptr()); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1550 | compute_dense(addr_of!(layer0), layer_out.as_mut_ptr(), features.as_mut_ptr()); [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/analysis.rs:1552:9 [INFO] [stdout] | [INFO] [stdout] 1552 | &layer1, [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1552 | addr_of!(layer1), [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/analysis.rs:1557:9 [INFO] [stdout] | [INFO] [stdout] 1557 | &layer2, [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1557 | addr_of!(layer2), [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/bands.rs:774:5 [INFO] [stdout] | [INFO] [stdout] 774 | mut sctx: *mut split_ctx, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/bands.rs:1031:5 [INFO] [stdout] | [INFO] [stdout] 1031 | mut ctx: *mut band_ctx, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/bands.rs:1077:5 [INFO] [stdout] | [INFO] [stdout] 1077 | mut ctx: *mut band_ctx, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/bands.rs:1430:5 [INFO] [stdout] | [INFO] [stdout] 1430 | mut ctx: *mut band_ctx, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_decoder.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | mut st: *mut OpusCustomDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_decoder.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 286 | mut st: *mut OpusCustomDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_decoder.rs:677:28 [INFO] [stdout] | [INFO] [stdout] 677 | unsafe fn celt_decode_lost(mut st: *mut OpusCustomDecoder, N: i32, LM: i32) { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_decoder.rs:1038:5 [INFO] [stdout] | [INFO] [stdout] 1038 | mut st: *mut OpusCustomDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_decoder.rs:1597:5 [INFO] [stdout] | [INFO] [stdout] 1597 | mut st: *mut OpusCustomDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_encoder.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | mut st: *mut OpusCustomEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_encoder.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | mut st: *mut OpusCustomEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_encoder.rs:1679:5 [INFO] [stdout] | [INFO] [stdout] 1679 | mut st: *mut OpusCustomEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_encoder.rs:2113:5 [INFO] [stdout] | [INFO] [stdout] 2113 | mut st: *mut OpusCustomEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_encoder.rs:3537:5 [INFO] [stdout] | [INFO] [stdout] 3537 | mut st: *mut OpusCustomEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/CNG.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | pub unsafe fn silk_CNG_Reset(mut psDec: *mut silk_decoder_state) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/CNG.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut psCNG: *mut silk_CNG_struct = &mut (*psDec).sCNG; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/HP_variable_cutoff.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut psEncC1: *mut silk_encoder_state = &mut (*state_Fxx.offset(0 as i32 as isize)).sCmn; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/LP_variable_cutoff.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | mut psLP: *mut silk_LP_state, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ.rs:553:5 [INFO] [stdout] | [INFO] [stdout] 553 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ_del_dec.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ_del_dec.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | mut psIndices: *mut SideInfoIndices, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ_del_dec.rs:539:5 [INFO] [stdout] | [INFO] [stdout] 539 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ_del_dec.rs:1040:5 [INFO] [stdout] | [INFO] [stdout] 1040 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/PLC.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | pub unsafe fn silk_PLC_Reset(mut psDec: *mut silk_decoder_state) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/PLC.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/PLC.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/PLC.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | mut psDecCtrl: *mut silk_decoder_control, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/PLC.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | let mut psPLC: *mut silk_PLC_struct = &mut (*psDec).sPLC; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/VAD.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | pub unsafe fn silk_VAD_Init(mut psSilk_VAD: *mut silk_VAD_state) -> i32 { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/VAD.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | pub unsafe fn silk_VAD_GetSA_Q8_c(mut psEncC: *mut silk_encoder_state, pIn: *const i16) -> i32 { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/VAD.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let mut psSilk_VAD: *mut silk_VAD_state = &mut (*psEncC).sVAD; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/VAD.rs:280:51 [INFO] [stdout] | [INFO] [stdout] 280 | unsafe fn silk_VAD_GetNoiseLevels(pX: *const i32, mut psSilk_VAD: *mut silk_VAD_state) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_SNR.rs:467:5 [INFO] [stdout] | [INFO] [stdout] 467 | mut psEncC: *mut silk_encoder_state, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_audio_bandwidth.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mut psEncC: *mut silk_encoder_state, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_audio_bandwidth.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | mut encControl: *mut silk_EncControlStruct, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_codec.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_codec.rs:112:33 [INFO] [stdout] | [INFO] [stdout] 112 | unsafe fn silk_setup_resamplers(mut psEnc: *mut silk_encoder_state_FLP, fs_kHz: i32) -> i32 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_codec.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_codec.rs:334:33 [INFO] [stdout] | [INFO] [stdout] 334 | unsafe fn silk_setup_complexity(mut psEncC: *mut silk_encoder_state, Complexity: i32) -> i32 { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_codec.rs:479:5 [INFO] [stdout] | [INFO] [stdout] 479 | mut psEncC: *mut silk_encoder_state, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/dec_API.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | mut decControl: *mut silk_DecControlStruct, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/dec_API.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let mut psDec: *mut silk_decoder = decState as *mut silk_decoder; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_core.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_core.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | mut psDecCtrl: *mut silk_decoder_control, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_frame.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_indices.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_parameters.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_parameters.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | mut psDecCtrl: *mut silk_decoder_control, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decoder_set_fs.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/enc_API.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | mut encStatus: *mut silk_EncControlStruct, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/enc_API.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | mut encControl: *mut silk_EncControlStruct, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/enc_API.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | let mut psEnc: *mut silk_encoder = encState as *mut silk_encoder; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/encode_indices.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | mut psEncC: *mut silk_encoder_state, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/LTP_scale_ctrl_FLP.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/LTP_scale_ctrl_FLP.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/encode_frame_FLP.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | pub unsafe fn silk_encode_do_VAD_FLP(mut psEnc: *mut silk_encoder_state_FLP, activity: i32) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/encode_frame_FLP.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/encode_frame_FLP.rs:576:5 [INFO] [stdout] | [INFO] [stdout] 576 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/encode_frame_FLP.rs:577:5 [INFO] [stdout] | [INFO] [stdout] 577 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/encode_frame_FLP.rs:584:9 [INFO] [stdout] | [INFO] [stdout] 584 | let mut psIndices_LBRR: *mut SideInfoIndices = &mut *((*psEnc).sCmn.indices_LBRR) [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/find_LPC_FLP.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | mut psEncC: *mut silk_encoder_state, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/find_pitch_lags_FLP.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/find_pitch_lags_FLP.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/find_pred_coefs_FLP.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/find_pred_coefs_FLP.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/noise_shape_analysis_FLP.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/noise_shape_analysis_FLP.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/noise_shape_analysis_FLP.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let mut psShapeSt: *mut silk_shape_state_FLP = &mut (*psEnc).sShape; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/process_gains_FLP.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/process_gains_FLP.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/init_decoder.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | pub unsafe fn silk_init_decoder(mut psDec: *mut silk_decoder_state) -> i32 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/init_encoder.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | pub unsafe fn silk_init_encoder(mut psEnc: *mut silk_encoder_state_FLP, arch: i32) -> i32 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/resampler.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | mut S: *mut silk_resampler_state_struct, [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/stereo_LR_to_MS.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | mut state: *mut stereo_enc_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/stereo_MS_to_LR.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | mut state: *mut stereo_dec_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/analysis.rs:582:38 [INFO] [stdout] | [INFO] [stdout] 582 | pub unsafe fn tonality_analysis_init(mut tonal: *mut TonalityAnalysisState, Fs: i32) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/analysis.rs:598:5 [INFO] [stdout] | [INFO] [stdout] 598 | mut tonal: *mut TonalityAnalysisState, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/analysis.rs:599:5 [INFO] [stdout] | [INFO] [stdout] 599 | mut info_out: *mut AnalysisInfo, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/analysis.rs:830:5 [INFO] [stdout] | [INFO] [stdout] 830 | mut tonal: *mut TonalityAnalysisState, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/analysis.rs:1569:5 [INFO] [stdout] | [INFO] [stdout] 1569 | mut analysis: *mut TonalityAnalysisState, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_decoder.rs:195:33 [INFO] [stdout] | [INFO] [stdout] 195 | pub unsafe fn opus_decoder_init(mut st: *mut OpusDecoder, Fs: i32, channels: i32) -> i32 { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_decoder.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | mut st: *mut OpusDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_decoder.rs:875:5 [INFO] [stdout] | [INFO] [stdout] 875 | mut st: *mut OpusDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_decoder.rs:1148:37 [INFO] [stdout] | [INFO] [stdout] 1148 | pub unsafe fn opus_decoder_ctl_impl(mut st: *mut OpusDecoder, request: i32, args: VarArgs) -> i32 { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_encoder.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | mut st: *mut OpusEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_encoder.rs:757:5 [INFO] [stdout] | [INFO] [stdout] 757 | mut mem: *mut StereoWidthState, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_encoder.rs:1098:5 [INFO] [stdout] | [INFO] [stdout] 1098 | mut st: *mut OpusEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_encoder.rs:1252:5 [INFO] [stdout] | [INFO] [stdout] 1252 | mut st: *mut OpusEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_encoder.rs:2745:37 [INFO] [stdout] | [INFO] [stdout] 2745 | pub unsafe fn opus_encoder_ctl_impl(mut st: *mut OpusEncoder, request: i32, args: VarArgs) -> i32 { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_multistream_decoder.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | mut st: *mut OpusMSDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_multistream_encoder.rs:715:5 [INFO] [stdout] | [INFO] [stdout] 715 | mut st: *mut OpusMSEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_multistream_encoder.rs:830:5 [INFO] [stdout] | [INFO] [stdout] 830 | mut st: *mut OpusMSEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_multistream_encoder.rs:1591:5 [INFO] [stdout] | [INFO] [stdout] 1591 | mut st: *mut OpusMSEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_projection_decoder.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | mut st: *mut OpusProjectionDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_projection_encoder.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | mut st: *mut OpusProjectionEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/repacketizer.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | pub unsafe fn opus_repacketizer_init(mut rp: *mut OpusRepacketizer) -> *mut OpusRepacketizer { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/repacketizer.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | mut rp: *mut OpusRepacketizer, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 123 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.02s [INFO] running `Command { std: "docker" "inspect" "d661df805ffbb32a41a3236e03a5095a2933b6e7da96caad7315bc245bfe2f9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d661df805ffbb32a41a3236e03a5095a2933b6e7da96caad7315bc245bfe2f9c", kill_on_drop: false }` [INFO] [stdout] d661df805ffbb32a41a3236e03a5095a2933b6e7da96caad7315bc245bfe2f9c [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5ace64fa0caf61bceb92b811ba691bbc8b39b3f016a7fa0625c6d4079cd1a6e4 [INFO] running `Command { std: "docker" "start" "-a" "5ace64fa0caf61bceb92b811ba691bbc8b39b3f016a7fa0625c6d4079cd1a6e4", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `cache_bits50`, `cache_caps50`, `cache_index50`, `fft_bitrev120`, `fft_bitrev240`, `fft_bitrev480`, `fft_bitrev60`, `fft_state48000_960_0`, `fft_state48000_960_1`, `fft_state48000_960_2`, `fft_state48000_960_3`, `fft_twiddles48000_960`, `logN400`, `mdct_twiddles960`, `mode48000_960_120`, `window120` [INFO] [stderr] --> src/celt/modes.rs:7105:5 [INFO] [stderr] | [INFO] [stderr] 7105 | cache_bits50, cache_caps50, cache_index50, fft_bitrev120, fft_bitrev240, fft_bitrev480, [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] 7106 | fft_bitrev60, fft_state48000_960_0, fft_state48000_960_1, fft_state48000_960_2, [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 7107 | fft_state48000_960_3, fft_twiddles48000_960, logN400, mdct_twiddles960, mode48000_960_120, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 7108 | static_mode_list, window120, TOTAL_MODES, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stderr] --> src/silk/control_codec.rs:5:34 [INFO] [stderr] | [INFO] [stderr] 5 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `silk_int16_MAX`, `silk_int16_MIN` [INFO] [stderr] --> src/silk/control_codec.rs:44:27 [INFO] [stderr] | [INFO] [stderr] 44 | pub use self::typedef_h::{silk_int16_MAX, silk_int16_MIN}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::float_h::FLT_MAX` [INFO] [stderr] --> src/silk/float/find_LPC_FLP.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | pub use self::float_h::FLT_MAX; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::internal::__FLT_MAX__` [INFO] [stderr] --> src/silk/float/find_LPC_FLP.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub use self::internal::__FLT_MAX__; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stderr] --> src/silk/float/pitch_analysis_core_FLP.rs:8:34 [INFO] [stderr] | [INFO] [stderr] 8 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stderr] --> src/silk/float/wrappers_FLP.rs:8:34 [INFO] [stderr] | [INFO] [stderr] 8 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stderr] --> src/src/analysis.rs:71:34 [INFO] [stderr] | [INFO] [stderr] 71 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stderr] --> src/src/mapping_matrix.rs:9:34 [INFO] [stderr] | [INFO] [stderr] 9 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stderr] --> src/src/opus_decoder.rs:15:34 [INFO] [stderr] | [INFO] [stderr] 15 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stderr] --> src/src/opus_encoder.rs:19:34 [INFO] [stderr] | [INFO] [stderr] 19 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stderr] --> src/src/opus_multistream_decoder.rs:32:34 [INFO] [stderr] | [INFO] [stderr] 32 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/celt/modes.rs:7070:29 [INFO] [stderr] | [INFO] [stderr] 7070 | ... &fft_state48000_960_0 as *const kiss_fft_state, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 7070 | addr_of!(fft_state48000_960_0) as *const kiss_fft_state, [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/celt/modes.rs:7071:29 [INFO] [stderr] | [INFO] [stderr] 7071 | ... &fft_state48000_960_1 as *const kiss_fft_state, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 7071 | addr_of!(fft_state48000_960_1) as *const kiss_fft_state, [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/celt/modes.rs:7072:29 [INFO] [stderr] | [INFO] [stderr] 7072 | ... &fft_state48000_960_2 as *const kiss_fft_state, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 7072 | addr_of!(fft_state48000_960_2) as *const kiss_fft_state, [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/celt/modes.rs:7073:29 [INFO] [stderr] | [INFO] [stderr] 7073 | ... &fft_state48000_960_3 as *const kiss_fft_state, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 7073 | addr_of!(fft_state48000_960_3) as *const kiss_fft_state, [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/celt/modes.rs:7094:19 [INFO] [stderr] | [INFO] [stderr] 7094 | unsafe { [&mode48000_960_120 as *const OpusCustomMode] }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 7094 | unsafe { [addr_of!(mode48000_960_120) as *const OpusCustomMode] }; [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/silk/control_codec.rs:298:39 [INFO] [stderr] | [INFO] [stderr] 298 | (*psEnc).sCmn.psNLSF_CB = &silk_NLSF_CB_NB_MB; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 298 | (*psEnc).sCmn.psNLSF_CB = addr_of!(silk_NLSF_CB_NB_MB); [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/silk/control_codec.rs:301:39 [INFO] [stderr] | [INFO] [stderr] 301 | (*psEnc).sCmn.psNLSF_CB = &silk_NLSF_CB_WB; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 301 | (*psEnc).sCmn.psNLSF_CB = addr_of!(silk_NLSF_CB_WB); [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/silk/decoder_set_fs.rs:64:38 [INFO] [stderr] | [INFO] [stderr] 64 | (*psDec).psNLSF_CB = &silk_NLSF_CB_NB_MB; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 64 | (*psDec).psNLSF_CB = addr_of!(silk_NLSF_CB_NB_MB); [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/silk/decoder_set_fs.rs:67:38 [INFO] [stderr] | [INFO] [stderr] 67 | (*psDec).psNLSF_CB = &silk_NLSF_CB_WB; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 67 | (*psDec).psNLSF_CB = addr_of!(silk_NLSF_CB_WB); [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/src/analysis.rs:1550:19 [INFO] [stderr] | [INFO] [stderr] 1550 | compute_dense(&layer0, layer_out.as_mut_ptr(), features.as_mut_ptr()); [INFO] [stderr] | ^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 1550 | compute_dense(addr_of!(layer0), layer_out.as_mut_ptr(), features.as_mut_ptr()); [INFO] [stderr] | ~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/src/analysis.rs:1552:9 [INFO] [stderr] | [INFO] [stderr] 1552 | &layer1, [INFO] [stderr] | ^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 1552 | addr_of!(layer1), [INFO] [stderr] | ~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/src/analysis.rs:1557:9 [INFO] [stderr] | [INFO] [stderr] 1557 | &layer2, [INFO] [stderr] | ^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 1557 | addr_of!(layer2), [INFO] [stderr] | ~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/celt/bands.rs:774:5 [INFO] [stderr] | [INFO] [stderr] 774 | mut sctx: *mut split_ctx, [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/celt/bands.rs:1031:5 [INFO] [stderr] | [INFO] [stderr] 1031 | mut ctx: *mut band_ctx, [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/celt/bands.rs:1077:5 [INFO] [stderr] | [INFO] [stderr] 1077 | mut ctx: *mut band_ctx, [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/celt/bands.rs:1430:5 [INFO] [stderr] | [INFO] [stderr] 1430 | mut ctx: *mut band_ctx, [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/celt/celt_decoder.rs:264:5 [INFO] [stderr] | [INFO] [stderr] 264 | mut st: *mut OpusCustomDecoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/celt/celt_decoder.rs:286:5 [INFO] [stderr] | [INFO] [stderr] 286 | mut st: *mut OpusCustomDecoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/celt/celt_decoder.rs:677:28 [INFO] [stderr] | [INFO] [stderr] 677 | unsafe fn celt_decode_lost(mut st: *mut OpusCustomDecoder, N: i32, LM: i32) { [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/celt/celt_decoder.rs:1038:5 [INFO] [stderr] | [INFO] [stderr] 1038 | mut st: *mut OpusCustomDecoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/celt/celt_decoder.rs:1597:5 [INFO] [stderr] | [INFO] [stderr] 1597 | mut st: *mut OpusCustomDecoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/celt/celt_encoder.rs:137:5 [INFO] [stderr] | [INFO] [stderr] 137 | mut st: *mut OpusCustomEncoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/celt/celt_encoder.rs:173:5 [INFO] [stderr] | [INFO] [stderr] 173 | mut st: *mut OpusCustomEncoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/celt/celt_encoder.rs:1679:5 [INFO] [stderr] | [INFO] [stderr] 1679 | mut st: *mut OpusCustomEncoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/celt/celt_encoder.rs:2113:5 [INFO] [stderr] | [INFO] [stderr] 2113 | mut st: *mut OpusCustomEncoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/celt/celt_encoder.rs:3537:5 [INFO] [stderr] | [INFO] [stderr] 3537 | mut st: *mut OpusCustomEncoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/CNG.rs:36:30 [INFO] [stderr] | [INFO] [stderr] 36 | pub unsafe fn silk_CNG_Reset(mut psDec: *mut silk_decoder_state) { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/CNG.rs:64:9 [INFO] [stderr] | [INFO] [stderr] 64 | let mut psCNG: *mut silk_CNG_struct = &mut (*psDec).sCNG; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/HP_variable_cutoff.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | let mut psEncC1: *mut silk_encoder_state = &mut (*state_Fxx.offset(0 as i32 as isize)).sCmn; [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/LP_variable_cutoff.rs:93:5 [INFO] [stderr] | [INFO] [stderr] 93 | mut psLP: *mut silk_LP_state, [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/NSQ.rs:137:5 [INFO] [stderr] | [INFO] [stderr] 137 | mut NSQ: *mut silk_nsq_state, [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/NSQ.rs:282:5 [INFO] [stderr] | [INFO] [stderr] 282 | mut NSQ: *mut silk_nsq_state, [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/NSQ.rs:553:5 [INFO] [stderr] | [INFO] [stderr] 553 | mut NSQ: *mut silk_nsq_state, [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/NSQ_del_dec.rs:127:5 [INFO] [stderr] | [INFO] [stderr] 127 | mut NSQ: *mut silk_nsq_state, [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/NSQ_del_dec.rs:128:5 [INFO] [stderr] | [INFO] [stderr] 128 | mut psIndices: *mut SideInfoIndices, [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/NSQ_del_dec.rs:539:5 [INFO] [stderr] | [INFO] [stderr] 539 | mut NSQ: *mut silk_nsq_state, [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/NSQ_del_dec.rs:1040:5 [INFO] [stderr] | [INFO] [stderr] 1040 | mut NSQ: *mut silk_nsq_state, [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/PLC.rs:30:30 [INFO] [stderr] | [INFO] [stderr] 30 | pub unsafe fn silk_PLC_Reset(mut psDec: *mut silk_decoder_state) { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/PLC.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | mut psDec: *mut silk_decoder_state, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/PLC.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 59 | mut psDec: *mut silk_decoder_state, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/PLC.rs:229:5 [INFO] [stderr] | [INFO] [stderr] 229 | mut psDecCtrl: *mut silk_decoder_control, [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/PLC.rs:255:9 [INFO] [stderr] | [INFO] [stderr] 255 | let mut psPLC: *mut silk_PLC_struct = &mut (*psDec).sPLC; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/VAD.rs:18:29 [INFO] [stderr] | [INFO] [stderr] 18 | pub unsafe fn silk_VAD_Init(mut psSilk_VAD: *mut silk_VAD_state) -> i32 { [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/VAD.rs:47:35 [INFO] [stderr] | [INFO] [stderr] 47 | pub unsafe fn silk_VAD_GetSA_Q8_c(mut psEncC: *mut silk_encoder_state, pIn: *const i16) -> i32 { [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/VAD.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | let mut psSilk_VAD: *mut silk_VAD_state = &mut (*psEncC).sVAD; [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/VAD.rs:280:51 [INFO] [stderr] | [INFO] [stderr] 280 | unsafe fn silk_VAD_GetNoiseLevels(pX: *const i32, mut psSilk_VAD: *mut silk_VAD_state) { [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/control_SNR.rs:467:5 [INFO] [stderr] | [INFO] [stderr] 467 | mut psEncC: *mut silk_encoder_state, [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/control_audio_bandwidth.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | mut psEncC: *mut silk_encoder_state, [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/control_audio_bandwidth.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | mut encControl: *mut silk_EncControlStruct, [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/control_codec.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 71 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/control_codec.rs:112:33 [INFO] [stderr] | [INFO] [stderr] 112 | unsafe fn silk_setup_resamplers(mut psEnc: *mut silk_encoder_state_FLP, fs_kHz: i32) -> i32 { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/control_codec.rs:195:5 [INFO] [stderr] | [INFO] [stderr] 195 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/control_codec.rs:334:33 [INFO] [stderr] | [INFO] [stderr] 334 | unsafe fn silk_setup_complexity(mut psEncC: *mut silk_encoder_state, Complexity: i32) -> i32 { [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/control_codec.rs:479:5 [INFO] [stderr] | [INFO] [stderr] 479 | mut psEncC: *mut silk_encoder_state, [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/dec_API.rs:76:5 [INFO] [stderr] | [INFO] [stderr] 76 | mut decControl: *mut silk_DecControlStruct, [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/dec_API.rs:93:9 [INFO] [stderr] | [INFO] [stderr] 93 | let mut psDec: *mut silk_decoder = decState as *mut silk_decoder; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/decode_core.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | mut psDec: *mut silk_decoder_state, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/decode_core.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | mut psDecCtrl: *mut silk_decoder_control, [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/decode_frame.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | mut psDec: *mut silk_decoder_state, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/decode_indices.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | mut psDec: *mut silk_decoder_state, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/decode_parameters.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | mut psDec: *mut silk_decoder_state, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/decode_parameters.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | mut psDecCtrl: *mut silk_decoder_control, [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/decoder_set_fs.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | mut psDec: *mut silk_decoder_state, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/enc_API.rs:111:5 [INFO] [stderr] | [INFO] [stderr] 111 | mut encStatus: *mut silk_EncControlStruct, [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/enc_API.rs:149:5 [INFO] [stderr] | [INFO] [stderr] 149 | mut encControl: *mut silk_EncControlStruct, [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/enc_API.rs:175:9 [INFO] [stderr] | [INFO] [stderr] 175 | let mut psEnc: *mut silk_encoder = encState as *mut silk_encoder; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/encode_indices.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | mut psEncC: *mut silk_encoder_state, [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/LTP_scale_ctrl_FLP.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/LTP_scale_ctrl_FLP.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/encode_frame_FLP.rs:36:38 [INFO] [stderr] | [INFO] [stderr] 36 | pub unsafe fn silk_encode_do_VAD_FLP(mut psEnc: *mut silk_encoder_state_FLP, activity: i32) { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/encode_frame_FLP.rs:67:5 [INFO] [stderr] | [INFO] [stderr] 67 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/encode_frame_FLP.rs:576:5 [INFO] [stderr] | [INFO] [stderr] 576 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/encode_frame_FLP.rs:577:5 [INFO] [stderr] | [INFO] [stderr] 577 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/encode_frame_FLP.rs:584:9 [INFO] [stderr] | [INFO] [stderr] 584 | let mut psIndices_LBRR: *mut SideInfoIndices = &mut *((*psEnc).sCmn.indices_LBRR) [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/find_LPC_FLP.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | mut psEncC: *mut silk_encoder_state, [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/find_pitch_lags_FLP.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/find_pitch_lags_FLP.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/find_pred_coefs_FLP.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/find_pred_coefs_FLP.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/noise_shape_analysis_FLP.rs:155:5 [INFO] [stderr] | [INFO] [stderr] 155 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/noise_shape_analysis_FLP.rs:156:5 [INFO] [stderr] | [INFO] [stderr] 156 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/noise_shape_analysis_FLP.rs:160:9 [INFO] [stderr] | [INFO] [stderr] 160 | let mut psShapeSt: *mut silk_shape_state_FLP = &mut (*psEnc).sShape; [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/process_gains_FLP.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/process_gains_FLP.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/init_decoder.rs:14:33 [INFO] [stderr] | [INFO] [stderr] 14 | pub unsafe fn silk_init_decoder(mut psDec: *mut silk_decoder_state) -> i32 { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/init_encoder.rs:6:33 [INFO] [stderr] | [INFO] [stderr] 6 | pub unsafe fn silk_init_encoder(mut psEnc: *mut silk_encoder_state_FLP, arch: i32) -> i32 { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/resampler.rs:50:5 [INFO] [stderr] | [INFO] [stderr] 50 | mut S: *mut silk_resampler_state_struct, [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/stereo_LR_to_MS.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | mut state: *mut stereo_enc_state, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/stereo_MS_to_LR.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | mut state: *mut stereo_dec_state, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/analysis.rs:582:38 [INFO] [stderr] | [INFO] [stderr] 582 | pub unsafe fn tonality_analysis_init(mut tonal: *mut TonalityAnalysisState, Fs: i32) { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/analysis.rs:598:5 [INFO] [stderr] | [INFO] [stderr] 598 | mut tonal: *mut TonalityAnalysisState, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/analysis.rs:599:5 [INFO] [stderr] | [INFO] [stderr] 599 | mut info_out: *mut AnalysisInfo, [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/analysis.rs:830:5 [INFO] [stderr] | [INFO] [stderr] 830 | mut tonal: *mut TonalityAnalysisState, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/analysis.rs:1569:5 [INFO] [stderr] | [INFO] [stderr] 1569 | mut analysis: *mut TonalityAnalysisState, [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/opus_decoder.rs:195:33 [INFO] [stderr] | [INFO] [stderr] 195 | pub unsafe fn opus_decoder_init(mut st: *mut OpusDecoder, Fs: i32, channels: i32) -> i32 { [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/opus_decoder.rs:311:5 [INFO] [stderr] | [INFO] [stderr] 311 | mut st: *mut OpusDecoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/opus_decoder.rs:875:5 [INFO] [stderr] | [INFO] [stderr] 875 | mut st: *mut OpusDecoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/opus_decoder.rs:1148:37 [INFO] [stderr] | [INFO] [stderr] 1148 | pub unsafe fn opus_decoder_ctl_impl(mut st: *mut OpusDecoder, request: i32, args: VarArgs) -> i32 { [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/opus_encoder.rs:226:5 [INFO] [stderr] | [INFO] [stderr] 226 | mut st: *mut OpusEncoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/opus_encoder.rs:757:5 [INFO] [stderr] | [INFO] [stderr] 757 | mut mem: *mut StereoWidthState, [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/opus_encoder.rs:1098:5 [INFO] [stderr] | [INFO] [stderr] 1098 | mut st: *mut OpusEncoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/opus_encoder.rs:1252:5 [INFO] [stderr] | [INFO] [stderr] 1252 | mut st: *mut OpusEncoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/opus_encoder.rs:2745:37 [INFO] [stderr] | [INFO] [stderr] 2745 | pub unsafe fn opus_encoder_ctl_impl(mut st: *mut OpusEncoder, request: i32, args: VarArgs) -> i32 { [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/opus_multistream_decoder.rs:75:5 [INFO] [stderr] | [INFO] [stderr] 75 | mut st: *mut OpusMSDecoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/opus_multistream_encoder.rs:715:5 [INFO] [stderr] | [INFO] [stderr] 715 | mut st: *mut OpusMSEncoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/opus_multistream_encoder.rs:830:5 [INFO] [stderr] | [INFO] [stderr] 830 | mut st: *mut OpusMSEncoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/opus_multistream_encoder.rs:1591:5 [INFO] [stderr] | [INFO] [stderr] 1591 | mut st: *mut OpusMSEncoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/opus_projection_decoder.rs:126:5 [INFO] [stderr] | [INFO] [stderr] 126 | mut st: *mut OpusProjectionDecoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/opus_projection_encoder.rs:203:5 [INFO] [stderr] | [INFO] [stderr] 203 | mut st: *mut OpusProjectionEncoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/repacketizer.rs:27:38 [INFO] [stderr] | [INFO] [stderr] 27 | pub unsafe fn opus_repacketizer_init(mut rp: *mut OpusRepacketizer) -> *mut OpusRepacketizer { [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/repacketizer.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | mut rp: *mut OpusRepacketizer, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `unsafe-libopus` (lib) generated 123 warnings (run `cargo fix --lib -p unsafe-libopus` to apply 111 suggestions) [INFO] [stderr] warning: `unsafe-libopus` (lib test) generated 123 warnings (123 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/unsafe_libopus-377380ec75b55d17) [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/bin/opus_compare.rs (/opt/rustwide/target/debug/deps/opus_compare-18d33984ca504f9b) [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/bin/opus_demo.rs (/opt/rustwide/target/debug/deps/opus_demo-186bf1014cc9379a) [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/bin/repacketizer_demo.rs (/opt/rustwide/target/debug/deps/repacketizer_demo-6dc65c4faec27646) [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/bin/run_vectors.rs (/opt/rustwide/target/debug/deps/run_vectors-7734660dbb529b78) [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 tests/opus_api.rs (/opt/rustwide/target/debug/deps/opus_api-92ba810cd13a5ed0) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_opus_encode ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 9.05s [INFO] [stdout] [INFO] [stderr] Running tests/opus_decode.rs (/opt/rustwide/target/debug/deps/opus_decode-37cc80a2675aad9a) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_opus_decode has been running for over 60 seconds [INFO] [stdout] test test_opus_decode ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 108.24s [INFO] [stdout] [INFO] [stderr] Running tests/opus_encode/main.rs (/opt/rustwide/target/debug/deps/opus_encode-c17abb403698a76b) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_opus_encode has been running for over 60 seconds [INFO] [stderr] Running tests/opus_padding.rs (/opt/rustwide/target/debug/deps/opus_padding-933d9916905c190d) [INFO] [stdout] test test_opus_encode ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 320.48s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_opus_padding ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/opus_projection/main.rs (/opt/rustwide/target/debug/deps/opus_projection-a767de735505aaf0) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_opus_projection ... ok [INFO] [stdout] [INFO] [stderr] Doc-tests unsafe-libopus [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [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" "5ace64fa0caf61bceb92b811ba691bbc8b39b3f016a7fa0625c6d4079cd1a6e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ace64fa0caf61bceb92b811ba691bbc8b39b3f016a7fa0625c6d4079cd1a6e4", kill_on_drop: false }` [INFO] [stdout] 5ace64fa0caf61bceb92b811ba691bbc8b39b3f016a7fa0625c6d4079cd1a6e4 [INFO] testing unsafe-libopus-0.1.1 against try#393ef12c970fbc7f294cd96c35cb76f9591bc1d6 for pr-121417 [INFO] extracting crate unsafe-libopus 0.1.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate unsafe-libopus 0.1.1 on toolchain 393ef12c970fbc7f294cd96c35cb76f9591bc1d6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate unsafe-libopus 0.1.1 [INFO] finished tweaking crates.io crate unsafe-libopus 0.1.1 [INFO] tweaked toml for crates.io crate unsafe-libopus 0.1.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate unsafe-libopus 0.1.1 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" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8fa41a8b860cd3b8051d7a25fa6a47033e6fde0010634adac8444de0443e3a85 [INFO] running `Command { std: "docker" "start" "-a" "8fa41a8b860cd3b8051d7a25fa6a47033e6fde0010634adac8444de0443e3a85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8fa41a8b860cd3b8051d7a25fa6a47033e6fde0010634adac8444de0443e3a85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fa41a8b860cd3b8051d7a25fa6a47033e6fde0010634adac8444de0443e3a85", kill_on_drop: false }` [INFO] [stdout] 8fa41a8b860cd3b8051d7a25fa6a47033e6fde0010634adac8444de0443e3a85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3106d1f5216785b85b0d936735100817897aadbfb4402858981ab9954781468 [INFO] running `Command { std: "docker" "start" "-a" "c3106d1f5216785b85b0d936735100817897aadbfb4402858981ab9954781468", kill_on_drop: false }` [INFO] [stderr] Compiling unsafe-libopus v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `cache_bits50`, `cache_caps50`, `cache_index50`, `fft_bitrev120`, `fft_bitrev240`, `fft_bitrev480`, `fft_bitrev60`, `fft_state48000_960_0`, `fft_state48000_960_1`, `fft_state48000_960_2`, `fft_state48000_960_3`, `fft_twiddles48000_960`, `logN400`, `mdct_twiddles960`, `mode48000_960_120`, `window120` [INFO] [stdout] --> src/celt/modes.rs:7105:5 [INFO] [stdout] | [INFO] [stdout] 7105 | cache_bits50, cache_caps50, cache_index50, fft_bitrev120, fft_bitrev240, fft_bitrev480, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 7106 | fft_bitrev60, fft_state48000_960_0, fft_state48000_960_1, fft_state48000_960_2, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7107 | fft_state48000_960_3, fft_twiddles48000_960, logN400, mdct_twiddles960, mode48000_960_120, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7108 | static_mode_list, window120, TOTAL_MODES, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/silk/control_codec.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `silk_int16_MAX`, `silk_int16_MIN` [INFO] [stdout] --> src/silk/control_codec.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | pub use self::typedef_h::{silk_int16_MAX, silk_int16_MIN}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::float_h::FLT_MAX` [INFO] [stdout] --> src/silk/float/find_LPC_FLP.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::float_h::FLT_MAX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::internal::__FLT_MAX__` [INFO] [stdout] --> src/silk/float/find_LPC_FLP.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use self::internal::__FLT_MAX__; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/silk/float/pitch_analysis_core_FLP.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/silk/float/wrappers_FLP.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/src/analysis.rs:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/src/mapping_matrix.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/src/opus_decoder.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/src/opus_encoder.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/src/opus_multistream_decoder.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7070:29 [INFO] [stdout] | [INFO] [stdout] 7070 | ... &fft_state48000_960_0 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7070 | addr_of!(fft_state48000_960_0) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7071:29 [INFO] [stdout] | [INFO] [stdout] 7071 | ... &fft_state48000_960_1 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7071 | addr_of!(fft_state48000_960_1) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7072:29 [INFO] [stdout] | [INFO] [stdout] 7072 | ... &fft_state48000_960_2 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7072 | addr_of!(fft_state48000_960_2) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7073:29 [INFO] [stdout] | [INFO] [stdout] 7073 | ... &fft_state48000_960_3 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7073 | addr_of!(fft_state48000_960_3) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7094:19 [INFO] [stdout] | [INFO] [stdout] 7094 | unsafe { [&mode48000_960_120 as *const OpusCustomMode] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7094 | unsafe { [addr_of!(mode48000_960_120) as *const OpusCustomMode] }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/control_codec.rs:298:39 [INFO] [stdout] | [INFO] [stdout] 298 | (*psEnc).sCmn.psNLSF_CB = &silk_NLSF_CB_NB_MB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 298 | (*psEnc).sCmn.psNLSF_CB = addr_of!(silk_NLSF_CB_NB_MB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/control_codec.rs:301:39 [INFO] [stdout] | [INFO] [stdout] 301 | (*psEnc).sCmn.psNLSF_CB = &silk_NLSF_CB_WB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 301 | (*psEnc).sCmn.psNLSF_CB = addr_of!(silk_NLSF_CB_WB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/decoder_set_fs.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | (*psDec).psNLSF_CB = &silk_NLSF_CB_NB_MB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 64 | (*psDec).psNLSF_CB = addr_of!(silk_NLSF_CB_NB_MB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/decoder_set_fs.rs:67:38 [INFO] [stdout] | [INFO] [stdout] 67 | (*psDec).psNLSF_CB = &silk_NLSF_CB_WB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 67 | (*psDec).psNLSF_CB = addr_of!(silk_NLSF_CB_WB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/analysis.rs:1550:19 [INFO] [stdout] | [INFO] [stdout] 1550 | compute_dense(&layer0, layer_out.as_mut_ptr(), features.as_mut_ptr()); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1550 | compute_dense(addr_of!(layer0), layer_out.as_mut_ptr(), features.as_mut_ptr()); [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/analysis.rs:1552:9 [INFO] [stdout] | [INFO] [stdout] 1552 | &layer1, [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1552 | addr_of!(layer1), [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/analysis.rs:1557:9 [INFO] [stdout] | [INFO] [stdout] 1557 | &layer2, [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1557 | addr_of!(layer2), [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/bands.rs:774:5 [INFO] [stdout] | [INFO] [stdout] 774 | mut sctx: *mut split_ctx, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/bands.rs:1031:5 [INFO] [stdout] | [INFO] [stdout] 1031 | mut ctx: *mut band_ctx, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/bands.rs:1077:5 [INFO] [stdout] | [INFO] [stdout] 1077 | mut ctx: *mut band_ctx, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/bands.rs:1430:5 [INFO] [stdout] | [INFO] [stdout] 1430 | mut ctx: *mut band_ctx, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_decoder.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | mut st: *mut OpusCustomDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_decoder.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 286 | mut st: *mut OpusCustomDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_decoder.rs:677:28 [INFO] [stdout] | [INFO] [stdout] 677 | unsafe fn celt_decode_lost(mut st: *mut OpusCustomDecoder, N: i32, LM: i32) { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_decoder.rs:1038:5 [INFO] [stdout] | [INFO] [stdout] 1038 | mut st: *mut OpusCustomDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_decoder.rs:1597:5 [INFO] [stdout] | [INFO] [stdout] 1597 | mut st: *mut OpusCustomDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_encoder.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | mut st: *mut OpusCustomEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_encoder.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | mut st: *mut OpusCustomEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_encoder.rs:1679:5 [INFO] [stdout] | [INFO] [stdout] 1679 | mut st: *mut OpusCustomEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_encoder.rs:2113:5 [INFO] [stdout] | [INFO] [stdout] 2113 | mut st: *mut OpusCustomEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_encoder.rs:3537:5 [INFO] [stdout] | [INFO] [stdout] 3537 | mut st: *mut OpusCustomEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/CNG.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | pub unsafe fn silk_CNG_Reset(mut psDec: *mut silk_decoder_state) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/CNG.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut psCNG: *mut silk_CNG_struct = &mut (*psDec).sCNG; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/HP_variable_cutoff.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut psEncC1: *mut silk_encoder_state = &mut (*state_Fxx.offset(0 as i32 as isize)).sCmn; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/LP_variable_cutoff.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | mut psLP: *mut silk_LP_state, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ.rs:553:5 [INFO] [stdout] | [INFO] [stdout] 553 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ_del_dec.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ_del_dec.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | mut psIndices: *mut SideInfoIndices, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ_del_dec.rs:539:5 [INFO] [stdout] | [INFO] [stdout] 539 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ_del_dec.rs:1040:5 [INFO] [stdout] | [INFO] [stdout] 1040 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/PLC.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | pub unsafe fn silk_PLC_Reset(mut psDec: *mut silk_decoder_state) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/PLC.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/PLC.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/PLC.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | mut psDecCtrl: *mut silk_decoder_control, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/PLC.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | let mut psPLC: *mut silk_PLC_struct = &mut (*psDec).sPLC; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/VAD.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | pub unsafe fn silk_VAD_Init(mut psSilk_VAD: *mut silk_VAD_state) -> i32 { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/VAD.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | pub unsafe fn silk_VAD_GetSA_Q8_c(mut psEncC: *mut silk_encoder_state, pIn: *const i16) -> i32 { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/VAD.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let mut psSilk_VAD: *mut silk_VAD_state = &mut (*psEncC).sVAD; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/VAD.rs:280:51 [INFO] [stdout] | [INFO] [stdout] 280 | unsafe fn silk_VAD_GetNoiseLevels(pX: *const i32, mut psSilk_VAD: *mut silk_VAD_state) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_SNR.rs:467:5 [INFO] [stdout] | [INFO] [stdout] 467 | mut psEncC: *mut silk_encoder_state, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_audio_bandwidth.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mut psEncC: *mut silk_encoder_state, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_audio_bandwidth.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | mut encControl: *mut silk_EncControlStruct, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_codec.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_codec.rs:112:33 [INFO] [stdout] | [INFO] [stdout] 112 | unsafe fn silk_setup_resamplers(mut psEnc: *mut silk_encoder_state_FLP, fs_kHz: i32) -> i32 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_codec.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_codec.rs:334:33 [INFO] [stdout] | [INFO] [stdout] 334 | unsafe fn silk_setup_complexity(mut psEncC: *mut silk_encoder_state, Complexity: i32) -> i32 { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_codec.rs:479:5 [INFO] [stdout] | [INFO] [stdout] 479 | mut psEncC: *mut silk_encoder_state, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/dec_API.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | mut decControl: *mut silk_DecControlStruct, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/dec_API.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let mut psDec: *mut silk_decoder = decState as *mut silk_decoder; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_core.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_core.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | mut psDecCtrl: *mut silk_decoder_control, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_frame.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_indices.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_parameters.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_parameters.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | mut psDecCtrl: *mut silk_decoder_control, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decoder_set_fs.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/enc_API.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | mut encStatus: *mut silk_EncControlStruct, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/enc_API.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | mut encControl: *mut silk_EncControlStruct, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/enc_API.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | let mut psEnc: *mut silk_encoder = encState as *mut silk_encoder; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/encode_indices.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | mut psEncC: *mut silk_encoder_state, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/LTP_scale_ctrl_FLP.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/LTP_scale_ctrl_FLP.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/encode_frame_FLP.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | pub unsafe fn silk_encode_do_VAD_FLP(mut psEnc: *mut silk_encoder_state_FLP, activity: i32) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/encode_frame_FLP.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/encode_frame_FLP.rs:576:5 [INFO] [stdout] | [INFO] [stdout] 576 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/encode_frame_FLP.rs:577:5 [INFO] [stdout] | [INFO] [stdout] 577 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/encode_frame_FLP.rs:584:9 [INFO] [stdout] | [INFO] [stdout] 584 | let mut psIndices_LBRR: *mut SideInfoIndices = &mut *((*psEnc).sCmn.indices_LBRR) [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/find_LPC_FLP.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | mut psEncC: *mut silk_encoder_state, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/find_pitch_lags_FLP.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/find_pitch_lags_FLP.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/find_pred_coefs_FLP.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/find_pred_coefs_FLP.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/noise_shape_analysis_FLP.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/noise_shape_analysis_FLP.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/noise_shape_analysis_FLP.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let mut psShapeSt: *mut silk_shape_state_FLP = &mut (*psEnc).sShape; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/process_gains_FLP.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/process_gains_FLP.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/init_decoder.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | pub unsafe fn silk_init_decoder(mut psDec: *mut silk_decoder_state) -> i32 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/init_encoder.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | pub unsafe fn silk_init_encoder(mut psEnc: *mut silk_encoder_state_FLP, arch: i32) -> i32 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/resampler.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | mut S: *mut silk_resampler_state_struct, [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/stereo_LR_to_MS.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | mut state: *mut stereo_enc_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/stereo_MS_to_LR.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | mut state: *mut stereo_dec_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/analysis.rs:582:38 [INFO] [stdout] | [INFO] [stdout] 582 | pub unsafe fn tonality_analysis_init(mut tonal: *mut TonalityAnalysisState, Fs: i32) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/analysis.rs:598:5 [INFO] [stdout] | [INFO] [stdout] 598 | mut tonal: *mut TonalityAnalysisState, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/analysis.rs:599:5 [INFO] [stdout] | [INFO] [stdout] 599 | mut info_out: *mut AnalysisInfo, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/analysis.rs:830:5 [INFO] [stdout] | [INFO] [stdout] 830 | mut tonal: *mut TonalityAnalysisState, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/analysis.rs:1569:5 [INFO] [stdout] | [INFO] [stdout] 1569 | mut analysis: *mut TonalityAnalysisState, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_decoder.rs:195:33 [INFO] [stdout] | [INFO] [stdout] 195 | pub unsafe fn opus_decoder_init(mut st: *mut OpusDecoder, Fs: i32, channels: i32) -> i32 { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_decoder.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | mut st: *mut OpusDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_decoder.rs:875:5 [INFO] [stdout] | [INFO] [stdout] 875 | mut st: *mut OpusDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_decoder.rs:1148:37 [INFO] [stdout] | [INFO] [stdout] 1148 | pub unsafe fn opus_decoder_ctl_impl(mut st: *mut OpusDecoder, request: i32, args: VarArgs) -> i32 { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_encoder.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | mut st: *mut OpusEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_encoder.rs:757:5 [INFO] [stdout] | [INFO] [stdout] 757 | mut mem: *mut StereoWidthState, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_encoder.rs:1098:5 [INFO] [stdout] | [INFO] [stdout] 1098 | mut st: *mut OpusEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_encoder.rs:1252:5 [INFO] [stdout] | [INFO] [stdout] 1252 | mut st: *mut OpusEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_encoder.rs:2745:37 [INFO] [stdout] | [INFO] [stdout] 2745 | pub unsafe fn opus_encoder_ctl_impl(mut st: *mut OpusEncoder, request: i32, args: VarArgs) -> i32 { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_multistream_decoder.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | mut st: *mut OpusMSDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_multistream_encoder.rs:715:5 [INFO] [stdout] | [INFO] [stdout] 715 | mut st: *mut OpusMSEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_multistream_encoder.rs:830:5 [INFO] [stdout] | [INFO] [stdout] 830 | mut st: *mut OpusMSEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_multistream_encoder.rs:1591:5 [INFO] [stdout] | [INFO] [stdout] 1591 | mut st: *mut OpusMSEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_projection_decoder.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | mut st: *mut OpusProjectionDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_projection_encoder.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | mut st: *mut OpusProjectionEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/repacketizer.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | pub unsafe fn opus_repacketizer_init(mut rp: *mut OpusRepacketizer) -> *mut OpusRepacketizer { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/repacketizer.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | mut rp: *mut OpusRepacketizer, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 123 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.82s [INFO] running `Command { std: "docker" "inspect" "c3106d1f5216785b85b0d936735100817897aadbfb4402858981ab9954781468", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3106d1f5216785b85b0d936735100817897aadbfb4402858981ab9954781468", kill_on_drop: false }` [INFO] [stdout] c3106d1f5216785b85b0d936735100817897aadbfb4402858981ab9954781468 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eacc84749b1adb8c501877bfadb4c1cbba4c7876304659b40dc8a03e414e4987 [INFO] running `Command { std: "docker" "start" "-a" "eacc84749b1adb8c501877bfadb4c1cbba4c7876304659b40dc8a03e414e4987", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `cache_bits50`, `cache_caps50`, `cache_index50`, `fft_bitrev120`, `fft_bitrev240`, `fft_bitrev480`, `fft_bitrev60`, `fft_state48000_960_0`, `fft_state48000_960_1`, `fft_state48000_960_2`, `fft_state48000_960_3`, `fft_twiddles48000_960`, `logN400`, `mdct_twiddles960`, `mode48000_960_120`, `window120` [INFO] [stdout] --> src/celt/modes.rs:7105:5 [INFO] [stdout] | [INFO] [stdout] 7105 | cache_bits50, cache_caps50, cache_index50, fft_bitrev120, fft_bitrev240, fft_bitrev480, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 7106 | fft_bitrev60, fft_state48000_960_0, fft_state48000_960_1, fft_state48000_960_2, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7107 | fft_state48000_960_3, fft_twiddles48000_960, logN400, mdct_twiddles960, mode48000_960_120, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7108 | static_mode_list, window120, TOTAL_MODES, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/silk/control_codec.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `silk_int16_MAX`, `silk_int16_MIN` [INFO] [stdout] --> src/silk/control_codec.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | pub use self::typedef_h::{silk_int16_MAX, silk_int16_MIN}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::float_h::FLT_MAX` [INFO] [stdout] --> src/silk/float/find_LPC_FLP.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::float_h::FLT_MAX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::internal::__FLT_MAX__` [INFO] [stdout] --> src/silk/float/find_LPC_FLP.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use self::internal::__FLT_MAX__; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/silk/float/pitch_analysis_core_FLP.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/silk/float/wrappers_FLP.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/src/analysis.rs:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/src/mapping_matrix.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/src/opus_decoder.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/src/opus_encoder.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/src/opus_multistream_decoder.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7070:29 [INFO] [stdout] | [INFO] [stdout] 7070 | ... &fft_state48000_960_0 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7070 | addr_of!(fft_state48000_960_0) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7071:29 [INFO] [stdout] | [INFO] [stdout] 7071 | ... &fft_state48000_960_1 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7071 | addr_of!(fft_state48000_960_1) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7072:29 [INFO] [stdout] | [INFO] [stdout] 7072 | ... &fft_state48000_960_2 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7072 | addr_of!(fft_state48000_960_2) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7073:29 [INFO] [stdout] | [INFO] [stdout] 7073 | ... &fft_state48000_960_3 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7073 | addr_of!(fft_state48000_960_3) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7094:19 [INFO] [stdout] | [INFO] [stdout] 7094 | unsafe { [&mode48000_960_120 as *const OpusCustomMode] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7094 | unsafe { [addr_of!(mode48000_960_120) as *const OpusCustomMode] }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/control_codec.rs:298:39 [INFO] [stdout] | [INFO] [stdout] 298 | (*psEnc).sCmn.psNLSF_CB = &silk_NLSF_CB_NB_MB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 298 | (*psEnc).sCmn.psNLSF_CB = addr_of!(silk_NLSF_CB_NB_MB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/control_codec.rs:301:39 [INFO] [stdout] | [INFO] [stdout] 301 | (*psEnc).sCmn.psNLSF_CB = &silk_NLSF_CB_WB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 301 | (*psEnc).sCmn.psNLSF_CB = addr_of!(silk_NLSF_CB_WB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/decoder_set_fs.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | (*psDec).psNLSF_CB = &silk_NLSF_CB_NB_MB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 64 | (*psDec).psNLSF_CB = addr_of!(silk_NLSF_CB_NB_MB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/decoder_set_fs.rs:67:38 [INFO] [stdout] | [INFO] [stdout] 67 | (*psDec).psNLSF_CB = &silk_NLSF_CB_WB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 67 | (*psDec).psNLSF_CB = addr_of!(silk_NLSF_CB_WB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/analysis.rs:1550:19 [INFO] [stdout] | [INFO] [stdout] 1550 | compute_dense(&layer0, layer_out.as_mut_ptr(), features.as_mut_ptr()); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1550 | compute_dense(addr_of!(layer0), layer_out.as_mut_ptr(), features.as_mut_ptr()); [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/analysis.rs:1552:9 [INFO] [stdout] | [INFO] [stdout] 1552 | &layer1, [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1552 | addr_of!(layer1), [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/analysis.rs:1557:9 [INFO] [stdout] | [INFO] [stdout] 1557 | &layer2, [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1557 | addr_of!(layer2), [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/bands.rs:774:5 [INFO] [stdout] | [INFO] [stdout] 774 | mut sctx: *mut split_ctx, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/bands.rs:1031:5 [INFO] [stdout] | [INFO] [stdout] 1031 | mut ctx: *mut band_ctx, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/bands.rs:1077:5 [INFO] [stdout] | [INFO] [stdout] 1077 | mut ctx: *mut band_ctx, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/bands.rs:1430:5 [INFO] [stdout] | [INFO] [stdout] 1430 | mut ctx: *mut band_ctx, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_decoder.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | mut st: *mut OpusCustomDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_decoder.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 286 | mut st: *mut OpusCustomDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_decoder.rs:677:28 [INFO] [stdout] | [INFO] [stdout] 677 | unsafe fn celt_decode_lost(mut st: *mut OpusCustomDecoder, N: i32, LM: i32) { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_decoder.rs:1038:5 [INFO] [stdout] | [INFO] [stdout] 1038 | mut st: *mut OpusCustomDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_decoder.rs:1597:5 [INFO] [stdout] | [INFO] [stdout] 1597 | mut st: *mut OpusCustomDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_encoder.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | mut st: *mut OpusCustomEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_encoder.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | mut st: *mut OpusCustomEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_encoder.rs:1679:5 [INFO] [stdout] | [INFO] [stdout] 1679 | mut st: *mut OpusCustomEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_encoder.rs:2113:5 [INFO] [stdout] | [INFO] [stdout] 2113 | mut st: *mut OpusCustomEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_encoder.rs:3537:5 [INFO] [stdout] | [INFO] [stdout] 3537 | mut st: *mut OpusCustomEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/CNG.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | pub unsafe fn silk_CNG_Reset(mut psDec: *mut silk_decoder_state) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/CNG.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut psCNG: *mut silk_CNG_struct = &mut (*psDec).sCNG; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/HP_variable_cutoff.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut psEncC1: *mut silk_encoder_state = &mut (*state_Fxx.offset(0 as i32 as isize)).sCmn; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/LP_variable_cutoff.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | mut psLP: *mut silk_LP_state, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ.rs:553:5 [INFO] [stdout] | [INFO] [stdout] 553 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ_del_dec.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ_del_dec.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | mut psIndices: *mut SideInfoIndices, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ_del_dec.rs:539:5 [INFO] [stdout] | [INFO] [stdout] 539 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ_del_dec.rs:1040:5 [INFO] [stdout] | [INFO] [stdout] 1040 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/PLC.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | pub unsafe fn silk_PLC_Reset(mut psDec: *mut silk_decoder_state) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/PLC.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/PLC.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/PLC.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | mut psDecCtrl: *mut silk_decoder_control, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/PLC.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | let mut psPLC: *mut silk_PLC_struct = &mut (*psDec).sPLC; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/VAD.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | pub unsafe fn silk_VAD_Init(mut psSilk_VAD: *mut silk_VAD_state) -> i32 { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/VAD.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | pub unsafe fn silk_VAD_GetSA_Q8_c(mut psEncC: *mut silk_encoder_state, pIn: *const i16) -> i32 { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/VAD.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let mut psSilk_VAD: *mut silk_VAD_state = &mut (*psEncC).sVAD; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/VAD.rs:280:51 [INFO] [stdout] | [INFO] [stdout] 280 | unsafe fn silk_VAD_GetNoiseLevels(pX: *const i32, mut psSilk_VAD: *mut silk_VAD_state) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_SNR.rs:467:5 [INFO] [stdout] | [INFO] [stdout] 467 | mut psEncC: *mut silk_encoder_state, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_audio_bandwidth.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mut psEncC: *mut silk_encoder_state, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_audio_bandwidth.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | mut encControl: *mut silk_EncControlStruct, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_codec.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_codec.rs:112:33 [INFO] [stdout] | [INFO] [stdout] 112 | unsafe fn silk_setup_resamplers(mut psEnc: *mut silk_encoder_state_FLP, fs_kHz: i32) -> i32 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_codec.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_codec.rs:334:33 [INFO] [stdout] | [INFO] [stdout] 334 | unsafe fn silk_setup_complexity(mut psEncC: *mut silk_encoder_state, Complexity: i32) -> i32 { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_codec.rs:479:5 [INFO] [stdout] | [INFO] [stdout] 479 | mut psEncC: *mut silk_encoder_state, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/dec_API.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | mut decControl: *mut silk_DecControlStruct, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/dec_API.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let mut psDec: *mut silk_decoder = decState as *mut silk_decoder; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_core.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_core.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | mut psDecCtrl: *mut silk_decoder_control, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_frame.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_indices.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_parameters.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_parameters.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | mut psDecCtrl: *mut silk_decoder_control, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decoder_set_fs.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/enc_API.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | mut encStatus: *mut silk_EncControlStruct, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/enc_API.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | mut encControl: *mut silk_EncControlStruct, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/enc_API.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | let mut psEnc: *mut silk_encoder = encState as *mut silk_encoder; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/encode_indices.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | mut psEncC: *mut silk_encoder_state, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/LTP_scale_ctrl_FLP.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/LTP_scale_ctrl_FLP.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/encode_frame_FLP.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | pub unsafe fn silk_encode_do_VAD_FLP(mut psEnc: *mut silk_encoder_state_FLP, activity: i32) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/encode_frame_FLP.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/encode_frame_FLP.rs:576:5 [INFO] [stdout] | [INFO] [stdout] 576 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/encode_frame_FLP.rs:577:5 [INFO] [stdout] | [INFO] [stdout] 577 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/encode_frame_FLP.rs:584:9 [INFO] [stdout] | [INFO] [stdout] 584 | let mut psIndices_LBRR: *mut SideInfoIndices = &mut *((*psEnc).sCmn.indices_LBRR) [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/find_LPC_FLP.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | mut psEncC: *mut silk_encoder_state, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/find_pitch_lags_FLP.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/find_pitch_lags_FLP.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/find_pred_coefs_FLP.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/find_pred_coefs_FLP.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/noise_shape_analysis_FLP.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/noise_shape_analysis_FLP.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/noise_shape_analysis_FLP.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let mut psShapeSt: *mut silk_shape_state_FLP = &mut (*psEnc).sShape; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/process_gains_FLP.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/process_gains_FLP.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/init_decoder.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | pub unsafe fn silk_init_decoder(mut psDec: *mut silk_decoder_state) -> i32 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/init_encoder.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | pub unsafe fn silk_init_encoder(mut psEnc: *mut silk_encoder_state_FLP, arch: i32) -> i32 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/resampler.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | mut S: *mut silk_resampler_state_struct, [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/stereo_LR_to_MS.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | mut state: *mut stereo_enc_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/stereo_MS_to_LR.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | mut state: *mut stereo_dec_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/analysis.rs:582:38 [INFO] [stdout] | [INFO] [stdout] 582 | pub unsafe fn tonality_analysis_init(mut tonal: *mut TonalityAnalysisState, Fs: i32) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/analysis.rs:598:5 [INFO] [stdout] | [INFO] [stdout] 598 | mut tonal: *mut TonalityAnalysisState, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/analysis.rs:599:5 [INFO] [stdout] | [INFO] [stdout] 599 | mut info_out: *mut AnalysisInfo, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/analysis.rs:830:5 [INFO] [stdout] | [INFO] [stdout] 830 | mut tonal: *mut TonalityAnalysisState, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/analysis.rs:1569:5 [INFO] [stdout] | [INFO] [stdout] 1569 | mut analysis: *mut TonalityAnalysisState, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_decoder.rs:195:33 [INFO] [stdout] | [INFO] [stdout] 195 | pub unsafe fn opus_decoder_init(mut st: *mut OpusDecoder, Fs: i32, channels: i32) -> i32 { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_decoder.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | mut st: *mut OpusDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_decoder.rs:875:5 [INFO] [stdout] | [INFO] [stdout] 875 | mut st: *mut OpusDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_decoder.rs:1148:37 [INFO] [stdout] | [INFO] [stdout] 1148 | pub unsafe fn opus_decoder_ctl_impl(mut st: *mut OpusDecoder, request: i32, args: VarArgs) -> i32 { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_encoder.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | mut st: *mut OpusEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_encoder.rs:757:5 [INFO] [stdout] | [INFO] [stdout] 757 | mut mem: *mut StereoWidthState, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_encoder.rs:1098:5 [INFO] [stdout] | [INFO] [stdout] 1098 | mut st: *mut OpusEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_encoder.rs:1252:5 [INFO] [stdout] | [INFO] [stdout] 1252 | mut st: *mut OpusEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_encoder.rs:2745:37 [INFO] [stdout] | [INFO] [stdout] 2745 | pub unsafe fn opus_encoder_ctl_impl(mut st: *mut OpusEncoder, request: i32, args: VarArgs) -> i32 { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_multistream_decoder.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | mut st: *mut OpusMSDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_multistream_encoder.rs:715:5 [INFO] [stdout] | [INFO] [stdout] 715 | mut st: *mut OpusMSEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_multistream_encoder.rs:830:5 [INFO] [stdout] | [INFO] [stdout] 830 | mut st: *mut OpusMSEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_multistream_encoder.rs:1591:5 [INFO] [stdout] | [INFO] [stdout] 1591 | mut st: *mut OpusMSEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_projection_decoder.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | mut st: *mut OpusProjectionDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_projection_encoder.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | mut st: *mut OpusProjectionEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/repacketizer.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | pub unsafe fn opus_repacketizer_init(mut rp: *mut OpusRepacketizer) -> *mut OpusRepacketizer { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/repacketizer.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | mut rp: *mut OpusRepacketizer, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 123 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling unsafe-libopus v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `cache_bits50`, `cache_caps50`, `cache_index50`, `fft_bitrev120`, `fft_bitrev240`, `fft_bitrev480`, `fft_bitrev60`, `fft_state48000_960_0`, `fft_state48000_960_1`, `fft_state48000_960_2`, `fft_state48000_960_3`, `fft_twiddles48000_960`, `logN400`, `mdct_twiddles960`, `mode48000_960_120`, `window120` [INFO] [stdout] --> src/celt/modes.rs:7105:5 [INFO] [stdout] | [INFO] [stdout] 7105 | cache_bits50, cache_caps50, cache_index50, fft_bitrev120, fft_bitrev240, fft_bitrev480, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 7106 | fft_bitrev60, fft_state48000_960_0, fft_state48000_960_1, fft_state48000_960_2, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7107 | fft_state48000_960_3, fft_twiddles48000_960, logN400, mdct_twiddles960, mode48000_960_120, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7108 | static_mode_list, window120, TOTAL_MODES, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/silk/control_codec.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `silk_int16_MAX`, `silk_int16_MIN` [INFO] [stdout] --> src/silk/control_codec.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | pub use self::typedef_h::{silk_int16_MAX, silk_int16_MIN}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::float_h::FLT_MAX` [INFO] [stdout] --> src/silk/float/find_LPC_FLP.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::float_h::FLT_MAX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::internal::__FLT_MAX__` [INFO] [stdout] --> src/silk/float/find_LPC_FLP.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use self::internal::__FLT_MAX__; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/silk/float/pitch_analysis_core_FLP.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/silk/float/wrappers_FLP.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/src/analysis.rs:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/src/mapping_matrix.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/src/opus_decoder.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/src/opus_encoder.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stdout] --> src/src/opus_multistream_decoder.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7070:29 [INFO] [stdout] | [INFO] [stdout] 7070 | ... &fft_state48000_960_0 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7070 | addr_of!(fft_state48000_960_0) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7071:29 [INFO] [stdout] | [INFO] [stdout] 7071 | ... &fft_state48000_960_1 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7071 | addr_of!(fft_state48000_960_1) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7072:29 [INFO] [stdout] | [INFO] [stdout] 7072 | ... &fft_state48000_960_2 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7072 | addr_of!(fft_state48000_960_2) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7073:29 [INFO] [stdout] | [INFO] [stdout] 7073 | ... &fft_state48000_960_3 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7073 | addr_of!(fft_state48000_960_3) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7094:19 [INFO] [stdout] | [INFO] [stdout] 7094 | unsafe { [&mode48000_960_120 as *const OpusCustomMode] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7094 | unsafe { [addr_of!(mode48000_960_120) as *const OpusCustomMode] }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/control_codec.rs:298:39 [INFO] [stdout] | [INFO] [stdout] 298 | (*psEnc).sCmn.psNLSF_CB = &silk_NLSF_CB_NB_MB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 298 | (*psEnc).sCmn.psNLSF_CB = addr_of!(silk_NLSF_CB_NB_MB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/control_codec.rs:301:39 [INFO] [stdout] | [INFO] [stdout] 301 | (*psEnc).sCmn.psNLSF_CB = &silk_NLSF_CB_WB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 301 | (*psEnc).sCmn.psNLSF_CB = addr_of!(silk_NLSF_CB_WB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/decoder_set_fs.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | (*psDec).psNLSF_CB = &silk_NLSF_CB_NB_MB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 64 | (*psDec).psNLSF_CB = addr_of!(silk_NLSF_CB_NB_MB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/decoder_set_fs.rs:67:38 [INFO] [stdout] | [INFO] [stdout] 67 | (*psDec).psNLSF_CB = &silk_NLSF_CB_WB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 67 | (*psDec).psNLSF_CB = addr_of!(silk_NLSF_CB_WB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/analysis.rs:1550:19 [INFO] [stdout] | [INFO] [stdout] 1550 | compute_dense(&layer0, layer_out.as_mut_ptr(), features.as_mut_ptr()); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1550 | compute_dense(addr_of!(layer0), layer_out.as_mut_ptr(), features.as_mut_ptr()); [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/analysis.rs:1552:9 [INFO] [stdout] | [INFO] [stdout] 1552 | &layer1, [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1552 | addr_of!(layer1), [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/analysis.rs:1557:9 [INFO] [stdout] | [INFO] [stdout] 1557 | &layer2, [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1557 | addr_of!(layer2), [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/bands.rs:774:5 [INFO] [stdout] | [INFO] [stdout] 774 | mut sctx: *mut split_ctx, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/bands.rs:1031:5 [INFO] [stdout] | [INFO] [stdout] 1031 | mut ctx: *mut band_ctx, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/bands.rs:1077:5 [INFO] [stdout] | [INFO] [stdout] 1077 | mut ctx: *mut band_ctx, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/bands.rs:1430:5 [INFO] [stdout] | [INFO] [stdout] 1430 | mut ctx: *mut band_ctx, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_decoder.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | mut st: *mut OpusCustomDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_decoder.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 286 | mut st: *mut OpusCustomDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_decoder.rs:677:28 [INFO] [stdout] | [INFO] [stdout] 677 | unsafe fn celt_decode_lost(mut st: *mut OpusCustomDecoder, N: i32, LM: i32) { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_decoder.rs:1038:5 [INFO] [stdout] | [INFO] [stdout] 1038 | mut st: *mut OpusCustomDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_decoder.rs:1597:5 [INFO] [stdout] | [INFO] [stdout] 1597 | mut st: *mut OpusCustomDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_encoder.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | mut st: *mut OpusCustomEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_encoder.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | mut st: *mut OpusCustomEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_encoder.rs:1679:5 [INFO] [stdout] | [INFO] [stdout] 1679 | mut st: *mut OpusCustomEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_encoder.rs:2113:5 [INFO] [stdout] | [INFO] [stdout] 2113 | mut st: *mut OpusCustomEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/celt/celt_encoder.rs:3537:5 [INFO] [stdout] | [INFO] [stdout] 3537 | mut st: *mut OpusCustomEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/CNG.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | pub unsafe fn silk_CNG_Reset(mut psDec: *mut silk_decoder_state) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/CNG.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut psCNG: *mut silk_CNG_struct = &mut (*psDec).sCNG; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/HP_variable_cutoff.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut psEncC1: *mut silk_encoder_state = &mut (*state_Fxx.offset(0 as i32 as isize)).sCmn; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/LP_variable_cutoff.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | mut psLP: *mut silk_LP_state, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ.rs:553:5 [INFO] [stdout] | [INFO] [stdout] 553 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ_del_dec.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ_del_dec.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | mut psIndices: *mut SideInfoIndices, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ_del_dec.rs:539:5 [INFO] [stdout] | [INFO] [stdout] 539 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/NSQ_del_dec.rs:1040:5 [INFO] [stdout] | [INFO] [stdout] 1040 | mut NSQ: *mut silk_nsq_state, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/PLC.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | pub unsafe fn silk_PLC_Reset(mut psDec: *mut silk_decoder_state) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/PLC.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/PLC.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/PLC.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | mut psDecCtrl: *mut silk_decoder_control, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/PLC.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | let mut psPLC: *mut silk_PLC_struct = &mut (*psDec).sPLC; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/VAD.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | pub unsafe fn silk_VAD_Init(mut psSilk_VAD: *mut silk_VAD_state) -> i32 { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/VAD.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | pub unsafe fn silk_VAD_GetSA_Q8_c(mut psEncC: *mut silk_encoder_state, pIn: *const i16) -> i32 { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/VAD.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let mut psSilk_VAD: *mut silk_VAD_state = &mut (*psEncC).sVAD; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/VAD.rs:280:51 [INFO] [stdout] | [INFO] [stdout] 280 | unsafe fn silk_VAD_GetNoiseLevels(pX: *const i32, mut psSilk_VAD: *mut silk_VAD_state) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_SNR.rs:467:5 [INFO] [stdout] | [INFO] [stdout] 467 | mut psEncC: *mut silk_encoder_state, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_audio_bandwidth.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mut psEncC: *mut silk_encoder_state, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_audio_bandwidth.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | mut encControl: *mut silk_EncControlStruct, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_codec.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_codec.rs:112:33 [INFO] [stdout] | [INFO] [stdout] 112 | unsafe fn silk_setup_resamplers(mut psEnc: *mut silk_encoder_state_FLP, fs_kHz: i32) -> i32 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_codec.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_codec.rs:334:33 [INFO] [stdout] | [INFO] [stdout] 334 | unsafe fn silk_setup_complexity(mut psEncC: *mut silk_encoder_state, Complexity: i32) -> i32 { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/control_codec.rs:479:5 [INFO] [stdout] | [INFO] [stdout] 479 | mut psEncC: *mut silk_encoder_state, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/dec_API.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | mut decControl: *mut silk_DecControlStruct, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/dec_API.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let mut psDec: *mut silk_decoder = decState as *mut silk_decoder; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_core.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_core.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | mut psDecCtrl: *mut silk_decoder_control, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_frame.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_indices.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_parameters.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decode_parameters.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | mut psDecCtrl: *mut silk_decoder_control, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/decoder_set_fs.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | mut psDec: *mut silk_decoder_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/enc_API.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | mut encStatus: *mut silk_EncControlStruct, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/enc_API.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | mut encControl: *mut silk_EncControlStruct, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/enc_API.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | let mut psEnc: *mut silk_encoder = encState as *mut silk_encoder; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/encode_indices.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | mut psEncC: *mut silk_encoder_state, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/LTP_scale_ctrl_FLP.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/LTP_scale_ctrl_FLP.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/encode_frame_FLP.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | pub unsafe fn silk_encode_do_VAD_FLP(mut psEnc: *mut silk_encoder_state_FLP, activity: i32) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/encode_frame_FLP.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/encode_frame_FLP.rs:576:5 [INFO] [stdout] | [INFO] [stdout] 576 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/encode_frame_FLP.rs:577:5 [INFO] [stdout] | [INFO] [stdout] 577 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/encode_frame_FLP.rs:584:9 [INFO] [stdout] | [INFO] [stdout] 584 | let mut psIndices_LBRR: *mut SideInfoIndices = &mut *((*psEnc).sCmn.indices_LBRR) [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/find_LPC_FLP.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | mut psEncC: *mut silk_encoder_state, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/find_pitch_lags_FLP.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/find_pitch_lags_FLP.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/find_pred_coefs_FLP.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/find_pred_coefs_FLP.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/noise_shape_analysis_FLP.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/noise_shape_analysis_FLP.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/noise_shape_analysis_FLP.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let mut psShapeSt: *mut silk_shape_state_FLP = &mut (*psEnc).sShape; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/process_gains_FLP.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/float/process_gains_FLP.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/init_decoder.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | pub unsafe fn silk_init_decoder(mut psDec: *mut silk_decoder_state) -> i32 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/init_encoder.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | pub unsafe fn silk_init_encoder(mut psEnc: *mut silk_encoder_state_FLP, arch: i32) -> i32 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/resampler.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | mut S: *mut silk_resampler_state_struct, [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/stereo_LR_to_MS.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | mut state: *mut stereo_enc_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/silk/stereo_MS_to_LR.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | mut state: *mut stereo_dec_state, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/analysis.rs:582:38 [INFO] [stdout] | [INFO] [stdout] 582 | pub unsafe fn tonality_analysis_init(mut tonal: *mut TonalityAnalysisState, Fs: i32) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/analysis.rs:598:5 [INFO] [stdout] | [INFO] [stdout] 598 | mut tonal: *mut TonalityAnalysisState, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/analysis.rs:599:5 [INFO] [stdout] | [INFO] [stdout] 599 | mut info_out: *mut AnalysisInfo, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/analysis.rs:830:5 [INFO] [stdout] | [INFO] [stdout] 830 | mut tonal: *mut TonalityAnalysisState, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/analysis.rs:1569:5 [INFO] [stdout] | [INFO] [stdout] 1569 | mut analysis: *mut TonalityAnalysisState, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_decoder.rs:195:33 [INFO] [stdout] | [INFO] [stdout] 195 | pub unsafe fn opus_decoder_init(mut st: *mut OpusDecoder, Fs: i32, channels: i32) -> i32 { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_decoder.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | mut st: *mut OpusDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_decoder.rs:875:5 [INFO] [stdout] | [INFO] [stdout] 875 | mut st: *mut OpusDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_decoder.rs:1148:37 [INFO] [stdout] | [INFO] [stdout] 1148 | pub unsafe fn opus_decoder_ctl_impl(mut st: *mut OpusDecoder, request: i32, args: VarArgs) -> i32 { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_encoder.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | mut st: *mut OpusEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_encoder.rs:757:5 [INFO] [stdout] | [INFO] [stdout] 757 | mut mem: *mut StereoWidthState, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_encoder.rs:1098:5 [INFO] [stdout] | [INFO] [stdout] 1098 | mut st: *mut OpusEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_encoder.rs:1252:5 [INFO] [stdout] | [INFO] [stdout] 1252 | mut st: *mut OpusEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_encoder.rs:2745:37 [INFO] [stdout] | [INFO] [stdout] 2745 | pub unsafe fn opus_encoder_ctl_impl(mut st: *mut OpusEncoder, request: i32, args: VarArgs) -> i32 { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_multistream_decoder.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | mut st: *mut OpusMSDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_multistream_encoder.rs:715:5 [INFO] [stdout] | [INFO] [stdout] 715 | mut st: *mut OpusMSEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_multistream_encoder.rs:830:5 [INFO] [stdout] | [INFO] [stdout] 830 | mut st: *mut OpusMSEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_multistream_encoder.rs:1591:5 [INFO] [stdout] | [INFO] [stdout] 1591 | mut st: *mut OpusMSEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_projection_decoder.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | mut st: *mut OpusProjectionDecoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/opus_projection_encoder.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | mut st: *mut OpusProjectionEncoder, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/repacketizer.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | pub unsafe fn opus_repacketizer_init(mut rp: *mut OpusRepacketizer) -> *mut OpusRepacketizer { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/src/repacketizer.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | mut rp: *mut OpusRepacketizer, [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 123 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.01s [INFO] running `Command { std: "docker" "inspect" "eacc84749b1adb8c501877bfadb4c1cbba4c7876304659b40dc8a03e414e4987", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eacc84749b1adb8c501877bfadb4c1cbba4c7876304659b40dc8a03e414e4987", kill_on_drop: false }` [INFO] [stdout] eacc84749b1adb8c501877bfadb4c1cbba4c7876304659b40dc8a03e414e4987 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eda2c4b0f0913595142cb39cef6d8f707c42869bcdecd1419620a5d38a793a58 [INFO] running `Command { std: "docker" "start" "-a" "eda2c4b0f0913595142cb39cef6d8f707c42869bcdecd1419620a5d38a793a58", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `cache_bits50`, `cache_caps50`, `cache_index50`, `fft_bitrev120`, `fft_bitrev240`, `fft_bitrev480`, `fft_bitrev60`, `fft_state48000_960_0`, `fft_state48000_960_1`, `fft_state48000_960_2`, `fft_state48000_960_3`, `fft_twiddles48000_960`, `logN400`, `mdct_twiddles960`, `mode48000_960_120`, `window120` [INFO] [stderr] --> src/celt/modes.rs:7105:5 [INFO] [stderr] | [INFO] [stderr] 7105 | cache_bits50, cache_caps50, cache_index50, fft_bitrev120, fft_bitrev240, fft_bitrev480, [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] 7106 | fft_bitrev60, fft_state48000_960_0, fft_state48000_960_1, fft_state48000_960_2, [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 7107 | fft_state48000_960_3, fft_twiddles48000_960, logN400, mdct_twiddles960, mode48000_960_120, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 7108 | static_mode_list, window120, TOTAL_MODES, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stderr] --> src/silk/control_codec.rs:5:34 [INFO] [stderr] | [INFO] [stderr] 5 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `silk_int16_MAX`, `silk_int16_MIN` [INFO] [stderr] --> src/silk/control_codec.rs:44:27 [INFO] [stderr] | [INFO] [stderr] 44 | pub use self::typedef_h::{silk_int16_MAX, silk_int16_MIN}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::float_h::FLT_MAX` [INFO] [stderr] --> src/silk/float/find_LPC_FLP.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | pub use self::float_h::FLT_MAX; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::internal::__FLT_MAX__` [INFO] [stderr] --> src/silk/float/find_LPC_FLP.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub use self::internal::__FLT_MAX__; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stderr] --> src/silk/float/pitch_analysis_core_FLP.rs:8:34 [INFO] [stderr] | [INFO] [stderr] 8 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stderr] --> src/silk/float/wrappers_FLP.rs:8:34 [INFO] [stderr] | [INFO] [stderr] 8 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stderr] --> src/src/analysis.rs:71:34 [INFO] [stderr] | [INFO] [stderr] 71 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stderr] --> src/src/mapping_matrix.rs:9:34 [INFO] [stderr] | [INFO] [stderr] 9 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stderr] --> src/src/opus_decoder.rs:15:34 [INFO] [stderr] | [INFO] [stderr] 15 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stderr] --> src/src/opus_encoder.rs:19:34 [INFO] [stderr] | [INFO] [stderr] 19 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, `_mm_set_ss` [INFO] [stderr] --> src/src/opus_multistream_decoder.rs:32:34 [INFO] [stderr] | [INFO] [stderr] 32 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/celt/modes.rs:7070:29 [INFO] [stderr] | [INFO] [stderr] 7070 | ... &fft_state48000_960_0 as *const kiss_fft_state, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 7070 | addr_of!(fft_state48000_960_0) as *const kiss_fft_state, [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/celt/modes.rs:7071:29 [INFO] [stderr] | [INFO] [stderr] 7071 | ... &fft_state48000_960_1 as *const kiss_fft_state, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 7071 | addr_of!(fft_state48000_960_1) as *const kiss_fft_state, [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/celt/modes.rs:7072:29 [INFO] [stderr] | [INFO] [stderr] 7072 | ... &fft_state48000_960_2 as *const kiss_fft_state, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 7072 | addr_of!(fft_state48000_960_2) as *const kiss_fft_state, [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/celt/modes.rs:7073:29 [INFO] [stderr] | [INFO] [stderr] 7073 | ... &fft_state48000_960_3 as *const kiss_fft_state, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 7073 | addr_of!(fft_state48000_960_3) as *const kiss_fft_state, [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/celt/modes.rs:7094:19 [INFO] [stderr] | [INFO] [stderr] 7094 | unsafe { [&mode48000_960_120 as *const OpusCustomMode] }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 7094 | unsafe { [addr_of!(mode48000_960_120) as *const OpusCustomMode] }; [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/silk/control_codec.rs:298:39 [INFO] [stderr] | [INFO] [stderr] 298 | (*psEnc).sCmn.psNLSF_CB = &silk_NLSF_CB_NB_MB; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 298 | (*psEnc).sCmn.psNLSF_CB = addr_of!(silk_NLSF_CB_NB_MB); [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/silk/control_codec.rs:301:39 [INFO] [stderr] | [INFO] [stderr] 301 | (*psEnc).sCmn.psNLSF_CB = &silk_NLSF_CB_WB; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 301 | (*psEnc).sCmn.psNLSF_CB = addr_of!(silk_NLSF_CB_WB); [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/silk/decoder_set_fs.rs:64:38 [INFO] [stderr] | [INFO] [stderr] 64 | (*psDec).psNLSF_CB = &silk_NLSF_CB_NB_MB; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 64 | (*psDec).psNLSF_CB = addr_of!(silk_NLSF_CB_NB_MB); [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/silk/decoder_set_fs.rs:67:38 [INFO] [stderr] | [INFO] [stderr] 67 | (*psDec).psNLSF_CB = &silk_NLSF_CB_WB; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 67 | (*psDec).psNLSF_CB = addr_of!(silk_NLSF_CB_WB); [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/src/analysis.rs:1550:19 [INFO] [stderr] | [INFO] [stderr] 1550 | compute_dense(&layer0, layer_out.as_mut_ptr(), features.as_mut_ptr()); [INFO] [stderr] | ^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 1550 | compute_dense(addr_of!(layer0), layer_out.as_mut_ptr(), features.as_mut_ptr()); [INFO] [stderr] | ~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/src/analysis.rs:1552:9 [INFO] [stderr] | [INFO] [stderr] 1552 | &layer1, [INFO] [stderr] | ^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 1552 | addr_of!(layer1), [INFO] [stderr] | ~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/src/analysis.rs:1557:9 [INFO] [stderr] | [INFO] [stderr] 1557 | &layer2, [INFO] [stderr] | ^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 1557 | addr_of!(layer2), [INFO] [stderr] | ~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/celt/bands.rs:774:5 [INFO] [stderr] | [INFO] [stderr] 774 | mut sctx: *mut split_ctx, [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/celt/bands.rs:1031:5 [INFO] [stderr] | [INFO] [stderr] 1031 | mut ctx: *mut band_ctx, [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/celt/bands.rs:1077:5 [INFO] [stderr] | [INFO] [stderr] 1077 | mut ctx: *mut band_ctx, [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/celt/bands.rs:1430:5 [INFO] [stderr] | [INFO] [stderr] 1430 | mut ctx: *mut band_ctx, [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/celt/celt_decoder.rs:264:5 [INFO] [stderr] | [INFO] [stderr] 264 | mut st: *mut OpusCustomDecoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/celt/celt_decoder.rs:286:5 [INFO] [stderr] | [INFO] [stderr] 286 | mut st: *mut OpusCustomDecoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/celt/celt_decoder.rs:677:28 [INFO] [stderr] | [INFO] [stderr] 677 | unsafe fn celt_decode_lost(mut st: *mut OpusCustomDecoder, N: i32, LM: i32) { [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/celt/celt_decoder.rs:1038:5 [INFO] [stderr] | [INFO] [stderr] 1038 | mut st: *mut OpusCustomDecoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/celt/celt_decoder.rs:1597:5 [INFO] [stderr] | [INFO] [stderr] 1597 | mut st: *mut OpusCustomDecoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/celt/celt_encoder.rs:137:5 [INFO] [stderr] | [INFO] [stderr] 137 | mut st: *mut OpusCustomEncoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/celt/celt_encoder.rs:173:5 [INFO] [stderr] | [INFO] [stderr] 173 | mut st: *mut OpusCustomEncoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/celt/celt_encoder.rs:1679:5 [INFO] [stderr] | [INFO] [stderr] 1679 | mut st: *mut OpusCustomEncoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/celt/celt_encoder.rs:2113:5 [INFO] [stderr] | [INFO] [stderr] 2113 | mut st: *mut OpusCustomEncoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/celt/celt_encoder.rs:3537:5 [INFO] [stderr] | [INFO] [stderr] 3537 | mut st: *mut OpusCustomEncoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/CNG.rs:36:30 [INFO] [stderr] | [INFO] [stderr] 36 | pub unsafe fn silk_CNG_Reset(mut psDec: *mut silk_decoder_state) { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/CNG.rs:64:9 [INFO] [stderr] | [INFO] [stderr] 64 | let mut psCNG: *mut silk_CNG_struct = &mut (*psDec).sCNG; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/HP_variable_cutoff.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | let mut psEncC1: *mut silk_encoder_state = &mut (*state_Fxx.offset(0 as i32 as isize)).sCmn; [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/LP_variable_cutoff.rs:93:5 [INFO] [stderr] | [INFO] [stderr] 93 | mut psLP: *mut silk_LP_state, [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/NSQ.rs:137:5 [INFO] [stderr] | [INFO] [stderr] 137 | mut NSQ: *mut silk_nsq_state, [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/NSQ.rs:282:5 [INFO] [stderr] | [INFO] [stderr] 282 | mut NSQ: *mut silk_nsq_state, [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/NSQ.rs:553:5 [INFO] [stderr] | [INFO] [stderr] 553 | mut NSQ: *mut silk_nsq_state, [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/NSQ_del_dec.rs:127:5 [INFO] [stderr] | [INFO] [stderr] 127 | mut NSQ: *mut silk_nsq_state, [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/NSQ_del_dec.rs:128:5 [INFO] [stderr] | [INFO] [stderr] 128 | mut psIndices: *mut SideInfoIndices, [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/NSQ_del_dec.rs:539:5 [INFO] [stderr] | [INFO] [stderr] 539 | mut NSQ: *mut silk_nsq_state, [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/NSQ_del_dec.rs:1040:5 [INFO] [stderr] | [INFO] [stderr] 1040 | mut NSQ: *mut silk_nsq_state, [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/PLC.rs:30:30 [INFO] [stderr] | [INFO] [stderr] 30 | pub unsafe fn silk_PLC_Reset(mut psDec: *mut silk_decoder_state) { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/PLC.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | mut psDec: *mut silk_decoder_state, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/PLC.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 59 | mut psDec: *mut silk_decoder_state, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/PLC.rs:229:5 [INFO] [stderr] | [INFO] [stderr] 229 | mut psDecCtrl: *mut silk_decoder_control, [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/PLC.rs:255:9 [INFO] [stderr] | [INFO] [stderr] 255 | let mut psPLC: *mut silk_PLC_struct = &mut (*psDec).sPLC; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/VAD.rs:18:29 [INFO] [stderr] | [INFO] [stderr] 18 | pub unsafe fn silk_VAD_Init(mut psSilk_VAD: *mut silk_VAD_state) -> i32 { [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/VAD.rs:47:35 [INFO] [stderr] | [INFO] [stderr] 47 | pub unsafe fn silk_VAD_GetSA_Q8_c(mut psEncC: *mut silk_encoder_state, pIn: *const i16) -> i32 { [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/VAD.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | let mut psSilk_VAD: *mut silk_VAD_state = &mut (*psEncC).sVAD; [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/VAD.rs:280:51 [INFO] [stderr] | [INFO] [stderr] 280 | unsafe fn silk_VAD_GetNoiseLevels(pX: *const i32, mut psSilk_VAD: *mut silk_VAD_state) { [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/control_SNR.rs:467:5 [INFO] [stderr] | [INFO] [stderr] 467 | mut psEncC: *mut silk_encoder_state, [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/control_audio_bandwidth.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | mut psEncC: *mut silk_encoder_state, [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/control_audio_bandwidth.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | mut encControl: *mut silk_EncControlStruct, [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/control_codec.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 71 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/control_codec.rs:112:33 [INFO] [stderr] | [INFO] [stderr] 112 | unsafe fn silk_setup_resamplers(mut psEnc: *mut silk_encoder_state_FLP, fs_kHz: i32) -> i32 { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/control_codec.rs:195:5 [INFO] [stderr] | [INFO] [stderr] 195 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/control_codec.rs:334:33 [INFO] [stderr] | [INFO] [stderr] 334 | unsafe fn silk_setup_complexity(mut psEncC: *mut silk_encoder_state, Complexity: i32) -> i32 { [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/control_codec.rs:479:5 [INFO] [stderr] | [INFO] [stderr] 479 | mut psEncC: *mut silk_encoder_state, [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/dec_API.rs:76:5 [INFO] [stderr] | [INFO] [stderr] 76 | mut decControl: *mut silk_DecControlStruct, [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/dec_API.rs:93:9 [INFO] [stderr] | [INFO] [stderr] 93 | let mut psDec: *mut silk_decoder = decState as *mut silk_decoder; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/decode_core.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | mut psDec: *mut silk_decoder_state, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/decode_core.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | mut psDecCtrl: *mut silk_decoder_control, [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/decode_frame.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | mut psDec: *mut silk_decoder_state, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/decode_indices.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | mut psDec: *mut silk_decoder_state, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/decode_parameters.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | mut psDec: *mut silk_decoder_state, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/decode_parameters.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | mut psDecCtrl: *mut silk_decoder_control, [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/decoder_set_fs.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | mut psDec: *mut silk_decoder_state, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/enc_API.rs:111:5 [INFO] [stderr] | [INFO] [stderr] 111 | mut encStatus: *mut silk_EncControlStruct, [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/enc_API.rs:149:5 [INFO] [stderr] | [INFO] [stderr] 149 | mut encControl: *mut silk_EncControlStruct, [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/enc_API.rs:175:9 [INFO] [stderr] | [INFO] [stderr] 175 | let mut psEnc: *mut silk_encoder = encState as *mut silk_encoder; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/encode_indices.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | mut psEncC: *mut silk_encoder_state, [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/LTP_scale_ctrl_FLP.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/LTP_scale_ctrl_FLP.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/encode_frame_FLP.rs:36:38 [INFO] [stderr] | [INFO] [stderr] 36 | pub unsafe fn silk_encode_do_VAD_FLP(mut psEnc: *mut silk_encoder_state_FLP, activity: i32) { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/encode_frame_FLP.rs:67:5 [INFO] [stderr] | [INFO] [stderr] 67 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/encode_frame_FLP.rs:576:5 [INFO] [stderr] | [INFO] [stderr] 576 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/encode_frame_FLP.rs:577:5 [INFO] [stderr] | [INFO] [stderr] 577 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/encode_frame_FLP.rs:584:9 [INFO] [stderr] | [INFO] [stderr] 584 | let mut psIndices_LBRR: *mut SideInfoIndices = &mut *((*psEnc).sCmn.indices_LBRR) [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/find_LPC_FLP.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | mut psEncC: *mut silk_encoder_state, [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/find_pitch_lags_FLP.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/find_pitch_lags_FLP.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/find_pred_coefs_FLP.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/find_pred_coefs_FLP.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/noise_shape_analysis_FLP.rs:155:5 [INFO] [stderr] | [INFO] [stderr] 155 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/noise_shape_analysis_FLP.rs:156:5 [INFO] [stderr] | [INFO] [stderr] 156 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/noise_shape_analysis_FLP.rs:160:9 [INFO] [stderr] | [INFO] [stderr] 160 | let mut psShapeSt: *mut silk_shape_state_FLP = &mut (*psEnc).sShape; [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/process_gains_FLP.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | mut psEnc: *mut silk_encoder_state_FLP, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/float/process_gains_FLP.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | mut psEncCtrl: *mut silk_encoder_control_FLP, [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/init_decoder.rs:14:33 [INFO] [stderr] | [INFO] [stderr] 14 | pub unsafe fn silk_init_decoder(mut psDec: *mut silk_decoder_state) -> i32 { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/init_encoder.rs:6:33 [INFO] [stderr] | [INFO] [stderr] 6 | pub unsafe fn silk_init_encoder(mut psEnc: *mut silk_encoder_state_FLP, arch: i32) -> i32 { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/resampler.rs:50:5 [INFO] [stderr] | [INFO] [stderr] 50 | mut S: *mut silk_resampler_state_struct, [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/stereo_LR_to_MS.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | mut state: *mut stereo_enc_state, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/silk/stereo_MS_to_LR.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | mut state: *mut stereo_dec_state, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/analysis.rs:582:38 [INFO] [stderr] | [INFO] [stderr] 582 | pub unsafe fn tonality_analysis_init(mut tonal: *mut TonalityAnalysisState, Fs: i32) { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/analysis.rs:598:5 [INFO] [stderr] | [INFO] [stderr] 598 | mut tonal: *mut TonalityAnalysisState, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/analysis.rs:599:5 [INFO] [stderr] | [INFO] [stderr] 599 | mut info_out: *mut AnalysisInfo, [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/analysis.rs:830:5 [INFO] [stderr] | [INFO] [stderr] 830 | mut tonal: *mut TonalityAnalysisState, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/analysis.rs:1569:5 [INFO] [stderr] | [INFO] [stderr] 1569 | mut analysis: *mut TonalityAnalysisState, [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/opus_decoder.rs:195:33 [INFO] [stderr] | [INFO] [stderr] 195 | pub unsafe fn opus_decoder_init(mut st: *mut OpusDecoder, Fs: i32, channels: i32) -> i32 { [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/opus_decoder.rs:311:5 [INFO] [stderr] | [INFO] [stderr] 311 | mut st: *mut OpusDecoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/opus_decoder.rs:875:5 [INFO] [stderr] | [INFO] [stderr] 875 | mut st: *mut OpusDecoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/opus_decoder.rs:1148:37 [INFO] [stderr] | [INFO] [stderr] 1148 | pub unsafe fn opus_decoder_ctl_impl(mut st: *mut OpusDecoder, request: i32, args: VarArgs) -> i32 { [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/opus_encoder.rs:226:5 [INFO] [stderr] | [INFO] [stderr] 226 | mut st: *mut OpusEncoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/opus_encoder.rs:757:5 [INFO] [stderr] | [INFO] [stderr] 757 | mut mem: *mut StereoWidthState, [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/opus_encoder.rs:1098:5 [INFO] [stderr] | [INFO] [stderr] 1098 | mut st: *mut OpusEncoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/opus_encoder.rs:1252:5 [INFO] [stderr] | [INFO] [stderr] 1252 | mut st: *mut OpusEncoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/opus_encoder.rs:2745:37 [INFO] [stderr] | [INFO] [stderr] 2745 | pub unsafe fn opus_encoder_ctl_impl(mut st: *mut OpusEncoder, request: i32, args: VarArgs) -> i32 { [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/opus_multistream_decoder.rs:75:5 [INFO] [stderr] | [INFO] [stderr] 75 | mut st: *mut OpusMSDecoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/opus_multistream_encoder.rs:715:5 [INFO] [stderr] | [INFO] [stderr] 715 | mut st: *mut OpusMSEncoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/opus_multistream_encoder.rs:830:5 [INFO] [stderr] | [INFO] [stderr] 830 | mut st: *mut OpusMSEncoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/opus_multistream_encoder.rs:1591:5 [INFO] [stderr] | [INFO] [stderr] 1591 | mut st: *mut OpusMSEncoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/opus_projection_decoder.rs:126:5 [INFO] [stderr] | [INFO] [stderr] 126 | mut st: *mut OpusProjectionDecoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/opus_projection_encoder.rs:203:5 [INFO] [stderr] | [INFO] [stderr] 203 | mut st: *mut OpusProjectionEncoder, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/repacketizer.rs:27:38 [INFO] [stderr] | [INFO] [stderr] 27 | pub unsafe fn opus_repacketizer_init(mut rp: *mut OpusRepacketizer) -> *mut OpusRepacketizer { [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/src/repacketizer.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | mut rp: *mut OpusRepacketizer, [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `unsafe-libopus` (lib) generated 123 warnings (run `cargo fix --lib -p unsafe-libopus` to apply 111 suggestions) [INFO] [stderr] warning: `unsafe-libopus` (lib test) generated 123 warnings (123 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/unsafe_libopus-377380ec75b55d17) [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] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/bin/opus_compare.rs (/opt/rustwide/target/debug/deps/opus_compare-18d33984ca504f9b) [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/opus_demo.rs (/opt/rustwide/target/debug/deps/opus_demo-186bf1014cc9379a) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/repacketizer_demo.rs (/opt/rustwide/target/debug/deps/repacketizer_demo-6dc65c4faec27646) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [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/bin/run_vectors.rs (/opt/rustwide/target/debug/deps/run_vectors-7734660dbb529b78) [INFO] [stderr] Running tests/opus_api.rs (/opt/rustwide/target/debug/deps/opus_api-92ba810cd13a5ed0) [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] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running tests/opus_decode.rs (/opt/rustwide/target/debug/deps/opus_decode-37cc80a2675aad9a) [INFO] [stdout] test test_opus_encode ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 16.47s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_opus_decode has been running for over 60 seconds [INFO] [stdout] test test_opus_decode ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 184.23s [INFO] [stdout] [INFO] [stderr] Running tests/opus_encode/main.rs (/opt/rustwide/target/debug/deps/opus_encode-c17abb403698a76b) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_opus_encode has been running for over 60 seconds [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "eda2c4b0f0913595142cb39cef6d8f707c42869bcdecd1419620a5d38a793a58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eda2c4b0f0913595142cb39cef6d8f707c42869bcdecd1419620a5d38a793a58", kill_on_drop: false }` [INFO] [stdout] eda2c4b0f0913595142cb39cef6d8f707c42869bcdecd1419620a5d38a793a58