[INFO] fetching crate sdl2_mixer 0.25.0... [INFO] checking sdl2_mixer-0.25.0 against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] extracting crate sdl2_mixer 0.25.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate sdl2_mixer 0.25.0 on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sdl2_mixer 0.25.0 [INFO] finished tweaking crates.io crate sdl2_mixer 0.25.0 [INFO] tweaked toml for crates.io crate sdl2_mixer 0.25.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 20 packages to latest compatible versions [INFO] [stderr] Adding bitflags v0.6.0 (latest: v2.6.0) [INFO] [stderr] Adding lazy_static v0.2.11 (latest: v1.5.0) [INFO] [stderr] Adding num v0.1.42 (latest: v0.4.3) [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.25.0 (latest: v0.37.0) [INFO] [stderr] Adding sdl2-sys v0.25.0 (latest: v0.37.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdl2 v0.25.0 [INFO] [stderr] Downloaded bitflags v0.6.0 [INFO] [stderr] Downloaded sdl2-sys v0.25.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7dd9fb9e20d7ef1afde68c9dac0c900b7303f1cf8531a854238c50b3d73d69f [INFO] running `Command { std: "docker" "start" "-a" "a7dd9fb9e20d7ef1afde68c9dac0c900b7303f1cf8531a854238c50b3d73d69f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7dd9fb9e20d7ef1afde68c9dac0c900b7303f1cf8531a854238c50b3d73d69f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7dd9fb9e20d7ef1afde68c9dac0c900b7303f1cf8531a854238c50b3d73d69f", kill_on_drop: false }` [INFO] [stdout] a7dd9fb9e20d7ef1afde68c9dac0c900b7303f1cf8531a854238c50b3d73d69f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3442e7070f608d70c37788313ff721cbb1e0333fd108fa3127f4945618916f3b [INFO] running `Command { std: "docker" "start" "-a" "3442e7070f608d70c37788313ff721cbb1e0333fd108fa3127f4945618916f3b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling sdl2-sys v0.25.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking bitflags v0.6.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking sdl2 v0.25.0 [INFO] [stderr] Checking sdl2_mixer v0.25.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sdl2_mixer/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / bitflags!(pub flags InitFlag : u32 { [INFO] [stdout] 109 | | const INIT_FLAC = ::ffi::MIX_INIT_FLAC as u32, [INFO] [stdout] 110 | | const INIT_MOD = ::ffi::MIX_INIT_MOD as u32, [INFO] [stdout] 111 | | const INIT_MODPLUG = ::ffi::MIX_INIT_MODPLUG as u32, [INFO] [stdout] ... | [INFO] [stdout] 114 | | const INIT_FLUIDSYNTH = ::ffi::MIX_INIT_FLUIDSYNTH as u32 [INFO] [stdout] 115 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sdl2_mixer/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / bitflags!(pub flags InitFlag : u32 { [INFO] [stdout] 109 | | const INIT_FLAC = ::ffi::MIX_INIT_FLAC as u32, [INFO] [stdout] 110 | | const INIT_MOD = ::ffi::MIX_INIT_MOD as u32, [INFO] [stdout] 111 | | const INIT_MODPLUG = ::ffi::MIX_INIT_MODPLUG as u32, [INFO] [stdout] ... | [INFO] [stdout] 114 | | const INIT_FLUIDSYNTH = ::ffi::MIX_INIT_FLUIDSYNTH as u32 [INFO] [stdout] 115 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sdl2_mixer/lib.rs:247:48 [INFO] [stdout] | [INFO] [stdout] 247 | let raw = unsafe { ffi::Mix_LoadWAV_RW(try!(RWops::from_file(path, "rb")).raw(), 0) }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sdl2_mixer/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / bitflags!(pub flags InitFlag : u32 { [INFO] [stdout] 109 | | const INIT_FLAC = ::ffi::MIX_INIT_FLAC as u32, [INFO] [stdout] 110 | | const INIT_MOD = ::ffi::MIX_INIT_MOD as u32, [INFO] [stdout] 111 | | const INIT_MODPLUG = ::ffi::MIX_INIT_MODPLUG as u32, [INFO] [stdout] ... | [INFO] [stdout] 114 | | const INIT_FLUIDSYNTH = ::ffi::MIX_INIT_FLUIDSYNTH as u32 [INFO] [stdout] 115 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sdl2_mixer/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / bitflags!(pub flags InitFlag : u32 { [INFO] [stdout] 109 | | const INIT_FLAC = ::ffi::MIX_INIT_FLAC as u32, [INFO] [stdout] 110 | | const INIT_MOD = ::ffi::MIX_INIT_MOD as u32, [INFO] [stdout] 111 | | const INIT_MODPLUG = ::ffi::MIX_INIT_MODPLUG as u32, [INFO] [stdout] ... | [INFO] [stdout] 114 | | const INIT_FLUIDSYNTH = ::ffi::MIX_INIT_FLUIDSYNTH as u32 [INFO] [stdout] 115 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sdl2_mixer/lib.rs:247:48 [INFO] [stdout] | [INFO] [stdout] 247 | let raw = unsafe { ffi::Mix_LoadWAV_RW(try!(RWops::from_file(path, "rb")).raw(), 0) }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | use libc::{c_int, uint16_t, c_double, c_uint}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | pub type AudioFormat = 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/sdl2_mixer/lib.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | let mut format: uint16_t = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | use libc::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/sdl2_mixer/lib.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | pub const AUDIO_U8: uint16_t = 0x0008; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | pub const AUDIO_S8: uint16_t = 0x8008; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | pub const AUDIO_U16LSB: uint16_t = 0x0010; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | pub const AUDIO_S16LSB: uint16_t = 0x8010; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | pub const AUDIO_U16MSB: uint16_t = 0x1010; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | pub const AUDIO_S16MSB: uint16_t = 0x9010; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | pub const AUDIO_U16: uint16_t = AUDIO_U16LSB; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | pub const AUDIO_S16: uint16_t = AUDIO_S16LSB; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | pub const AUDIO_S32LSB: uint16_t = 0x8020; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:61:29 [INFO] [stdout] | [INFO] [stdout] 61 | pub const AUDIO_S32MSB: uint16_t = 0x9020; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | pub const AUDIO_S32: uint16_t = AUDIO_S32LSB; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:63:29 [INFO] [stdout] | [INFO] [stdout] 63 | pub const AUDIO_F32LSB: uint16_t = 0x8120; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | pub const AUDIO_F32MSB: uint16_t = 0x9120; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | pub const AUDIO_F32: uint16_t = AUDIO_F32LSB; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | pub const AUDIO_U16SYS: uint16_t = AUDIO_U16LSB; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | pub const AUDIO_S16SYS: uint16_t = AUDIO_S16LSB; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | pub const AUDIO_S32SYS: uint16_t = AUDIO_S32LSB; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:69:29 [INFO] [stdout] | [INFO] [stdout] 69 | pub const AUDIO_F32SYS: uint16_t = AUDIO_F32LSB; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | use libc::{c_int, uint16_t, c_double, c_uint}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | pub type AudioFormat = 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/sdl2_mixer/lib.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | let mut format: uint16_t = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | use libc::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/sdl2_mixer/lib.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | pub const AUDIO_U8: uint16_t = 0x0008; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | pub const AUDIO_S8: uint16_t = 0x8008; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | pub const AUDIO_U16LSB: uint16_t = 0x0010; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | pub const AUDIO_S16LSB: uint16_t = 0x8010; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | pub const AUDIO_U16MSB: uint16_t = 0x1010; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | pub const AUDIO_S16MSB: uint16_t = 0x9010; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | pub const AUDIO_U16: uint16_t = AUDIO_U16LSB; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | pub const AUDIO_S16: uint16_t = AUDIO_S16LSB; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | pub const AUDIO_S32LSB: uint16_t = 0x8020; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:61:29 [INFO] [stdout] | [INFO] [stdout] 61 | pub const AUDIO_S32MSB: uint16_t = 0x9020; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | pub const AUDIO_S32: uint16_t = AUDIO_S32LSB; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:63:29 [INFO] [stdout] | [INFO] [stdout] 63 | pub const AUDIO_F32LSB: uint16_t = 0x8120; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | pub const AUDIO_F32MSB: uint16_t = 0x9120; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | pub const AUDIO_F32: uint16_t = AUDIO_F32LSB; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | pub const AUDIO_U16SYS: uint16_t = AUDIO_U16LSB; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | pub const AUDIO_S16SYS: uint16_t = AUDIO_S16LSB; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | pub const AUDIO_S32SYS: uint16_t = AUDIO_S32LSB; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/sdl2_mixer/lib.rs:69:29 [INFO] [stdout] | [INFO] [stdout] 69 | pub const AUDIO_F32SYS: uint16_t = AUDIO_F32LSB; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `channel_finished_callback` should have an upper case name [INFO] [stdout] --> src/sdl2_mixer/lib.rs:332:12 [INFO] [stdout] | [INFO] [stdout] 332 | static mut channel_finished_callback: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `CHANNEL_FINISHED_CALLBACK` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `music_finished_hook` should have an upper case name [INFO] [stdout] --> src/sdl2_mixer/lib.rs:722:12 [INFO] [stdout] | [INFO] [stdout] 722 | static mut music_finished_hook: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `MUSIC_FINISHED_HOOK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `channel_finished_callback` should have an upper case name [INFO] [stdout] --> src/sdl2_mixer/lib.rs:332:12 [INFO] [stdout] | [INFO] [stdout] 332 | static mut channel_finished_callback: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `CHANNEL_FINISHED_CALLBACK` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `music_finished_hook` should have an upper case name [INFO] [stdout] --> src/sdl2_mixer/lib.rs:722:12 [INFO] [stdout] | [INFO] [stdout] 722 | static mut music_finished_hook: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `MUSIC_FINISHED_HOOK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.04s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.6.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "3442e7070f608d70c37788313ff721cbb1e0333fd108fa3127f4945618916f3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3442e7070f608d70c37788313ff721cbb1e0333fd108fa3127f4945618916f3b", kill_on_drop: false }` [INFO] [stdout] 3442e7070f608d70c37788313ff721cbb1e0333fd108fa3127f4945618916f3b [INFO] checking sdl2_mixer-0.25.0 against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] extracting crate sdl2_mixer 0.25.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate sdl2_mixer 0.25.0 on toolchain d856f2da3433420b7077c0dc7ee9441455bc1302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sdl2_mixer 0.25.0 [INFO] finished tweaking crates.io crate sdl2_mixer 0.25.0 [INFO] tweaked toml for crates.io crate sdl2_mixer 0.25.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 20 packages to latest compatible versions [INFO] [stderr] Adding bitflags v0.6.0 (latest: v2.6.0) [INFO] [stderr] Adding lazy_static v0.2.11 (latest: v1.5.0) [INFO] [stderr] Adding num v0.1.42 (latest: v0.4.3) [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.25.0 (latest: v0.37.0) [INFO] [stderr] Adding sdl2-sys v0.25.0 (latest: v0.37.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 772985076c1a066cffa6e7913885606c7d1c1840cb05ae7218ee305020d2021a [INFO] running `Command { std: "docker" "start" "-a" "772985076c1a066cffa6e7913885606c7d1c1840cb05ae7218ee305020d2021a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "772985076c1a066cffa6e7913885606c7d1c1840cb05ae7218ee305020d2021a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "772985076c1a066cffa6e7913885606c7d1c1840cb05ae7218ee305020d2021a", kill_on_drop: false }` [INFO] [stdout] 772985076c1a066cffa6e7913885606c7d1c1840cb05ae7218ee305020d2021a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8d2a67b61151d15f49503fb94475f0f2777bd8431facac7fd2bbc2dbda2912f [INFO] running `Command { std: "docker" "start" "-a" "d8d2a67b61151d15f49503fb94475f0f2777bd8431facac7fd2bbc2dbda2912f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling sdl2-sys v0.25.0 [INFO] [stderr] Checking bitflags v0.6.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 841 | impl_integer_for_isize!(i8, test_integer_i8); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 842 | impl_integer_for_isize!(i16, test_integer_i16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 843 | impl_integer_for_isize!(i32, test_integer_i32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 844 | impl_integer_for_isize!(i64, test_integer_i64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 845 | impl_integer_for_isize!(i128, test_integer_i128); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 846 | impl_integer_for_isize!(isize, test_integer_isize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-integer` (lib) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "d8d2a67b61151d15f49503fb94475f0f2777bd8431facac7fd2bbc2dbda2912f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8d2a67b61151d15f49503fb94475f0f2777bd8431facac7fd2bbc2dbda2912f", kill_on_drop: false }` [INFO] [stdout] d8d2a67b61151d15f49503fb94475f0f2777bd8431facac7fd2bbc2dbda2912f