[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] checking jchv/fliteplay against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjchv%2Ffliteplay" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jchv/fliteplay on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc1/source/Cargo.toml [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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c212de8259198ab8479e5c59189eec092aaf51984f694142023ad4a31ff0c082 [INFO] running `Command { std: "docker" "start" "-a" "c212de8259198ab8479e5c59189eec092aaf51984f694142023ad4a31ff0c082", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c212de8259198ab8479e5c59189eec092aaf51984f694142023ad4a31ff0c082", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c212de8259198ab8479e5c59189eec092aaf51984f694142023ad4a31ff0c082", kill_on_drop: false }` [INFO] [stdout] c212de8259198ab8479e5c59189eec092aaf51984f694142023ad4a31ff0c082 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 787cf661bc2ec7ca6d8eb078a5cdd73c13026fcdb3973cff8c3723e6e3ed8fb2 [INFO] running `Command { std: "docker" "start" "-a" "787cf661bc2ec7ca6d8eb078a5cdd73c13026fcdb3973cff8c3723e6e3ed8fb2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking byte-slice-cast v1.0.0 [INFO] [stderr] Checking redoxsynth v0.1.0 (/opt/rustwide/workdir/redoxsynth) [INFO] [stderr] Checking pocketfft v0.1.0 (/opt/rustwide/workdir/pocketfft) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:5694:27 [INFO] [stdout] | [INFO] [stdout] 5694 | unsafe fn cfftp_factorize(mut plan: CFFTPPlan) -> libc::c_int { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1334 | fluid_voice_add_mod(voice, addr_of_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 is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1337 | addr_of_mut!(DEFAULT_VEL2FILTER_MOD), [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1342 | addr_of_mut!(DEFAULT_AT2VIBLFO_MOD), [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1347 | addr_of_mut!(DEFAULT_MOD2VIBLFO_MOD), [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1350 | fluid_voice_add_mod(voice, addr_of_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 is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1351 | fluid_voice_add_mod(voice, addr_of_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 is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1352 | fluid_voice_add_mod(voice, addr_of_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 is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1353 | fluid_voice_add_mod(voice, addr_of_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 is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1354 | fluid_voice_add_mod(voice, addr_of_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 is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1357 | addr_of_mut!(DEFAULT_PITCH_BEND_MOD), [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:5766:30 [INFO] [stdout] | [INFO] [stdout] 5766 | unsafe fn cfftp_comp_twiddle(mut plan: CFFTPPlan) -> libc::c_int { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:5845:9 [INFO] [stdout] | [INFO] [stdout] 5845 | let mut plan: CFFTPPlan = libc::malloc(::std::mem::size_of::()) as *mut CFFTPPlanI; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:8657:27 [INFO] [stdout] | [INFO] [stdout] 8657 | unsafe fn rfftp_factorize(mut plan: RFFTPPlan) -> libc::c_int { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:8728:30 [INFO] [stdout] | [INFO] [stdout] 8728 | unsafe fn rfftp_comp_twiddle(mut plan: RFFTPPlan) -> libc::c_int { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:8840:9 [INFO] [stdout] | [INFO] [stdout] 8840 | let mut plan: RFFTPPlan = [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:8881:30 [INFO] [stdout] | [INFO] [stdout] 8881 | unsafe fn destroy_rfftp_plan(mut plan: RFFTPPlan) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:8888:9 [INFO] [stdout] | [INFO] [stdout] 8888 | let mut plan: FFTBluePlan = [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:9210:9 [INFO] [stdout] | [INFO] [stdout] 9210 | let mut plan: CFFTPlan = [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:9282:9 [INFO] [stdout] | [INFO] [stdout] 9282 | let mut plan: RFFTPlan = libc::malloc( [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [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)]` 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: creating a mutable reference to mutable static is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1334 | fluid_voice_add_mod(voice, addr_of_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 is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1337 | addr_of_mut!(DEFAULT_VEL2FILTER_MOD), [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1342 | addr_of_mut!(DEFAULT_AT2VIBLFO_MOD), [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1347 | addr_of_mut!(DEFAULT_MOD2VIBLFO_MOD), [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1350 | fluid_voice_add_mod(voice, addr_of_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 is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1351 | fluid_voice_add_mod(voice, addr_of_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 is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1352 | fluid_voice_add_mod(voice, addr_of_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 is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1353 | fluid_voice_add_mod(voice, addr_of_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 is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1354 | fluid_voice_add_mod(voice, addr_of_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 is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1357 | addr_of_mut!(DEFAULT_PITCH_BEND_MOD), [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:5694:27 [INFO] [stdout] | [INFO] [stdout] 5694 | unsafe fn cfftp_factorize(mut plan: CFFTPPlan) -> libc::c_int { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:5766:30 [INFO] [stdout] | [INFO] [stdout] 5766 | unsafe fn cfftp_comp_twiddle(mut plan: CFFTPPlan) -> libc::c_int { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:5845:9 [INFO] [stdout] | [INFO] [stdout] 5845 | let mut plan: CFFTPPlan = libc::malloc(::std::mem::size_of::()) as *mut CFFTPPlanI; [INFO] [stdout] | ----^^^^ [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] --> pocketfft/src/lib.rs:8657:27 [INFO] [stdout] | [INFO] [stdout] 8657 | unsafe fn rfftp_factorize(mut plan: RFFTPPlan) -> libc::c_int { [INFO] [stdout] | ----^^^^ [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] --> pocketfft/src/lib.rs:8728:30 [INFO] [stdout] | [INFO] [stdout] 8728 | unsafe fn rfftp_comp_twiddle(mut plan: RFFTPPlan) -> libc::c_int { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:8840:9 [INFO] [stdout] | [INFO] [stdout] 8840 | let mut plan: RFFTPPlan = [INFO] [stdout] | ----^^^^ [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] --> pocketfft/src/lib.rs:8881:30 [INFO] [stdout] | [INFO] [stdout] 8881 | unsafe fn destroy_rfftp_plan(mut plan: RFFTPPlan) { [INFO] [stdout] | ----^^^^ [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] --> pocketfft/src/lib.rs:8888:9 [INFO] [stdout] | [INFO] [stdout] 8888 | let mut plan: FFTBluePlan = [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:9210:9 [INFO] [stdout] | [INFO] [stdout] 9210 | let mut plan: CFFTPlan = [INFO] [stdout] | ----^^^^ [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] --> pocketfft/src/lib.rs:9282:9 [INFO] [stdout] | [INFO] [stdout] 9282 | let mut plan: RFFTPlan = libc::malloc( [INFO] [stdout] | ----^^^^ [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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [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)]` 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/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/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/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/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/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/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/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/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/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/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/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/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/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: 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: 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)]` 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] = note: `ReverbModelPreset` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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)]` 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: 67 warnings emitted [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] [stderr] Checking fliteplay v0.1.0 (/opt/rustwide/workdir) [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)]` 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] = note: `ReverbModelPreset` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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)]` 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: 67 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.28s [INFO] running `Command { std: "docker" "inspect" "787cf661bc2ec7ca6d8eb078a5cdd73c13026fcdb3973cff8c3723e6e3ed8fb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "787cf661bc2ec7ca6d8eb078a5cdd73c13026fcdb3973cff8c3723e6e3ed8fb2", kill_on_drop: false }` [INFO] [stdout] 787cf661bc2ec7ca6d8eb078a5cdd73c13026fcdb3973cff8c3723e6e3ed8fb2 [INFO] checking jchv/fliteplay against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjchv%2Ffliteplay" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jchv/fliteplay on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc2/source/Cargo.toml [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking jchv/fliteplay against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjchv%2Ffliteplay" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jchv/fliteplay on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc2/source/Cargo.toml [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63db8b63f5a82e74baf9218e2b67dda505a7fe19639018a8137c3f3b3d844f58 [INFO] running `Command { std: "docker" "start" "-a" "63db8b63f5a82e74baf9218e2b67dda505a7fe19639018a8137c3f3b3d844f58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63db8b63f5a82e74baf9218e2b67dda505a7fe19639018a8137c3f3b3d844f58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63db8b63f5a82e74baf9218e2b67dda505a7fe19639018a8137c3f3b3d844f58", kill_on_drop: false }` [INFO] [stdout] 63db8b63f5a82e74baf9218e2b67dda505a7fe19639018a8137c3f3b3d844f58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16c262751c23498bdbc13bbd7aaa3b04f0cdda9a50c4de0bfbfb1d62e9e4cde3 [INFO] running `Command { std: "docker" "start" "-a" "16c262751c23498bdbc13bbd7aaa3b04f0cdda9a50c4de0bfbfb1d62e9e4cde3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking byte-slice-cast v1.0.0 [INFO] [stderr] Checking redoxsynth v0.1.0 (/opt/rustwide/workdir/redoxsynth) [INFO] [stderr] Checking pocketfft v0.1.0 (/opt/rustwide/workdir/pocketfft) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:5694:27 [INFO] [stdout] | [INFO] [stdout] 5694 | unsafe fn cfftp_factorize(mut plan: CFFTPPlan) -> libc::c_int { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:5766:30 [INFO] [stdout] | [INFO] [stdout] 5766 | unsafe fn cfftp_comp_twiddle(mut plan: CFFTPPlan) -> libc::c_int { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:5694:27 [INFO] [stdout] | [INFO] [stdout] 5694 | unsafe fn cfftp_factorize(mut plan: CFFTPPlan) -> libc::c_int { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:5845:9 [INFO] [stdout] | [INFO] [stdout] 5845 | let mut plan: CFFTPPlan = libc::malloc(::std::mem::size_of::()) as *mut CFFTPPlanI; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:5766:30 [INFO] [stdout] | [INFO] [stdout] 5766 | unsafe fn cfftp_comp_twiddle(mut plan: CFFTPPlan) -> libc::c_int { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:5845:9 [INFO] [stdout] | [INFO] [stdout] 5845 | let mut plan: CFFTPPlan = libc::malloc(::std::mem::size_of::()) as *mut CFFTPPlanI; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1334 | fluid_voice_add_mod(voice, addr_of_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 is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1337 | addr_of_mut!(DEFAULT_VEL2FILTER_MOD), [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1342 | addr_of_mut!(DEFAULT_AT2VIBLFO_MOD), [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1347 | addr_of_mut!(DEFAULT_MOD2VIBLFO_MOD), [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1350 | fluid_voice_add_mod(voice, addr_of_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 is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1351 | fluid_voice_add_mod(voice, addr_of_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 is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1352 | fluid_voice_add_mod(voice, addr_of_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 is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1353 | fluid_voice_add_mod(voice, addr_of_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 is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1354 | fluid_voice_add_mod(voice, addr_of_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 is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1357 | addr_of_mut!(DEFAULT_PITCH_BEND_MOD), [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1334 | fluid_voice_add_mod(voice, addr_of_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 is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1337 | addr_of_mut!(DEFAULT_VEL2FILTER_MOD), [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1342 | addr_of_mut!(DEFAULT_AT2VIBLFO_MOD), [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1347 | addr_of_mut!(DEFAULT_MOD2VIBLFO_MOD), [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1350 | fluid_voice_add_mod(voice, addr_of_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 is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1351 | fluid_voice_add_mod(voice, addr_of_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 is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1352 | fluid_voice_add_mod(voice, addr_of_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 is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1353 | fluid_voice_add_mod(voice, addr_of_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 is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1354 | fluid_voice_add_mod(voice, addr_of_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 is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1357 | addr_of_mut!(DEFAULT_PITCH_BEND_MOD), [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:8657:27 [INFO] [stdout] | [INFO] [stdout] 8657 | unsafe fn rfftp_factorize(mut plan: RFFTPPlan) -> libc::c_int { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:8728:30 [INFO] [stdout] | [INFO] [stdout] 8728 | unsafe fn rfftp_comp_twiddle(mut plan: RFFTPPlan) -> libc::c_int { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:8840:9 [INFO] [stdout] | [INFO] [stdout] 8840 | let mut plan: RFFTPPlan = [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:8657:27 [INFO] [stdout] | [INFO] [stdout] 8657 | unsafe fn rfftp_factorize(mut plan: RFFTPPlan) -> libc::c_int { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:8881:30 [INFO] [stdout] | [INFO] [stdout] 8881 | unsafe fn destroy_rfftp_plan(mut plan: RFFTPPlan) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:8888:9 [INFO] [stdout] | [INFO] [stdout] 8888 | let mut plan: FFTBluePlan = [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:8728:30 [INFO] [stdout] | [INFO] [stdout] 8728 | unsafe fn rfftp_comp_twiddle(mut plan: RFFTPPlan) -> libc::c_int { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:8840:9 [INFO] [stdout] | [INFO] [stdout] 8840 | let mut plan: RFFTPPlan = [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:8881:30 [INFO] [stdout] | [INFO] [stdout] 8881 | unsafe fn destroy_rfftp_plan(mut plan: RFFTPPlan) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:8888:9 [INFO] [stdout] | [INFO] [stdout] 8888 | let mut plan: FFTBluePlan = [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:9210:9 [INFO] [stdout] | [INFO] [stdout] 9210 | let mut plan: CFFTPlan = [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:9282:9 [INFO] [stdout] | [INFO] [stdout] 9282 | let mut plan: RFFTPlan = libc::malloc( [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:9210:9 [INFO] [stdout] | [INFO] [stdout] 9210 | let mut plan: CFFTPlan = [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> pocketfft/src/lib.rs:9282:9 [INFO] [stdout] | [INFO] [stdout] 9282 | let mut plan: RFFTPlan = libc::malloc( [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [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)]` 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: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)]` 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/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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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/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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: 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)]` 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] = note: `ReverbModelPreset` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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)]` 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: 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)]` 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] = note: `ReverbModelPreset` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> redoxsynth/src/fileapi.rs:48:53 [INFO] [stdout] | [INFO] [stdout] 48 | .map(|file| -> Box { Box::new(DefaultFile { file }) }) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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)]` 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> redoxsynth/src/fileapi.rs:48:53 [INFO] [stdout] | [INFO] [stdout] 48 | .map(|file| -> Box { Box::new(DefaultFile { file }) }) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 67 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `redoxsynth` (lib) due to 2 previous errors; 67 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 67 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `redoxsynth` (lib test) due to 2 previous errors; 67 warnings emitted [INFO] running `Command { std: "docker" "inspect" "16c262751c23498bdbc13bbd7aaa3b04f0cdda9a50c4de0bfbfb1d62e9e4cde3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16c262751c23498bdbc13bbd7aaa3b04f0cdda9a50c4de0bfbfb1d62e9e4cde3", kill_on_drop: false }` [INFO] [stdout] 16c262751c23498bdbc13bbd7aaa3b04f0cdda9a50c4de0bfbfb1d62e9e4cde3