[INFO] fetching crate unsafe-libopus 0.2.0... [INFO] testing unsafe-libopus-0.2.0 against beta-2024-10-19 for beta-1.83-1 [INFO] extracting crate unsafe-libopus 0.2.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate unsafe-libopus 0.2.0 on toolchain beta-2024-10-19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate unsafe-libopus 0.2.0 [INFO] finished tweaking crates.io crate unsafe-libopus 0.2.0 [INFO] tweaked toml for crates.io crate unsafe-libopus 0.2.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-10-19" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 25 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-10-19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 158639c100550b89b45d1453848bdc79f80ec983818621081d4fe3bca8e042a9 [INFO] running `Command { std: "docker" "start" "-a" "158639c100550b89b45d1453848bdc79f80ec983818621081d4fe3bca8e042a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "158639c100550b89b45d1453848bdc79f80ec983818621081d4fe3bca8e042a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "158639c100550b89b45d1453848bdc79f80ec983818621081d4fe3bca8e042a9", kill_on_drop: false }` [INFO] [stdout] 158639c100550b89b45d1453848bdc79f80ec983818621081d4fe3bca8e042a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fe256862a87f3b9d72ed126dbcdde823ff71cb5aea960b7d264b870ef803cf2 [INFO] running `Command { std: "docker" "start" "-a" "4fe256862a87f3b9d72ed126dbcdde823ff71cb5aea960b7d264b870ef803cf2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling unsafe-libopus v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `cache_bits50`, `cache_caps50`, `cache_index50`, `fft_bitrev120`, `fft_bitrev240`, `fft_bitrev480`, `fft_bitrev60`, `fft_twiddles48000_960`, `logN400`, and `window120` [INFO] [stdout] --> src/celt/modes.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | cache_bits50, cache_caps50, cache_index50, fft_bitrev120, fft_bitrev240, fft_bitrev480, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 42 | fft_bitrev60, fft_twiddles48000_960, logN400, static_mode_list, window120, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> src/celt/vq.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SILK_ENC_FS_NOT_SUPPORTED`, `SILK_ENC_INVALID_CBR_SETTING`, `SILK_ENC_INVALID_COMPLEXITY_SETTING`, `SILK_ENC_INVALID_DTX_SETTING`, `SILK_ENC_INVALID_INBAND_FEC_SETTING`, `SILK_ENC_INVALID_LOSS_RATE`, `SILK_ENC_INVALID_NUMBER_OF_CHANNELS_ERROR`, and `SILK_ENC_PACKET_SIZE_NOT_SUPPORTED` [INFO] [stdout] --> src/silk/check_control_input.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | SILK_ENC_FS_NOT_SUPPORTED, SILK_ENC_INVALID_CBR_SETTING, SILK_ENC_INVALID_COMPLEXITY_SETTING, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | SILK_ENC_INVALID_DTX_SETTING, SILK_ENC_INVALID_INBAND_FEC_SETTING, SILK_ENC_INVALID_LOSS_RATE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | SILK_ENC_INVALID_NUMBER_OF_CHANNELS_ERROR, SILK_ENC_PACKET_SIZE_NOT_SUPPORTED, SILK_NO_ERROR, [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/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:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | 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: union `sFIR_union` is never used [INFO] [stdout] --> src/silk/resampler/mod.rs:106:11 [INFO] [stdout] | [INFO] [stdout] 106 | pub union sFIR_union { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `sFIR_union` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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:578:34 [INFO] [stdout] | [INFO] [stdout] 578 | let ordery: *const i32 = ordery_table [INFO] [stdout] | __________________________________^ [INFO] [stdout] 579 | | .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:621:34 [INFO] [stdout] | [INFO] [stdout] 621 | let ordery: *const i32 = ordery_table [INFO] [stdout] | __________________________________^ [INFO] [stdout] 622 | | .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:2886:13 [INFO] [stdout] | [INFO] [stdout] 2886 | 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:2887:13 [INFO] [stdout] | [INFO] [stdout] 2887 | 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/modes/static_modes_float_h.rs:877:15 [INFO] [stdout] | [INFO] [stdout] 877 | 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] 877 | 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:240:63 [INFO] [stdout] | [INFO] [stdout] 240 | ec_enc_icdf(enc, 2 * qi ^ -((qi < 0) as i32), &small_energy_icdf, 2); [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] 240 | ec_enc_icdf(enc, 2 * qi ^ -((qi < 0) as i32), &raw const small_energy_icdf, 2); [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:583:39 [INFO] [stdout] | [INFO] [stdout] 583 | qi = ec_dec_icdf(dec, &small_energy_icdf, 2); [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] 583 | qi = ec_dec_icdf(dec, &raw const small_energy_icdf, 2); [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/control_SNR.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | 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:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | 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:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | 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/src/analysis.rs:1513:19 [INFO] [stdout] | [INFO] [stdout] 1513 | 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] 1513 | 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:1515:9 [INFO] [stdout] | [INFO] [stdout] 1515 | &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] 1515 | &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:1520:9 [INFO] [stdout] | [INFO] [stdout] 1520 | &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] 1520 | &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:1555:42 [INFO] [stdout] | [INFO] [stdout] 1555 | 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:1556:42 [INFO] [stdout] | [INFO] [stdout] 1556 | 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:1558:42 [INFO] [stdout] | [INFO] [stdout] 1558 | 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:1559:42 [INFO] [stdout] | [INFO] [stdout] 1559 | 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 `dev` profile [unoptimized + debuginfo] target(s) in 3.02s [INFO] running `Command { std: "docker" "inspect" "4fe256862a87f3b9d72ed126dbcdde823ff71cb5aea960b7d264b870ef803cf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fe256862a87f3b9d72ed126dbcdde823ff71cb5aea960b7d264b870ef803cf2", kill_on_drop: false }` [INFO] [stdout] 4fe256862a87f3b9d72ed126dbcdde823ff71cb5aea960b7d264b870ef803cf2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c61b16eeeccd7024c5ea8a19da6698be13ce0862bb54f0f3893b0105acb6ca3 [INFO] running `Command { std: "docker" "start" "-a" "1c61b16eeeccd7024c5ea8a19da6698be13ce0862bb54f0f3893b0105acb6ca3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling similar v2.6.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stdout] warning: unused imports: `cache_bits50`, `cache_caps50`, `cache_index50`, `fft_bitrev120`, `fft_bitrev240`, `fft_bitrev480`, `fft_bitrev60`, `fft_twiddles48000_960`, `logN400`, and `window120` [INFO] [stdout] --> src/celt/modes.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | cache_bits50, cache_caps50, cache_index50, fft_bitrev120, fft_bitrev240, fft_bitrev480, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 42 | fft_bitrev60, fft_twiddles48000_960, logN400, static_mode_list, window120, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> src/celt/vq.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SILK_ENC_FS_NOT_SUPPORTED`, `SILK_ENC_INVALID_CBR_SETTING`, `SILK_ENC_INVALID_COMPLEXITY_SETTING`, `SILK_ENC_INVALID_DTX_SETTING`, `SILK_ENC_INVALID_INBAND_FEC_SETTING`, `SILK_ENC_INVALID_LOSS_RATE`, `SILK_ENC_INVALID_NUMBER_OF_CHANNELS_ERROR`, and `SILK_ENC_PACKET_SIZE_NOT_SUPPORTED` [INFO] [stdout] --> src/silk/check_control_input.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | SILK_ENC_FS_NOT_SUPPORTED, SILK_ENC_INVALID_CBR_SETTING, SILK_ENC_INVALID_COMPLEXITY_SETTING, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | SILK_ENC_INVALID_DTX_SETTING, SILK_ENC_INVALID_INBAND_FEC_SETTING, SILK_ENC_INVALID_LOSS_RATE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | SILK_ENC_INVALID_NUMBER_OF_CHANNELS_ERROR, SILK_ENC_PACKET_SIZE_NOT_SUPPORTED, SILK_NO_ERROR, [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/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:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | 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: union `sFIR_union` is never used [INFO] [stdout] --> src/silk/resampler/mod.rs:106:11 [INFO] [stdout] | [INFO] [stdout] 106 | pub union sFIR_union { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `sFIR_union` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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:578:34 [INFO] [stdout] | [INFO] [stdout] 578 | let ordery: *const i32 = ordery_table [INFO] [stdout] | __________________________________^ [INFO] [stdout] 579 | | .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:621:34 [INFO] [stdout] | [INFO] [stdout] 621 | let ordery: *const i32 = ordery_table [INFO] [stdout] | __________________________________^ [INFO] [stdout] 622 | | .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:2886:13 [INFO] [stdout] | [INFO] [stdout] 2886 | 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:2887:13 [INFO] [stdout] | [INFO] [stdout] 2887 | 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/modes/static_modes_float_h.rs:877:15 [INFO] [stdout] | [INFO] [stdout] 877 | 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] 877 | 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:240:63 [INFO] [stdout] | [INFO] [stdout] 240 | ec_enc_icdf(enc, 2 * qi ^ -((qi < 0) as i32), &small_energy_icdf, 2); [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] 240 | ec_enc_icdf(enc, 2 * qi ^ -((qi < 0) as i32), &raw const small_energy_icdf, 2); [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:583:39 [INFO] [stdout] | [INFO] [stdout] 583 | qi = ec_dec_icdf(dec, &small_energy_icdf, 2); [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] 583 | qi = ec_dec_icdf(dec, &raw const small_energy_icdf, 2); [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/control_SNR.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | 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:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | 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:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | 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/src/analysis.rs:1513:19 [INFO] [stdout] | [INFO] [stdout] 1513 | 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] 1513 | 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:1515:9 [INFO] [stdout] | [INFO] [stdout] 1515 | &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] 1515 | &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:1520:9 [INFO] [stdout] | [INFO] [stdout] 1520 | &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] 1520 | &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:1555:42 [INFO] [stdout] | [INFO] [stdout] 1555 | 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:1556:42 [INFO] [stdout] | [INFO] [stdout] 1556 | 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:1558:42 [INFO] [stdout] | [INFO] [stdout] 1558 | 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:1559:42 [INFO] [stdout] | [INFO] [stdout] 1559 | 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] Compiling cc v1.1.31 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling insta v1.40.0 [INFO] [stderr] Compiling unsafe-libopus v0.2.0 (/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] --> tests/opus_decode.rs:811:9 [INFO] [stdout] | [INFO] [stdout] 811 | 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:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | 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:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | 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:1267:9 [INFO] [stdout] | [INFO] [stdout] 1267 | 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:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | 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:57:40 [INFO] [stdout] | [INFO] [stdout] 57 | err = opus_multistream_encode(enc, pcm.as_ptr(), 320, data.as_mut_ptr(), 2460); [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:87:40 [INFO] [stdout] | [INFO] [stdout] 87 | err = opus_multistream_encode(enc, pcm_0.as_ptr(), 160, data.as_mut_ptr(), 2460); [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:117:40 [INFO] [stdout] | [INFO] [stdout] 117 | err = opus_multistream_encode(enc, pcm_1.as_ptr(), 160, data.as_mut_ptr(), 2460); [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:147:40 [INFO] [stdout] | [INFO] [stdout] 147 | err = opus_multistream_encode(enc, pcm_2.as_ptr(), 160, data.as_mut_ptr(), 2460); [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:171:40 [INFO] [stdout] | [INFO] [stdout] 171 | err = opus_multistream_encode(enc, pcm_3.as_ptr(), 160, data.as_mut_ptr(), 2460); [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:191:40 [INFO] [stdout] | [INFO] [stdout] 191 | err = opus_multistream_encode(enc, pcm_4.as_ptr(), 40, data.as_mut_ptr(), 2460); [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:215:62 [INFO] [stdout] | [INFO] [stdout] 215 | enc = opus_multistream_encoder_create(8000, 255, 254, 1, mapping.as_ptr(), 2051, &mut err); [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:402:40 [INFO] [stdout] | [INFO] [stdout] 402 | err = opus_multistream_encode(enc, pcm.as_ptr(), 20, data.as_mut_ptr(), 627300); [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:423:62 [INFO] [stdout] | [INFO] [stdout] 423 | enc = opus_multistream_encoder_create(8000, 192, 189, 3, mapping.as_ptr(), 2051, &mut err); [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:568:40 [INFO] [stdout] | [INFO] [stdout] 568 | err = opus_multistream_encode(enc, pcm.as_ptr(), 20, data.as_mut_ptr(), 472320); [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:838:40 [INFO] [stdout] | [INFO] [stdout] 838 | err = opus_multistream_encode(enc, pcm.as_ptr(), 960, data.as_mut_ptr(), 7380); [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:1051:40 [INFO] [stdout] | [INFO] [stdout] 1051 | err = opus_multistream_encode(enc, pcm_0.as_ptr(), 1440, data.as_mut_ptr(), 7380); [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:1305:33 [INFO] [stdout] | [INFO] [stdout] 1305 | data_len = opus_encode(enc, pcm1.as_ptr(), 960, data.as_mut_ptr(), 2000); [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:1312:33 [INFO] [stdout] | [INFO] [stdout] 1312 | data_len = opus_encode(enc, pcm2.as_ptr(), 2880, data.as_mut_ptr(), 122); [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:1316:33 [INFO] [stdout] | [INFO] [stdout] 1316 | data_len = opus_encode(enc, pcm3.as_ptr(), 2880, data.as_mut_ptr(), 122); [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:1366:33 [INFO] [stdout] | [INFO] [stdout] 1366 | data_len = opus_encode(enc, pcm.as_ptr(), 960, data.as_mut_ptr(), 2000); [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:1388:33 [INFO] [stdout] | [INFO] [stdout] 1388 | data_len = opus_encode(enc, pcm_0.as_ptr(), 480, data.as_mut_ptr(), 19); [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:1445:33 [INFO] [stdout] | [INFO] [stdout] 1445 | data_len = opus_encode(enc, pcm1.as_ptr(), 160, data.as_mut_ptr(), 1000); [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:1451:33 [INFO] [stdout] | [INFO] [stdout] 1451 | data_len = opus_encode(enc, pcm2.as_ptr(), 960, data.as_mut_ptr(), 1000); [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_twiddles48000_960`, `logN400`, and `window120` [INFO] [stdout] --> src/celt/modes.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | cache_bits50, cache_caps50, cache_index50, fft_bitrev120, fft_bitrev240, fft_bitrev480, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 42 | fft_bitrev60, fft_twiddles48000_960, logN400, static_mode_list, window120, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> src/celt/vq.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SILK_ENC_FS_NOT_SUPPORTED`, `SILK_ENC_INVALID_CBR_SETTING`, `SILK_ENC_INVALID_COMPLEXITY_SETTING`, `SILK_ENC_INVALID_DTX_SETTING`, `SILK_ENC_INVALID_INBAND_FEC_SETTING`, `SILK_ENC_INVALID_LOSS_RATE`, `SILK_ENC_INVALID_NUMBER_OF_CHANNELS_ERROR`, and `SILK_ENC_PACKET_SIZE_NOT_SUPPORTED` [INFO] [stdout] --> src/silk/check_control_input.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | SILK_ENC_FS_NOT_SUPPORTED, SILK_ENC_INVALID_CBR_SETTING, SILK_ENC_INVALID_COMPLEXITY_SETTING, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | SILK_ENC_INVALID_DTX_SETTING, SILK_ENC_INVALID_INBAND_FEC_SETTING, SILK_ENC_INVALID_LOSS_RATE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | SILK_ENC_INVALID_NUMBER_OF_CHANNELS_ERROR, SILK_ENC_PACKET_SIZE_NOT_SUPPORTED, SILK_NO_ERROR, [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/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:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | 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: union `sFIR_union` is never used [INFO] [stdout] --> src/silk/resampler/mod.rs:106:11 [INFO] [stdout] | [INFO] [stdout] 106 | pub union sFIR_union { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `sFIR_union` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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:578:34 [INFO] [stdout] | [INFO] [stdout] 578 | let ordery: *const i32 = ordery_table [INFO] [stdout] | __________________________________^ [INFO] [stdout] 579 | | .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:621:34 [INFO] [stdout] | [INFO] [stdout] 621 | let ordery: *const i32 = ordery_table [INFO] [stdout] | __________________________________^ [INFO] [stdout] 622 | | .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:2886:13 [INFO] [stdout] | [INFO] [stdout] 2886 | 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:2887:13 [INFO] [stdout] | [INFO] [stdout] 2887 | 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/modes/static_modes_float_h.rs:877:15 [INFO] [stdout] | [INFO] [stdout] 877 | 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] 877 | 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:240:63 [INFO] [stdout] | [INFO] [stdout] 240 | ec_enc_icdf(enc, 2 * qi ^ -((qi < 0) as i32), &small_energy_icdf, 2); [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] 240 | ec_enc_icdf(enc, 2 * qi ^ -((qi < 0) as i32), &raw const small_energy_icdf, 2); [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:583:39 [INFO] [stdout] | [INFO] [stdout] 583 | qi = ec_dec_icdf(dec, &small_energy_icdf, 2); [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] 583 | qi = ec_dec_icdf(dec, &raw const small_energy_icdf, 2); [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/control_SNR.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | 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:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | 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:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | 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/src/analysis.rs:1513:19 [INFO] [stdout] | [INFO] [stdout] 1513 | 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] 1513 | 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:1515:9 [INFO] [stdout] | [INFO] [stdout] 1515 | &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] 1515 | &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:1520:9 [INFO] [stdout] | [INFO] [stdout] 1520 | &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] 1520 | &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:1555:42 [INFO] [stdout] | [INFO] [stdout] 1555 | 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:1556:42 [INFO] [stdout] | [INFO] [stdout] 1556 | 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:1558:42 [INFO] [stdout] | [INFO] [stdout] 1558 | 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:1559:42 [INFO] [stdout] | [INFO] [stdout] 1559 | 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 7.04s [INFO] running `Command { std: "docker" "inspect" "1c61b16eeeccd7024c5ea8a19da6698be13ce0862bb54f0f3893b0105acb6ca3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c61b16eeeccd7024c5ea8a19da6698be13ce0862bb54f0f3893b0105acb6ca3", kill_on_drop: false }` [INFO] [stdout] 1c61b16eeeccd7024c5ea8a19da6698be13ce0862bb54f0f3893b0105acb6ca3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1f65b2776531f5c93a53a6e224ce0d52a1a3d2e3057e1829c63b4f6f8b77eb15 [INFO] running `Command { std: "docker" "start" "-a" "1f65b2776531f5c93a53a6e224ce0d52a1a3d2e3057e1829c63b4f6f8b77eb15", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `cache_bits50`, `cache_caps50`, `cache_index50`, `fft_bitrev120`, `fft_bitrev240`, `fft_bitrev480`, `fft_bitrev60`, `fft_twiddles48000_960`, `logN400`, and `window120` [INFO] [stderr] --> src/celt/modes.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | cache_bits50, cache_caps50, cache_index50, fft_bitrev120, fft_bitrev240, fft_bitrev480, [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] 42 | fft_bitrev60, fft_twiddles48000_960, logN400, static_mode_list, window120, [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::f32::consts::PI` [INFO] [stderr] --> src/celt/vq.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::f32::consts::PI; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `SILK_ENC_FS_NOT_SUPPORTED`, `SILK_ENC_INVALID_CBR_SETTING`, `SILK_ENC_INVALID_COMPLEXITY_SETTING`, `SILK_ENC_INVALID_DTX_SETTING`, `SILK_ENC_INVALID_INBAND_FEC_SETTING`, `SILK_ENC_INVALID_LOSS_RATE`, `SILK_ENC_INVALID_NUMBER_OF_CHANNELS_ERROR`, and `SILK_ENC_PACKET_SIZE_NOT_SUPPORTED` [INFO] [stderr] --> src/silk/check_control_input.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | SILK_ENC_FS_NOT_SUPPORTED, SILK_ENC_INVALID_CBR_SETTING, SILK_ENC_INVALID_COMPLEXITY_SETTING, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 16 | SILK_ENC_INVALID_DTX_SETTING, SILK_ENC_INVALID_INBAND_FEC_SETTING, SILK_ENC_INVALID_LOSS_RATE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 17 | SILK_ENC_INVALID_NUMBER_OF_CHANNELS_ERROR, SILK_ENC_PACKET_SIZE_NOT_SUPPORTED, SILK_NO_ERROR, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, and `_mm_set_ss` [INFO] [stderr] --> src/silk/control_codec.rs:5:34 [INFO] [stderr] | [INFO] [stderr] 5 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `silk_int16_MAX` and `silk_int16_MIN` [INFO] [stderr] --> src/silk/control_codec.rs:44:27 [INFO] [stderr] | [INFO] [stderr] 44 | pub use self::typedef_h::{silk_int16_MAX, silk_int16_MIN}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::float_h::FLT_MAX` [INFO] [stderr] --> src/silk/float/find_LPC_FLP.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | pub use self::float_h::FLT_MAX; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::internal::__FLT_MAX__` [INFO] [stderr] --> src/silk/float/find_LPC_FLP.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub use self::internal::__FLT_MAX__; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, and `_mm_set_ss` [INFO] [stderr] --> src/silk/float/pitch_analysis_core_FLP.rs:8:34 [INFO] [stderr] | [INFO] [stderr] 8 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, and `_mm_set_ss` [INFO] [stderr] --> src/silk/float/wrappers_FLP.rs:8:34 [INFO] [stderr] | [INFO] [stderr] 8 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, and `_mm_set_ss` [INFO] [stderr] --> src/src/analysis.rs:73:34 [INFO] [stderr] | [INFO] [stderr] 73 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, and `_mm_set_ss` [INFO] [stderr] --> src/src/mapping_matrix.rs:9:34 [INFO] [stderr] | [INFO] [stderr] 9 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, and `_mm_set_ss` [INFO] [stderr] --> src/src/opus_decoder.rs:15:34 [INFO] [stderr] | [INFO] [stderr] 15 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, and `_mm_set_ss` [INFO] [stderr] --> src/src/opus_encoder.rs:19:34 [INFO] [stderr] | [INFO] [stderr] 19 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `__m128`, `_mm_cvt_ss2si`, `_mm_cvtss_si32`, and `_mm_set_ss` [INFO] [stderr] --> src/src/opus_multistream_decoder.rs:32:34 [INFO] [stderr] | [INFO] [stderr] 32 | pub use core::arch::x86_64::{__m128, _mm_cvt_ss2si, _mm_cvtss_si32, _mm_set_ss}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: union `sFIR_union` is never used [INFO] [stderr] --> src/silk/resampler/mod.rs:106:11 [INFO] [stderr] | [INFO] [stderr] 106 | pub union sFIR_union { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `sFIR_union` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/celt/bands.rs:578:34 [INFO] [stderr] | [INFO] [stderr] 578 | let ordery: *const i32 = ordery_table [INFO] [stderr] | __________________________________^ [INFO] [stderr] 579 | | .as_ptr() [INFO] [stderr] | |_____________________^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/celt/bands.rs:621:34 [INFO] [stderr] | [INFO] [stderr] 621 | let ordery: *const i32 = ordery_table [INFO] [stderr] | __________________________________^ [INFO] [stderr] 622 | | .as_ptr() [INFO] [stderr] | |_____________________^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/celt/celt_encoder.rs:2886:13 [INFO] [stderr] | [INFO] [stderr] 2886 | intensity_thresholds.as_ptr(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/celt/celt_encoder.rs:2887:13 [INFO] [stderr] | [INFO] [stderr] 2887 | intensity_histeresis.as_ptr(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/celt/modes/static_modes_float_h.rs:877:15 [INFO] [stderr] | [INFO] [stderr] 877 | unsafe { [&mode48000_960_120 as *const OpusCustomMode] }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] running 1 test [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 877 | unsafe { [&raw const mode48000_960_120 as *const OpusCustomMode] }; [INFO] [stderr] | ~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/celt/quant_bands.rs:240:63 [INFO] [stderr] | [INFO] [stderr] 240 | ec_enc_icdf(enc, 2 * qi ^ -((qi < 0) as i32), &small_energy_icdf, 2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 240 | ec_enc_icdf(enc, 2 * qi ^ -((qi < 0) as i32), &raw const small_energy_icdf, 2); [INFO] [stderr] | ~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/celt/quant_bands.rs:583:39 [INFO] [stderr] | [INFO] [stderr] 583 | qi = ec_dec_icdf(dec, &small_energy_icdf, 2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 583 | qi = ec_dec_icdf(dec, &raw const small_energy_icdf, 2); [INFO] [stderr] | ~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/silk/control_SNR.rs:47:21 [INFO] [stderr] | [INFO] [stderr] 47 | snr_table = silk_TargetRate_NB_21.as_ptr(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/silk/control_SNR.rs:50:21 [INFO] [stderr] | [INFO] [stderr] 50 | snr_table = silk_TargetRate_MB_21.as_ptr(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/silk/control_SNR.rs:53:21 [INFO] [stderr] | [INFO] [stderr] 53 | snr_table = silk_TargetRate_WB_21.as_ptr(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/src/analysis.rs:1513:19 [INFO] [stderr] | [INFO] [stderr] 1513 | compute_dense(&layer0, layer_out.as_mut_ptr(), features.as_mut_ptr()); [INFO] [stderr] | ^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 1513 | compute_dense(&raw const layer0, layer_out.as_mut_ptr(), features.as_mut_ptr()); [INFO] [stderr] | ~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/src/analysis.rs:1515:9 [INFO] [stderr] | [INFO] [stderr] 1515 | &layer1, [INFO] [stderr] | ^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 1515 | &raw const layer1, [INFO] [stderr] | ~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/src/analysis.rs:1520:9 [INFO] [stderr] | [INFO] [stderr] 1520 | &layer2, [INFO] [stderr] | ^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 1520 | &raw const layer2, [INFO] [stderr] | ~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/src/mlp_data.rs:250:19 [INFO] [stderr] | [INFO] [stderr] 250 | bias: layer0_bias.as_ptr(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/src/mlp_data.rs:251:28 [INFO] [stderr] | [INFO] [stderr] 251 | input_weights: layer0_weights.as_ptr(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/src/mlp_data.rs:262:19 [INFO] [stderr] | [INFO] [stderr] 262 | bias: layer1_bias.as_ptr(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/src/mlp_data.rs:263:28 [INFO] [stderr] | [INFO] [stderr] 263 | input_weights: layer1_weights.as_ptr(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/src/mlp_data.rs:264:32 [INFO] [stderr] | [INFO] [stderr] 264 | recurrent_weights: layer1_recur_weights.as_ptr(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/src/mlp_data.rs:274:19 [INFO] [stderr] | [INFO] [stderr] 274 | bias: layer2_bias.as_ptr(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/src/mlp_data.rs:275:28 [INFO] [stderr] | [INFO] [stderr] 275 | input_weights: layer2_weights.as_ptr(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/src/opus_encoder.rs:1555:42 [INFO] [stderr] | [INFO] [stderr] 1555 | voice_bandwidth_thresholds = stereo_voice_bandwidth_thresholds.as_ptr(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/src/opus_encoder.rs:1556:42 [INFO] [stderr] | [INFO] [stderr] 1556 | music_bandwidth_thresholds = stereo_music_bandwidth_thresholds.as_ptr(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/src/opus_encoder.rs:1558:42 [INFO] [stderr] | [INFO] [stderr] 1558 | voice_bandwidth_thresholds = mono_voice_bandwidth_thresholds.as_ptr(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/src/opus_encoder.rs:1559:42 [INFO] [stderr] | [INFO] [stderr] 1559 | music_bandwidth_thresholds = mono_music_bandwidth_thresholds.as_ptr(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/src/opus_projection_encoder.rs:239:17 [INFO] [stderr] | [INFO] [stderr] 239 | mapping_matrix_foa_mixing_data.as_ptr(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/src/opus_projection_encoder.rs:248:17 [INFO] [stderr] | [INFO] [stderr] 248 | mapping_matrix_soa_mixing_data.as_ptr(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/src/opus_projection_encoder.rs:257:17 [INFO] [stderr] | [INFO] [stderr] 257 | mapping_matrix_toa_mixing_data.as_ptr(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/src/opus_projection_encoder.rs:275:17 [INFO] [stderr] | [INFO] [stderr] 275 | mapping_matrix_foa_demixing_data.as_ptr(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/src/opus_projection_encoder.rs:284:17 [INFO] [stderr] | [INFO] [stderr] 284 | mapping_matrix_soa_demixing_data.as_ptr(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/src/opus_projection_encoder.rs:293:17 [INFO] [stderr] | [INFO] [stderr] 293 | mapping_matrix_toa_demixing_data.as_ptr(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: `unsafe-libopus` (lib) generated 45 warnings (run `cargo fix --lib -p unsafe-libopus` to apply 14 suggestions) [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> tests/opus_padding.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | iseed, [INFO] [stderr] | ^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> tests/opus_encode/main.rs:1267:9 [INFO] [stderr] | [INFO] [stderr] 1267 | iseed, [INFO] [stderr] | ^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> tests/opus_encode/main.rs:76:13 [INFO] [stderr] | [INFO] [stderr] 76 | iseed, [INFO] [stderr] | ^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> tests/opus_encode/opus_encode_regressions.rs:57:40 [INFO] [stderr] | [INFO] [stderr] 57 | err = opus_multistream_encode(enc, pcm.as_ptr(), 320, data.as_mut_ptr(), 2460); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> tests/opus_encode/opus_encode_regressions.rs:87:40 [INFO] [stderr] | [INFO] [stderr] 87 | err = opus_multistream_encode(enc, pcm_0.as_ptr(), 160, data.as_mut_ptr(), 2460); [INFO] [stderr] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> tests/opus_encode/opus_encode_regressions.rs:117:40 [INFO] [stderr] | [INFO] [stderr] 117 | err = opus_multistream_encode(enc, pcm_1.as_ptr(), 160, data.as_mut_ptr(), 2460); [INFO] [stderr] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> tests/opus_encode/opus_encode_regressions.rs:147:40 [INFO] [stderr] | [INFO] [stderr] 147 | err = opus_multistream_encode(enc, pcm_2.as_ptr(), 160, data.as_mut_ptr(), 2460); [INFO] [stderr] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> tests/opus_encode/opus_encode_regressions.rs:171:40 [INFO] [stderr] | [INFO] [stderr] 171 | err = opus_multistream_encode(enc, pcm_3.as_ptr(), 160, data.as_mut_ptr(), 2460); [INFO] [stderr] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> tests/opus_encode/opus_encode_regressions.rs:191:40 [INFO] [stderr] | [INFO] [stderr] 191 | err = opus_multistream_encode(enc, pcm_4.as_ptr(), 40, data.as_mut_ptr(), 2460); [INFO] [stderr] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> tests/opus_encode/opus_encode_regressions.rs:215:62 [INFO] [stderr] | [INFO] [stderr] 215 | enc = opus_multistream_encoder_create(8000, 255, 254, 1, mapping.as_ptr(), 2051, &mut err); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> tests/opus_encode/opus_encode_regressions.rs:402:40 [INFO] [stderr] | [INFO] [stderr] 402 | err = opus_multistream_encode(enc, pcm.as_ptr(), 20, data.as_mut_ptr(), 627300); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> tests/opus_encode/opus_encode_regressions.rs:423:62 [INFO] [stderr] | [INFO] [stderr] 423 | enc = opus_multistream_encoder_create(8000, 192, 189, 3, mapping.as_ptr(), 2051, &mut err); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> tests/opus_encode/opus_encode_regressions.rs:568:40 [INFO] [stderr] | [INFO] [stderr] 568 | err = opus_multistream_encode(enc, pcm.as_ptr(), 20, data.as_mut_ptr(), 472320); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> tests/opus_encode/opus_encode_regressions.rs:838:40 [INFO] [stderr] | [INFO] [stderr] 838 | err = opus_multistream_encode(enc, pcm.as_ptr(), 960, data.as_mut_ptr(), 7380); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> tests/opus_encode/opus_encode_regressions.rs:1051:40 [INFO] [stderr] | [INFO] [stderr] 1051 | err = opus_multistream_encode(enc, pcm_0.as_ptr(), 1440, data.as_mut_ptr(), 7380); [INFO] [stderr] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> tests/opus_encode/opus_encode_regressions.rs:1305:33 [INFO] [stderr] | [INFO] [stderr] 1305 | data_len = opus_encode(enc, pcm1.as_ptr(), 960, data.as_mut_ptr(), 2000); [INFO] [stderr] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> tests/opus_encode/opus_encode_regressions.rs:1312:33 [INFO] [stderr] | [INFO] [stderr] 1312 | data_len = opus_encode(enc, pcm2.as_ptr(), 2880, data.as_mut_ptr(), 122); [INFO] [stderr] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> tests/opus_encode/opus_encode_regressions.rs:1316:33 [INFO] [stderr] | [INFO] [stderr] 1316 | data_len = opus_encode(enc, pcm3.as_ptr(), 2880, data.as_mut_ptr(), 122); [INFO] [stderr] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> tests/opus_encode/opus_encode_regressions.rs:1366:33 [INFO] [stderr] | [INFO] [stderr] 1366 | data_len = opus_encode(enc, pcm.as_ptr(), 960, data.as_mut_ptr(), 2000); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> tests/opus_encode/opus_encode_regressions.rs:1388:33 [INFO] [stderr] | [INFO] [stderr] 1388 | data_len = opus_encode(enc, pcm_0.as_ptr(), 480, data.as_mut_ptr(), 19); [INFO] [stderr] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> tests/opus_encode/opus_encode_regressions.rs:1445:33 [INFO] [stderr] | [INFO] [stderr] 1445 | data_len = opus_encode(enc, pcm1.as_ptr(), 160, data.as_mut_ptr(), 1000); [INFO] [stderr] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> tests/opus_encode/opus_encode_regressions.rs:1451:33 [INFO] [stderr] | [INFO] [stderr] 1451 | data_len = opus_encode(enc, pcm2.as_ptr(), 960, data.as_mut_ptr(), 1000); [INFO] [stderr] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> tests/opus_projection/main.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | iseed, [INFO] [stderr] | ^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> tests/opus_decode.rs:811:9 [INFO] [stderr] | [INFO] [stderr] 811 | iseed, [INFO] [stderr] | ^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> tests/opus_decode.rs:76:13 [INFO] [stderr] | [INFO] [stderr] 76 | iseed, [INFO] [stderr] | ^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: `unsafe-libopus` (test "opus_padding") generated 1 warning [INFO] [stderr] warning: `unsafe-libopus` (test "opus_encode") generated 21 warnings [INFO] [stderr] warning: `unsafe-libopus` (test "opus_projection") generated 1 warning [INFO] [stderr] warning: `unsafe-libopus` (test "opus_decode") generated 2 warnings [INFO] [stderr] warning: `unsafe-libopus` (lib test) generated 45 warnings (45 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/unsafe_libopus-63c4dd1e9457db79) [INFO] [stdout] test celt::cwrs::test::pvq_u_table ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/opus_api.rs (/opt/rustwide/target/debug/deps/opus_api-658bb71119d8480c) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_opus_encode ... ok [INFO] [stderr] Running tests/opus_decode.rs (/opt/rustwide/target/debug/deps/opus_decode-d38a5ffa4475589f) [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 27.45s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_opus_decode has been running for over 60 seconds [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "1f65b2776531f5c93a53a6e224ce0d52a1a3d2e3057e1829c63b4f6f8b77eb15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f65b2776531f5c93a53a6e224ce0d52a1a3d2e3057e1829c63b4f6f8b77eb15", kill_on_drop: false }` [INFO] [stdout] 1f65b2776531f5c93a53a6e224ce0d52a1a3d2e3057e1829c63b4f6f8b77eb15