[INFO] fetching crate libxm 1.0.0... [INFO] testing libxm-1.0.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate libxm 1.0.0 into /workspace/builds/worker-20/source [INFO] validating manifest of crates.io crate libxm 1.0.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-20/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 950bcf65294274b8b5423192cafbbcc11604f3a4b84c96e37c8e3a16a0c12f57 [INFO] running `Command { std: "docker" "start" "-a" "950bcf65294274b8b5423192cafbbcc11604f3a4b84c96e37c8e3a16a0c12f57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "950bcf65294274b8b5423192cafbbcc11604f3a4b84c96e37c8e3a16a0c12f57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "950bcf65294274b8b5423192cafbbcc11604f3a4b84c96e37c8e3a16a0c12f57", kill_on_drop: false }` [INFO] [stdout] 950bcf65294274b8b5423192cafbbcc11604f3a4b84c96e37c8e3a16a0c12f57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2cbaf864206acaac7b4b21929b81b9a77a39e062323e3b876fac682ae2ed42af [INFO] running `Command { std: "docker" "start" "-a" "2cbaf864206acaac7b4b21929b81b9a77a39e062323e3b876fac682ae2ed42af", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.55 [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/src/play.c: In function 'xm_tremolo': [INFO] [stderr] warning: libxm/src/play.c:178:38: warning: unused parameter 'ctx' [-Wunused-parameter] [INFO] [stderr] warning: 178 | static void xm_tremolo(xm_context_t* ctx, xm_channel_context_t* ch, uint8_t param, uint16_t pos) { [INFO] [stderr] warning: | ~~~~~~~~~~~~~~^~~ [INFO] [stderr] warning: libxm/src/play.c: In function 'xm_handle_note_and_instrument': [INFO] [stderr] warning: libxm/src/play.c:470:5: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: 470 | if(s->volume_column > 0x50) break; [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: libxm/src/play.c:471:2: note: here [INFO] [stderr] warning: 471 | case 0x1: [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] warning: libxm/src/play.c: In function 'xm_tick': [INFO] [stderr] warning: libxm/src/play.c:1021:8: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: 1021 | if(ctx->current_tick == 1) { [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: libxm/src/play.c:1028:5: note: here [INFO] [stderr] warning: 1028 | case 1: /* 0 -> 0 -> y -> x -> … */ [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] warning: libxm/src/play.c:1029:8: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: 1029 | if(ctx->current_tick == 0) { [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: libxm/src/play.c:1036:5: note: here [INFO] [stderr] warning: 1036 | case 0: /* 0 -> y -> x -> … */ [INFO] [stderr] warning: | ^~~~ [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: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.95s [INFO] running `Command { std: "docker" "inspect" "2cbaf864206acaac7b4b21929b81b9a77a39e062323e3b876fac682ae2ed42af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cbaf864206acaac7b4b21929b81b9a77a39e062323e3b876fac682ae2ed42af", kill_on_drop: false }` [INFO] [stdout] 2cbaf864206acaac7b4b21929b81b9a77a39e062323e3b876fac682ae2ed42af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ecef9a7b6edfeb99fb7ba0b7856508d0df72ecbeee86786367c104c9eace9f86 [INFO] running `Command { std: "docker" "start" "-a" "ecef9a7b6edfeb99fb7ba0b7856508d0df72ecbeee86786367c104c9eace9f86", kill_on_drop: false }` [INFO] [stderr] Compiling sdl2-sys v0.3.0 [INFO] [stderr] Compiling libc v0.1.12 [INFO] [stderr] Compiling bitflags v0.1.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [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] [stderr] Compiling getopts v0.2.21 [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/src/play.c: In function 'xm_tremolo': [INFO] [stderr] warning: libxm/src/play.c:178:38: warning: unused parameter 'ctx' [-Wunused-parameter] [INFO] [stderr] warning: 178 | static void xm_tremolo(xm_context_t* ctx, xm_channel_context_t* ch, uint8_t param, uint16_t pos) { [INFO] [stderr] warning: | ~~~~~~~~~~~~~~^~~ [INFO] [stderr] warning: libxm/src/play.c: In function 'xm_handle_note_and_instrument': [INFO] [stderr] warning: libxm/src/play.c:470:5: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: 470 | if(s->volume_column > 0x50) break; [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: libxm/src/play.c:471:2: note: here [INFO] [stderr] warning: 471 | case 0x1: [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] warning: libxm/src/play.c: In function 'xm_tick': [INFO] [stderr] warning: libxm/src/play.c:1021:8: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: 1021 | if(ctx->current_tick == 1) { [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: libxm/src/play.c:1028:5: note: here [INFO] [stderr] warning: 1028 | case 1: /* 0 -> 0 -> y -> x -> … */ [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] warning: libxm/src/play.c:1029:8: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: 1029 | if(ctx->current_tick == 0) { [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: libxm/src/play.c:1036:5: note: here [INFO] [stderr] warning: 1036 | case 0: /* 0 -> y -> x -> … */ [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] Compiling num-complex v0.1.43 [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: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling sdl2 v0.3.0 [INFO] [stderr] Compiling libxm v1.0.0 (/opt/rustwide/workdir) [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: `#[warn(non_fmt_panics)]` on by default [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] 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: 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: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.42s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/libxm-dfbb637210fd55cd) [INFO] running `Command { std: "docker" "inspect" "ecef9a7b6edfeb99fb7ba0b7856508d0df72ecbeee86786367c104c9eace9f86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecef9a7b6edfeb99fb7ba0b7856508d0df72ecbeee86786367c104c9eace9f86", kill_on_drop: false }` [INFO] [stdout] ecef9a7b6edfeb99fb7ba0b7856508d0df72ecbeee86786367c104c9eace9f86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 512414abf6cbe8898926c8f95db1cd8620b1fb84d30b5fcfe19db4a987bd1210 [INFO] running `Command { std: "docker" "start" "-a" "512414abf6cbe8898926c8f95db1cd8620b1fb84d30b5fcfe19db4a987bd1210", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stderr] --> build.rs:29:10 [INFO] [stderr] | [INFO] [stderr] 29 | gcc::Config::new() [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stderr] --> build.rs:29:18 [INFO] [stderr] | [INFO] [stderr] 29 | gcc::Config::new() [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `libxm` (build script) generated 2 warnings [INFO] [stderr] warning: libxm/src/play.c: In function 'xm_tremolo': [INFO] [stderr] warning: libxm/src/play.c:178:38: warning: unused parameter 'ctx' [-Wunused-parameter] [INFO] [stderr] warning: 178 | static void xm_tremolo(xm_context_t* ctx, xm_channel_context_t* ch, uint8_t param, uint16_t pos) { [INFO] [stderr] warning: | ~~~~~~~~~~~~~~^~~ [INFO] [stderr] warning: libxm/src/play.c: In function 'xm_handle_note_and_instrument': [INFO] [stderr] warning: libxm/src/play.c:470:5: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: 470 | if(s->volume_column > 0x50) break; [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: libxm/src/play.c:471:2: note: here [INFO] [stderr] warning: 471 | case 0x1: [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] warning: libxm/src/play.c: In function 'xm_tick': [INFO] [stderr] warning: libxm/src/play.c:1021:8: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: 1021 | if(ctx->current_tick == 1) { [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: libxm/src/play.c:1028:5: note: here [INFO] [stderr] warning: 1028 | case 1: /* 0 -> 0 -> y -> x -> … */ [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] warning: libxm/src/play.c:1029:8: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: 1029 | if(ctx->current_tick == 0) { [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: libxm/src/play.c:1036:5: note: here [INFO] [stderr] warning: 1036 | case 0: /* 0 -> y -> x -> … */ [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/lib.rs:95:32 [INFO] [stderr] | [INFO] [stderr] 95 | let mut raw = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stderr] --> src/ffi.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | use libc::{uint8_t, uint16_t, uint32_t, uint64_t}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stderr] --> src/ffi.rs:5:21 [INFO] [stderr] | [INFO] [stderr] 5 | use libc::{uint8_t, uint16_t, uint32_t, uint64_t}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stderr] --> src/ffi.rs:5:31 [INFO] [stderr] | [INFO] [stderr] 5 | use libc::{uint8_t, uint16_t, uint32_t, uint64_t}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stderr] --> src/ffi.rs:5:41 [INFO] [stderr] | [INFO] [stderr] 5 | use libc::{uint8_t, uint16_t, uint32_t, uint64_t}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stderr] --> src/ffi.rs:11:122 [INFO] [stderr] | [INFO] [stderr] 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] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stderr] --> src/ffi.rs:14:71 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn xm_set_max_loop_count(context: *mut xm_context_t, loopcnt: uint8_t); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stderr] --> src/ffi.rs:15:61 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn xm_get_loop_count(context: *mut xm_context_t) -> uint8_t; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stderr] --> src/ffi.rs:18:69 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn xm_get_number_of_channels(context: *mut xm_context_t) -> uint16_t; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stderr] --> src/ffi.rs:19:64 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn xm_get_module_length(context: *mut xm_context_t) -> uint16_t; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stderr] --> src/ffi.rs:20:69 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn xm_get_number_of_patterns(context: *mut xm_context_t) -> uint16_t; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stderr] --> src/ffi.rs:22:71 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn xm_get_number_of_rows(context: *mut xm_context_t, pattern: uint16_t) -> uint16_t; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stderr] --> src/ffi.rs:22:84 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn xm_get_number_of_rows(context: *mut xm_context_t, pattern: uint16_t) -> uint16_t; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stderr] --> src/ffi.rs:23:72 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn xm_get_number_of_instruments(context: *mut xm_context_t) -> uint16_t; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stderr] --> src/ffi.rs:24:77 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn xm_get_number_of_samples(context: *mut xm_context_t, instrument: uint16_t) -> uint16_t; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stderr] --> src/ffi.rs:24:90 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn xm_get_number_of_samples(context: *mut xm_context_t, instrument: uint16_t) -> uint16_t; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stderr] --> src/ffi.rs:26:71 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn xm_get_playing_speed(context: *mut xm_context_t, bpm: *mut uint16_t, tempo: *mut uint16_t); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stderr] --> src/ffi.rs:26:93 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn xm_get_playing_speed(context: *mut xm_context_t, bpm: *mut uint16_t, tempo: *mut uint16_t); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stderr] --> src/ffi.rs:27:76 [INFO] [stderr] | [INFO] [stderr] 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] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stderr] --> src/ffi.rs:27:99 [INFO] [stderr] | [INFO] [stderr] 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] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stderr] --> src/ffi.rs:27:118 [INFO] [stderr] | [INFO] [stderr] 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] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stderr] --> src/ffi.rs:27:141 [INFO] [stderr] | [INFO] [stderr] 27 | ...nt8_t, pattern: *mut uint8_t, row: *mut uint8_t, samples: *mut uint64_t); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stderr] --> src/ffi.rs:28:88 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn xm_get_latest_trigger_of_instrument(context: *mut xm_context_t, instrument: uint16_t) -> uint64_t; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stderr] --> src/ffi.rs:28:101 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn xm_get_latest_trigger_of_instrument(context: *mut xm_context_t, instrument: uint16_t) -> uint64_t; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stderr] --> src/ffi.rs:29:79 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn xm_get_latest_trigger_of_sample(context: *mut xm_context_t, instr: uint16_t, sample: uint16_t) -> uint64_t; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stderr] --> src/ffi.rs:29:97 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn xm_get_latest_trigger_of_sample(context: *mut xm_context_t, instr: uint16_t, sample: uint16_t) -> uint64_t; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stderr] --> src/ffi.rs:29:110 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn xm_get_latest_trigger_of_sample(context: *mut xm_context_t, instr: uint16_t, sample: uint16_t) -> uint64_t; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stderr] --> src/ffi.rs:30:82 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn xm_get_latest_trigger_of_channel(context: *mut xm_context_t, channel: uint16_t) -> uint64_t; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stderr] --> src/ffi.rs:30:95 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn xm_get_latest_trigger_of_channel(context: *mut xm_context_t, channel: uint16_t) -> uint64_t; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `libxm` (lib) generated 29 warnings [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> examples/playback-sdl2.rs:91:28 [INFO] [stderr] | [INFO] [stderr] 91 | Err(f) => { panic!(f.to_string()) } [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 91 | Err(f) => { panic!("{}", f.to_string()) } [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `libxm` (example "playback-sdl2") generated 1 warning [INFO] [stderr] warning: `libxm` (lib test) generated 29 warnings (29 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libxm-dfbb637210fd55cd) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests libxm [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 30) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 9) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "512414abf6cbe8898926c8f95db1cd8620b1fb84d30b5fcfe19db4a987bd1210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "512414abf6cbe8898926c8f95db1cd8620b1fb84d30b5fcfe19db4a987bd1210", kill_on_drop: false }` [INFO] [stdout] 512414abf6cbe8898926c8f95db1cd8620b1fb84d30b5fcfe19db4a987bd1210