[INFO] fetching crate fluidsynth 0.0.1... [INFO] checking fluidsynth-0.0.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate fluidsynth 0.0.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate fluidsynth 0.0.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fluidsynth 0.0.1 [INFO] finished tweaking crates.io crate fluidsynth 0.0.1 [INFO] tweaked toml for crates.io crate fluidsynth 0.0.1 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e53329ee5253b0e24ccb1eff905c3bbf35ceb83cb7500b98126babafcd415c7c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e53329ee5253b0e24ccb1eff905c3bbf35ceb83cb7500b98126babafcd415c7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e53329ee5253b0e24ccb1eff905c3bbf35ceb83cb7500b98126babafcd415c7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e53329ee5253b0e24ccb1eff905c3bbf35ceb83cb7500b98126babafcd415c7c", kill_on_drop: false }` [INFO] [stdout] e53329ee5253b0e24ccb1eff905c3bbf35ceb83cb7500b98126babafcd415c7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9fb251b456d30bd32a5914c5313ca5cf3eed763e433979686eb0265031a4fb1c [INFO] running `Command { std: "docker" "start" "-a" "9fb251b456d30bd32a5914c5313ca5cf3eed763e433979686eb0265031a4fb1c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Checking fluidsynth v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/settings.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/settings.rs:227:54 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn option_count(&self, name: &str) -> Option<(i32)> { [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/settings.rs:239:72 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn option_concat(&self, name: &str, separator: &str) -> Option<(&str)> { [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `fourthOrder` should have an upper camel case name [INFO] [stdout] --> src/synth.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | fourthOrder = 4, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `FourthOrder` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `seventhOrder` should have an upper camel case name [INFO] [stdout] --> src/synth.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | seventhOrder = 7 [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `SeventhOrder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CStr` [INFO] [stdout] --> src/midi.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ffi::{CString, CStr}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `event::*` [INFO] [stdout] --> src/midi.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use event::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ffi::*` [INFO] [stdout] --> src/voice.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ffi::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ffi::*` [INFO] [stdout] --> src/gen.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ffi::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ffi::*` [INFO] [stdout] --> src/log.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ffi::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/settings.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/settings.rs:227:54 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn option_count(&self, name: &str) -> Option<(i32)> { [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/settings.rs:239:72 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn option_concat(&self, name: &str, separator: &str) -> Option<(&str)> { [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `fourthOrder` should have an upper camel case name [INFO] [stdout] --> src/synth.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | fourthOrder = 4, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `FourthOrder` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `seventhOrder` should have an upper camel case name [INFO] [stdout] --> src/synth.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | seventhOrder = 7 [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `SeventhOrder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CStr` [INFO] [stdout] --> src/midi.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ffi::{CString, CStr}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `event::*` [INFO] [stdout] --> src/midi.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use event::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ffi::*` [INFO] [stdout] --> src/voice.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ffi::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ffi::*` [INFO] [stdout] --> src/gen.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ffi::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ffi::*` [INFO] [stdout] --> src/log.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ffi::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/synth.rs:211:57 [INFO] [stdout] | [INFO] [stdout] 211 | let info: *mut fluid_synth_channel_info_t = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/synth.rs:211:57 [INFO] [stdout] | [INFO] [stdout] 211 | let info: *mut fluid_synth_channel_info_t = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/settings.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | 0.0 => None, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/settings.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | 0.0 => None, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/settings.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | 0.0 => None, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/settings.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | 0.0 => None, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Struct__fluid_voice_t` [INFO] [stdout] --> src/ffi.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Struct__fluid_voice_t { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `fluid_voice_t` [INFO] [stdout] --> src/ffi.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub type fluid_voice_t = Struct__fluid_voice_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `fluid_sfloader_t` [INFO] [stdout] --> src/ffi.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub type fluid_sfloader_t = Struct__fluid_sfloader_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `fluid_cmd_handler_t` [INFO] [stdout] --> src/ffi.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub type fluid_cmd_handler_t = Struct__fluid_hashtable_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Struct__fluid_shell_t` [INFO] [stdout] --> src/ffi.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum Struct__fluid_shell_t { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `fluid_shell_t` [INFO] [stdout] --> src/ffi.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub type fluid_shell_t = Struct__fluid_shell_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Struct__fluid_server_t` [INFO] [stdout] --> src/ffi.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum Struct__fluid_server_t { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `fluid_server_t` [INFO] [stdout] --> src/ffi.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub type fluid_server_t = Struct__fluid_server_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Struct__fluid_rampreset_t` [INFO] [stdout] --> src/ffi.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum Struct__fluid_rampreset_t { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `fluid_rampreset_t` [INFO] [stdout] --> src/ffi.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub type fluid_rampreset_t = Struct__fluid_rampreset_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `fluid_istream_t` [INFO] [stdout] --> src/ffi.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub type fluid_istream_t = ::libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Enum_fluid_midi_channel_type` [INFO] [stdout] --> src/ffi.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub type Enum_fluid_midi_channel_type = ::libc::c_uint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CHANNEL_TYPE_MELODIC` [INFO] [stdout] --> src/ffi.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | pub const CHANNEL_TYPE_MELODIC: ::libc::c_uint = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CHANNEL_TYPE_DRUM` [INFO] [stdout] --> src/ffi.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub const CHANNEL_TYPE_DRUM: ::libc::c_uint = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `fluid_audio_callback_t` [INFO] [stdout] --> src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / pub type fluid_audio_callback_t = [INFO] [stdout] 61 | | ::std::option::Option ::libc::c_int>; [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `fluid_cmd_t` [INFO] [stdout] --> src/ffi.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub type fluid_cmd_t = Struct_Unnamed2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `fluid_server_newclient_func_t` [INFO] [stdout] --> src/ffi.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | / pub type fluid_server_newclient_func_t = [INFO] [stdout] 85 | | ::std::option::Option *mut fluid_cmd_handler_t>; [INFO] [stdout] | |___________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Enum_Unnamed3` [INFO] [stdout] --> src/ffi.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | pub type Enum_Unnamed3 = ::libc::c_uint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FLUID_PRESET_SELECTED` [INFO] [stdout] --> src/ffi.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | pub const FLUID_PRESET_SELECTED: ::libc::c_uint = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FLUID_PRESET_UNSELECTED` [INFO] [stdout] --> src/ffi.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | pub const FLUID_PRESET_UNSELECTED: ::libc::c_uint = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FLUID_SAMPLE_DONE` [INFO] [stdout] --> src/ffi.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | pub const FLUID_SAMPLE_DONE: ::libc::c_uint = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Struct__fluid_sfloader_t` [INFO] [stdout] --> src/ffi.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct Struct__fluid_sfloader_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `fluid_audio_func_t` [INFO] [stdout] --> src/ffi.rs:182:1 [INFO] [stdout] | [INFO] [stdout] 182 | / pub type fluid_audio_func_t = [INFO] [stdout] 183 | | ::std::option::Option ::libc::c_int>; [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `handle_midi_event_func_t` [INFO] [stdout] --> src/ffi.rs:191:1 [INFO] [stdout] | [INFO] [stdout] 191 | / pub type handle_midi_event_func_t = [INFO] [stdout] 192 | | ::std::option::Option ::libc::c_int>; [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Enum_fluid_player_status` [INFO] [stdout] --> src/ffi.rs:196:1 [INFO] [stdout] | [INFO] [stdout] 196 | pub type Enum_fluid_player_status = ::libc::c_uint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FLUID_PLAYER_READY` [INFO] [stdout] --> src/ffi.rs:197:1 [INFO] [stdout] | [INFO] [stdout] 197 | pub const FLUID_PLAYER_READY: ::libc::c_uint = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FLUID_PLAYER_PLAYING` [INFO] [stdout] --> src/ffi.rs:198:1 [INFO] [stdout] | [INFO] [stdout] 198 | pub const FLUID_PLAYER_PLAYING: ::libc::c_uint = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FLUID_PLAYER_DONE` [INFO] [stdout] --> src/ffi.rs:199:1 [INFO] [stdout] | [INFO] [stdout] 199 | pub const FLUID_PLAYER_DONE: ::libc::c_uint = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `fluid_log_function_t` [INFO] [stdout] --> src/ffi.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / pub type fluid_log_function_t = [INFO] [stdout] 201 | | ::std::option::Option ()>; [INFO] [stdout] | |_________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Struct__fluid_gen_t` [INFO] [stdout] --> src/ffi.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 217 | pub struct Struct__fluid_gen_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `fluid_gen_t` [INFO] [stdout] --> src/ffi.rs:223:1 [INFO] [stdout] | [INFO] [stdout] 223 | pub type fluid_gen_t = Struct__fluid_gen_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_settings_copystr` [INFO] [stdout] --> src/ffi.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | / pub fn fluid_settings_copystr(settings: *mut fluid_settings_t, [INFO] [stdout] 242 | | name: *const ::libc::c_char, [INFO] [stdout] 243 | | str: *mut ::libc::c_char, [INFO] [stdout] 244 | | len: ::libc::c_int) -> ::libc::c_int; [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_settings_dupstr` [INFO] [stdout] --> src/ffi.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | / pub fn fluid_settings_dupstr(settings: *mut fluid_settings_t, [INFO] [stdout] 246 | | name: *const ::libc::c_char, [INFO] [stdout] 247 | | str: *mut *mut ::libc::c_char) [INFO] [stdout] 248 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_settings_getstr` [INFO] [stdout] --> src/ffi.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | / pub fn fluid_settings_getstr(settings: *mut fluid_settings_t, [INFO] [stdout] 250 | | name: *const ::libc::c_char, [INFO] [stdout] 251 | | str: *mut *mut ::libc::c_char) [INFO] [stdout] 252 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_synth_sysex` [INFO] [stdout] --> src/ffi.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | / pub fn fluid_synth_sysex(synth: *mut fluid_synth_t, [INFO] [stdout] 318 | | data: *const ::libc::c_char, len: ::libc::c_int, [INFO] [stdout] 319 | | response: *mut ::libc::c_char, [INFO] [stdout] 320 | | response_len: *mut ::libc::c_int, [INFO] [stdout] 321 | | handled: *mut ::libc::c_int, [INFO] [stdout] 322 | | dryrun: ::libc::c_int) -> ::libc::c_int; [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_synth_get_program` [INFO] [stdout] --> src/ffi.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 365 | / pub fn fluid_synth_get_program(synth: *mut fluid_synth_t, [INFO] [stdout] 366 | | chan: ::libc::c_int, [INFO] [stdout] 367 | | sfont_id: *mut ::libc::c_uint, [INFO] [stdout] 368 | | bank_num: *mut ::libc::c_uint, [INFO] [stdout] 369 | | preset_num: *mut ::libc::c_uint) [INFO] [stdout] 370 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_synth_all_notes_off` [INFO] [stdout] --> src/ffi.rs:381:5 [INFO] [stdout] | [INFO] [stdout] 381 | / pub fn fluid_synth_all_notes_off(synth: *mut fluid_synth_t, [INFO] [stdout] 382 | | chan: ::libc::c_int) -> ::libc::c_int; [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_synth_all_sounds_off` [INFO] [stdout] --> src/ffi.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | / pub fn fluid_synth_all_sounds_off(synth: *mut fluid_synth_t, [INFO] [stdout] 384 | | chan: ::libc::c_int) -> ::libc::c_int; [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_synth_set_channel_type` [INFO] [stdout] --> src/ffi.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | / pub fn fluid_synth_set_channel_type(synth: *mut fluid_synth_t, [INFO] [stdout] 386 | | chan: ::libc::c_int, [INFO] [stdout] 387 | | _type: ::libc::c_int) [INFO] [stdout] 388 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_synth_get_reverb_width` [INFO] [stdout] --> src/ffi.rs:440:5 [INFO] [stdout] | [INFO] [stdout] 440 | / pub fn fluid_synth_get_reverb_width(synth: *mut fluid_synth_t) [INFO] [stdout] 441 | | -> ::libc::c_double; [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_synth_tuning_iteration_next` [INFO] [stdout] --> src/ffi.rs:543:5 [INFO] [stdout] | [INFO] [stdout] 543 | / pub fn fluid_synth_tuning_iteration_next(synth: *mut fluid_synth_t, [INFO] [stdout] 544 | | bank: *mut ::libc::c_int, [INFO] [stdout] 545 | | prog: *mut ::libc::c_int) [INFO] [stdout] 546 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_synth_tuning_dump` [INFO] [stdout] --> src/ffi.rs:547:5 [INFO] [stdout] | [INFO] [stdout] 547 | / pub fn fluid_synth_tuning_dump(synth: *mut fluid_synth_t, [INFO] [stdout] 548 | | bank: ::libc::c_int, prog: ::libc::c_int, [INFO] [stdout] 549 | | name: *mut ::libc::c_char, [INFO] [stdout] 550 | | len: ::libc::c_int, [INFO] [stdout] 551 | | pitch: *mut ::libc::c_double) [INFO] [stdout] 552 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_synth_write_s16` [INFO] [stdout] --> src/ffi.rs:557:5 [INFO] [stdout] | [INFO] [stdout] 557 | / pub fn fluid_synth_write_s16(synth: *mut fluid_synth_t, [INFO] [stdout] 558 | | len: ::libc::c_int, [INFO] [stdout] 559 | | lout: *mut ::libc::c_void, [INFO] [stdout] 560 | | loff: ::libc::c_int, lincr: ::libc::c_int, [INFO] [stdout] 561 | | rout: *mut ::libc::c_void, [INFO] [stdout] 562 | | roff: ::libc::c_int, rincr: ::libc::c_int) [INFO] [stdout] 563 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_synth_nwrite_float` [INFO] [stdout] --> src/ffi.rs:571:5 [INFO] [stdout] | [INFO] [stdout] 571 | / pub fn fluid_synth_nwrite_float(synth: *mut fluid_synth_t, [INFO] [stdout] 572 | | len: ::libc::c_int, [INFO] [stdout] 573 | | left: *mut *mut ::libc::c_float, [INFO] [stdout] 574 | | right: *mut *mut ::libc::c_float, [INFO] [stdout] 575 | | fx_left: *mut *mut ::libc::c_float, [INFO] [stdout] 576 | | fx_right: *mut *mut ::libc::c_float) [INFO] [stdout] 577 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_synth_process` [INFO] [stdout] --> src/ffi.rs:578:5 [INFO] [stdout] | [INFO] [stdout] 578 | / pub fn fluid_synth_process(synth: *mut fluid_synth_t, len: ::libc::c_int, [INFO] [stdout] 579 | | nin: ::libc::c_int, [INFO] [stdout] 580 | | _in: *mut *mut ::libc::c_float, [INFO] [stdout] 581 | | nout: ::libc::c_int, [INFO] [stdout] 582 | | out: *mut *mut ::libc::c_float) [INFO] [stdout] 583 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_synth_add_sfloader` [INFO] [stdout] --> src/ffi.rs:584:5 [INFO] [stdout] | [INFO] [stdout] 584 | / pub fn fluid_synth_add_sfloader(synth: *mut fluid_synth_t, [INFO] [stdout] 585 | | loader: *mut fluid_sfloader_t) -> (); [INFO] [stdout] | |_________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_synth_alloc_voice` [INFO] [stdout] --> src/ffi.rs:586:5 [INFO] [stdout] | [INFO] [stdout] 586 | / pub fn fluid_synth_alloc_voice(synth: *mut fluid_synth_t, [INFO] [stdout] 587 | | sample: *mut fluid_sample_t, [INFO] [stdout] 588 | | channum: ::libc::c_int, key: ::libc::c_int, [INFO] [stdout] 589 | | vel: ::libc::c_int) -> *mut fluid_voice_t; [INFO] [stdout] | |_____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_synth_start_voice` [INFO] [stdout] --> src/ffi.rs:590:5 [INFO] [stdout] | [INFO] [stdout] 590 | / pub fn fluid_synth_start_voice(synth: *mut fluid_synth_t, [INFO] [stdout] 591 | | voice: *mut fluid_voice_t) -> (); [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_synth_get_voicelist` [INFO] [stdout] --> src/ffi.rs:592:5 [INFO] [stdout] | [INFO] [stdout] 592 | / pub fn fluid_synth_get_voicelist(synth: *mut fluid_synth_t, [INFO] [stdout] 593 | | buf: *mut *mut fluid_voice_t, [INFO] [stdout] 594 | | bufsize: ::libc::c_int, [INFO] [stdout] 595 | | ID: ::libc::c_int) -> (); [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_synth_handle_midi_event` [INFO] [stdout] --> src/ffi.rs:596:5 [INFO] [stdout] | [INFO] [stdout] 596 | / pub fn fluid_synth_handle_midi_event(data: *mut ::libc::c_void, [INFO] [stdout] 597 | | event: *mut fluid_midi_event_t) [INFO] [stdout] 598 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_get_stdin` [INFO] [stdout] --> src/ffi.rs:602:5 [INFO] [stdout] | [INFO] [stdout] 602 | pub fn fluid_get_stdin() -> fluid_istream_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_get_stdout` [INFO] [stdout] --> src/ffi.rs:603:5 [INFO] [stdout] | [INFO] [stdout] 603 | pub fn fluid_get_stdout() -> fluid_ostream_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_get_userconf` [INFO] [stdout] --> src/ffi.rs:604:5 [INFO] [stdout] | [INFO] [stdout] 604 | / pub fn fluid_get_userconf(buf: *mut ::libc::c_char, len: ::libc::c_int) [INFO] [stdout] 605 | | -> *mut ::libc::c_char; [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_get_sysconf` [INFO] [stdout] --> src/ffi.rs:606:5 [INFO] [stdout] | [INFO] [stdout] 606 | / pub fn fluid_get_sysconf(buf: *mut ::libc::c_char, len: ::libc::c_int) [INFO] [stdout] 607 | | -> *mut ::libc::c_char; [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `new_fluid_cmd_handler` [INFO] [stdout] --> src/ffi.rs:608:5 [INFO] [stdout] | [INFO] [stdout] 608 | / pub fn new_fluid_cmd_handler(synth: *mut fluid_synth_t) [INFO] [stdout] 609 | | -> *mut fluid_cmd_handler_t; [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `delete_fluid_cmd_handler` [INFO] [stdout] --> src/ffi.rs:610:5 [INFO] [stdout] | [INFO] [stdout] 610 | pub fn delete_fluid_cmd_handler(handler: *mut fluid_cmd_handler_t) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_cmd_handler_set_synth` [INFO] [stdout] --> src/ffi.rs:611:5 [INFO] [stdout] | [INFO] [stdout] 611 | / pub fn fluid_cmd_handler_set_synth(handler: *mut fluid_cmd_handler_t, [INFO] [stdout] 612 | | synth: *mut fluid_synth_t) -> (); [INFO] [stdout] | |________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_cmd_handler_register` [INFO] [stdout] --> src/ffi.rs:613:5 [INFO] [stdout] | [INFO] [stdout] 613 | / pub fn fluid_cmd_handler_register(handler: *mut fluid_cmd_handler_t, [INFO] [stdout] 614 | | cmd: *mut fluid_cmd_t) -> ::libc::c_int; [INFO] [stdout] | |______________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_cmd_handler_unregister` [INFO] [stdout] --> src/ffi.rs:615:5 [INFO] [stdout] | [INFO] [stdout] 615 | / pub fn fluid_cmd_handler_unregister(handler: *mut fluid_cmd_handler_t, [INFO] [stdout] 616 | | cmd: *const ::libc::c_char) [INFO] [stdout] 617 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_command` [INFO] [stdout] --> src/ffi.rs:618:5 [INFO] [stdout] | [INFO] [stdout] 618 | / pub fn fluid_command(handler: *mut fluid_cmd_handler_t, [INFO] [stdout] 619 | | cmd: *const ::libc::c_char, out: fluid_ostream_t) [INFO] [stdout] 620 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_source` [INFO] [stdout] --> src/ffi.rs:621:5 [INFO] [stdout] | [INFO] [stdout] 621 | / pub fn fluid_source(handler: *mut fluid_cmd_handler_t, [INFO] [stdout] 622 | | filename: *const ::libc::c_char) -> ::libc::c_int; [INFO] [stdout] | |__________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_usershell` [INFO] [stdout] --> src/ffi.rs:623:5 [INFO] [stdout] | [INFO] [stdout] 623 | / pub fn fluid_usershell(settings: *mut fluid_settings_t, [INFO] [stdout] 624 | | handler: *mut fluid_cmd_handler_t) -> (); [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `new_fluid_shell` [INFO] [stdout] --> src/ffi.rs:625:5 [INFO] [stdout] | [INFO] [stdout] 625 | / pub fn new_fluid_shell(settings: *mut fluid_settings_t, [INFO] [stdout] 626 | | handler: *mut fluid_cmd_handler_t, [INFO] [stdout] 627 | | _in: fluid_istream_t, out: fluid_ostream_t, [INFO] [stdout] 628 | | thread: ::libc::c_int) -> *mut fluid_shell_t; [INFO] [stdout] | |________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `delete_fluid_shell` [INFO] [stdout] --> src/ffi.rs:629:5 [INFO] [stdout] | [INFO] [stdout] 629 | pub fn delete_fluid_shell(shell: *mut fluid_shell_t) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `new_fluid_server` [INFO] [stdout] --> src/ffi.rs:630:5 [INFO] [stdout] | [INFO] [stdout] 630 | / pub fn new_fluid_server(settings: *mut fluid_settings_t, [INFO] [stdout] 631 | | func: fluid_server_newclient_func_t, [INFO] [stdout] 632 | | data: *mut ::libc::c_void) -> *mut fluid_server_t; [INFO] [stdout] | |______________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `delete_fluid_server` [INFO] [stdout] --> src/ffi.rs:633:5 [INFO] [stdout] | [INFO] [stdout] 633 | pub fn delete_fluid_server(server: *mut fluid_server_t) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_server_join` [INFO] [stdout] --> src/ffi.rs:634:5 [INFO] [stdout] | [INFO] [stdout] 634 | pub fn fluid_server_join(server: *mut fluid_server_t) -> ::libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `new_fluid_audio_driver2` [INFO] [stdout] --> src/ffi.rs:679:5 [INFO] [stdout] | [INFO] [stdout] 679 | / pub fn new_fluid_audio_driver2(settings: *mut fluid_settings_t, [INFO] [stdout] 680 | | func: fluid_audio_func_t, [INFO] [stdout] 681 | | data: *mut ::libc::c_void) [INFO] [stdout] 682 | | -> *mut fluid_audio_driver_t; [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_event_timer` [INFO] [stdout] --> src/ffi.rs:695:5 [INFO] [stdout] | [INFO] [stdout] 695 | / pub fn fluid_event_timer(evt: *mut fluid_event_t, [INFO] [stdout] 696 | | data: *mut ::libc::c_void) -> (); [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_event_note` [INFO] [stdout] --> src/ffi.rs:697:5 [INFO] [stdout] | [INFO] [stdout] 697 | / pub fn fluid_event_note(evt: *mut fluid_event_t, channel: ::libc::c_int, [INFO] [stdout] 698 | | key: ::libc::c_short, vel: ::libc::c_short, [INFO] [stdout] 699 | | duration: ::libc::c_uint) -> (); [INFO] [stdout] | |____________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_event_get_data` [INFO] [stdout] --> src/ffi.rs:766:5 [INFO] [stdout] | [INFO] [stdout] 766 | / pub fn fluid_event_get_data(evt: *mut fluid_event_t) [INFO] [stdout] 767 | | -> *mut ::libc::c_void; [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_midi_event_set_sysex` [INFO] [stdout] --> src/ffi.rs:809:5 [INFO] [stdout] | [INFO] [stdout] 809 | / pub fn fluid_midi_event_set_sysex(evt: *mut fluid_midi_event_t, [INFO] [stdout] 810 | | data: *mut ::libc::c_void, [INFO] [stdout] 811 | | size: ::libc::c_int, [INFO] [stdout] 812 | | dynamic: ::libc::c_int) [INFO] [stdout] 813 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_player_add_mem` [INFO] [stdout] --> src/ffi.rs:867:5 [INFO] [stdout] | [INFO] [stdout] 867 | / pub fn fluid_player_add_mem(player: *mut fluid_player_t, [INFO] [stdout] 868 | | buffer: *const ::libc::c_void, len: ::libc::c_uint) [INFO] [stdout] 869 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_player_set_loop` [INFO] [stdout] --> src/ffi.rs:873:5 [INFO] [stdout] | [INFO] [stdout] 873 | / pub fn fluid_player_set_loop(player: *mut fluid_player_t, [INFO] [stdout] 874 | | _loop: ::libc::c_int) -> ::libc::c_int; [INFO] [stdout] | |________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_player_set_playback_callback` [INFO] [stdout] --> src/ffi.rs:881:5 [INFO] [stdout] | [INFO] [stdout] 881 | / pub fn fluid_player_set_playback_callback(player: *mut fluid_player_t, [INFO] [stdout] 882 | | handler: [INFO] [stdout] 883 | | handle_midi_event_func_t, [INFO] [stdout] 884 | | handler_data: [INFO] [stdout] 885 | | *mut ::libc::c_void) [INFO] [stdout] 886 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_sequencer_add_midi_event_to_buffer` [INFO] [stdout] --> src/ffi.rs:931:5 [INFO] [stdout] | [INFO] [stdout] 931 | / pub fn fluid_sequencer_add_midi_event_to_buffer(data: *mut ::libc::c_void, [INFO] [stdout] 932 | | event: [INFO] [stdout] 933 | | *mut fluid_midi_event_t) [INFO] [stdout] 934 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_set_log_function` [INFO] [stdout] --> src/ffi.rs:935:5 [INFO] [stdout] | [INFO] [stdout] 935 | / pub fn fluid_set_log_function(level: ::libc::c_int, [INFO] [stdout] 936 | | fun: fluid_log_function_t, [INFO] [stdout] 937 | | data: *mut ::libc::c_void) [INFO] [stdout] 938 | | -> fluid_log_function_t; [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_default_log_function` [INFO] [stdout] --> src/ffi.rs:939:5 [INFO] [stdout] | [INFO] [stdout] 939 | / pub fn fluid_default_log_function(level: ::libc::c_int, [INFO] [stdout] 940 | | message: *mut ::libc::c_char, [INFO] [stdout] 941 | | data: *mut ::libc::c_void) -> (); [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_log` [INFO] [stdout] --> src/ffi.rs:942:5 [INFO] [stdout] | [INFO] [stdout] 942 | / pub fn fluid_log(level: ::libc::c_int, fmt: *const ::libc::c_char, ...) [INFO] [stdout] 943 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_gen_set_default_values` [INFO] [stdout] --> src/ffi.rs:966:5 [INFO] [stdout] | [INFO] [stdout] 966 | / pub fn fluid_gen_set_default_values(gen: *mut fluid_gen_t) [INFO] [stdout] 967 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_voice_update_param` [INFO] [stdout] --> src/ffi.rs:968:5 [INFO] [stdout] | [INFO] [stdout] 968 | / pub fn fluid_voice_update_param(voice: *mut fluid_voice_t, [INFO] [stdout] 969 | | gen: ::libc::c_int) -> (); [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_voice_add_mod` [INFO] [stdout] --> src/ffi.rs:970:5 [INFO] [stdout] | [INFO] [stdout] 970 | / pub fn fluid_voice_add_mod(voice: *mut fluid_voice_t, [INFO] [stdout] 971 | | _mod: *mut fluid_mod_t, mode: ::libc::c_int) [INFO] [stdout] 972 | | -> (); [INFO] [stdout] | |___________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_voice_gen_set` [INFO] [stdout] --> src/ffi.rs:973:5 [INFO] [stdout] | [INFO] [stdout] 973 | / pub fn fluid_voice_gen_set(voice: *mut fluid_voice_t, gen: ::libc::c_int, [INFO] [stdout] 974 | | val: ::libc::c_float) -> (); [INFO] [stdout] | |___________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_voice_gen_get` [INFO] [stdout] --> src/ffi.rs:975:5 [INFO] [stdout] | [INFO] [stdout] 975 | / pub fn fluid_voice_gen_get(voice: *mut fluid_voice_t, gen: ::libc::c_int) [INFO] [stdout] 976 | | -> ::libc::c_float; [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_voice_gen_incr` [INFO] [stdout] --> src/ffi.rs:977:5 [INFO] [stdout] | [INFO] [stdout] 977 | / pub fn fluid_voice_gen_incr(voice: *mut fluid_voice_t, gen: ::libc::c_int, [INFO] [stdout] 978 | | val: ::libc::c_float) -> (); [INFO] [stdout] | |____________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_voice_get_id` [INFO] [stdout] --> src/ffi.rs:979:5 [INFO] [stdout] | [INFO] [stdout] 979 | pub fn fluid_voice_get_id(voice: *mut fluid_voice_t) -> ::libc::c_uint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_voice_is_playing` [INFO] [stdout] --> src/ffi.rs:980:5 [INFO] [stdout] | [INFO] [stdout] 980 | pub fn fluid_voice_is_playing(voice: *mut fluid_voice_t) -> ::libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_voice_optimize_sample` [INFO] [stdout] --> src/ffi.rs:981:5 [INFO] [stdout] | [INFO] [stdout] 981 | / pub fn fluid_voice_optimize_sample(s: *mut fluid_sample_t) [INFO] [stdout] 982 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_version` [INFO] [stdout] --> src/ffi.rs:983:5 [INFO] [stdout] | [INFO] [stdout] 983 | / pub fn fluid_version(major: *mut ::libc::c_int, minor: *mut ::libc::c_int, [INFO] [stdout] 984 | | micro: *mut ::libc::c_int) -> (); [INFO] [stdout] | |__________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_version_str` [INFO] [stdout] --> src/ffi.rs:985:5 [INFO] [stdout] | [INFO] [stdout] 985 | pub fn fluid_version_str() -> *mut ::libc::c_char; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Struct__fluid_voice_t` [INFO] [stdout] --> src/ffi.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Struct__fluid_voice_t { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `fluid_voice_t` [INFO] [stdout] --> src/ffi.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub type fluid_voice_t = Struct__fluid_voice_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `fluid_sfloader_t` [INFO] [stdout] --> src/ffi.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub type fluid_sfloader_t = Struct__fluid_sfloader_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `fluid_cmd_handler_t` [INFO] [stdout] --> src/ffi.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub type fluid_cmd_handler_t = Struct__fluid_hashtable_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Struct__fluid_shell_t` [INFO] [stdout] --> src/ffi.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum Struct__fluid_shell_t { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `fluid_shell_t` [INFO] [stdout] --> src/ffi.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub type fluid_shell_t = Struct__fluid_shell_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Struct__fluid_server_t` [INFO] [stdout] --> src/ffi.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum Struct__fluid_server_t { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `fluid_server_t` [INFO] [stdout] --> src/ffi.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub type fluid_server_t = Struct__fluid_server_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Struct__fluid_rampreset_t` [INFO] [stdout] --> src/ffi.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum Struct__fluid_rampreset_t { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `fluid_rampreset_t` [INFO] [stdout] --> src/ffi.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub type fluid_rampreset_t = Struct__fluid_rampreset_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `fluid_istream_t` [INFO] [stdout] --> src/ffi.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub type fluid_istream_t = ::libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Enum_fluid_midi_channel_type` [INFO] [stdout] --> src/ffi.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub type Enum_fluid_midi_channel_type = ::libc::c_uint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CHANNEL_TYPE_MELODIC` [INFO] [stdout] --> src/ffi.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | pub const CHANNEL_TYPE_MELODIC: ::libc::c_uint = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CHANNEL_TYPE_DRUM` [INFO] [stdout] --> src/ffi.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub const CHANNEL_TYPE_DRUM: ::libc::c_uint = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `fluid_audio_callback_t` [INFO] [stdout] --> src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / pub type fluid_audio_callback_t = [INFO] [stdout] 61 | | ::std::option::Option ::libc::c_int>; [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `fluid_cmd_t` [INFO] [stdout] --> src/ffi.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub type fluid_cmd_t = Struct_Unnamed2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `fluid_server_newclient_func_t` [INFO] [stdout] --> src/ffi.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | / pub type fluid_server_newclient_func_t = [INFO] [stdout] 85 | | ::std::option::Option *mut fluid_cmd_handler_t>; [INFO] [stdout] | |___________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `fn(*mut c_void, *mut Struct__fluid_midi_event_t) -> i32`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:815:44 [INFO] [stdout] | [INFO] [stdout] 815 | ... callback: fn (closure: *mut ::libc::c_void, event: *mut fluid_midi_event_t) -> i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] = help: consider using an `extern fn(...) -> ...` function pointer instead [INFO] [stdout] = note: this function pointer has Rust-specific calling convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `fn(*mut c_void, *mut Struct__fluid_midi_event_t) -> i32`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:859:43 [INFO] [stdout] | [INFO] [stdout] 859 | ... handler: fn (closure: *mut ::libc::c_void, event: *mut fluid_midi_event_t) -> i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using an `extern fn(...) -> ...` function pointer instead [INFO] [stdout] = note: this function pointer has Rust-specific calling convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Enum_Unnamed3` [INFO] [stdout] --> src/ffi.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | pub type Enum_Unnamed3 = ::libc::c_uint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FLUID_PRESET_SELECTED` [INFO] [stdout] --> src/ffi.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | pub const FLUID_PRESET_SELECTED: ::libc::c_uint = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FLUID_PRESET_UNSELECTED` [INFO] [stdout] --> src/ffi.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | pub const FLUID_PRESET_UNSELECTED: ::libc::c_uint = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FLUID_SAMPLE_DONE` [INFO] [stdout] --> src/ffi.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | pub const FLUID_SAMPLE_DONE: ::libc::c_uint = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `fn(*mut c_void, u32, *mut Struct__fluid_event_t, *mut Struct__fluid_sequencer_t)`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:895:54 [INFO] [stdout] | [INFO] [stdout] 895 | ...ack: fn (closure: *mut ::libc::c_void, time: ::libc::c_uint, event: *mut fluid_event_t, seq: *mut fluid_sequencer_t), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using an `extern fn(...) -> ...` function pointer instead [INFO] [stdout] = note: this function pointer has Rust-specific calling convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Struct__fluid_sfloader_t` [INFO] [stdout] --> src/ffi.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct Struct__fluid_sfloader_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ID` should have a snake case name [INFO] [stdout] --> src/synth.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | ID => Some (ID as u32), [INFO] [stdout] | ^^ help: convert the identifier to snake case: `id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `fluid_audio_func_t` [INFO] [stdout] --> src/ffi.rs:182:1 [INFO] [stdout] | [INFO] [stdout] 182 | / pub type fluid_audio_func_t = [INFO] [stdout] 183 | | ::std::option::Option ::libc::c_int>; [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `handle_midi_event_func_t` [INFO] [stdout] --> src/ffi.rs:191:1 [INFO] [stdout] | [INFO] [stdout] 191 | / pub type handle_midi_event_func_t = [INFO] [stdout] 192 | | ::std::option::Option ::libc::c_int>; [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Enum_fluid_player_status` [INFO] [stdout] --> src/ffi.rs:196:1 [INFO] [stdout] | [INFO] [stdout] 196 | pub type Enum_fluid_player_status = ::libc::c_uint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FLUID_PLAYER_READY` [INFO] [stdout] --> src/ffi.rs:197:1 [INFO] [stdout] | [INFO] [stdout] 197 | pub const FLUID_PLAYER_READY: ::libc::c_uint = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FLUID_PLAYER_PLAYING` [INFO] [stdout] --> src/ffi.rs:198:1 [INFO] [stdout] | [INFO] [stdout] 198 | pub const FLUID_PLAYER_PLAYING: ::libc::c_uint = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FLUID_PLAYER_DONE` [INFO] [stdout] --> src/ffi.rs:199:1 [INFO] [stdout] | [INFO] [stdout] 199 | pub const FLUID_PLAYER_DONE: ::libc::c_uint = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `fluid_log_function_t` [INFO] [stdout] --> src/ffi.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / pub type fluid_log_function_t = [INFO] [stdout] 201 | | ::std::option::Option ()>; [INFO] [stdout] | |_________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Struct__fluid_gen_t` [INFO] [stdout] --> src/ffi.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 217 | pub struct Struct__fluid_gen_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `fluid_gen_t` [INFO] [stdout] --> src/ffi.rs:223:1 [INFO] [stdout] | [INFO] [stdout] 223 | pub type fluid_gen_t = Struct__fluid_gen_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_settings_copystr` [INFO] [stdout] --> src/ffi.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | / pub fn fluid_settings_copystr(settings: *mut fluid_settings_t, [INFO] [stdout] 242 | | name: *const ::libc::c_char, [INFO] [stdout] 243 | | str: *mut ::libc::c_char, [INFO] [stdout] 244 | | len: ::libc::c_int) -> ::libc::c_int; [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_settings_dupstr` [INFO] [stdout] --> src/ffi.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | / pub fn fluid_settings_dupstr(settings: *mut fluid_settings_t, [INFO] [stdout] 246 | | name: *const ::libc::c_char, [INFO] [stdout] 247 | | str: *mut *mut ::libc::c_char) [INFO] [stdout] 248 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_settings_getstr` [INFO] [stdout] --> src/ffi.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | / pub fn fluid_settings_getstr(settings: *mut fluid_settings_t, [INFO] [stdout] 250 | | name: *const ::libc::c_char, [INFO] [stdout] 251 | | str: *mut *mut ::libc::c_char) [INFO] [stdout] 252 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_synth_sysex` [INFO] [stdout] --> src/ffi.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | / pub fn fluid_synth_sysex(synth: *mut fluid_synth_t, [INFO] [stdout] 318 | | data: *const ::libc::c_char, len: ::libc::c_int, [INFO] [stdout] 319 | | response: *mut ::libc::c_char, [INFO] [stdout] 320 | | response_len: *mut ::libc::c_int, [INFO] [stdout] 321 | | handled: *mut ::libc::c_int, [INFO] [stdout] 322 | | dryrun: ::libc::c_int) -> ::libc::c_int; [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_synth_get_program` [INFO] [stdout] --> src/ffi.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 365 | / pub fn fluid_synth_get_program(synth: *mut fluid_synth_t, [INFO] [stdout] 366 | | chan: ::libc::c_int, [INFO] [stdout] 367 | | sfont_id: *mut ::libc::c_uint, [INFO] [stdout] 368 | | bank_num: *mut ::libc::c_uint, [INFO] [stdout] 369 | | preset_num: *mut ::libc::c_uint) [INFO] [stdout] 370 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_synth_all_notes_off` [INFO] [stdout] --> src/ffi.rs:381:5 [INFO] [stdout] | [INFO] [stdout] 381 | / pub fn fluid_synth_all_notes_off(synth: *mut fluid_synth_t, [INFO] [stdout] 382 | | chan: ::libc::c_int) -> ::libc::c_int; [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_synth_all_sounds_off` [INFO] [stdout] --> src/ffi.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | / pub fn fluid_synth_all_sounds_off(synth: *mut fluid_synth_t, [INFO] [stdout] 384 | | chan: ::libc::c_int) -> ::libc::c_int; [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_synth_set_channel_type` [INFO] [stdout] --> src/ffi.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | / pub fn fluid_synth_set_channel_type(synth: *mut fluid_synth_t, [INFO] [stdout] 386 | | chan: ::libc::c_int, [INFO] [stdout] 387 | | _type: ::libc::c_int) [INFO] [stdout] 388 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_synth_get_reverb_width` [INFO] [stdout] --> src/ffi.rs:440:5 [INFO] [stdout] | [INFO] [stdout] 440 | / pub fn fluid_synth_get_reverb_width(synth: *mut fluid_synth_t) [INFO] [stdout] 441 | | -> ::libc::c_double; [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_synth_tuning_iteration_next` [INFO] [stdout] --> src/ffi.rs:543:5 [INFO] [stdout] | [INFO] [stdout] 543 | / pub fn fluid_synth_tuning_iteration_next(synth: *mut fluid_synth_t, [INFO] [stdout] 544 | | bank: *mut ::libc::c_int, [INFO] [stdout] 545 | | prog: *mut ::libc::c_int) [INFO] [stdout] 546 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_synth_tuning_dump` [INFO] [stdout] --> src/ffi.rs:547:5 [INFO] [stdout] | [INFO] [stdout] 547 | / pub fn fluid_synth_tuning_dump(synth: *mut fluid_synth_t, [INFO] [stdout] 548 | | bank: ::libc::c_int, prog: ::libc::c_int, [INFO] [stdout] 549 | | name: *mut ::libc::c_char, [INFO] [stdout] 550 | | len: ::libc::c_int, [INFO] [stdout] 551 | | pitch: *mut ::libc::c_double) [INFO] [stdout] 552 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_synth_write_s16` [INFO] [stdout] --> src/ffi.rs:557:5 [INFO] [stdout] | [INFO] [stdout] 557 | / pub fn fluid_synth_write_s16(synth: *mut fluid_synth_t, [INFO] [stdout] 558 | | len: ::libc::c_int, [INFO] [stdout] 559 | | lout: *mut ::libc::c_void, [INFO] [stdout] 560 | | loff: ::libc::c_int, lincr: ::libc::c_int, [INFO] [stdout] 561 | | rout: *mut ::libc::c_void, [INFO] [stdout] 562 | | roff: ::libc::c_int, rincr: ::libc::c_int) [INFO] [stdout] 563 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_synth_nwrite_float` [INFO] [stdout] --> src/ffi.rs:571:5 [INFO] [stdout] | [INFO] [stdout] 571 | / pub fn fluid_synth_nwrite_float(synth: *mut fluid_synth_t, [INFO] [stdout] 572 | | len: ::libc::c_int, [INFO] [stdout] 573 | | left: *mut *mut ::libc::c_float, [INFO] [stdout] 574 | | right: *mut *mut ::libc::c_float, [INFO] [stdout] 575 | | fx_left: *mut *mut ::libc::c_float, [INFO] [stdout] 576 | | fx_right: *mut *mut ::libc::c_float) [INFO] [stdout] 577 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_synth_process` [INFO] [stdout] --> src/ffi.rs:578:5 [INFO] [stdout] | [INFO] [stdout] 578 | / pub fn fluid_synth_process(synth: *mut fluid_synth_t, len: ::libc::c_int, [INFO] [stdout] 579 | | nin: ::libc::c_int, [INFO] [stdout] 580 | | _in: *mut *mut ::libc::c_float, [INFO] [stdout] 581 | | nout: ::libc::c_int, [INFO] [stdout] 582 | | out: *mut *mut ::libc::c_float) [INFO] [stdout] 583 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_synth_add_sfloader` [INFO] [stdout] --> src/ffi.rs:584:5 [INFO] [stdout] | [INFO] [stdout] 584 | / pub fn fluid_synth_add_sfloader(synth: *mut fluid_synth_t, [INFO] [stdout] 585 | | loader: *mut fluid_sfloader_t) -> (); [INFO] [stdout] | |_________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_synth_alloc_voice` [INFO] [stdout] --> src/ffi.rs:586:5 [INFO] [stdout] | [INFO] [stdout] 586 | / pub fn fluid_synth_alloc_voice(synth: *mut fluid_synth_t, [INFO] [stdout] 587 | | sample: *mut fluid_sample_t, [INFO] [stdout] 588 | | channum: ::libc::c_int, key: ::libc::c_int, [INFO] [stdout] 589 | | vel: ::libc::c_int) -> *mut fluid_voice_t; [INFO] [stdout] | |_____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_synth_start_voice` [INFO] [stdout] --> src/ffi.rs:590:5 [INFO] [stdout] | [INFO] [stdout] 590 | / pub fn fluid_synth_start_voice(synth: *mut fluid_synth_t, [INFO] [stdout] 591 | | voice: *mut fluid_voice_t) -> (); [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_synth_get_voicelist` [INFO] [stdout] --> src/ffi.rs:592:5 [INFO] [stdout] | [INFO] [stdout] 592 | / pub fn fluid_synth_get_voicelist(synth: *mut fluid_synth_t, [INFO] [stdout] 593 | | buf: *mut *mut fluid_voice_t, [INFO] [stdout] 594 | | bufsize: ::libc::c_int, [INFO] [stdout] 595 | | ID: ::libc::c_int) -> (); [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_synth_handle_midi_event` [INFO] [stdout] --> src/ffi.rs:596:5 [INFO] [stdout] | [INFO] [stdout] 596 | / pub fn fluid_synth_handle_midi_event(data: *mut ::libc::c_void, [INFO] [stdout] 597 | | event: *mut fluid_midi_event_t) [INFO] [stdout] 598 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_get_stdin` [INFO] [stdout] --> src/ffi.rs:602:5 [INFO] [stdout] | [INFO] [stdout] 602 | pub fn fluid_get_stdin() -> fluid_istream_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_get_stdout` [INFO] [stdout] --> src/ffi.rs:603:5 [INFO] [stdout] | [INFO] [stdout] 603 | pub fn fluid_get_stdout() -> fluid_ostream_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_get_userconf` [INFO] [stdout] --> src/ffi.rs:604:5 [INFO] [stdout] | [INFO] [stdout] 604 | / pub fn fluid_get_userconf(buf: *mut ::libc::c_char, len: ::libc::c_int) [INFO] [stdout] 605 | | -> *mut ::libc::c_char; [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_get_sysconf` [INFO] [stdout] --> src/ffi.rs:606:5 [INFO] [stdout] | [INFO] [stdout] 606 | / pub fn fluid_get_sysconf(buf: *mut ::libc::c_char, len: ::libc::c_int) [INFO] [stdout] 607 | | -> *mut ::libc::c_char; [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `new_fluid_cmd_handler` [INFO] [stdout] --> src/ffi.rs:608:5 [INFO] [stdout] | [INFO] [stdout] 608 | / pub fn new_fluid_cmd_handler(synth: *mut fluid_synth_t) [INFO] [stdout] 609 | | -> *mut fluid_cmd_handler_t; [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `delete_fluid_cmd_handler` [INFO] [stdout] --> src/ffi.rs:610:5 [INFO] [stdout] | [INFO] [stdout] 610 | pub fn delete_fluid_cmd_handler(handler: *mut fluid_cmd_handler_t) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_cmd_handler_set_synth` [INFO] [stdout] --> src/ffi.rs:611:5 [INFO] [stdout] | [INFO] [stdout] 611 | / pub fn fluid_cmd_handler_set_synth(handler: *mut fluid_cmd_handler_t, [INFO] [stdout] 612 | | synth: *mut fluid_synth_t) -> (); [INFO] [stdout] | |________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_cmd_handler_register` [INFO] [stdout] --> src/ffi.rs:613:5 [INFO] [stdout] | [INFO] [stdout] 613 | / pub fn fluid_cmd_handler_register(handler: *mut fluid_cmd_handler_t, [INFO] [stdout] 614 | | cmd: *mut fluid_cmd_t) -> ::libc::c_int; [INFO] [stdout] | |______________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_cmd_handler_unregister` [INFO] [stdout] --> src/ffi.rs:615:5 [INFO] [stdout] | [INFO] [stdout] 615 | / pub fn fluid_cmd_handler_unregister(handler: *mut fluid_cmd_handler_t, [INFO] [stdout] 616 | | cmd: *const ::libc::c_char) [INFO] [stdout] 617 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_command` [INFO] [stdout] --> src/ffi.rs:618:5 [INFO] [stdout] | [INFO] [stdout] 618 | / pub fn fluid_command(handler: *mut fluid_cmd_handler_t, [INFO] [stdout] 619 | | cmd: *const ::libc::c_char, out: fluid_ostream_t) [INFO] [stdout] 620 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_source` [INFO] [stdout] --> src/ffi.rs:621:5 [INFO] [stdout] | [INFO] [stdout] 621 | / pub fn fluid_source(handler: *mut fluid_cmd_handler_t, [INFO] [stdout] 622 | | filename: *const ::libc::c_char) -> ::libc::c_int; [INFO] [stdout] | |__________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_usershell` [INFO] [stdout] --> src/ffi.rs:623:5 [INFO] [stdout] | [INFO] [stdout] 623 | / pub fn fluid_usershell(settings: *mut fluid_settings_t, [INFO] [stdout] 624 | | handler: *mut fluid_cmd_handler_t) -> (); [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `new_fluid_shell` [INFO] [stdout] --> src/ffi.rs:625:5 [INFO] [stdout] | [INFO] [stdout] 625 | / pub fn new_fluid_shell(settings: *mut fluid_settings_t, [INFO] [stdout] 626 | | handler: *mut fluid_cmd_handler_t, [INFO] [stdout] 627 | | _in: fluid_istream_t, out: fluid_ostream_t, [INFO] [stdout] 628 | | thread: ::libc::c_int) -> *mut fluid_shell_t; [INFO] [stdout] | |________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `delete_fluid_shell` [INFO] [stdout] --> src/ffi.rs:629:5 [INFO] [stdout] | [INFO] [stdout] 629 | pub fn delete_fluid_shell(shell: *mut fluid_shell_t) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `new_fluid_server` [INFO] [stdout] --> src/ffi.rs:630:5 [INFO] [stdout] | [INFO] [stdout] 630 | / pub fn new_fluid_server(settings: *mut fluid_settings_t, [INFO] [stdout] 631 | | func: fluid_server_newclient_func_t, [INFO] [stdout] 632 | | data: *mut ::libc::c_void) -> *mut fluid_server_t; [INFO] [stdout] | |______________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `delete_fluid_server` [INFO] [stdout] --> src/ffi.rs:633:5 [INFO] [stdout] | [INFO] [stdout] 633 | pub fn delete_fluid_server(server: *mut fluid_server_t) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_server_join` [INFO] [stdout] --> src/ffi.rs:634:5 [INFO] [stdout] | [INFO] [stdout] 634 | pub fn fluid_server_join(server: *mut fluid_server_t) -> ::libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `new_fluid_audio_driver2` [INFO] [stdout] --> src/ffi.rs:679:5 [INFO] [stdout] | [INFO] [stdout] 679 | / pub fn new_fluid_audio_driver2(settings: *mut fluid_settings_t, [INFO] [stdout] 680 | | func: fluid_audio_func_t, [INFO] [stdout] 681 | | data: *mut ::libc::c_void) [INFO] [stdout] 682 | | -> *mut fluid_audio_driver_t; [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_event_timer` [INFO] [stdout] --> src/ffi.rs:695:5 [INFO] [stdout] | [INFO] [stdout] 695 | / pub fn fluid_event_timer(evt: *mut fluid_event_t, [INFO] [stdout] 696 | | data: *mut ::libc::c_void) -> (); [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_event_note` [INFO] [stdout] --> src/ffi.rs:697:5 [INFO] [stdout] | [INFO] [stdout] 697 | / pub fn fluid_event_note(evt: *mut fluid_event_t, channel: ::libc::c_int, [INFO] [stdout] 698 | | key: ::libc::c_short, vel: ::libc::c_short, [INFO] [stdout] 699 | | duration: ::libc::c_uint) -> (); [INFO] [stdout] | |____________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_event_get_data` [INFO] [stdout] --> src/ffi.rs:766:5 [INFO] [stdout] | [INFO] [stdout] 766 | / pub fn fluid_event_get_data(evt: *mut fluid_event_t) [INFO] [stdout] 767 | | -> *mut ::libc::c_void; [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_midi_event_set_sysex` [INFO] [stdout] --> src/ffi.rs:809:5 [INFO] [stdout] | [INFO] [stdout] 809 | / pub fn fluid_midi_event_set_sysex(evt: *mut fluid_midi_event_t, [INFO] [stdout] 810 | | data: *mut ::libc::c_void, [INFO] [stdout] 811 | | size: ::libc::c_int, [INFO] [stdout] 812 | | dynamic: ::libc::c_int) [INFO] [stdout] 813 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_player_add_mem` [INFO] [stdout] --> src/ffi.rs:867:5 [INFO] [stdout] | [INFO] [stdout] 867 | / pub fn fluid_player_add_mem(player: *mut fluid_player_t, [INFO] [stdout] 868 | | buffer: *const ::libc::c_void, len: ::libc::c_uint) [INFO] [stdout] 869 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_player_set_loop` [INFO] [stdout] --> src/ffi.rs:873:5 [INFO] [stdout] | [INFO] [stdout] 873 | / pub fn fluid_player_set_loop(player: *mut fluid_player_t, [INFO] [stdout] 874 | | _loop: ::libc::c_int) -> ::libc::c_int; [INFO] [stdout] | |________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_player_set_playback_callback` [INFO] [stdout] --> src/ffi.rs:881:5 [INFO] [stdout] | [INFO] [stdout] 881 | / pub fn fluid_player_set_playback_callback(player: *mut fluid_player_t, [INFO] [stdout] 882 | | handler: [INFO] [stdout] 883 | | handle_midi_event_func_t, [INFO] [stdout] 884 | | handler_data: [INFO] [stdout] 885 | | *mut ::libc::c_void) [INFO] [stdout] 886 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_sequencer_add_midi_event_to_buffer` [INFO] [stdout] --> src/ffi.rs:931:5 [INFO] [stdout] | [INFO] [stdout] 931 | / pub fn fluid_sequencer_add_midi_event_to_buffer(data: *mut ::libc::c_void, [INFO] [stdout] 932 | | event: [INFO] [stdout] 933 | | *mut fluid_midi_event_t) [INFO] [stdout] 934 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_set_log_function` [INFO] [stdout] --> src/ffi.rs:935:5 [INFO] [stdout] | [INFO] [stdout] 935 | / pub fn fluid_set_log_function(level: ::libc::c_int, [INFO] [stdout] 936 | | fun: fluid_log_function_t, [INFO] [stdout] 937 | | data: *mut ::libc::c_void) [INFO] [stdout] 938 | | -> fluid_log_function_t; [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_default_log_function` [INFO] [stdout] --> src/ffi.rs:939:5 [INFO] [stdout] | [INFO] [stdout] 939 | / pub fn fluid_default_log_function(level: ::libc::c_int, [INFO] [stdout] 940 | | message: *mut ::libc::c_char, [INFO] [stdout] 941 | | data: *mut ::libc::c_void) -> (); [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_log` [INFO] [stdout] --> src/ffi.rs:942:5 [INFO] [stdout] | [INFO] [stdout] 942 | / pub fn fluid_log(level: ::libc::c_int, fmt: *const ::libc::c_char, ...) [INFO] [stdout] 943 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_gen_set_default_values` [INFO] [stdout] --> src/ffi.rs:966:5 [INFO] [stdout] | [INFO] [stdout] 966 | / pub fn fluid_gen_set_default_values(gen: *mut fluid_gen_t) [INFO] [stdout] 967 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_voice_update_param` [INFO] [stdout] --> src/ffi.rs:968:5 [INFO] [stdout] | [INFO] [stdout] 968 | / pub fn fluid_voice_update_param(voice: *mut fluid_voice_t, [INFO] [stdout] 969 | | gen: ::libc::c_int) -> (); [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_voice_add_mod` [INFO] [stdout] --> src/ffi.rs:970:5 [INFO] [stdout] | [INFO] [stdout] 970 | / pub fn fluid_voice_add_mod(voice: *mut fluid_voice_t, [INFO] [stdout] 971 | | _mod: *mut fluid_mod_t, mode: ::libc::c_int) [INFO] [stdout] 972 | | -> (); [INFO] [stdout] | |___________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_voice_gen_set` [INFO] [stdout] --> src/ffi.rs:973:5 [INFO] [stdout] | [INFO] [stdout] 973 | / pub fn fluid_voice_gen_set(voice: *mut fluid_voice_t, gen: ::libc::c_int, [INFO] [stdout] 974 | | val: ::libc::c_float) -> (); [INFO] [stdout] | |___________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_voice_gen_get` [INFO] [stdout] --> src/ffi.rs:975:5 [INFO] [stdout] | [INFO] [stdout] 975 | / pub fn fluid_voice_gen_get(voice: *mut fluid_voice_t, gen: ::libc::c_int) [INFO] [stdout] 976 | | -> ::libc::c_float; [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_voice_gen_incr` [INFO] [stdout] --> src/ffi.rs:977:5 [INFO] [stdout] | [INFO] [stdout] 977 | / pub fn fluid_voice_gen_incr(voice: *mut fluid_voice_t, gen: ::libc::c_int, [INFO] [stdout] 978 | | val: ::libc::c_float) -> (); [INFO] [stdout] | |____________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_voice_get_id` [INFO] [stdout] --> src/ffi.rs:979:5 [INFO] [stdout] | [INFO] [stdout] 979 | pub fn fluid_voice_get_id(voice: *mut fluid_voice_t) -> ::libc::c_uint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_voice_is_playing` [INFO] [stdout] --> src/ffi.rs:980:5 [INFO] [stdout] | [INFO] [stdout] 980 | pub fn fluid_voice_is_playing(voice: *mut fluid_voice_t) -> ::libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_voice_optimize_sample` [INFO] [stdout] --> src/ffi.rs:981:5 [INFO] [stdout] | [INFO] [stdout] 981 | / pub fn fluid_voice_optimize_sample(s: *mut fluid_sample_t) [INFO] [stdout] 982 | | -> ::libc::c_int; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_version` [INFO] [stdout] --> src/ffi.rs:983:5 [INFO] [stdout] | [INFO] [stdout] 983 | / pub fn fluid_version(major: *mut ::libc::c_int, minor: *mut ::libc::c_int, [INFO] [stdout] 984 | | micro: *mut ::libc::c_int) -> (); [INFO] [stdout] | |__________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fluid_version_str` [INFO] [stdout] --> src/ffi.rs:985:5 [INFO] [stdout] | [INFO] [stdout] 985 | pub fn fluid_version_str() -> *mut ::libc::c_char; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 107 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `fn(*mut c_void, *mut Struct__fluid_midi_event_t) -> i32`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:815:44 [INFO] [stdout] | [INFO] [stdout] 815 | ... callback: fn (closure: *mut ::libc::c_void, event: *mut fluid_midi_event_t) -> i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] = help: consider using an `extern fn(...) -> ...` function pointer instead [INFO] [stdout] = note: this function pointer has Rust-specific calling convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `fn(*mut c_void, *mut Struct__fluid_midi_event_t) -> i32`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:859:43 [INFO] [stdout] | [INFO] [stdout] 859 | ... handler: fn (closure: *mut ::libc::c_void, event: *mut fluid_midi_event_t) -> i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using an `extern fn(...) -> ...` function pointer instead [INFO] [stdout] = note: this function pointer has Rust-specific calling convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `fn(*mut c_void, u32, *mut Struct__fluid_event_t, *mut Struct__fluid_sequencer_t)`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:895:54 [INFO] [stdout] | [INFO] [stdout] 895 | ...ack: fn (closure: *mut ::libc::c_void, time: ::libc::c_uint, event: *mut fluid_event_t, seq: *mut fluid_sequencer_t), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using an `extern fn(...) -> ...` function pointer instead [INFO] [stdout] = note: this function pointer has Rust-specific calling convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ID` should have a snake case name [INFO] [stdout] --> src/synth.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | ID => Some (ID as u32), [INFO] [stdout] | ^^ help: convert the identifier to snake case: `id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 107 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `should_fail` in this scope [INFO] [stdout] --> tests/settings.rs:63:3 [INFO] [stdout] | [INFO] [stdout] 63 | #[should_fail] [INFO] [stdout] | ^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `should_panic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `should_fail` in this scope [INFO] [stdout] --> tests/settings.rs:63:3 [INFO] [stdout] | [INFO] [stdout] 63 | #[should_fail] [INFO] [stdout] | ^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `should_panic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `copystr` found for struct `fluidsynth::settings::Settings` in the current scope [INFO] [stdout] --> tests/settings.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | let res = settings.copystr("audio.driver", &mut buffer, 12); [INFO] [stdout] | ^^^^^^^ method not found in `fluidsynth::settings::Settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `getstr` found for struct `fluidsynth::settings::Settings` in the current scope [INFO] [stdout] --> tests/settings.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | let res = settings.getstr("audio.driver"); [INFO] [stdout] | ^^^^^^ help: there is an associated function with a similar name: `setstr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fluidsynth` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `copystr` found for struct `fluidsynth::settings::Settings` in the current scope [INFO] [stdout] --> tests/settings.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | let res = settings.copystr("audio.driver", &mut buffer, 12); [INFO] [stdout] | ^^^^^^^ method not found in `fluidsynth::settings::Settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `getstr` found for struct `fluidsynth::settings::Settings` in the current scope [INFO] [stdout] --> tests/settings.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | let res = settings.getstr("audio.driver"); [INFO] [stdout] | ^^^^^^ help: there is an associated function with a similar name: `setstr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9fb251b456d30bd32a5914c5313ca5cf3eed763e433979686eb0265031a4fb1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fb251b456d30bd32a5914c5313ca5cf3eed763e433979686eb0265031a4fb1c", kill_on_drop: false }` [INFO] [stdout] 9fb251b456d30bd32a5914c5313ca5cf3eed763e433979686eb0265031a4fb1c