[INFO] fetching crate librespot-tremor 0.1.0... [INFO] checking librespot-tremor-0.1.0 against try#05c8870159e4f328578a970e125aa76d24f03b56 for pr-76219 [INFO] extracting crate librespot-tremor 0.1.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate librespot-tremor 0.1.0 on toolchain 05c8870159e4f328578a970e125aa76d24f03b56 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate librespot-tremor 0.1.0 [INFO] finished tweaking crates.io crate librespot-tremor 0.1.0 [INFO] tweaked toml for crates.io crate librespot-tremor 0.1.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ogg-sys v0.0.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7436e679a649bb17159e6eab7c5c25b09138d211eba747753edbef6cf2f67962 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7436e679a649bb17159e6eab7c5c25b09138d211eba747753edbef6cf2f67962", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7436e679a649bb17159e6eab7c5c25b09138d211eba747753edbef6cf2f67962", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7436e679a649bb17159e6eab7c5c25b09138d211eba747753edbef6cf2f67962", kill_on_drop: false }` [INFO] [stdout] 7436e679a649bb17159e6eab7c5c25b09138d211eba747753edbef6cf2f67962 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56516e4e03f1ba0e07c28a73b68d8b111d95bbdee08b489593adf847a3e1c7e9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "56516e4e03f1ba0e07c28a73b68d8b111d95bbdee08b489593adf847a3e1c7e9", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling librespot-tremor v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling ogg-sys v0.0.9 [INFO] [stderr] warning: tremor/floor1.c: In function 'floor1_look': [INFO] [stderr] warning: tremor/floor1.c:139:57: warning: unused parameter 'vd' [-Wunused-parameter] [INFO] [stderr] warning: 139 | static vorbis_look_floor *floor1_look(vorbis_dsp_state *vd,vorbis_info_mode *mi, [INFO] [stderr] warning: | ~~~~~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: tremor/floor1.c:139:78: warning: unused parameter 'mi' [-Wunused-parameter] [INFO] [stderr] warning: 139 | static vorbis_look_floor *floor1_look(vorbis_dsp_state *vd,vorbis_info_mode *mi, [INFO] [stderr] warning: | ~~~~~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: tremor/floor0.c: In function 'vorbis_lsp_to_curve': [INFO] [stderr] warning: tremor/floor0.c:136:64: warning: unused parameter 'ln' [-Wunused-parameter] [INFO] [stderr] warning: 136 | void vorbis_lsp_to_curve(ogg_int32_t *curve,int *map,int n,int ln, [INFO] [stderr] warning: | ~~~~^~ [INFO] [stderr] warning: tremor/floor0.c: In function 'floor0_inverse2': [INFO] [stderr] warning: tremor/floor0.c:415:42: warning: unused parameter 'vb' [-Wunused-parameter] [INFO] [stderr] warning: 415 | static int floor0_inverse2(vorbis_block *vb,vorbis_look_floor *i, [INFO] [stderr] warning: | ~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: tremor/vorbisfile.c: In function '_get_prev_page_serial': [INFO] [stderr] warning: tremor/vorbisfile.c:249:39: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] [INFO] [stderr] warning: 249 | if((ogg_uint32_t)ret_serialno == *serialno){ [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: tremor/vorbisfile.c: In function '_fetch_and_process_packet': [INFO] [stderr] warning: tremor/vorbisfile.c:777:34: warning: comparison of integer expressions of different signedness: 'ogg_uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] [INFO] [stderr] warning: 777 | if(vf->current_serialno!=ogg_page_serialno(&og)){ [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: tremor/vorbisfile.c: In function 'ov_raw_seek': [INFO] [stderr] warning: tremor/vorbisfile.c:1301:32: warning: comparison of integer expressions of different signedness: 'ogg_uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] [INFO] [stderr] warning: 1301 | if(vf->current_serialno!=ogg_page_serialno(&og)){ [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: tremor/vorbisfile.c: In function 'ov_pcm_seek_page': [INFO] [stderr] warning: tremor/vorbisfile.c:1486:36: warning: comparison of integer expressions of different signedness: 'int' and 'ogg_uint32_t' {aka 'unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: 1486 | if(ogg_page_serialno(&og)!=vf->serialnos[link]) [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: tremor/vorbisfile.c:1547:32: warning: comparison of integer expressions of different signedness: 'int' and 'ogg_uint32_t' {aka 'unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: 1547 | ogg_page_serialno(&og)==vf->serialnos[link]){ [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: tremor/vorbisfile.c:1619:38: warning: comparison of integer expressions of different signedness: 'int' and 'ogg_uint32_t' {aka 'unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: 1619 | if(ogg_page_serialno(&og)==vf->current_serialno && [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: tremor/codebook.c: In function 'vorbis_book_decodev_set': [INFO] [stderr] warning: tremor/codebook.c:339:11: warning: unused variable 'j' [-Wunused-variable] [INFO] [stderr] warning: 339 | int i,j; [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: tremor/sharedbook.c: In function '_book_unquantize': [INFO] [stderr] warning: tremor/sharedbook.c:228:6: warning: absolute value function 'abs' given an argument of type 'long int' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] [INFO] [stderr] warning: 228 | abs(b->quantlist[index]),&point); [INFO] [stderr] warning: | ^~~ [INFO] [stderr] warning: tremor/sharedbook.c:262:6: warning: absolute value function 'abs' given an argument of type 'long int' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] [INFO] [stderr] warning: 262 | abs(b->quantlist[j*b->dim+k]),&point); [INFO] [stderr] warning: | ^~~ [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | try!(check_errors(tremor_sys::ov_open_callbacks(data_ptr, &mut data.vorbis, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/tremor_sys.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | pub read_func: extern fn(*mut c_void, libc::size_t, libc::size_t, *mut c_void) [INFO] [stdout] | ^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(missing_abi)]` on by default [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/tremor_sys.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | pub seek_func: extern fn(*mut c_void, ogg_int64_t, c_int) -> c_int, [INFO] [stdout] | ^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/tremor_sys.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | pub close_func: extern fn(*mut c_void) -> c_int, [INFO] [stdout] | ^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/tremor_sys.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | pub tell_func: extern fn(*mut c_void) -> c_long, [INFO] [stdout] | ^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/tremor_sys.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | / extern { [INFO] [stdout] 150 | | pub fn ov_clear(vf: *mut OggVorbis_File) -> c_int; [INFO] [stdout] 151 | | pub fn ov_open(f: *mut libc::FILE, vf: *mut OggVorbis_File, initial: *const c_char, [INFO] [stdout] 152 | | ibytes: c_long) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 189 | | bitstream: *mut c_int) -> c_long; [INFO] [stdout] 190 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 42 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:44:62 [INFO] [stdout] | [INFO] [stdout] 44 | &VorbisError::ReadError(ref err) => Some(err as &std::error::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | / extern fn read_func(ptr: *mut libc::c_void, size: libc::size_t, nmemb: libc::size_t, [INFO] [stdout] 91 | | datasource: *mut libc::c_void) -> libc::size_t where R: Read + Seek [INFO] [stdout] 92 | | { [INFO] [stdout] 93 | | use std::slice; [INFO] [stdout] ... | [INFO] [stdout] 116 | | } [INFO] [stdout] 117 | | } [INFO] [stdout] | |_________^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | / extern fn seek_func(datasource: *mut libc::c_void, offset: tremor_sys::ogg_int64_t, [INFO] [stdout] 120 | | whence: libc::c_int) -> libc::c_int where R: Read + Seek [INFO] [stdout] 121 | | { [INFO] [stdout] 122 | | let data: &mut DecoderData = unsafe { std::mem::transmute(datasource) }; [INFO] [stdout] ... | [INFO] [stdout] 134 | | } [INFO] [stdout] 135 | | } [INFO] [stdout] | |_________^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | / extern fn tell_func(datasource: *mut libc::c_void) -> libc::c_long [INFO] [stdout] 138 | | where R: Read + Seek [INFO] [stdout] 139 | | { [INFO] [stdout] 140 | | let data: &mut DecoderData = unsafe { std::mem::transmute(datasource) }; [INFO] [stdout] 141 | | data.reader.seek(io::SeekFrom::Current(0)).map(|v| v as libc::c_long).unwrap_or(-1) [INFO] [stdout] 142 | | } [INFO] [stdout] | |_________^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | write!(fmt, "{}", std::error::Error::description(self)) [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:153:30 [INFO] [stdout] | [INFO] [stdout] 153 | vorbis: unsafe { std::mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead. [INFO] [stdout] --> src/tremor_sys.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | pub type ogg_int32_t = libc::int32_t; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/tremor_sys.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | pub type ogg_uint32_t = libc::uint32_t; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | try!(check_errors(tremor_sys::ov_open_callbacks(data_ptr, &mut data.vorbis, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/tremor_sys.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | pub read_func: extern fn(*mut c_void, libc::size_t, libc::size_t, *mut c_void) [INFO] [stdout] | ^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(missing_abi)]` on by default [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/tremor_sys.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | pub seek_func: extern fn(*mut c_void, ogg_int64_t, c_int) -> c_int, [INFO] [stdout] | ^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/tremor_sys.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | pub close_func: extern fn(*mut c_void) -> c_int, [INFO] [stdout] | ^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/tremor_sys.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | pub tell_func: extern fn(*mut c_void) -> c_long, [INFO] [stdout] | ^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/tremor_sys.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | / extern { [INFO] [stdout] 150 | | pub fn ov_clear(vf: *mut OggVorbis_File) -> c_int; [INFO] [stdout] 151 | | pub fn ov_open(f: *mut libc::FILE, vf: *mut OggVorbis_File, initial: *const c_char, [INFO] [stdout] 152 | | ibytes: c_long) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 189 | | bitstream: *mut c_int) -> c_long; [INFO] [stdout] 190 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 42 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:44:62 [INFO] [stdout] | [INFO] [stdout] 44 | &VorbisError::ReadError(ref err) => Some(err as &std::error::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | / extern fn read_func(ptr: *mut libc::c_void, size: libc::size_t, nmemb: libc::size_t, [INFO] [stdout] 91 | | datasource: *mut libc::c_void) -> libc::size_t where R: Read + Seek [INFO] [stdout] 92 | | { [INFO] [stdout] 93 | | use std::slice; [INFO] [stdout] ... | [INFO] [stdout] 116 | | } [INFO] [stdout] 117 | | } [INFO] [stdout] | |_________^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | / extern fn seek_func(datasource: *mut libc::c_void, offset: tremor_sys::ogg_int64_t, [INFO] [stdout] 120 | | whence: libc::c_int) -> libc::c_int where R: Read + Seek [INFO] [stdout] 121 | | { [INFO] [stdout] 122 | | let data: &mut DecoderData = unsafe { std::mem::transmute(datasource) }; [INFO] [stdout] ... | [INFO] [stdout] 134 | | } [INFO] [stdout] 135 | | } [INFO] [stdout] | |_________^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | / extern fn tell_func(datasource: *mut libc::c_void) -> libc::c_long [INFO] [stdout] 138 | | where R: Read + Seek [INFO] [stdout] 139 | | { [INFO] [stdout] 140 | | let data: &mut DecoderData = unsafe { std::mem::transmute(datasource) }; [INFO] [stdout] 141 | | data.reader.seek(io::SeekFrom::Current(0)).map(|v| v as libc::c_long).unwrap_or(-1) [INFO] [stdout] 142 | | } [INFO] [stdout] | |_________^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | write!(fmt, "{}", std::error::Error::description(self)) [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:153:30 [INFO] [stdout] | [INFO] [stdout] 153 | vorbis: unsafe { std::mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead. [INFO] [stdout] --> src/tremor_sys.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | pub type ogg_int32_t = libc::int32_t; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/tremor_sys.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | pub type ogg_uint32_t = libc::uint32_t; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: tremor/floor1.c: In function 'floor1_look': [INFO] [stderr] warning: tremor/floor1.c:139:57: warning: unused parameter 'vd' [-Wunused-parameter] [INFO] [stderr] warning: 139 | static vorbis_look_floor *floor1_look(vorbis_dsp_state *vd,vorbis_info_mode *mi, [INFO] [stderr] warning: | ~~~~~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: tremor/floor1.c:139:78: warning: unused parameter 'mi' [-Wunused-parameter] [INFO] [stderr] warning: 139 | static vorbis_look_floor *floor1_look(vorbis_dsp_state *vd,vorbis_info_mode *mi, [INFO] [stderr] warning: | ~~~~~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: tremor/floor0.c: In function 'vorbis_lsp_to_curve': [INFO] [stderr] warning: tremor/floor0.c:136:64: warning: unused parameter 'ln' [-Wunused-parameter] [INFO] [stderr] warning: 136 | void vorbis_lsp_to_curve(ogg_int32_t *curve,int *map,int n,int ln, [INFO] [stderr] warning: | ~~~~^~ [INFO] [stderr] warning: tremor/floor0.c: In function 'floor0_inverse2': [INFO] [stderr] warning: tremor/floor0.c:415:42: warning: unused parameter 'vb' [-Wunused-parameter] [INFO] [stderr] warning: 415 | static int floor0_inverse2(vorbis_block *vb,vorbis_look_floor *i, [INFO] [stderr] warning: | ~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: tremor/vorbisfile.c: In function '_get_prev_page_serial': [INFO] [stderr] warning: tremor/vorbisfile.c:249:39: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] [INFO] [stderr] warning: 249 | if((ogg_uint32_t)ret_serialno == *serialno){ [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: tremor/vorbisfile.c: In function '_fetch_and_process_packet': [INFO] [stderr] warning: tremor/vorbisfile.c:777:34: warning: comparison of integer expressions of different signedness: 'ogg_uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] [INFO] [stderr] warning: 777 | if(vf->current_serialno!=ogg_page_serialno(&og)){ [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: tremor/vorbisfile.c: In function 'ov_raw_seek': [INFO] [stderr] warning: tremor/vorbisfile.c:1301:32: warning: comparison of integer expressions of different signedness: 'ogg_uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] [INFO] [stderr] warning: 1301 | if(vf->current_serialno!=ogg_page_serialno(&og)){ [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: tremor/vorbisfile.c: In function 'ov_pcm_seek_page': [INFO] [stderr] warning: tremor/vorbisfile.c:1486:36: warning: comparison of integer expressions of different signedness: 'int' and 'ogg_uint32_t' {aka 'unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: 1486 | if(ogg_page_serialno(&og)!=vf->serialnos[link]) [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: tremor/vorbisfile.c:1547:32: warning: comparison of integer expressions of different signedness: 'int' and 'ogg_uint32_t' {aka 'unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: 1547 | ogg_page_serialno(&og)==vf->serialnos[link]){ [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: tremor/vorbisfile.c:1619:38: warning: comparison of integer expressions of different signedness: 'int' and 'ogg_uint32_t' {aka 'unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: 1619 | if(ogg_page_serialno(&og)==vf->current_serialno && [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: tremor/codebook.c: In function 'vorbis_book_decodev_set': [INFO] [stderr] warning: tremor/codebook.c:339:11: warning: unused variable 'j' [-Wunused-variable] [INFO] [stderr] warning: 339 | int i,j; [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: tremor/sharedbook.c: In function '_book_unquantize': [INFO] [stderr] warning: tremor/sharedbook.c:228:6: warning: absolute value function 'abs' given an argument of type 'long int' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] [INFO] [stderr] warning: 228 | abs(b->quantlist[index]),&point); [INFO] [stderr] warning: | ^~~ [INFO] [stderr] warning: tremor/sharedbook.c:262:6: warning: absolute value function 'abs' given an argument of type 'long int' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] [INFO] [stderr] warning: 262 | abs(b->quantlist[j*b->dim+k]),&point); [INFO] [stderr] warning: | ^~~ [INFO] [stderr] [INFO] [stderr] error: could not compile `librespot-tremor`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 8 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: tremor/floor1.c: In function 'floor1_look': [INFO] [stderr] warning: tremor/floor1.c:139:57: warning: unused parameter 'vd' [-Wunused-parameter] [INFO] [stderr] warning: 139 | static vorbis_look_floor *floor1_look(vorbis_dsp_state *vd,vorbis_info_mode *mi, [INFO] [stderr] warning: | ~~~~~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: tremor/floor1.c:139:78: warning: unused parameter 'mi' [-Wunused-parameter] [INFO] [stderr] warning: 139 | static vorbis_look_floor *floor1_look(vorbis_dsp_state *vd,vorbis_info_mode *mi, [INFO] [stderr] warning: | ~~~~~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: tremor/floor0.c: In function 'vorbis_lsp_to_curve': [INFO] [stderr] warning: tremor/floor0.c:136:64: warning: unused parameter 'ln' [-Wunused-parameter] [INFO] [stderr] warning: 136 | void vorbis_lsp_to_curve(ogg_int32_t *curve,int *map,int n,int ln, [INFO] [stderr] warning: | ~~~~^~ [INFO] [stderr] warning: tremor/floor0.c: In function 'floor0_inverse2': [INFO] [stderr] warning: tremor/floor0.c:415:42: warning: unused parameter 'vb' [-Wunused-parameter] [INFO] [stderr] warning: 415 | static int floor0_inverse2(vorbis_block *vb,vorbis_look_floor *i, [INFO] [stderr] warning: | ~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: tremor/vorbisfile.c: In function '_get_prev_page_serial': [INFO] [stderr] warning: tremor/vorbisfile.c:249:39: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] [INFO] [stderr] warning: 249 | if((ogg_uint32_t)ret_serialno == *serialno){ [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: tremor/vorbisfile.c: In function '_fetch_and_process_packet': [INFO] [stderr] warning: tremor/vorbisfile.c:777:34: warning: comparison of integer expressions of different signedness: 'ogg_uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] [INFO] [stderr] warning: 777 | if(vf->current_serialno!=ogg_page_serialno(&og)){ [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: tremor/vorbisfile.c: In function 'ov_raw_seek': [INFO] [stderr] warning: tremor/vorbisfile.c:1301:32: warning: comparison of integer expressions of different signedness: 'ogg_uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] [INFO] [stderr] warning: 1301 | if(vf->current_serialno!=ogg_page_serialno(&og)){ [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: tremor/vorbisfile.c: In function 'ov_pcm_seek_page': [INFO] [stderr] warning: tremor/vorbisfile.c:1486:36: warning: comparison of integer expressions of different signedness: 'int' and 'ogg_uint32_t' {aka 'unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: 1486 | if(ogg_page_serialno(&og)!=vf->serialnos[link]) [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: tremor/vorbisfile.c:1547:32: warning: comparison of integer expressions of different signedness: 'int' and 'ogg_uint32_t' {aka 'unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: 1547 | ogg_page_serialno(&og)==vf->serialnos[link]){ [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: tremor/vorbisfile.c:1619:38: warning: comparison of integer expressions of different signedness: 'int' and 'ogg_uint32_t' {aka 'unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: 1619 | if(ogg_page_serialno(&og)==vf->current_serialno && [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: tremor/codebook.c: In function 'vorbis_book_decodev_set': [INFO] [stderr] warning: tremor/codebook.c:339:11: warning: unused variable 'j' [-Wunused-variable] [INFO] [stderr] warning: 339 | int i,j; [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: tremor/sharedbook.c: In function '_book_unquantize': [INFO] [stderr] warning: tremor/sharedbook.c:228:6: warning: absolute value function 'abs' given an argument of type 'long int' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] [INFO] [stderr] warning: 228 | abs(b->quantlist[index]),&point); [INFO] [stderr] warning: | ^~~ [INFO] [stderr] warning: tremor/sharedbook.c:262:6: warning: absolute value function 'abs' given an argument of type 'long int' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] [INFO] [stderr] warning: 262 | abs(b->quantlist[j*b->dim+k]),&point); [INFO] [stderr] warning: | ^~~ [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "56516e4e03f1ba0e07c28a73b68d8b111d95bbdee08b489593adf847a3e1c7e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56516e4e03f1ba0e07c28a73b68d8b111d95bbdee08b489593adf847a3e1c7e9", kill_on_drop: false }` [INFO] [stdout] 56516e4e03f1ba0e07c28a73b68d8b111d95bbdee08b489593adf847a3e1c7e9