[INFO] fetching crate libxm 1.0.0... [INFO] checking libxm-1.0.0 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate libxm 1.0.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate libxm 1.0.0 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libxm 1.0.0 [INFO] finished tweaking crates.io crate libxm 1.0.0 [INFO] tweaked toml for crates.io crate libxm 1.0.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 27 packages [INFO] [stderr] Adding bitflags v0.1.1 (latest: v2.5.0) [INFO] [stderr] Adding libc v0.1.12 (latest: v0.2.153) [INFO] [stderr] Adding num v0.1.42 (latest: v0.4.1) [INFO] [stderr] Adding num-bigint v0.1.44 (latest: v0.4.4) [INFO] [stderr] Adding num-complex v0.1.43 (latest: v0.4.5) [INFO] [stderr] Adding num-rational v0.1.42 (latest: v0.4.1) [INFO] [stderr] Adding rand v0.3.23 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding sdl2 v0.3.0 (latest: v0.36.0) [INFO] [stderr] Adding sdl2-sys v0.3.0 (latest: v0.36.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v0.1.1 [INFO] [stderr] Downloaded libc v0.1.12 [INFO] [stderr] Downloaded sdl2-sys v0.3.0 [INFO] [stderr] Downloaded sdl2 v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94e174fd523a82186cfb48528a396a0329af3c387c5a9f9fc5901fcd89f5d688 [INFO] running `Command { std: "docker" "start" "-a" "94e174fd523a82186cfb48528a396a0329af3c387c5a9f9fc5901fcd89f5d688", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94e174fd523a82186cfb48528a396a0329af3c387c5a9f9fc5901fcd89f5d688", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94e174fd523a82186cfb48528a396a0329af3c387c5a9f9fc5901fcd89f5d688", kill_on_drop: false }` [INFO] [stdout] 94e174fd523a82186cfb48528a396a0329af3c387c5a9f9fc5901fcd89f5d688 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82155f7e5e183a1ba57c97bd85211cf01c10bbc93c2c2059d7727e2ec3df7ae7 [INFO] running `Command { std: "docker" "start" "-a" "82155f7e5e183a1ba57c97bd85211cf01c10bbc93c2c2059d7727e2ec3df7ae7", kill_on_drop: false }` [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Compiling sdl2-sys v0.3.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking libc v0.1.12 [INFO] [stderr] Checking bitflags v0.1.1 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Compiling libxm v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stdout] --> build.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | gcc::Config::new() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> build.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | gcc::Config::new() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: libxm@1.0.0: libxm/src/play.c: In function 'xm_tremolo': [INFO] [stderr] warning: libxm@1.0.0: libxm/src/play.c:178:38: warning: unused parameter 'ctx' [-Wunused-parameter] [INFO] [stderr] warning: libxm@1.0.0: 178 | static void xm_tremolo(xm_context_t* ctx, xm_channel_context_t* ch, uint8_t param, uint16_t pos) { [INFO] [stderr] warning: libxm@1.0.0: | ~~~~~~~~~~~~~~^~~ [INFO] [stderr] warning: libxm@1.0.0: libxm/src/play.c: In function 'xm_handle_note_and_instrument': [INFO] [stderr] warning: libxm@1.0.0: libxm/src/play.c:470:19: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: libxm@1.0.0: 470 | if(s->volume_column > 0x50) break; [INFO] [stderr] warning: libxm@1.0.0: | ^ [INFO] [stderr] warning: libxm@1.0.0: libxm/src/play.c:471:9: note: here [INFO] [stderr] warning: libxm@1.0.0: 471 | case 0x1: [INFO] [stderr] warning: libxm@1.0.0: | ^~~~ [INFO] [stderr] warning: libxm@1.0.0: libxm/src/play.c: In function 'xm_tick': [INFO] [stderr] warning: libxm@1.0.0: libxm/src/play.c:1021:43: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: libxm@1.0.0: 1021 | if(ctx->current_tick == 1) { [INFO] [stderr] warning: libxm@1.0.0: | ^ [INFO] [stderr] warning: libxm@1.0.0: libxm/src/play.c:1028:33: note: here [INFO] [stderr] warning: libxm@1.0.0: 1028 | case 1: /* 0 -> 0 -> y -> x -> … */ [INFO] [stderr] warning: libxm@1.0.0: | ^~~~ [INFO] [stderr] warning: libxm@1.0.0: libxm/src/play.c:1029:43: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: libxm@1.0.0: 1029 | if(ctx->current_tick == 0) { [INFO] [stderr] warning: libxm@1.0.0: | ^ [INFO] [stderr] warning: libxm@1.0.0: libxm/src/play.c:1036:33: note: here [INFO] [stderr] warning: libxm@1.0.0: 1036 | case 0: /* 0 -> y -> x -> … */ [INFO] [stderr] warning: libxm@1.0.0: | ^~~~ [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | let mut raw = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::{uint8_t, uint16_t, uint32_t, uint64_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::{uint8_t, uint16_t, uint32_t, uint64_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/ffi.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::{uint8_t, uint16_t, uint32_t, uint64_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/ffi.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::{uint8_t, uint16_t, uint32_t, uint64_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/ffi.rs:11:122 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn xm_create_context_safe(context: *mut *mut xm_context_t, moddata: *const c_char, moddata_length: size_t, rate: uint32_t) -> c_int; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:14:71 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn xm_set_max_loop_count(context: *mut xm_context_t, loopcnt: uint8_t); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:15:61 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn xm_get_loop_count(context: *mut xm_context_t) -> uint8_t; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:18:69 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn xm_get_number_of_channels(context: *mut xm_context_t) -> uint16_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:19:64 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn xm_get_module_length(context: *mut xm_context_t) -> uint16_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:20:69 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn xm_get_number_of_patterns(context: *mut xm_context_t) -> uint16_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:22:71 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn xm_get_number_of_rows(context: *mut xm_context_t, pattern: uint16_t) -> uint16_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:22:84 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn xm_get_number_of_rows(context: *mut xm_context_t, pattern: uint16_t) -> uint16_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:23:72 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn xm_get_number_of_instruments(context: *mut xm_context_t) -> uint16_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:24:77 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn xm_get_number_of_samples(context: *mut xm_context_t, instrument: uint16_t) -> uint16_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:24:90 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn xm_get_number_of_samples(context: *mut xm_context_t, instrument: uint16_t) -> uint16_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:26:71 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn xm_get_playing_speed(context: *mut xm_context_t, bpm: *mut uint16_t, tempo: *mut uint16_t); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:26:93 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn xm_get_playing_speed(context: *mut xm_context_t, bpm: *mut uint16_t, tempo: *mut uint16_t); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:27:76 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn xm_get_position(context: *mut xm_context_t, pattern_index: *mut uint8_t, pattern: *mut uint8_t, row: *mut uint8_t, samples: *m... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:27:99 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn xm_get_position(context: *mut xm_context_t, pattern_index: *mut uint8_t, pattern: *mut uint8_t, row: *mut uint8_t, samples: *m... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:27:118 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn xm_get_position(context: *mut xm_context_t, pattern_index: *mut uint8_t, pattern: *mut uint8_t, row: *mut uint8_t, samples: *m... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/ffi.rs:27:141 [INFO] [stdout] | [INFO] [stdout] 27 | ...nt8_t, pattern: *mut uint8_t, row: *mut uint8_t, samples: *mut uint64_t); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:28:88 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn xm_get_latest_trigger_of_instrument(context: *mut xm_context_t, instrument: uint16_t) -> uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/ffi.rs:28:101 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn xm_get_latest_trigger_of_instrument(context: *mut xm_context_t, instrument: uint16_t) -> uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:29:79 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn xm_get_latest_trigger_of_sample(context: *mut xm_context_t, instr: uint16_t, sample: uint16_t) -> uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:29:97 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn xm_get_latest_trigger_of_sample(context: *mut xm_context_t, instr: uint16_t, sample: uint16_t) -> uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/ffi.rs:29:110 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn xm_get_latest_trigger_of_sample(context: *mut xm_context_t, instr: uint16_t, sample: uint16_t) -> uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:30:82 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn xm_get_latest_trigger_of_channel(context: *mut xm_context_t, channel: uint16_t) -> uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/ffi.rs:30:95 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn xm_get_latest_trigger_of_channel(context: *mut xm_context_t, channel: uint16_t) -> uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut xm_context` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:95:27 [INFO] [stdout] | [INFO] [stdout] 95 | let mut raw = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking sdl2 v0.3.0 [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | let mut raw = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::{uint8_t, uint16_t, uint32_t, uint64_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::{uint8_t, uint16_t, uint32_t, uint64_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/ffi.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::{uint8_t, uint16_t, uint32_t, uint64_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/ffi.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::{uint8_t, uint16_t, uint32_t, uint64_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/ffi.rs:11:122 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn xm_create_context_safe(context: *mut *mut xm_context_t, moddata: *const c_char, moddata_length: size_t, rate: uint32_t) -> c_int; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:14:71 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn xm_set_max_loop_count(context: *mut xm_context_t, loopcnt: uint8_t); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:15:61 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn xm_get_loop_count(context: *mut xm_context_t) -> uint8_t; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:18:69 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn xm_get_number_of_channels(context: *mut xm_context_t) -> uint16_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:19:64 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn xm_get_module_length(context: *mut xm_context_t) -> uint16_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:20:69 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn xm_get_number_of_patterns(context: *mut xm_context_t) -> uint16_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:22:71 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn xm_get_number_of_rows(context: *mut xm_context_t, pattern: uint16_t) -> uint16_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:22:84 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn xm_get_number_of_rows(context: *mut xm_context_t, pattern: uint16_t) -> uint16_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:23:72 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn xm_get_number_of_instruments(context: *mut xm_context_t) -> uint16_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:24:77 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn xm_get_number_of_samples(context: *mut xm_context_t, instrument: uint16_t) -> uint16_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:24:90 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn xm_get_number_of_samples(context: *mut xm_context_t, instrument: uint16_t) -> uint16_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:26:71 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn xm_get_playing_speed(context: *mut xm_context_t, bpm: *mut uint16_t, tempo: *mut uint16_t); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:26:93 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn xm_get_playing_speed(context: *mut xm_context_t, bpm: *mut uint16_t, tempo: *mut uint16_t); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:27:76 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn xm_get_position(context: *mut xm_context_t, pattern_index: *mut uint8_t, pattern: *mut uint8_t, row: *mut uint8_t, samples: *m... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:27:99 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn xm_get_position(context: *mut xm_context_t, pattern_index: *mut uint8_t, pattern: *mut uint8_t, row: *mut uint8_t, samples: *m... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:27:118 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn xm_get_position(context: *mut xm_context_t, pattern_index: *mut uint8_t, pattern: *mut uint8_t, row: *mut uint8_t, samples: *m... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/ffi.rs:27:141 [INFO] [stdout] | [INFO] [stdout] 27 | ...nt8_t, pattern: *mut uint8_t, row: *mut uint8_t, samples: *mut uint64_t); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:28:88 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn xm_get_latest_trigger_of_instrument(context: *mut xm_context_t, instrument: uint16_t) -> uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/ffi.rs:28:101 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn xm_get_latest_trigger_of_instrument(context: *mut xm_context_t, instrument: uint16_t) -> uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:29:79 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn xm_get_latest_trigger_of_sample(context: *mut xm_context_t, instr: uint16_t, sample: uint16_t) -> uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:29:97 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn xm_get_latest_trigger_of_sample(context: *mut xm_context_t, instr: uint16_t, sample: uint16_t) -> uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/ffi.rs:29:110 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn xm_get_latest_trigger_of_sample(context: *mut xm_context_t, instr: uint16_t, sample: uint16_t) -> uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:30:82 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn xm_get_latest_trigger_of_channel(context: *mut xm_context_t, channel: uint16_t) -> uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/ffi.rs:30:95 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn xm_get_latest_trigger_of_channel(context: *mut xm_context_t, channel: uint16_t) -> uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/playback-sdl2.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | Err(f) => { panic!(f.to_string()) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 91 | Err(f) => { panic!("{}", f.to_string()) } [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut xm_context` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:95:27 [INFO] [stdout] | [INFO] [stdout] 95 | let mut raw = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.00s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint v0.1.44, num-complex v0.1.43, num-rational v0.1.42 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "82155f7e5e183a1ba57c97bd85211cf01c10bbc93c2c2059d7727e2ec3df7ae7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82155f7e5e183a1ba57c97bd85211cf01c10bbc93c2c2059d7727e2ec3df7ae7", kill_on_drop: false }` [INFO] [stdout] 82155f7e5e183a1ba57c97bd85211cf01c10bbc93c2c2059d7727e2ec3df7ae7 [INFO] checking libxm-1.0.0 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate libxm 1.0.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate libxm 1.0.0 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libxm 1.0.0 [INFO] finished tweaking crates.io crate libxm 1.0.0 [INFO] tweaked toml for crates.io crate libxm 1.0.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 936c8f94901457a04a985ad65135f40ecc6053577ef3654a24d3c44ab1fc27f6 [INFO] running `Command { std: "docker" "start" "-a" "936c8f94901457a04a985ad65135f40ecc6053577ef3654a24d3c44ab1fc27f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "936c8f94901457a04a985ad65135f40ecc6053577ef3654a24d3c44ab1fc27f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "936c8f94901457a04a985ad65135f40ecc6053577ef3654a24d3c44ab1fc27f6", kill_on_drop: false }` [INFO] [stdout] 936c8f94901457a04a985ad65135f40ecc6053577ef3654a24d3c44ab1fc27f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f951010efb346e565fe7b94a37a0054e63ab804cd7a035eb72deeb519417af98 [INFO] running `Command { std: "docker" "start" "-a" "f951010efb346e565fe7b94a37a0054e63ab804cd7a035eb72deeb519417af98", kill_on_drop: false }` [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling sdl2-sys v0.3.0 [INFO] [stderr] Checking libc v0.1.12 [INFO] [stderr] Checking bitflags v0.1.1 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Compiling libxm v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stdout] --> build.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | gcc::Config::new() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> build.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | gcc::Config::new() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: libxm@1.0.0: libxm/src/play.c: In function 'xm_tremolo': [INFO] [stderr] warning: libxm@1.0.0: libxm/src/play.c:178:38: warning: unused parameter 'ctx' [-Wunused-parameter] [INFO] [stderr] warning: libxm@1.0.0: 178 | static void xm_tremolo(xm_context_t* ctx, xm_channel_context_t* ch, uint8_t param, uint16_t pos) { [INFO] [stderr] warning: libxm@1.0.0: | ~~~~~~~~~~~~~~^~~ [INFO] [stderr] warning: libxm@1.0.0: libxm/src/play.c: In function 'xm_handle_note_and_instrument': [INFO] [stderr] warning: libxm@1.0.0: libxm/src/play.c:470:19: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: libxm@1.0.0: 470 | if(s->volume_column > 0x50) break; [INFO] [stderr] warning: libxm@1.0.0: | ^ [INFO] [stderr] warning: libxm@1.0.0: libxm/src/play.c:471:9: note: here [INFO] [stderr] warning: libxm@1.0.0: 471 | case 0x1: [INFO] [stderr] warning: libxm@1.0.0: | ^~~~ [INFO] [stderr] warning: libxm@1.0.0: libxm/src/play.c: In function 'xm_tick': [INFO] [stderr] warning: libxm@1.0.0: libxm/src/play.c:1021:43: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: libxm@1.0.0: 1021 | if(ctx->current_tick == 1) { [INFO] [stderr] warning: libxm@1.0.0: | ^ [INFO] [stderr] warning: libxm@1.0.0: libxm/src/play.c:1028:33: note: here [INFO] [stderr] warning: libxm@1.0.0: 1028 | case 1: /* 0 -> 0 -> y -> x -> … */ [INFO] [stderr] warning: libxm@1.0.0: | ^~~~ [INFO] [stderr] warning: libxm@1.0.0: libxm/src/play.c:1029:43: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: libxm@1.0.0: 1029 | if(ctx->current_tick == 0) { [INFO] [stderr] warning: libxm@1.0.0: | ^ [INFO] [stderr] warning: libxm@1.0.0: libxm/src/play.c:1036:33: note: here [INFO] [stderr] warning: libxm@1.0.0: 1036 | case 0: /* 0 -> y -> x -> … */ [INFO] [stderr] warning: libxm@1.0.0: | ^~~~ [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | let mut raw = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::{uint8_t, uint16_t, uint32_t, uint64_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::{uint8_t, uint16_t, uint32_t, uint64_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/ffi.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::{uint8_t, uint16_t, uint32_t, uint64_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/ffi.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::{uint8_t, uint16_t, uint32_t, uint64_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/ffi.rs:11:122 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn xm_create_context_safe(context: *mut *mut xm_context_t, moddata: *const c_char, moddata_length: size_t, rate: uint32_t) -> c_int; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:14:71 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn xm_set_max_loop_count(context: *mut xm_context_t, loopcnt: uint8_t); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:15:61 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn xm_get_loop_count(context: *mut xm_context_t) -> uint8_t; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:18:69 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn xm_get_number_of_channels(context: *mut xm_context_t) -> uint16_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:19:64 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn xm_get_module_length(context: *mut xm_context_t) -> uint16_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:20:69 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn xm_get_number_of_patterns(context: *mut xm_context_t) -> uint16_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:22:71 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn xm_get_number_of_rows(context: *mut xm_context_t, pattern: uint16_t) -> uint16_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:22:84 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn xm_get_number_of_rows(context: *mut xm_context_t, pattern: uint16_t) -> uint16_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:23:72 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn xm_get_number_of_instruments(context: *mut xm_context_t) -> uint16_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:24:77 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn xm_get_number_of_samples(context: *mut xm_context_t, instrument: uint16_t) -> uint16_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:24:90 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn xm_get_number_of_samples(context: *mut xm_context_t, instrument: uint16_t) -> uint16_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:26:71 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn xm_get_playing_speed(context: *mut xm_context_t, bpm: *mut uint16_t, tempo: *mut uint16_t); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:26:93 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn xm_get_playing_speed(context: *mut xm_context_t, bpm: *mut uint16_t, tempo: *mut uint16_t); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:27:76 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn xm_get_position(context: *mut xm_context_t, pattern_index: *mut uint8_t, pattern: *mut uint8_t, row: *mut uint8_t, samples: *m... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:27:99 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn xm_get_position(context: *mut xm_context_t, pattern_index: *mut uint8_t, pattern: *mut uint8_t, row: *mut uint8_t, samples: *m... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:27:118 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn xm_get_position(context: *mut xm_context_t, pattern_index: *mut uint8_t, pattern: *mut uint8_t, row: *mut uint8_t, samples: *m... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/ffi.rs:27:141 [INFO] [stdout] | [INFO] [stdout] 27 | ...nt8_t, pattern: *mut uint8_t, row: *mut uint8_t, samples: *mut uint64_t); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:28:88 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn xm_get_latest_trigger_of_instrument(context: *mut xm_context_t, instrument: uint16_t) -> uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/ffi.rs:28:101 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn xm_get_latest_trigger_of_instrument(context: *mut xm_context_t, instrument: uint16_t) -> uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:29:79 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn xm_get_latest_trigger_of_sample(context: *mut xm_context_t, instr: uint16_t, sample: uint16_t) -> uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:29:97 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn xm_get_latest_trigger_of_sample(context: *mut xm_context_t, instr: uint16_t, sample: uint16_t) -> uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/ffi.rs:29:110 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn xm_get_latest_trigger_of_sample(context: *mut xm_context_t, instr: uint16_t, sample: uint16_t) -> uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:30:82 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn xm_get_latest_trigger_of_channel(context: *mut xm_context_t, channel: uint16_t) -> uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/ffi.rs:30:95 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn xm_get_latest_trigger_of_channel(context: *mut xm_context_t, channel: uint16_t) -> uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut xm_context` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:95:27 [INFO] [stdout] | [INFO] [stdout] 95 | let mut raw = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking sdl2 v0.3.0 [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | let mut raw = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::{uint8_t, uint16_t, uint32_t, uint64_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::{uint8_t, uint16_t, uint32_t, uint64_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/ffi.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::{uint8_t, uint16_t, uint32_t, uint64_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/ffi.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::{uint8_t, uint16_t, uint32_t, uint64_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/ffi.rs:11:122 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn xm_create_context_safe(context: *mut *mut xm_context_t, moddata: *const c_char, moddata_length: size_t, rate: uint32_t) -> c_int; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:14:71 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn xm_set_max_loop_count(context: *mut xm_context_t, loopcnt: uint8_t); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:15:61 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn xm_get_loop_count(context: *mut xm_context_t) -> uint8_t; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:18:69 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn xm_get_number_of_channels(context: *mut xm_context_t) -> uint16_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:19:64 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn xm_get_module_length(context: *mut xm_context_t) -> uint16_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:20:69 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn xm_get_number_of_patterns(context: *mut xm_context_t) -> uint16_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:22:71 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn xm_get_number_of_rows(context: *mut xm_context_t, pattern: uint16_t) -> uint16_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:22:84 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn xm_get_number_of_rows(context: *mut xm_context_t, pattern: uint16_t) -> uint16_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:23:72 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn xm_get_number_of_instruments(context: *mut xm_context_t) -> uint16_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:24:77 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn xm_get_number_of_samples(context: *mut xm_context_t, instrument: uint16_t) -> uint16_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:24:90 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn xm_get_number_of_samples(context: *mut xm_context_t, instrument: uint16_t) -> uint16_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:26:71 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn xm_get_playing_speed(context: *mut xm_context_t, bpm: *mut uint16_t, tempo: *mut uint16_t); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:26:93 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn xm_get_playing_speed(context: *mut xm_context_t, bpm: *mut uint16_t, tempo: *mut uint16_t); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:27:76 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn xm_get_position(context: *mut xm_context_t, pattern_index: *mut uint8_t, pattern: *mut uint8_t, row: *mut uint8_t, samples: *m... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:27:99 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn xm_get_position(context: *mut xm_context_t, pattern_index: *mut uint8_t, pattern: *mut uint8_t, row: *mut uint8_t, samples: *m... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:27:118 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn xm_get_position(context: *mut xm_context_t, pattern_index: *mut uint8_t, pattern: *mut uint8_t, row: *mut uint8_t, samples: *m... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/ffi.rs:27:141 [INFO] [stdout] | [INFO] [stdout] 27 | ...nt8_t, pattern: *mut uint8_t, row: *mut uint8_t, samples: *mut uint64_t); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:28:88 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn xm_get_latest_trigger_of_instrument(context: *mut xm_context_t, instrument: uint16_t) -> uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/ffi.rs:28:101 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn xm_get_latest_trigger_of_instrument(context: *mut xm_context_t, instrument: uint16_t) -> uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:29:79 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn xm_get_latest_trigger_of_sample(context: *mut xm_context_t, instr: uint16_t, sample: uint16_t) -> uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:29:97 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn xm_get_latest_trigger_of_sample(context: *mut xm_context_t, instr: uint16_t, sample: uint16_t) -> uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/ffi.rs:29:110 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn xm_get_latest_trigger_of_sample(context: *mut xm_context_t, instr: uint16_t, sample: uint16_t) -> uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:30:82 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn xm_get_latest_trigger_of_channel(context: *mut xm_context_t, channel: uint16_t) -> uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/ffi.rs:30:95 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn xm_get_latest_trigger_of_channel(context: *mut xm_context_t, channel: uint16_t) -> uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/playback-sdl2.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | Err(f) => { panic!(f.to_string()) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 91 | Err(f) => { panic!("{}", f.to_string()) } [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut xm_context` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:95:27 [INFO] [stdout] | [INFO] [stdout] 95 | let mut raw = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.52s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint v0.1.44, num-complex v0.1.43, num-rational v0.1.42 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "f951010efb346e565fe7b94a37a0054e63ab804cd7a035eb72deeb519417af98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f951010efb346e565fe7b94a37a0054e63ab804cd7a035eb72deeb519417af98", kill_on_drop: false }` [INFO] [stdout] f951010efb346e565fe7b94a37a0054e63ab804cd7a035eb72deeb519417af98