[INFO] fetching crate unsafe-libopus 0.1.1... [INFO] checking unsafe-libopus-0.1.1 against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125384-2 [INFO] extracting crate unsafe-libopus 0.1.1 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate unsafe-libopus 0.1.1 on toolchain 91c0823ee63e793d990bb9fed898dc95b5d6db51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate unsafe-libopus 0.1.1 [INFO] finished tweaking crates.io crate unsafe-libopus 0.1.1 [INFO] tweaked toml for crates.io crate unsafe-libopus 0.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate crates.io crate unsafe-libopus 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc-stdhandle v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a62adf6f46185bbbb9c66267227cc5d8605da8a41d93060133d4c3afa3f4753 [INFO] running `Command { std: "docker" "start" "-a" "0a62adf6f46185bbbb9c66267227cc5d8605da8a41d93060133d4c3afa3f4753", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a62adf6f46185bbbb9c66267227cc5d8605da8a41d93060133d4c3afa3f4753", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a62adf6f46185bbbb9c66267227cc5d8605da8a41d93060133d4c3afa3f4753", kill_on_drop: false }` [INFO] [stdout] 0a62adf6f46185bbbb9c66267227cc5d8605da8a41d93060133d4c3afa3f4753 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44fb760633ff861dbdbcf5721308b4b2ea3cb0cd7bbe76e3dd577f62345487ef [INFO] running `Command { std: "docker" "start" "-a" "44fb760633ff861dbdbcf5721308b4b2ea3cb0cd7bbe76e3dd577f62345487ef", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking unsafe-libopus v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.85s [INFO] running `Command { std: "docker" "inspect" "44fb760633ff861dbdbcf5721308b4b2ea3cb0cd7bbe76e3dd577f62345487ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44fb760633ff861dbdbcf5721308b4b2ea3cb0cd7bbe76e3dd577f62345487ef", kill_on_drop: false }` [INFO] [stdout] 44fb760633ff861dbdbcf5721308b4b2ea3cb0cd7bbe76e3dd577f62345487ef [INFO] checking unsafe-libopus-0.1.1 against try#519d6e23a6cb73c4d0f295f71ad37db8e95c54ab for pr-125384-2 [INFO] extracting crate unsafe-libopus 0.1.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate unsafe-libopus 0.1.1 on toolchain 519d6e23a6cb73c4d0f295f71ad37db8e95c54ab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate unsafe-libopus 0.1.1 [INFO] finished tweaking crates.io crate unsafe-libopus 0.1.1 [INFO] tweaked toml for crates.io crate unsafe-libopus 0.1.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate unsafe-libopus 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 804c278b6de102f60a97e3865dfe2a1b2e8f9272ef100a21efadeea6814c6c0b [INFO] running `Command { std: "docker" "start" "-a" "804c278b6de102f60a97e3865dfe2a1b2e8f9272ef100a21efadeea6814c6c0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "804c278b6de102f60a97e3865dfe2a1b2e8f9272ef100a21efadeea6814c6c0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "804c278b6de102f60a97e3865dfe2a1b2e8f9272ef100a21efadeea6814c6c0b", kill_on_drop: false }` [INFO] [stdout] 804c278b6de102f60a97e3865dfe2a1b2e8f9272ef100a21efadeea6814c6c0b [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf24fa8171aedef10976489e03755ff2e65e7fc44c9ec79432706796032d2256 [INFO] running `Command { std: "docker" "start" "-a" "bf24fa8171aedef10976489e03755ff2e65e7fc44c9ec79432706796032d2256", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Checking unsafe-libopus v0.1.1 (/tmp/fixit) [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Fixed src/silk/A2NLSF.rs (4 fixes) [INFO] [stderr] Fixed src/celt/celt_decoder.rs (13 fixes) [INFO] [stderr] Fixed src/celt/celt.rs (6 fixes) [INFO] [stderr] Fixed src/src/repacketizer.rs (13 fixes) [INFO] [stderr] Fixed src/silk/float/k2a_FLP.rs (1 fix) [INFO] [stderr] Fixed src/silk/enc_API.rs (4 fixes) [INFO] [stderr] Fixed src/silk/NLSF_decode.rs (2 fixes) [INFO] [stderr] Fixed src/silk/stereo_encode_pred.rs (2 fixes) [INFO] [stderr] Fixed src/silk/float/noise_shape_analysis_FLP.rs (4 fixes) [INFO] [stderr] Fixed src/silk/float/schur_FLP.rs (1 fix) [INFO] [stderr] Fixed src/silk/float/apply_sine_window_FLP.rs (1 fix) [INFO] [stderr] Fixed src/silk/float/scale_vector_FLP.rs (1 fix) [INFO] [stderr] Fixed src/silk/float/find_LPC_FLP.rs (1 fix) [INFO] [stderr] Fixed src/celt/modes.rs (1 fix) [INFO] [stderr] Fixed src/silk/LP_variable_cutoff.rs (2 fixes) [INFO] [stderr] Fixed src/celt/mathops.rs (1 fix) [INFO] [stderr] Fixed src/silk/HP_variable_cutoff.rs (1 fix) [INFO] [stderr] Fixed src/silk/NLSF_stabilize.rs (1 fix) [INFO] [stderr] Fixed src/silk/resampler_private_AR2.rs (1 fix) [INFO] [stderr] Fixed src/silk/sum_sqr_shift.rs (1 fix) [INFO] [stderr] Fixed src/silk/resampler_private_IIR_FIR.rs (2 fixes) [INFO] [stderr] Fixed src/silk/float/inner_product_FLP.rs (1 fix) [INFO] [stderr] Fixed src/silk/float/residual_energy_FLP.rs (1 fix) [INFO] [stderr] Fixed src/celt/cwrs.rs (4 fixes) [INFO] [stderr] Fixed src/src/opus_decoder.rs (17 fixes) [INFO] [stderr] Fixed src/silk/float/wrappers_FLP.rs (5 fixes) [INFO] [stderr] Fixed src/silk/VAD.rs (3 fixes) [INFO] [stderr] Fixed src/celt/quant_bands.rs (9 fixes) [INFO] [stderr] Fixed src/silk/bwexpander.rs (1 fix) [INFO] [stderr] Fixed src/silk/decode_parameters.rs (1 fix) [INFO] [stderr] Fixed src/celt/vq.rs (9 fixes) [INFO] [stderr] Fixed src/src/mapping_matrix.rs (6 fixes) [INFO] [stderr] Fixed src/celt/rate.rs (4 fixes) [INFO] [stderr] Fixed src/silk/float/LPC_analysis_filter_FLP.rs (6 fixes) [INFO] [stderr] Fixed src/silk/LPC_inv_pred_gain.rs (2 fixes) [INFO] [stderr] Fixed src/silk/init_encoder.rs (1 fix) [INFO] [stderr] Fixed src/silk/resampler_down2_3.rs (1 fix) [INFO] [stderr] Fixed src/src/opus_multistream_decoder.rs (13 fixes) [INFO] [stderr] Fixed src/silk/NLSF_unpack.rs (1 fix) [INFO] [stderr] Fixed src/silk/float/corrMatrix_FLP.rs (2 fixes) [INFO] [stderr] Fixed src/silk/interpolate.rs (1 fix) [INFO] [stderr] Fixed src/silk/decode_pitch.rs (1 fix) [INFO] [stderr] Fixed src/silk/NLSF_del_dec_quant.rs (1 fix) [INFO] [stderr] Fixed src/src/opus.rs (6 fixes) [INFO] [stderr] Fixed src/src/analysis.rs (7 fixes) [INFO] [stderr] Fixed src/silk/decode_pulses.rs (1 fix) [INFO] [stderr] Fixed src/silk/init_decoder.rs (1 fix) [INFO] [stderr] Fixed src/silk/float/find_LTP_FLP.rs (1 fix) [INFO] [stderr] Fixed src/celt/entcode.rs (5 fixes) [INFO] [stderr] Fixed src/src/opus_projection_decoder.rs (11 fixes) [INFO] [stderr] Fixed src/silk/NLSF_VQ_weights_laroia.rs (1 fix) [INFO] [stderr] Fixed src/celt/celt_encoder.rs (20 fixes) [INFO] [stderr] Fixed src/silk/NLSF_encode.rs (1 fix) [INFO] [stderr] Fixed src/silk/decoder_set_fs.rs (1 fix) [INFO] [stderr] Fixed src/celt/celt_lpc.rs (4 fixes) [INFO] [stderr] Fixed src/silk/float/autocorrelation_FLP.rs (1 fix) [INFO] [stderr] Fixed src/silk/decode_indices.rs (1 fix) [INFO] [stderr] Fixed src/silk/resampler.rs (2 fixes) [INFO] [stderr] Fixed src/src/mlp.rs (4 fixes) [INFO] [stderr] Fixed src/silk/stereo_decode_pred.rs (2 fixes) [INFO] [stderr] Fixed src/silk/VQ_WMat_EC.rs (1 fix) [INFO] [stderr] Fixed src/silk/stereo_LR_to_MS.rs (1 fix) [INFO] [stderr] Fixed src/silk/check_control_input.rs (1 fix) [INFO] [stderr] Fixed src/src/opus_multistream.rs (4 fixes) [INFO] [stderr] Fixed src/silk/resampler_private_up2_HQ.rs (2 fixes) [INFO] [stderr] Fixed src/silk/float/encode_frame_FLP.rs (4 fixes) [INFO] [stderr] Fixed src/silk/stereo_find_predictor.rs (1 fix) [INFO] [stderr] Fixed src/silk/sort.rs (2 fixes) [INFO] [stderr] Fixed src/silk/float/burg_modified_FLP.rs (1 fix) [INFO] [stderr] Fixed src/silk/float/energy_FLP.rs (1 fix) [INFO] [stderr] Fixed src/silk/NSQ.rs (5 fixes) [INFO] [stderr] Fixed src/silk/LPC_fit.rs (1 fix) [INFO] [stderr] Fixed src/silk/float/process_gains_FLP.rs (1 fix) [INFO] [stderr] Fixed src/silk/NLSF2A.rs (2 fixes) [INFO] [stderr] Fixed src/silk/shell_coder.rs (5 fixes) [INFO] [stderr] Fixed src/silk/control_SNR.rs (1 fix) [INFO] [stderr] Fixed src/silk/quant_LTP_gains.rs (1 fix) [INFO] [stderr] Fixed src/silk/float/warped_autocorrelation_FLP.rs (1 fix) [INFO] [stderr] Fixed src/silk/process_NLSFs.rs (1 fix) [INFO] [stderr] Fixed src/silk/PLC.rs (6 fixes) [INFO] [stderr] Fixed src/celt/bands.rs (21 fixes) [INFO] [stderr] Fixed src/silk/float/scale_copy_vector_FLP.rs (1 fix) [INFO] [stderr] Fixed src/src/opus_encoder.rs (23 fixes) [INFO] [stderr] Fixed src/silk/Inlines.rs (4 fixes) [INFO] [stderr] Fixed src/silk/bwexpander_32.rs (1 fix) [INFO] [stderr] Fixed src/silk/float/find_pitch_lags_FLP.rs (1 fix) [INFO] [stderr] Fixed src/silk/biquad_alt.rs (1 fix) [INFO] [stderr] Fixed src/silk/NSQ_del_dec.rs (4 fixes) [INFO] [stderr] Fixed src/silk/stereo_quant_pred.rs (1 fix) [INFO] [stderr] Fixed src/silk/encode_indices.rs (1 fix) [INFO] [stderr] Fixed src/celt/mdct.rs (2 fixes) [INFO] [stderr] Fixed src/silk/float/pitch_analysis_core_FLP.rs (5 fixes) [INFO] [stderr] Fixed src/silk/control_audio_bandwidth.rs (1 fix) [INFO] [stderr] Fixed src/silk/resampler_private_down_FIR.rs (2 fixes) [INFO] [stderr] Fixed src/celt/pitch.rs (9 fixes) [INFO] [stderr] Fixed src/silk/stereo_MS_to_LR.rs (1 fix) [INFO] [stderr] Fixed src/silk/dec_API.rs (3 fixes) [INFO] [stderr] Fixed src/silk/gain_quant.rs (3 fixes) [INFO] [stderr] Fixed src/silk/CNG.rs (3 fixes) [INFO] [stderr] Fixed src/silk/float/LTP_scale_ctrl_FLP.rs (1 fix) [INFO] [stderr] Fixed src/silk/float/LTP_analysis_filter_FLP.rs (1 fix) [INFO] [stderr] Fixed src/celt/entdec.rs (11 fixes) [INFO] [stderr] Fixed src/src/opus_multistream_encoder.rs (25 fixes) [INFO] [stderr] Fixed src/celt/laplace.rs (2 fixes) [INFO] [stderr] Fixed src/silk/decode_core.rs (1 fix) [INFO] [stderr] Fixed src/silk/LPC_analysis_filter.rs (1 fix) [INFO] [stderr] Fixed src/silk/float/find_pred_coefs_FLP.rs (1 fix) [INFO] [stderr] Fixed src/silk/control_codec.rs (7 fixes) [INFO] [stderr] Fixed src/silk/code_signs.rs (2 fixes) [INFO] [stderr] Fixed src/silk/encode_pulses.rs (2 fixes) [INFO] [stderr] Fixed src/silk/float/sort_FLP.rs (1 fix) [INFO] [stderr] Fixed src/src/opus_projection_encoder.rs (14 fixes) [INFO] [stderr] Fixed src/celt/kiss_fft.rs (6 fixes) [INFO] [stderr] Fixed src/silk/NLSF_VQ.rs (1 fix) [INFO] [stderr] Fixed src/silk/resampler_down2.rs (1 fix) [INFO] [stderr] Fixed src/celt/entenc.rs (14 fixes) [INFO] [stderr] Fixed src/silk/sigm_Q15.rs (1 fix) [INFO] [stderr] Fixed src/silk/ana_filt_bank_1.rs (1 fix) [INFO] [stderr] Fixed src/silk/decode_frame.rs (1 fix) [INFO] [stderr] Fixed src/externs.rs (12 fixes) [INFO] [stderr] Fixed src/silk/lin2log.rs (1 fix) [INFO] [stderr] Fixed src/silk/inner_prod_aligned.rs (1 fix) [INFO] [stderr] Fixed src/silk/float/bwexpander_FLP.rs (1 fix) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7070:29 [INFO] [stdout] | [INFO] [stdout] 7070 | ... &fft_state48000_960_0 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(static_mut_refs)]` [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7070 | addr_of!(fft_state48000_960_0) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7071:29 [INFO] [stdout] | [INFO] [stdout] 7071 | ... &fft_state48000_960_1 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7071 | addr_of!(fft_state48000_960_1) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7072:29 [INFO] [stdout] | [INFO] [stdout] 7072 | ... &fft_state48000_960_2 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7072 | addr_of!(fft_state48000_960_2) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7073:29 [INFO] [stdout] | [INFO] [stdout] 7073 | ... &fft_state48000_960_3 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7073 | addr_of!(fft_state48000_960_3) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7094:19 [INFO] [stdout] | [INFO] [stdout] 7094 | unsafe { [&mode48000_960_120 as *const OpusCustomMode] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7094 | unsafe { [addr_of!(mode48000_960_120) as *const OpusCustomMode] }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/control_codec.rs:298:39 [INFO] [stdout] | [INFO] [stdout] 298 | (*psEnc).sCmn.psNLSF_CB = &silk_NLSF_CB_NB_MB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 298 | (*psEnc).sCmn.psNLSF_CB = addr_of!(silk_NLSF_CB_NB_MB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/control_codec.rs:301:39 [INFO] [stdout] | [INFO] [stdout] 301 | (*psEnc).sCmn.psNLSF_CB = &silk_NLSF_CB_WB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 301 | (*psEnc).sCmn.psNLSF_CB = addr_of!(silk_NLSF_CB_WB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/decoder_set_fs.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | (*psDec).psNLSF_CB = &silk_NLSF_CB_NB_MB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 64 | (*psDec).psNLSF_CB = addr_of!(silk_NLSF_CB_NB_MB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/decoder_set_fs.rs:67:38 [INFO] [stdout] | [INFO] [stdout] 67 | (*psDec).psNLSF_CB = &silk_NLSF_CB_WB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 67 | (*psDec).psNLSF_CB = addr_of!(silk_NLSF_CB_WB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/analysis.rs:1550:19 [INFO] [stdout] | [INFO] [stdout] 1550 | compute_dense(&layer0, layer_out.as_mut_ptr(), features.as_mut_ptr()); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1550 | compute_dense(addr_of!(layer0), layer_out.as_mut_ptr(), features.as_mut_ptr()); [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/analysis.rs:1552:9 [INFO] [stdout] | [INFO] [stdout] 1552 | &layer1, [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1552 | addr_of!(layer1), [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/analysis.rs:1557:9 [INFO] [stdout] | [INFO] [stdout] 1557 | &layer2, [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1557 | addr_of!(layer2), [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7070:29 [INFO] [stdout] | [INFO] [stdout] 7070 | ... &fft_state48000_960_0 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(static_mut_refs)]` [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7070 | addr_of!(fft_state48000_960_0) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7071:29 [INFO] [stdout] | [INFO] [stdout] 7071 | ... &fft_state48000_960_1 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7071 | addr_of!(fft_state48000_960_1) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7072:29 [INFO] [stdout] | [INFO] [stdout] 7072 | ... &fft_state48000_960_2 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7072 | addr_of!(fft_state48000_960_2) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7073:29 [INFO] [stdout] | [INFO] [stdout] 7073 | ... &fft_state48000_960_3 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7073 | addr_of!(fft_state48000_960_3) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/celt/modes.rs:7094:19 [INFO] [stdout] | [INFO] [stdout] 7094 | unsafe { [&mode48000_960_120 as *const OpusCustomMode] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7094 | unsafe { [addr_of!(mode48000_960_120) as *const OpusCustomMode] }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/control_codec.rs:298:39 [INFO] [stdout] | [INFO] [stdout] 298 | (*psEnc).sCmn.psNLSF_CB = &silk_NLSF_CB_NB_MB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 298 | (*psEnc).sCmn.psNLSF_CB = addr_of!(silk_NLSF_CB_NB_MB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/control_codec.rs:301:39 [INFO] [stdout] | [INFO] [stdout] 301 | (*psEnc).sCmn.psNLSF_CB = &silk_NLSF_CB_WB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 301 | (*psEnc).sCmn.psNLSF_CB = addr_of!(silk_NLSF_CB_WB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/decoder_set_fs.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | (*psDec).psNLSF_CB = &silk_NLSF_CB_NB_MB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 64 | (*psDec).psNLSF_CB = addr_of!(silk_NLSF_CB_NB_MB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/silk/decoder_set_fs.rs:67:38 [INFO] [stdout] | [INFO] [stdout] 67 | (*psDec).psNLSF_CB = &silk_NLSF_CB_WB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 67 | (*psDec).psNLSF_CB = addr_of!(silk_NLSF_CB_WB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/analysis.rs:1550:19 [INFO] [stdout] | [INFO] [stdout] 1550 | compute_dense(&layer0, layer_out.as_mut_ptr(), features.as_mut_ptr()); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1550 | compute_dense(addr_of!(layer0), layer_out.as_mut_ptr(), features.as_mut_ptr()); [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/analysis.rs:1552:9 [INFO] [stdout] | [INFO] [stdout] 1552 | &layer1, [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1552 | addr_of!(layer1), [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/src/analysis.rs:1557:9 [INFO] [stdout] | [INFO] [stdout] 1557 | &layer2, [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1557 | addr_of!(layer2), [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/repacketizer_demo.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/bin/repacketizer_demo.rs (1 fix) [INFO] [stderr] Migrating src/bin/run_vectors.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/opus_demo.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/bin/opus_demo.rs (1 fix) [INFO] [stderr] Migrating src/bin/opus_compare.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/bin/opus_compare.rs (3 fixes) [INFO] [stderr] Migrating tests/opus_projection/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/opus_projection/simple_matrix.rs (1 fix) [INFO] [stderr] Fixed tests/opus_projection/main.rs (8 fixes) [INFO] [stderr] Migrating tests/opus_padding.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/opus_padding.rs (3 fixes) [INFO] [stderr] Migrating tests/opus_decode.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/opus_decode.rs (7 fixes) [INFO] [stderr] Migrating tests/opus_encode/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/opus_encode/opus_encode_regressions.rs (8 fixes) [INFO] [stderr] Migrating tests/opus_api.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/opus_encode/main.rs (10 fixes) [INFO] [stderr] Fixed tests/opus_api.rs (7 fixes) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.68s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking unsafe-libopus v0.1.1 (/tmp/fixit) [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/celt/modes.rs:7070:29 [INFO] [stdout] | [INFO] [stdout] 7070 | ... &fft_state48000_960_0 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7070 | addr_of!(fft_state48000_960_0) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/celt/modes.rs:7071:29 [INFO] [stdout] | [INFO] [stdout] 7071 | ... &fft_state48000_960_1 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7071 | addr_of!(fft_state48000_960_1) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/celt/modes.rs:7072:29 [INFO] [stdout] | [INFO] [stdout] 7072 | ... &fft_state48000_960_2 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7072 | addr_of!(fft_state48000_960_2) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/celt/modes.rs:7073:29 [INFO] [stdout] | [INFO] [stdout] 7073 | ... &fft_state48000_960_3 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7073 | addr_of!(fft_state48000_960_3) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/celt/modes.rs:7094:19 [INFO] [stdout] | [INFO] [stdout] 7094 | unsafe { [&mode48000_960_120 as *const OpusCustomMode] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7094 | unsafe { [addr_of!(mode48000_960_120) as *const OpusCustomMode] }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/celt/modes.rs:7070:29 [INFO] [stdout] | [INFO] [stdout] 7070 | ... &fft_state48000_960_0 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7070 | addr_of!(fft_state48000_960_0) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/celt/modes.rs:7071:29 [INFO] [stdout] | [INFO] [stdout] 7071 | ... &fft_state48000_960_1 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7071 | addr_of!(fft_state48000_960_1) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/celt/modes.rs:7072:29 [INFO] [stdout] | [INFO] [stdout] 7072 | ... &fft_state48000_960_2 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7072 | addr_of!(fft_state48000_960_2) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/celt/modes.rs:7073:29 [INFO] [stdout] | [INFO] [stdout] 7073 | ... &fft_state48000_960_3 as *const kiss_fft_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7073 | addr_of!(fft_state48000_960_3) as *const kiss_fft_state, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/celt/modes.rs:7094:19 [INFO] [stdout] | [INFO] [stdout] 7094 | unsafe { [&mode48000_960_120 as *const OpusCustomMode] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 7094 | unsafe { [addr_of!(mode48000_960_120) as *const OpusCustomMode] }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/silk/control_codec.rs:298:39 [INFO] [stdout] | [INFO] [stdout] 298 | (*psEnc).sCmn.psNLSF_CB = &silk_NLSF_CB_NB_MB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 298 | (*psEnc).sCmn.psNLSF_CB = addr_of!(silk_NLSF_CB_NB_MB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/silk/control_codec.rs:301:39 [INFO] [stdout] | [INFO] [stdout] 301 | (*psEnc).sCmn.psNLSF_CB = &silk_NLSF_CB_WB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 301 | (*psEnc).sCmn.psNLSF_CB = addr_of!(silk_NLSF_CB_WB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/silk/decoder_set_fs.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | (*psDec).psNLSF_CB = &silk_NLSF_CB_NB_MB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 64 | (*psDec).psNLSF_CB = addr_of!(silk_NLSF_CB_NB_MB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/silk/decoder_set_fs.rs:67:38 [INFO] [stdout] | [INFO] [stdout] 67 | (*psDec).psNLSF_CB = &silk_NLSF_CB_WB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 67 | (*psDec).psNLSF_CB = addr_of!(silk_NLSF_CB_WB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/src/analysis.rs:1550:19 [INFO] [stdout] | [INFO] [stdout] 1550 | compute_dense(&layer0, layer_out.as_mut_ptr(), features.as_mut_ptr()); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1550 | compute_dense(addr_of!(layer0), layer_out.as_mut_ptr(), features.as_mut_ptr()); [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/src/analysis.rs:1552:9 [INFO] [stdout] | [INFO] [stdout] 1552 | &layer1, [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1552 | addr_of!(layer1), [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/src/analysis.rs:1557:9 [INFO] [stdout] | [INFO] [stdout] 1557 | &layer2, [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1557 | addr_of!(layer2), [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/silk/control_codec.rs:298:39 [INFO] [stdout] | [INFO] [stdout] 298 | (*psEnc).sCmn.psNLSF_CB = &silk_NLSF_CB_NB_MB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 298 | (*psEnc).sCmn.psNLSF_CB = addr_of!(silk_NLSF_CB_NB_MB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/silk/control_codec.rs:301:39 [INFO] [stdout] | [INFO] [stdout] 301 | (*psEnc).sCmn.psNLSF_CB = &silk_NLSF_CB_WB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 301 | (*psEnc).sCmn.psNLSF_CB = addr_of!(silk_NLSF_CB_WB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/silk/decoder_set_fs.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | (*psDec).psNLSF_CB = &silk_NLSF_CB_NB_MB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 64 | (*psDec).psNLSF_CB = addr_of!(silk_NLSF_CB_NB_MB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/silk/decoder_set_fs.rs:67:38 [INFO] [stdout] | [INFO] [stdout] 67 | (*psDec).psNLSF_CB = &silk_NLSF_CB_WB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 67 | (*psDec).psNLSF_CB = addr_of!(silk_NLSF_CB_WB); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/src/analysis.rs:1550:19 [INFO] [stdout] | [INFO] [stdout] 1550 | compute_dense(&layer0, layer_out.as_mut_ptr(), features.as_mut_ptr()); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1550 | compute_dense(addr_of!(layer0), layer_out.as_mut_ptr(), features.as_mut_ptr()); [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/src/analysis.rs:1552:9 [INFO] [stdout] | [INFO] [stdout] 1552 | &layer1, [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1552 | addr_of!(layer1), [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/src/analysis.rs:1557:9 [INFO] [stdout] | [INFO] [stdout] 1557 | &layer2, [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1557 | addr_of!(layer2), [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0796`. [INFO] [stdout] [INFO] [stderr] error: could not compile `unsafe-libopus` (lib test) due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0796`. [INFO] [stdout] [INFO] [stderr] error: could not compile `unsafe-libopus` (lib) due to 13 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "bf24fa8171aedef10976489e03755ff2e65e7fc44c9ec79432706796032d2256", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf24fa8171aedef10976489e03755ff2e65e7fc44c9ec79432706796032d2256", kill_on_drop: false }` [INFO] [stdout] bf24fa8171aedef10976489e03755ff2e65e7fc44c9ec79432706796032d2256