[INFO] fetching crate unsafe-libopus 0.1.1... [INFO] checking unsafe-libopus-0.1.1 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate unsafe-libopus 0.1.1 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate unsafe-libopus 0.1.1 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-6-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 075f0009cc846fdec0a5b40d68044bbc7912280ed2fc1722d6ef533bf6c11801 [INFO] running `Command { std: "docker" "start" "-a" "075f0009cc846fdec0a5b40d68044bbc7912280ed2fc1722d6ef533bf6c11801", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "075f0009cc846fdec0a5b40d68044bbc7912280ed2fc1722d6ef533bf6c11801", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "075f0009cc846fdec0a5b40d68044bbc7912280ed2fc1722d6ef533bf6c11801", kill_on_drop: false }` [INFO] [stdout] 075f0009cc846fdec0a5b40d68044bbc7912280ed2fc1722d6ef533bf6c11801 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae6d23a241a8fd44829d07348e6492dbd1019806cef78a67a62e68fec67756f5 [INFO] running `Command { std: "docker" "start" "-a" "ae6d23a241a8fd44829d07348e6492dbd1019806cef78a67a62e68fec67756f5", kill_on_drop: false }` [INFO] [stderr] Checking unsafe-libopus v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling cc v1.0.79 [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] [stderr] Compiling libc-stdhandle v0.1.0 [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: 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: 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: 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: 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: 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: 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] [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 6.34s [INFO] running `Command { std: "docker" "inspect" "ae6d23a241a8fd44829d07348e6492dbd1019806cef78a67a62e68fec67756f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae6d23a241a8fd44829d07348e6492dbd1019806cef78a67a62e68fec67756f5", kill_on_drop: false }` [INFO] [stdout] ae6d23a241a8fd44829d07348e6492dbd1019806cef78a67a62e68fec67756f5