[INFO] fetching crate unsafe-libopus 0.1.3... [INFO] building unsafe-libopus-0.1.3 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate unsafe-libopus 0.1.3 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate unsafe-libopus 0.1.3 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate unsafe-libopus 0.1.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate unsafe-libopus 0.1.3 [INFO] tweaked toml for crates.io crate unsafe-libopus 0.1.3 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate unsafe-libopus 0.1.3 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b369b9ad2071487cb359b9be984cb66d2c80a20f75272331c1ff294bbad27712 [INFO] running `Command { std: "docker" "start" "-a" "b369b9ad2071487cb359b9be984cb66d2c80a20f75272331c1ff294bbad27712", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b369b9ad2071487cb359b9be984cb66d2c80a20f75272331c1ff294bbad27712", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b369b9ad2071487cb359b9be984cb66d2c80a20f75272331c1ff294bbad27712", kill_on_drop: false }` [INFO] [stdout] b369b9ad2071487cb359b9be984cb66d2c80a20f75272331c1ff294bbad27712 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 182bb7b7b34c207d37445ec958c3a21fb2dc7f251580f2d821430cfc799ba92f [INFO] running `Command { std: "docker" "start" "-a" "182bb7b7b34c207d37445ec958c3a21fb2dc7f251580f2d821430cfc799ba92f", kill_on_drop: false }` [INFO] [stderr] Compiling unsafe-libopus v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `cache_bits50`, `cache_caps50`, `cache_index50`, `fft_bitrev120`, `fft_bitrev240`, `fft_bitrev480`, `fft_bitrev60`, `fft_state48000_960_0`, `fft_state48000_960_1`, `fft_state48000_960_2`, `fft_state48000_960_3`, `fft_twiddles48000_960`, `logN400`, `mdct_twiddles960`, `mode48000_960_120`, and `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`, and `_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` and `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`, and `_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`, and `_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`, and `_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`, and `_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`, and `_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`, and `_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`, and `_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/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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/bands.rs:631:34 [INFO] [stdout] | [INFO] [stdout] 631 | let ordery: *const i32 = ordery_table [INFO] [stdout] | __________________________________^ [INFO] [stdout] 632 | | .as_ptr() [INFO] [stdout] | |_____________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/bands.rs:674:34 [INFO] [stdout] | [INFO] [stdout] 674 | let ordery: *const i32 = ordery_table [INFO] [stdout] | __________________________________^ [INFO] [stdout] 675 | | .as_ptr() [INFO] [stdout] | |_____________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/celt_encoder.rs:3116:13 [INFO] [stdout] | [INFO] [stdout] 3116 | intensity_thresholds.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/celt_encoder.rs:3117:13 [INFO] [stdout] | [INFO] [stdout] 3117 | intensity_histeresis.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1285:9 [INFO] [stdout] | [INFO] [stdout] 1285 | CELT_PVQ_U_DATA.as_ptr().offset(0 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1286:9 [INFO] [stdout] | [INFO] [stdout] 1286 | CELT_PVQ_U_DATA.as_ptr().offset(176 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1287:9 [INFO] [stdout] | [INFO] [stdout] 1287 | CELT_PVQ_U_DATA.as_ptr().offset(351 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1288:9 [INFO] [stdout] | [INFO] [stdout] 1288 | CELT_PVQ_U_DATA.as_ptr().offset(525 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1289:9 [INFO] [stdout] | [INFO] [stdout] 1289 | CELT_PVQ_U_DATA.as_ptr().offset(698 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1290:9 [INFO] [stdout] | [INFO] [stdout] 1290 | CELT_PVQ_U_DATA.as_ptr().offset(870 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1291:9 [INFO] [stdout] | [INFO] [stdout] 1291 | CELT_PVQ_U_DATA.as_ptr().offset(1041 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1292:9 [INFO] [stdout] | [INFO] [stdout] 1292 | CELT_PVQ_U_DATA.as_ptr().offset(1131 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1293:9 [INFO] [stdout] | [INFO] [stdout] 1293 | CELT_PVQ_U_DATA.as_ptr().offset(1178 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1294:9 [INFO] [stdout] | [INFO] [stdout] 1294 | CELT_PVQ_U_DATA.as_ptr().offset(1207 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1295:9 [INFO] [stdout] | [INFO] [stdout] 1295 | CELT_PVQ_U_DATA.as_ptr().offset(1226 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1296:9 [INFO] [stdout] | [INFO] [stdout] 1296 | CELT_PVQ_U_DATA.as_ptr().offset(1240 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1297:9 [INFO] [stdout] | [INFO] [stdout] 1297 | CELT_PVQ_U_DATA.as_ptr().offset(1248 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1298:9 [INFO] [stdout] | [INFO] [stdout] 1298 | CELT_PVQ_U_DATA.as_ptr().offset(1254 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1299:9 [INFO] [stdout] | [INFO] [stdout] 1299 | CELT_PVQ_U_DATA.as_ptr().offset(1257 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:5147:25 [INFO] [stdout] | [INFO] [stdout] 5147 | bitrev: fft_bitrev480.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:5148:27 [INFO] [stdout] | [INFO] [stdout] 5148 | twiddles: fft_twiddles48000_960.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:5178:25 [INFO] [stdout] | [INFO] [stdout] 5178 | bitrev: fft_bitrev240.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:5179:27 [INFO] [stdout] | [INFO] [stdout] 5179 | twiddles: fft_twiddles48000_960.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:5209:25 [INFO] [stdout] | [INFO] [stdout] 5209 | bitrev: fft_bitrev120.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:5210:27 [INFO] [stdout] | [INFO] [stdout] 5210 | twiddles: fft_twiddles48000_960.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:5240:25 [INFO] [stdout] | [INFO] [stdout] 5240 | bitrev: fft_bitrev60.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:5241:27 [INFO] [stdout] | [INFO] [stdout] 5241 | twiddles: fft_twiddles48000_960.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7057:25 [INFO] [stdout] | [INFO] [stdout] 7057 | eBands: eband5ms.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7062:31 [INFO] [stdout] | [INFO] [stdout] 7062 | allocVectors: band_allocation.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7063:23 [INFO] [stdout] | [INFO] [stdout] 7063 | logN: logN400.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7064:25 [INFO] [stdout] | [INFO] [stdout] 7064 | window: window120.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7070 | &raw const 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7071 | &raw const 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7072 | &raw const 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7073 | &raw const 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:7075:31 [INFO] [stdout] | [INFO] [stdout] 7075 | trig: mdct_twiddles960.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7082:32 [INFO] [stdout] | [INFO] [stdout] 7082 | index: cache_index50.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7083:31 [INFO] [stdout] | [INFO] [stdout] 7083 | bits: cache_bits50.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7084:31 [INFO] [stdout] | [INFO] [stdout] 7084 | caps: cache_caps50.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7094 | unsafe { [&raw const mode48000_960_120 as *const OpusCustomMode] }; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/quant_bands.rs:554:21 [INFO] [stdout] | [INFO] [stdout] 554 | small_energy_icdf.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/quant_bands.rs:942:39 [INFO] [stdout] | [INFO] [stdout] 942 | qi = ec_dec_icdf(dec, small_energy_icdf.as_ptr(), 2 as i32 as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/NLSF2A.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | ordering16.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/NLSF2A.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | ordering10.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/control_SNR.rs:479:21 [INFO] [stdout] | [INFO] [stdout] 479 | snr_table = silk_TargetRate_NB_21.as_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/control_SNR.rs:482:21 [INFO] [stdout] | [INFO] [stdout] 482 | snr_table = silk_TargetRate_MB_21.as_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/control_SNR.rs:485:21 [INFO] [stdout] | [INFO] [stdout] 485 | snr_table = silk_TargetRate_WB_21.as_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 298 | (*psEnc).sCmn.psNLSF_CB = &raw const 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 301 | (*psEnc).sCmn.psNLSF_CB = &raw const 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 64 | (*psDec).psNLSF_CB = &raw const 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 67 | (*psDec).psNLSF_CB = &raw const 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1550 | compute_dense(&raw const 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1552 | &raw const 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1557 | &raw const layer2, [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/mlp_data.rs:250:19 [INFO] [stdout] | [INFO] [stdout] 250 | bias: layer0_bias.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/mlp_data.rs:251:28 [INFO] [stdout] | [INFO] [stdout] 251 | input_weights: layer0_weights.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/mlp_data.rs:262:19 [INFO] [stdout] | [INFO] [stdout] 262 | bias: layer1_bias.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/mlp_data.rs:263:28 [INFO] [stdout] | [INFO] [stdout] 263 | input_weights: layer1_weights.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/mlp_data.rs:264:32 [INFO] [stdout] | [INFO] [stdout] 264 | recurrent_weights: layer1_recur_weights.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/mlp_data.rs:274:19 [INFO] [stdout] | [INFO] [stdout] 274 | bias: layer2_bias.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/mlp_data.rs:275:28 [INFO] [stdout] | [INFO] [stdout] 275 | input_weights: layer2_weights.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/opus_encoder.rs:1694:42 [INFO] [stdout] | [INFO] [stdout] 1694 | voice_bandwidth_thresholds = stereo_voice_bandwidth_thresholds.as_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/opus_encoder.rs:1695:42 [INFO] [stdout] | [INFO] [stdout] 1695 | music_bandwidth_thresholds = stereo_music_bandwidth_thresholds.as_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/opus_encoder.rs:1697:42 [INFO] [stdout] | [INFO] [stdout] 1697 | voice_bandwidth_thresholds = mono_voice_bandwidth_thresholds.as_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/opus_encoder.rs:1698:42 [INFO] [stdout] | [INFO] [stdout] 1698 | music_bandwidth_thresholds = mono_music_bandwidth_thresholds.as_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/opus_projection_encoder.rs:239:17 [INFO] [stdout] | [INFO] [stdout] 239 | mapping_matrix_foa_mixing_data.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/opus_projection_encoder.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | mapping_matrix_soa_mixing_data.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/opus_projection_encoder.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | mapping_matrix_toa_mixing_data.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/opus_projection_encoder.rs:275:17 [INFO] [stdout] | [INFO] [stdout] 275 | mapping_matrix_foa_demixing_data.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/opus_projection_encoder.rs:284:17 [INFO] [stdout] | [INFO] [stdout] 284 | mapping_matrix_soa_demixing_data.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/opus_projection_encoder.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | mapping_matrix_toa_demixing_data.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/bin/opus_compare.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | BANDS.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/bin/opus_compare.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | BANDS.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.17s [INFO] running `Command { std: "docker" "inspect" "182bb7b7b34c207d37445ec958c3a21fb2dc7f251580f2d821430cfc799ba92f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "182bb7b7b34c207d37445ec958c3a21fb2dc7f251580f2d821430cfc799ba92f", kill_on_drop: false }` [INFO] [stdout] 182bb7b7b34c207d37445ec958c3a21fb2dc7f251580f2d821430cfc799ba92f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba05c6d29b47dfe10e73a37b76cf74c086459c0a74e5e22082c200e361b3d550 [INFO] running `Command { std: "docker" "start" "-a" "ba05c6d29b47dfe10e73a37b76cf74c086459c0a74e5e22082c200e361b3d550", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling cc v1.1.0 [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`, and `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`, and `_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` and `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`, and `_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`, and `_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`, and `_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`, and `_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`, and `_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`, and `_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`, and `_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/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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/bands.rs:631:34 [INFO] [stdout] | [INFO] [stdout] 631 | let ordery: *const i32 = ordery_table [INFO] [stdout] | __________________________________^ [INFO] [stdout] 632 | | .as_ptr() [INFO] [stdout] | |_____________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/bands.rs:674:34 [INFO] [stdout] | [INFO] [stdout] 674 | let ordery: *const i32 = ordery_table [INFO] [stdout] | __________________________________^ [INFO] [stdout] 675 | | .as_ptr() [INFO] [stdout] | |_____________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/celt_encoder.rs:3116:13 [INFO] [stdout] | [INFO] [stdout] 3116 | intensity_thresholds.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/celt_encoder.rs:3117:13 [INFO] [stdout] | [INFO] [stdout] 3117 | intensity_histeresis.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1285:9 [INFO] [stdout] | [INFO] [stdout] 1285 | CELT_PVQ_U_DATA.as_ptr().offset(0 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1286:9 [INFO] [stdout] | [INFO] [stdout] 1286 | CELT_PVQ_U_DATA.as_ptr().offset(176 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1287:9 [INFO] [stdout] | [INFO] [stdout] 1287 | CELT_PVQ_U_DATA.as_ptr().offset(351 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1288:9 [INFO] [stdout] | [INFO] [stdout] 1288 | CELT_PVQ_U_DATA.as_ptr().offset(525 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1289:9 [INFO] [stdout] | [INFO] [stdout] 1289 | CELT_PVQ_U_DATA.as_ptr().offset(698 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1290:9 [INFO] [stdout] | [INFO] [stdout] 1290 | CELT_PVQ_U_DATA.as_ptr().offset(870 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1291:9 [INFO] [stdout] | [INFO] [stdout] 1291 | CELT_PVQ_U_DATA.as_ptr().offset(1041 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1292:9 [INFO] [stdout] | [INFO] [stdout] 1292 | CELT_PVQ_U_DATA.as_ptr().offset(1131 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1293:9 [INFO] [stdout] | [INFO] [stdout] 1293 | CELT_PVQ_U_DATA.as_ptr().offset(1178 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1294:9 [INFO] [stdout] | [INFO] [stdout] 1294 | CELT_PVQ_U_DATA.as_ptr().offset(1207 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1295:9 [INFO] [stdout] | [INFO] [stdout] 1295 | CELT_PVQ_U_DATA.as_ptr().offset(1226 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1296:9 [INFO] [stdout] | [INFO] [stdout] 1296 | CELT_PVQ_U_DATA.as_ptr().offset(1240 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1297:9 [INFO] [stdout] | [INFO] [stdout] 1297 | CELT_PVQ_U_DATA.as_ptr().offset(1248 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1298:9 [INFO] [stdout] | [INFO] [stdout] 1298 | CELT_PVQ_U_DATA.as_ptr().offset(1254 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1299:9 [INFO] [stdout] | [INFO] [stdout] 1299 | CELT_PVQ_U_DATA.as_ptr().offset(1257 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:5147:25 [INFO] [stdout] | [INFO] [stdout] 5147 | bitrev: fft_bitrev480.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:5148:27 [INFO] [stdout] | [INFO] [stdout] 5148 | twiddles: fft_twiddles48000_960.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:5178:25 [INFO] [stdout] | [INFO] [stdout] 5178 | bitrev: fft_bitrev240.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:5179:27 [INFO] [stdout] | [INFO] [stdout] 5179 | twiddles: fft_twiddles48000_960.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:5209:25 [INFO] [stdout] | [INFO] [stdout] 5209 | bitrev: fft_bitrev120.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:5210:27 [INFO] [stdout] | [INFO] [stdout] 5210 | twiddles: fft_twiddles48000_960.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:5240:25 [INFO] [stdout] | [INFO] [stdout] 5240 | bitrev: fft_bitrev60.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:5241:27 [INFO] [stdout] | [INFO] [stdout] 5241 | twiddles: fft_twiddles48000_960.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7057:25 [INFO] [stdout] | [INFO] [stdout] 7057 | eBands: eband5ms.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7062:31 [INFO] [stdout] | [INFO] [stdout] 7062 | allocVectors: band_allocation.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7063:23 [INFO] [stdout] | [INFO] [stdout] 7063 | logN: logN400.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7064:25 [INFO] [stdout] | [INFO] [stdout] 7064 | window: window120.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7070 | &raw const 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7071 | &raw const 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7072 | &raw const 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7073 | &raw const 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:7075:31 [INFO] [stdout] | [INFO] [stdout] 7075 | trig: mdct_twiddles960.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7082:32 [INFO] [stdout] | [INFO] [stdout] 7082 | index: cache_index50.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7083:31 [INFO] [stdout] | [INFO] [stdout] 7083 | bits: cache_bits50.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7084:31 [INFO] [stdout] | [INFO] [stdout] 7084 | caps: cache_caps50.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7094 | unsafe { [&raw const mode48000_960_120 as *const OpusCustomMode] }; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/quant_bands.rs:554:21 [INFO] [stdout] | [INFO] [stdout] 554 | small_energy_icdf.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/quant_bands.rs:942:39 [INFO] [stdout] | [INFO] [stdout] 942 | qi = ec_dec_icdf(dec, small_energy_icdf.as_ptr(), 2 as i32 as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/NLSF2A.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | ordering16.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/NLSF2A.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | ordering10.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/control_SNR.rs:479:21 [INFO] [stdout] | [INFO] [stdout] 479 | snr_table = silk_TargetRate_NB_21.as_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/control_SNR.rs:482:21 [INFO] [stdout] | [INFO] [stdout] 482 | snr_table = silk_TargetRate_MB_21.as_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/control_SNR.rs:485:21 [INFO] [stdout] | [INFO] [stdout] 485 | snr_table = silk_TargetRate_WB_21.as_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 298 | (*psEnc).sCmn.psNLSF_CB = &raw const 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 301 | (*psEnc).sCmn.psNLSF_CB = &raw const 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 64 | (*psDec).psNLSF_CB = &raw const 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 67 | (*psDec).psNLSF_CB = &raw const 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1550 | compute_dense(&raw const 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1552 | &raw const 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1557 | &raw const layer2, [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/mlp_data.rs:250:19 [INFO] [stdout] | [INFO] [stdout] 250 | bias: layer0_bias.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/mlp_data.rs:251:28 [INFO] [stdout] | [INFO] [stdout] 251 | input_weights: layer0_weights.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/mlp_data.rs:262:19 [INFO] [stdout] | [INFO] [stdout] 262 | bias: layer1_bias.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/mlp_data.rs:263:28 [INFO] [stdout] | [INFO] [stdout] 263 | input_weights: layer1_weights.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/mlp_data.rs:264:32 [INFO] [stdout] | [INFO] [stdout] 264 | recurrent_weights: layer1_recur_weights.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/mlp_data.rs:274:19 [INFO] [stdout] | [INFO] [stdout] 274 | bias: layer2_bias.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/mlp_data.rs:275:28 [INFO] [stdout] | [INFO] [stdout] 275 | input_weights: layer2_weights.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/opus_encoder.rs:1694:42 [INFO] [stdout] | [INFO] [stdout] 1694 | voice_bandwidth_thresholds = stereo_voice_bandwidth_thresholds.as_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/opus_encoder.rs:1695:42 [INFO] [stdout] | [INFO] [stdout] 1695 | music_bandwidth_thresholds = stereo_music_bandwidth_thresholds.as_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/opus_encoder.rs:1697:42 [INFO] [stdout] | [INFO] [stdout] 1697 | voice_bandwidth_thresholds = mono_voice_bandwidth_thresholds.as_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/opus_encoder.rs:1698:42 [INFO] [stdout] | [INFO] [stdout] 1698 | music_bandwidth_thresholds = mono_music_bandwidth_thresholds.as_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/opus_projection_encoder.rs:239:17 [INFO] [stdout] | [INFO] [stdout] 239 | mapping_matrix_foa_mixing_data.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/opus_projection_encoder.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | mapping_matrix_soa_mixing_data.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/opus_projection_encoder.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | mapping_matrix_toa_mixing_data.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/opus_projection_encoder.rs:275:17 [INFO] [stdout] | [INFO] [stdout] 275 | mapping_matrix_foa_demixing_data.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/opus_projection_encoder.rs:284:17 [INFO] [stdout] | [INFO] [stdout] 284 | mapping_matrix_soa_demixing_data.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/opus_projection_encoder.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | mapping_matrix_toa_demixing_data.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/bin/opus_compare.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | BANDS.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/bin/opus_compare.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | BANDS.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling unsafe-libopus v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/opus_padding.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | iseed, [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/bin/opus_compare.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | BANDS.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/bin/opus_compare.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | BANDS.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/opus_decode.rs:1116:9 [INFO] [stdout] | [INFO] [stdout] 1116 | iseed, [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/opus_decode.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | iseed, [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/opus_projection/main.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | iseed, [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/opus_encode/main.rs:1810:9 [INFO] [stdout] | [INFO] [stdout] 1810 | iseed, [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/opus_encode/main.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | iseed, [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/opus_encode/opus_encode_regressions.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | pcm.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/opus_encode/opus_encode_regressions.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | pcm_0.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/opus_encode/opus_encode_regressions.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | pcm_1.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/opus_encode/opus_encode_regressions.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | pcm_2.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/opus_encode/opus_encode_regressions.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | pcm_3.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/opus_encode/opus_encode_regressions.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | pcm_4.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/opus_encode/opus_encode_regressions.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | mapping.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/opus_encode/opus_encode_regressions.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | pcm.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/opus_encode/opus_encode_regressions.rs:478:9 [INFO] [stdout] | [INFO] [stdout] 478 | mapping.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/opus_encode/opus_encode_regressions.rs:628:9 [INFO] [stdout] | [INFO] [stdout] 628 | pcm.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/opus_encode/opus_encode_regressions.rs:904:9 [INFO] [stdout] | [INFO] [stdout] 904 | pcm.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/opus_encode/opus_encode_regressions.rs:1123:9 [INFO] [stdout] | [INFO] [stdout] 1123 | pcm_0.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/opus_encode/opus_encode_regressions.rs:1383:9 [INFO] [stdout] | [INFO] [stdout] 1383 | pcm1.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/opus_encode/opus_encode_regressions.rs:1396:9 [INFO] [stdout] | [INFO] [stdout] 1396 | pcm2.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/opus_encode/opus_encode_regressions.rs:1406:9 [INFO] [stdout] | [INFO] [stdout] 1406 | pcm3.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/opus_encode/opus_encode_regressions.rs:1462:9 [INFO] [stdout] | [INFO] [stdout] 1462 | pcm.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/opus_encode/opus_encode_regressions.rs:1490:9 [INFO] [stdout] | [INFO] [stdout] 1490 | pcm_0.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/opus_encode/opus_encode_regressions.rs:1553:9 [INFO] [stdout] | [INFO] [stdout] 1553 | pcm1.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/opus_encode/opus_encode_regressions.rs:1565:9 [INFO] [stdout] | [INFO] [stdout] 1565 | pcm2.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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`, and `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`, and `_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` and `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`, and `_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`, and `_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`, and `_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`, and `_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`, and `_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`, and `_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`, and `_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/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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/bands.rs:631:34 [INFO] [stdout] | [INFO] [stdout] 631 | let ordery: *const i32 = ordery_table [INFO] [stdout] | __________________________________^ [INFO] [stdout] 632 | | .as_ptr() [INFO] [stdout] | |_____________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/bands.rs:674:34 [INFO] [stdout] | [INFO] [stdout] 674 | let ordery: *const i32 = ordery_table [INFO] [stdout] | __________________________________^ [INFO] [stdout] 675 | | .as_ptr() [INFO] [stdout] | |_____________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/celt_encoder.rs:3116:13 [INFO] [stdout] | [INFO] [stdout] 3116 | intensity_thresholds.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/celt_encoder.rs:3117:13 [INFO] [stdout] | [INFO] [stdout] 3117 | intensity_histeresis.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1285:9 [INFO] [stdout] | [INFO] [stdout] 1285 | CELT_PVQ_U_DATA.as_ptr().offset(0 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1286:9 [INFO] [stdout] | [INFO] [stdout] 1286 | CELT_PVQ_U_DATA.as_ptr().offset(176 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1287:9 [INFO] [stdout] | [INFO] [stdout] 1287 | CELT_PVQ_U_DATA.as_ptr().offset(351 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1288:9 [INFO] [stdout] | [INFO] [stdout] 1288 | CELT_PVQ_U_DATA.as_ptr().offset(525 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1289:9 [INFO] [stdout] | [INFO] [stdout] 1289 | CELT_PVQ_U_DATA.as_ptr().offset(698 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1290:9 [INFO] [stdout] | [INFO] [stdout] 1290 | CELT_PVQ_U_DATA.as_ptr().offset(870 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1291:9 [INFO] [stdout] | [INFO] [stdout] 1291 | CELT_PVQ_U_DATA.as_ptr().offset(1041 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1292:9 [INFO] [stdout] | [INFO] [stdout] 1292 | CELT_PVQ_U_DATA.as_ptr().offset(1131 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1293:9 [INFO] [stdout] | [INFO] [stdout] 1293 | CELT_PVQ_U_DATA.as_ptr().offset(1178 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1294:9 [INFO] [stdout] | [INFO] [stdout] 1294 | CELT_PVQ_U_DATA.as_ptr().offset(1207 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1295:9 [INFO] [stdout] | [INFO] [stdout] 1295 | CELT_PVQ_U_DATA.as_ptr().offset(1226 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1296:9 [INFO] [stdout] | [INFO] [stdout] 1296 | CELT_PVQ_U_DATA.as_ptr().offset(1240 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1297:9 [INFO] [stdout] | [INFO] [stdout] 1297 | CELT_PVQ_U_DATA.as_ptr().offset(1248 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1298:9 [INFO] [stdout] | [INFO] [stdout] 1298 | CELT_PVQ_U_DATA.as_ptr().offset(1254 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/cwrs.rs:1299:9 [INFO] [stdout] | [INFO] [stdout] 1299 | CELT_PVQ_U_DATA.as_ptr().offset(1257 as i32 as isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:5147:25 [INFO] [stdout] | [INFO] [stdout] 5147 | bitrev: fft_bitrev480.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:5148:27 [INFO] [stdout] | [INFO] [stdout] 5148 | twiddles: fft_twiddles48000_960.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:5178:25 [INFO] [stdout] | [INFO] [stdout] 5178 | bitrev: fft_bitrev240.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:5179:27 [INFO] [stdout] | [INFO] [stdout] 5179 | twiddles: fft_twiddles48000_960.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:5209:25 [INFO] [stdout] | [INFO] [stdout] 5209 | bitrev: fft_bitrev120.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:5210:27 [INFO] [stdout] | [INFO] [stdout] 5210 | twiddles: fft_twiddles48000_960.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:5240:25 [INFO] [stdout] | [INFO] [stdout] 5240 | bitrev: fft_bitrev60.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:5241:27 [INFO] [stdout] | [INFO] [stdout] 5241 | twiddles: fft_twiddles48000_960.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7057:25 [INFO] [stdout] | [INFO] [stdout] 7057 | eBands: eband5ms.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7062:31 [INFO] [stdout] | [INFO] [stdout] 7062 | allocVectors: band_allocation.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7063:23 [INFO] [stdout] | [INFO] [stdout] 7063 | logN: logN400.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7064:25 [INFO] [stdout] | [INFO] [stdout] 7064 | window: window120.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7070 | &raw const 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7071 | &raw const 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7072 | &raw const 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7073 | &raw const 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:7075:31 [INFO] [stdout] | [INFO] [stdout] 7075 | trig: mdct_twiddles960.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7082:32 [INFO] [stdout] | [INFO] [stdout] 7082 | index: cache_index50.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7083:31 [INFO] [stdout] | [INFO] [stdout] 7083 | bits: cache_bits50.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7084:31 [INFO] [stdout] | [INFO] [stdout] 7084 | caps: cache_caps50.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7094 | unsafe { [&raw const mode48000_960_120 as *const OpusCustomMode] }; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/quant_bands.rs:554:21 [INFO] [stdout] | [INFO] [stdout] 554 | small_energy_icdf.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/quant_bands.rs:942:39 [INFO] [stdout] | [INFO] [stdout] 942 | qi = ec_dec_icdf(dec, small_energy_icdf.as_ptr(), 2 as i32 as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/NLSF2A.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | ordering16.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/NLSF2A.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | ordering10.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/control_SNR.rs:479:21 [INFO] [stdout] | [INFO] [stdout] 479 | snr_table = silk_TargetRate_NB_21.as_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/control_SNR.rs:482:21 [INFO] [stdout] | [INFO] [stdout] 482 | snr_table = silk_TargetRate_MB_21.as_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/control_SNR.rs:485:21 [INFO] [stdout] | [INFO] [stdout] 485 | snr_table = silk_TargetRate_WB_21.as_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 298 | (*psEnc).sCmn.psNLSF_CB = &raw const 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 301 | (*psEnc).sCmn.psNLSF_CB = &raw const 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 64 | (*psDec).psNLSF_CB = &raw const 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 67 | (*psDec).psNLSF_CB = &raw const 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1550 | compute_dense(&raw const 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1552 | &raw const 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 [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1557 | &raw const layer2, [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/mlp_data.rs:250:19 [INFO] [stdout] | [INFO] [stdout] 250 | bias: layer0_bias.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/mlp_data.rs:251:28 [INFO] [stdout] | [INFO] [stdout] 251 | input_weights: layer0_weights.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/mlp_data.rs:262:19 [INFO] [stdout] | [INFO] [stdout] 262 | bias: layer1_bias.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/mlp_data.rs:263:28 [INFO] [stdout] | [INFO] [stdout] 263 | input_weights: layer1_weights.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/mlp_data.rs:264:32 [INFO] [stdout] | [INFO] [stdout] 264 | recurrent_weights: layer1_recur_weights.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/mlp_data.rs:274:19 [INFO] [stdout] | [INFO] [stdout] 274 | bias: layer2_bias.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/mlp_data.rs:275:28 [INFO] [stdout] | [INFO] [stdout] 275 | input_weights: layer2_weights.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/opus_encoder.rs:1694:42 [INFO] [stdout] | [INFO] [stdout] 1694 | voice_bandwidth_thresholds = stereo_voice_bandwidth_thresholds.as_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/opus_encoder.rs:1695:42 [INFO] [stdout] | [INFO] [stdout] 1695 | music_bandwidth_thresholds = stereo_music_bandwidth_thresholds.as_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/opus_encoder.rs:1697:42 [INFO] [stdout] | [INFO] [stdout] 1697 | voice_bandwidth_thresholds = mono_voice_bandwidth_thresholds.as_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/opus_encoder.rs:1698:42 [INFO] [stdout] | [INFO] [stdout] 1698 | music_bandwidth_thresholds = mono_music_bandwidth_thresholds.as_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/opus_projection_encoder.rs:239:17 [INFO] [stdout] | [INFO] [stdout] 239 | mapping_matrix_foa_mixing_data.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/opus_projection_encoder.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | mapping_matrix_soa_mixing_data.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/opus_projection_encoder.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | mapping_matrix_toa_mixing_data.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/opus_projection_encoder.rs:275:17 [INFO] [stdout] | [INFO] [stdout] 275 | mapping_matrix_foa_demixing_data.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/opus_projection_encoder.rs:284:17 [INFO] [stdout] | [INFO] [stdout] 284 | mapping_matrix_soa_demixing_data.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/opus_projection_encoder.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | mapping_matrix_toa_demixing_data.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.52s [INFO] running `Command { std: "docker" "inspect" "ba05c6d29b47dfe10e73a37b76cf74c086459c0a74e5e22082c200e361b3d550", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba05c6d29b47dfe10e73a37b76cf74c086459c0a74e5e22082c200e361b3d550", kill_on_drop: false }` [INFO] [stdout] ba05c6d29b47dfe10e73a37b76cf74c086459c0a74e5e22082c200e361b3d550