[INFO] cloning repository https://github.com/jchv/fliteplay [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jchv/fliteplay" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjchv%2Ffliteplay", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjchv%2Ffliteplay'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 95ad675dc41b9a2ae87e822cefb923cabd80aa74 [INFO] testing jchv/fliteplay against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjchv%2Ffliteplay" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jchv/fliteplay [INFO] finished tweaking git repo https://github.com/jchv/fliteplay [INFO] tweaked toml for git repo https://github.com/jchv/fliteplay written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jchv/fliteplay on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jchv/fliteplay 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9dccf821787eb3c0bd0164f62de4ecc8bdf298ea2d3ac76a7dc7f29c2de0809d [INFO] running `Command { std: "docker" "start" "-a" "9dccf821787eb3c0bd0164f62de4ecc8bdf298ea2d3ac76a7dc7f29c2de0809d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9dccf821787eb3c0bd0164f62de4ecc8bdf298ea2d3ac76a7dc7f29c2de0809d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dccf821787eb3c0bd0164f62de4ecc8bdf298ea2d3ac76a7dc7f29c2de0809d", kill_on_drop: false }` [INFO] [stdout] 9dccf821787eb3c0bd0164f62de4ecc8bdf298ea2d3ac76a7dc7f29c2de0809d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0bb85742a20ac6ca3a4e41a13d60471215cbb2e41947c02f7452a4a9a0bb044 [INFO] running `Command { std: "docker" "start" "-a" "b0bb85742a20ac6ca3a4e41a13d60471215cbb2e41947c02f7452a4a9a0bb044", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling byte-slice-cast v1.0.0 [INFO] [stderr] Compiling redoxsynth v0.1.0 (/opt/rustwide/workdir/redoxsynth) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/dsp_float.rs:54:48 [INFO] [stdout] | [INFO] [stdout] 54 | pub unsafe fn fluid_dsp_float_interpolate_none(mut voice: *mut Voice) -> i32 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/dsp_float.rs:107:50 [INFO] [stdout] | [INFO] [stdout] 107 | pub unsafe fn fluid_dsp_float_interpolate_linear(mut voice: *mut Voice) -> i32 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/dsp_float.rs:193:53 [INFO] [stdout] | [INFO] [stdout] 193 | pub unsafe fn fluid_dsp_float_interpolate_4th_order(mut voice: *mut Voice) -> i32 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/dsp_float.rs:346:53 [INFO] [stdout] | [INFO] [stdout] 346 | pub unsafe fn fluid_dsp_float_interpolate_7th_order(mut voice: *mut Voice) -> i32 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:360:17 [INFO] [stdout] | [INFO] [stdout] 360 | let mut preset: *mut Preset; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:404:5 [INFO] [stdout] | [INFO] [stdout] 404 | mut preset: *mut Preset, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:465:37 [INFO] [stdout] | [INFO] [stdout] 465 | pub unsafe fn delete_fluid_defsfont(mut sfont: *mut DefaultSoundFont) -> i32 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:494:5 [INFO] [stdout] | [INFO] [stdout] 494 | mut sfont: *mut DefaultSoundFont, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:555:5 [INFO] [stdout] | [INFO] [stdout] 555 | mut sfont: *mut DefaultSoundFont, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:556:5 [INFO] [stdout] | [INFO] [stdout] 556 | mut preset: *mut DefaultPreset, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:589:5 [INFO] [stdout] | [INFO] [stdout] 589 | mut sfont: *mut DefaultSoundFont, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:673:46 [INFO] [stdout] | [INFO] [stdout] 673 | pub unsafe fn fluid_defsfont_iteration_start(mut sfont: *mut DefaultSoundFont) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:678:5 [INFO] [stdout] | [INFO] [stdout] 678 | mut sfont: *mut DefaultSoundFont, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:679:5 [INFO] [stdout] | [INFO] [stdout] 679 | mut preset: *mut Preset, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:690:9 [INFO] [stdout] | [INFO] [stdout] 690 | let mut preset: *mut DefaultPreset = [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:706:38 [INFO] [stdout] | [INFO] [stdout] 706 | pub unsafe fn delete_fluid_defpreset(mut preset: *mut DefaultPreset) -> i32 { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:927:5 [INFO] [stdout] | [INFO] [stdout] 927 | mut preset: *mut DefaultPreset, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:935:5 [INFO] [stdout] | [INFO] [stdout] 935 | mut preset: *mut DefaultPreset, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:992:5 [INFO] [stdout] | [INFO] [stdout] 992 | mut preset: *mut DefaultPreset, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:993:5 [INFO] [stdout] | [INFO] [stdout] 993 | mut zone: *mut PresetZone, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:1018:9 [INFO] [stdout] | [INFO] [stdout] 1018 | let mut zone: *mut PresetZone; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:1054:5 [INFO] [stdout] | [INFO] [stdout] 1054 | mut zone: *mut PresetZone, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:1094:13 [INFO] [stdout] | [INFO] [stdout] 1094 | let mut mod_dest: *mut Mod = Mod::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:1191:9 [INFO] [stdout] | [INFO] [stdout] 1191 | let mut inst: *mut Instrument = [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:1203:33 [INFO] [stdout] | [INFO] [stdout] 1203 | pub unsafe fn delete_fluid_inst(mut inst: *mut Instrument) -> i32 { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:1225:5 [INFO] [stdout] | [INFO] [stdout] 1225 | mut inst: *mut Instrument, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:1278:35 [INFO] [stdout] | [INFO] [stdout] 1278 | pub unsafe fn fluid_inst_add_zone(mut inst: *mut Instrument, mut zone: *mut InstrumentZone) -> i32 { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:1278:62 [INFO] [stdout] | [INFO] [stdout] 1278 | pub unsafe fn fluid_inst_add_zone(mut inst: *mut Instrument, mut zone: *mut InstrumentZone) -> i32 { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:1298:9 [INFO] [stdout] | [INFO] [stdout] 1298 | let mut zone: *mut InstrumentZone; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:1336:5 [INFO] [stdout] | [INFO] [stdout] 1336 | mut zone: *mut InstrumentZone, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:1370:13 [INFO] [stdout] | [INFO] [stdout] 1370 | let mut mod_dest: *mut Mod; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:1467:9 [INFO] [stdout] | [INFO] [stdout] 1467 | let mut sample: *mut Sample; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:1492:5 [INFO] [stdout] | [INFO] [stdout] 1492 | mut sample: *mut Sample, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:1554:9 [INFO] [stdout] | [INFO] [stdout] 1554 | let mut sf: *mut SFData; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:1675:26 [INFO] [stdout] | [INFO] [stdout] 1675 | unsafe fn read_listchunk(mut chunk: *mut SFChunk, fd: &mut dyn File) -> i32 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:1766:39 [INFO] [stdout] | [INFO] [stdout] 1766 | unsafe fn process_sdta(mut size: i32, mut sf: *mut SFData, fd: &mut dyn File) -> i32 { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/voice.rs:289:35 [INFO] [stdout] | [INFO] [stdout] 289 | pub unsafe fn fluid_voice_gen_set(mut voice: *mut Voice, i: i32, val: f32) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/voice.rs:294:36 [INFO] [stdout] | [INFO] [stdout] 294 | pub unsafe fn fluid_voice_gen_incr(mut voice: *mut Voice, i: i32, val: f32) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/voice.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 300 | mut voice: *mut Voice, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/voice.rs:519:5 [INFO] [stdout] | [INFO] [stdout] 519 | mut voice: *mut Voice, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/voice.rs:632:33 [INFO] [stdout] | [INFO] [stdout] 632 | pub unsafe fn fluid_voice_start(mut voice: *mut Voice) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/voice.rs:638:66 [INFO] [stdout] | [INFO] [stdout] 638 | pub unsafe fn fluid_voice_calculate_runtime_synthesis_parameters(mut voice: *mut Voice) -> i32 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/voice.rs:685:13 [INFO] [stdout] | [INFO] [stdout] 685 | let mut dest_gen: *mut Gen = [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/voice.rs:746:40 [INFO] [stdout] | [INFO] [stdout] 746 | pub unsafe fn fluid_voice_update_param(mut voice: *mut Voice, gen: i32) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/voice.rs:1349:36 [INFO] [stdout] | [INFO] [stdout] 1349 | pub unsafe fn fluid_voice_modulate(mut voice: *mut Voice, cc: i32, ctrl: i32) -> i32 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/voice.rs:1394:40 [INFO] [stdout] | [INFO] [stdout] 1394 | pub unsafe fn fluid_voice_modulate_all(mut voice: *mut Voice) -> i32 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/voice.rs:1425:35 [INFO] [stdout] | [INFO] [stdout] 1425 | pub unsafe fn fluid_voice_noteoff(mut voice: *mut Voice, synth: &Synth) -> i32 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/voice.rs:1465:37 [INFO] [stdout] | [INFO] [stdout] 1465 | pub unsafe fn fluid_voice_kill_excl(mut voice: *mut Voice) -> i32 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/voice.rs:1485:31 [INFO] [stdout] | [INFO] [stdout] 1485 | pub unsafe fn fluid_voice_off(mut voice: *mut Voice) -> i32 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/voice.rs:1499:35 [INFO] [stdout] | [INFO] [stdout] 1499 | pub unsafe fn fluid_voice_add_mod(mut voice: *mut Voice, mod_0: &Mod, mode: i32) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/voice.rs:1596:47 [INFO] [stdout] | [INFO] [stdout] 1596 | pub unsafe fn fluid_voice_check_sample_sanity(mut voice: *mut Voice) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/voice.rs:1684:5 [INFO] [stdout] | [INFO] [stdout] 1684 | mut voice: *mut Voice, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/voice.rs:1699:36 [INFO] [stdout] | [INFO] [stdout] 1699 | pub unsafe fn fluid_voice_set_gain(mut voice: *mut Voice, mut gain: f32) -> i32 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> redoxsynth/src/engine/voice.rs:1711:43 [INFO] [stdout] | [INFO] [stdout] 1711 | pub unsafe fn fluid_voice_optimize_sample(mut s: *mut Sample) -> i32 { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `num`, `init`, `min`, and `max` are never read [INFO] [stdout] --> redoxsynth/src/engine/gen.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct GenInfo { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 154 | pub num: i8, [INFO] [stdout] | ^^^ [INFO] [stdout] 155 | pub init: i8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 156 | pub nrpn_scale: i8, [INFO] [stdout] 157 | pub min: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] 158 | pub max: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GenInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReverbModelPreset` is never constructed [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct ReverbModelPreset { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> redoxsynth/src/engine/modulator.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | Box::from_raw(self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 57 | let _ = Box::from_raw(self); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:537:12 [INFO] [stdout] | [INFO] [stdout] 537 | if PRESET_CALLBACK.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it'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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:2221:25 [INFO] [stdout] | [INFO] [stdout] 2221 | (**z).gen[p3] = g; [INFO] [stdout] | ^^--^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut SFZone` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Vec<*mut SFGen>` [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:2221:25 [INFO] [stdout] | [INFO] [stdout] 2221 | (**z).gen[p3] = g; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 2221 | (&mut (**z).gen)[p3] = g; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:2224:29 [INFO] [stdout] | [INFO] [stdout] 2224 | g = (**z).gen[dup.unwrap()]; [INFO] [stdout] | ^^--^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut SFZone` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut SFGen>` [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:2224:29 [INFO] [stdout] | [INFO] [stdout] 2224 | g = (**z).gen[dup.unwrap()]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 2224 | g = (&(**z).gen)[dup.unwrap()]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:2246:21 [INFO] [stdout] | [INFO] [stdout] 2246 | (**preset).zone[hz] = *z; [INFO] [stdout] | ^^-------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut SFPreset` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Vec<*mut SFZone>` [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:2246:21 [INFO] [stdout] | [INFO] [stdout] 2246 | (**preset).zone[hz] = *z; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 2246 | (&mut (**preset).zone)[hz] = *z; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:2560:25 [INFO] [stdout] | [INFO] [stdout] 2560 | (**z).gen[p3] = g; [INFO] [stdout] | ^^--^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut SFZone` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Vec<*mut SFGen>` [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:2560:25 [INFO] [stdout] | [INFO] [stdout] 2560 | (**z).gen[p3] = g; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 2560 | (&mut (**z).gen)[p3] = g; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:2563:29 [INFO] [stdout] | [INFO] [stdout] 2563 | g = (**z).gen[dup.unwrap()]; [INFO] [stdout] | ^^--^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut SFZone` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut SFGen>` [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:2563:29 [INFO] [stdout] | [INFO] [stdout] 2563 | g = (**z).gen[dup.unwrap()]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 2563 | g = (&(**z).gen)[dup.unwrap()]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:2594:21 [INFO] [stdout] | [INFO] [stdout] 2594 | (**inst).zone[hz] = *z; [INFO] [stdout] | ^^-----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut SFInst` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Vec<*mut SFZone>` [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:2594:21 [INFO] [stdout] | [INFO] [stdout] 2594 | (**inst).zone[hz] = *z; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 2594 | (&mut (**inst).zone)[hz] = *z; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:2606:33 [INFO] [stdout] | [INFO] [stdout] 2606 | sfont_free_zone((**inst).zone[hz]); [INFO] [stdout] | ^^-----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut SFInst` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<*mut SFZone>` [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:2606:33 [INFO] [stdout] | [INFO] [stdout] 2606 | sfont_free_zone((**inst).zone[hz]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 2606 | sfont_free_zone((&(**inst).zone)[hz]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:2607:17 [INFO] [stdout] | [INFO] [stdout] 2607 | (**inst).zone[hz] = 0 as _; [INFO] [stdout] | ^^-----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut SFInst` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Vec<*mut SFZone>` [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:2607:17 [INFO] [stdout] | [INFO] [stdout] 2607 | (**inst).zone[hz] = 0 as _; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 2607 | (&mut (**inst).zone)[hz] = 0 as _; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:2697:22 [INFO] [stdout] | [INFO] [stdout] 2697 | p3 = (*sf).inst.get(i as usize - 1); [INFO] [stdout] | ^^--^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut SFData` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[*mut SFInst]` [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:2697:22 [INFO] [stdout] | [INFO] [stdout] 2697 | p3 = (*sf).inst.get(i as usize - 1); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: method calls to `get` require a reference [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/slice/mod.rs:570:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 2697 | p3 = (&(*sf).inst).get(i as usize - 1); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:2721:22 [INFO] [stdout] | [INFO] [stdout] 2721 | p3 = (*sf).sample.get(i as usize - 1); [INFO] [stdout] | ^^--^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut SFData` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[*mut SFSample]` [INFO] [stdout] --> redoxsynth/src/engine/sfloader.rs:2721:22 [INFO] [stdout] | [INFO] [stdout] 2721 | p3 = (*sf).sample.get(i as usize - 1); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `get` require a reference [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/slice/mod.rs:570:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 2721 | p3 = (&(*sf).sample).get(i as usize - 1); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:1334:36 [INFO] [stdout] | [INFO] [stdout] 1334 | fluid_voice_add_mod(voice, &mut DEFAULT_VEL2ATT_MOD, FLUID_VOICE_DEFAULT as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1334 | fluid_voice_add_mod(voice, &raw mut DEFAULT_VEL2ATT_MOD, FLUID_VOICE_DEFAULT as i32); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:1337:13 [INFO] [stdout] | [INFO] [stdout] 1337 | &mut DEFAULT_VEL2FILTER_MOD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1337 | &raw mut DEFAULT_VEL2FILTER_MOD, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:1342:13 [INFO] [stdout] | [INFO] [stdout] 1342 | &mut DEFAULT_AT2VIBLFO_MOD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1342 | &raw mut DEFAULT_AT2VIBLFO_MOD, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:1347:13 [INFO] [stdout] | [INFO] [stdout] 1347 | &mut DEFAULT_MOD2VIBLFO_MOD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1347 | &raw mut DEFAULT_MOD2VIBLFO_MOD, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:1350:36 [INFO] [stdout] | [INFO] [stdout] 1350 | fluid_voice_add_mod(voice, &mut DEFAULT_ATT_MOD, FLUID_VOICE_DEFAULT as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1350 | fluid_voice_add_mod(voice, &raw mut DEFAULT_ATT_MOD, FLUID_VOICE_DEFAULT as i32); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:1351:36 [INFO] [stdout] | [INFO] [stdout] 1351 | fluid_voice_add_mod(voice, &mut DEFAULT_PAN_MOD, FLUID_VOICE_DEFAULT as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1351 | fluid_voice_add_mod(voice, &raw mut DEFAULT_PAN_MOD, FLUID_VOICE_DEFAULT as i32); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:1352:36 [INFO] [stdout] | [INFO] [stdout] 1352 | fluid_voice_add_mod(voice, &mut DEFAULT_EXPR_MOD, FLUID_VOICE_DEFAULT as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1352 | fluid_voice_add_mod(voice, &raw mut DEFAULT_EXPR_MOD, FLUID_VOICE_DEFAULT as i32); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:1353:36 [INFO] [stdout] | [INFO] [stdout] 1353 | fluid_voice_add_mod(voice, &mut DEFAULT_REVERB_MOD, FLUID_VOICE_DEFAULT as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1353 | fluid_voice_add_mod(voice, &raw mut DEFAULT_REVERB_MOD, FLUID_VOICE_DEFAULT as i32); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:1354:36 [INFO] [stdout] | [INFO] [stdout] 1354 | fluid_voice_add_mod(voice, &mut DEFAULT_CHORUS_MOD, FLUID_VOICE_DEFAULT as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1354 | fluid_voice_add_mod(voice, &raw mut DEFAULT_CHORUS_MOD, FLUID_VOICE_DEFAULT as i32); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:1357:13 [INFO] [stdout] | [INFO] [stdout] 1357 | &mut DEFAULT_PITCH_BEND_MOD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1357 | &raw mut DEFAULT_PITCH_BEND_MOD, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2072:9 [INFO] [stdout] | [INFO] [stdout] 2072 | / DEFAULT_VEL2ATT_MOD.set_source1( [INFO] [stdout] 2073 | | FLUID_MOD_VELOCITY as i32, [INFO] [stdout] 2074 | | FLUID_MOD_GC as i32 [INFO] [stdout] 2075 | | | FLUID_MOD_CONCAVE as i32 [INFO] [stdout] 2076 | | | FLUID_MOD_UNIPOLAR as i32 [INFO] [stdout] 2077 | | | FLUID_MOD_NEGATIVE as i32, [INFO] [stdout] 2078 | | ); [INFO] [stdout] | |_________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2079:9 [INFO] [stdout] | [INFO] [stdout] 2079 | DEFAULT_VEL2ATT_MOD.set_source2(0 as i32, 0 as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2080:9 [INFO] [stdout] | [INFO] [stdout] 2080 | DEFAULT_VEL2ATT_MOD.set_dest(GEN_ATTENUATION as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2081:9 [INFO] [stdout] | [INFO] [stdout] 2081 | DEFAULT_VEL2ATT_MOD.set_amount(960.0f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2082:9 [INFO] [stdout] | [INFO] [stdout] 2082 | / DEFAULT_VEL2FILTER_MOD.set_source1( [INFO] [stdout] 2083 | | FLUID_MOD_VELOCITY as i32, [INFO] [stdout] 2084 | | FLUID_MOD_GC as i32 [INFO] [stdout] 2085 | | | FLUID_MOD_LINEAR as i32 [INFO] [stdout] 2086 | | | FLUID_MOD_UNIPOLAR as i32 [INFO] [stdout] 2087 | | | FLUID_MOD_NEGATIVE as i32, [INFO] [stdout] 2088 | | ); [INFO] [stdout] | |_________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2089:9 [INFO] [stdout] | [INFO] [stdout] 2089 | / DEFAULT_VEL2FILTER_MOD.set_source2( [INFO] [stdout] 2090 | | FLUID_MOD_VELOCITY as i32, [INFO] [stdout] 2091 | | FLUID_MOD_GC as i32 [INFO] [stdout] 2092 | | | FLUID_MOD_SWITCH as i32 [INFO] [stdout] 2093 | | | FLUID_MOD_UNIPOLAR as i32 [INFO] [stdout] 2094 | | | FLUID_MOD_POSITIVE as i32, [INFO] [stdout] 2095 | | ); [INFO] [stdout] | |_________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2096:9 [INFO] [stdout] | [INFO] [stdout] 2096 | DEFAULT_VEL2FILTER_MOD.set_dest(GEN_FILTERFC as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2097:9 [INFO] [stdout] | [INFO] [stdout] 2097 | DEFAULT_VEL2FILTER_MOD.set_amount(-(2400 as i32) as f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2098:9 [INFO] [stdout] | [INFO] [stdout] 2098 | / DEFAULT_AT2VIBLFO_MOD.set_source1( [INFO] [stdout] 2099 | | FLUID_MOD_CHANNELPRESSURE as i32, [INFO] [stdout] 2100 | | FLUID_MOD_GC as i32 [INFO] [stdout] 2101 | | | FLUID_MOD_LINEAR as i32 [INFO] [stdout] 2102 | | | FLUID_MOD_UNIPOLAR as i32 [INFO] [stdout] 2103 | | | FLUID_MOD_POSITIVE as i32, [INFO] [stdout] 2104 | | ); [INFO] [stdout] | |_________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2105:9 [INFO] [stdout] | [INFO] [stdout] 2105 | DEFAULT_AT2VIBLFO_MOD.set_source2(0 as i32, 0 as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2106:9 [INFO] [stdout] | [INFO] [stdout] 2106 | DEFAULT_AT2VIBLFO_MOD.set_dest(GEN_VIBLFOTOPITCH as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2107:9 [INFO] [stdout] | [INFO] [stdout] 2107 | DEFAULT_AT2VIBLFO_MOD.set_amount(50 as i32 as f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2108:9 [INFO] [stdout] | [INFO] [stdout] 2108 | / DEFAULT_MOD2VIBLFO_MOD.set_source1( [INFO] [stdout] 2109 | | 1 as i32, [INFO] [stdout] 2110 | | FLUID_MOD_CC as i32 [INFO] [stdout] 2111 | | | FLUID_MOD_LINEAR as i32 [INFO] [stdout] 2112 | | | FLUID_MOD_UNIPOLAR as i32 [INFO] [stdout] 2113 | | | FLUID_MOD_POSITIVE as i32, [INFO] [stdout] 2114 | | ); [INFO] [stdout] | |_________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2115:9 [INFO] [stdout] | [INFO] [stdout] 2115 | DEFAULT_MOD2VIBLFO_MOD.set_source2(0 as i32, 0 as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2116:9 [INFO] [stdout] | [INFO] [stdout] 2116 | DEFAULT_MOD2VIBLFO_MOD.set_dest(GEN_VIBLFOTOPITCH as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2117:9 [INFO] [stdout] | [INFO] [stdout] 2117 | DEFAULT_MOD2VIBLFO_MOD.set_amount(50 as i32 as f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2118:9 [INFO] [stdout] | [INFO] [stdout] 2118 | / DEFAULT_ATT_MOD.set_source1( [INFO] [stdout] 2119 | | 7 as i32, [INFO] [stdout] 2120 | | FLUID_MOD_CC as i32 [INFO] [stdout] 2121 | | | FLUID_MOD_CONCAVE as i32 [INFO] [stdout] 2122 | | | FLUID_MOD_UNIPOLAR as i32 [INFO] [stdout] 2123 | | | FLUID_MOD_NEGATIVE as i32, [INFO] [stdout] 2124 | | ); [INFO] [stdout] | |_________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2125:9 [INFO] [stdout] | [INFO] [stdout] 2125 | DEFAULT_ATT_MOD.set_source2(0 as i32, 0 as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2126:9 [INFO] [stdout] | [INFO] [stdout] 2126 | DEFAULT_ATT_MOD.set_dest(GEN_ATTENUATION as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2127:9 [INFO] [stdout] | [INFO] [stdout] 2127 | DEFAULT_ATT_MOD.set_amount(960.0f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2128:9 [INFO] [stdout] | [INFO] [stdout] 2128 | / DEFAULT_PAN_MOD.set_source1( [INFO] [stdout] 2129 | | 10 as i32, [INFO] [stdout] 2130 | | FLUID_MOD_CC as i32 [INFO] [stdout] 2131 | | | FLUID_MOD_LINEAR as i32 [INFO] [stdout] 2132 | | | FLUID_MOD_BIPOLAR as i32 [INFO] [stdout] 2133 | | | FLUID_MOD_POSITIVE as i32, [INFO] [stdout] 2134 | | ); [INFO] [stdout] | |_________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2135:9 [INFO] [stdout] | [INFO] [stdout] 2135 | DEFAULT_PAN_MOD.set_source2(0 as i32, 0 as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2136:9 [INFO] [stdout] | [INFO] [stdout] 2136 | DEFAULT_PAN_MOD.set_dest(GEN_PAN as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2137:9 [INFO] [stdout] | [INFO] [stdout] 2137 | DEFAULT_PAN_MOD.set_amount(500.0f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2138:9 [INFO] [stdout] | [INFO] [stdout] 2138 | / DEFAULT_EXPR_MOD.set_source1( [INFO] [stdout] 2139 | | 11 as i32, [INFO] [stdout] 2140 | | FLUID_MOD_CC as i32 [INFO] [stdout] 2141 | | | FLUID_MOD_CONCAVE as i32 [INFO] [stdout] 2142 | | | FLUID_MOD_UNIPOLAR as i32 [INFO] [stdout] 2143 | | | FLUID_MOD_NEGATIVE as i32, [INFO] [stdout] 2144 | | ); [INFO] [stdout] | |_________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2145:9 [INFO] [stdout] | [INFO] [stdout] 2145 | DEFAULT_EXPR_MOD.set_source2(0 as i32, 0 as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2146:9 [INFO] [stdout] | [INFO] [stdout] 2146 | DEFAULT_EXPR_MOD.set_dest(GEN_ATTENUATION as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2147:9 [INFO] [stdout] | [INFO] [stdout] 2147 | DEFAULT_EXPR_MOD.set_amount(960.0f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2148:9 [INFO] [stdout] | [INFO] [stdout] 2148 | / DEFAULT_REVERB_MOD.set_source1( [INFO] [stdout] 2149 | | 91 as i32, [INFO] [stdout] 2150 | | FLUID_MOD_CC as i32 [INFO] [stdout] 2151 | | | FLUID_MOD_LINEAR as i32 [INFO] [stdout] 2152 | | | FLUID_MOD_UNIPOLAR as i32 [INFO] [stdout] 2153 | | | FLUID_MOD_POSITIVE as i32, [INFO] [stdout] 2154 | | ); [INFO] [stdout] | |_________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2155:9 [INFO] [stdout] | [INFO] [stdout] 2155 | DEFAULT_REVERB_MOD.set_source2(0 as i32, 0 as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2156:9 [INFO] [stdout] | [INFO] [stdout] 2156 | DEFAULT_REVERB_MOD.set_dest(GEN_REVERBSEND as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2157:9 [INFO] [stdout] | [INFO] [stdout] 2157 | DEFAULT_REVERB_MOD.set_amount(200 as i32 as f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2158:9 [INFO] [stdout] | [INFO] [stdout] 2158 | / DEFAULT_CHORUS_MOD.set_source1( [INFO] [stdout] 2159 | | 93 as i32, [INFO] [stdout] 2160 | | FLUID_MOD_CC as i32 [INFO] [stdout] 2161 | | | FLUID_MOD_LINEAR as i32 [INFO] [stdout] 2162 | | | FLUID_MOD_UNIPOLAR as i32 [INFO] [stdout] 2163 | | | FLUID_MOD_POSITIVE as i32, [INFO] [stdout] 2164 | | ); [INFO] [stdout] | |_________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2165:9 [INFO] [stdout] | [INFO] [stdout] 2165 | DEFAULT_CHORUS_MOD.set_source2(0 as i32, 0 as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2166:9 [INFO] [stdout] | [INFO] [stdout] 2166 | DEFAULT_CHORUS_MOD.set_dest(GEN_CHORUSSEND as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2167:9 [INFO] [stdout] | [INFO] [stdout] 2167 | DEFAULT_CHORUS_MOD.set_amount(200 as i32 as f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2168:9 [INFO] [stdout] | [INFO] [stdout] 2168 | / DEFAULT_PITCH_BEND_MOD.set_source1( [INFO] [stdout] 2169 | | FLUID_MOD_PITCHWHEEL as i32, [INFO] [stdout] 2170 | | FLUID_MOD_GC as i32 [INFO] [stdout] 2171 | | | FLUID_MOD_LINEAR as i32 [INFO] [stdout] 2172 | | | FLUID_MOD_BIPOLAR as i32 [INFO] [stdout] 2173 | | | FLUID_MOD_POSITIVE as i32, [INFO] [stdout] 2174 | | ); [INFO] [stdout] | |_________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2175:9 [INFO] [stdout] | [INFO] [stdout] 2175 | / DEFAULT_PITCH_BEND_MOD.set_source2( [INFO] [stdout] 2176 | | FLUID_MOD_PITCHWHEELSENS as i32, [INFO] [stdout] 2177 | | FLUID_MOD_GC as i32 [INFO] [stdout] 2178 | | | FLUID_MOD_LINEAR as i32 [INFO] [stdout] 2179 | | | FLUID_MOD_UNIPOLAR as i32 [INFO] [stdout] 2180 | | | FLUID_MOD_POSITIVE as i32, [INFO] [stdout] 2181 | | ); [INFO] [stdout] | |_________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2182:9 [INFO] [stdout] | [INFO] [stdout] 2182 | DEFAULT_PITCH_BEND_MOD.set_dest(GEN_PITCH as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2183:9 [INFO] [stdout] | [INFO] [stdout] 2183 | DEFAULT_PITCH_BEND_MOD.set_amount(12700.0f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> redoxsynth/src/engine/synth.rs:2217:12 [INFO] [stdout] | [INFO] [stdout] 2217 | return FLUID_ERRBUF.as_mut_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `redoxsynth` (lib) due to 10 previous errors; 109 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b0bb85742a20ac6ca3a4e41a13d60471215cbb2e41947c02f7452a4a9a0bb044", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0bb85742a20ac6ca3a4e41a13d60471215cbb2e41947c02f7452a4a9a0bb044", kill_on_drop: false }` [INFO] [stdout] b0bb85742a20ac6ca3a4e41a13d60471215cbb2e41947c02f7452a4a9a0bb044