[INFO] fetching crate ogg 0.7.0... [INFO] checking ogg-0.7.0 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate ogg 0.7.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate ogg 0.7.0 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate ogg 0.7.0 [INFO] finished tweaking crates.io crate ogg 0.7.0 [INFO] tweaked toml for crates.io crate ogg 0.7.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0c712b808f69d9b6f092903c1df31a66e92f3c234520d71f16ed35e9ab20955 [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" "d0c712b808f69d9b6f092903c1df31a66e92f3c234520d71f16ed35e9ab20955", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0c712b808f69d9b6f092903c1df31a66e92f3c234520d71f16ed35e9ab20955", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0c712b808f69d9b6f092903c1df31a66e92f3c234520d71f16ed35e9ab20955", kill_on_drop: false }` [INFO] [stdout] d0c712b808f69d9b6f092903c1df31a66e92f3c234520d71f16ed35e9ab20955 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2c4da8c69b64dda8756b128e897752336da63219cfc97c7c93854d1ca2acc67 [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" "e2c4da8c69b64dda8756b128e897752336da63219cfc97c7c93854d1ca2acc67", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking ogg v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:190:34 [INFO] [stdout] | [INFO] [stdout] 190 | let stream_structure_version = try!(header_rdr.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:192:4 [INFO] [stdout] | [INFO] [stdout] 192 | try!(Err(OggReadError::InvalidStreamStructVer(stream_structure_version))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | try!(Err(OggReadError::HashMismatch(self.checksum, hash_calculated))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:424:6 [INFO] [stdout] | [INFO] [stdout] 424 | try!(Err(OggReadError::InvalidData)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:428:7 [INFO] [stdout] | [INFO] [stdout] 428 | try!(Err(OggReadError::InvalidData)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:470:7 [INFO] [stdout] | [INFO] [stdout] 470 | try!(Err(OggReadError::InvalidData)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:588:16 [INFO] [stdout] | [INFO] [stdout] 588 | let rd_len = try!(rdr.read(if self.read_amount < 27 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:614:5 [INFO] [stdout] | [INFO] [stdout] 614 | try!(Err(OggReadError::NoCapturePatternFound)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:627:4 [INFO] [stdout] | [INFO] [stdout] 627 | try!(Err(OggReadError::NoCapturePatternFound)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:683:5 [INFO] [stdout] | [INFO] [stdout] 683 | try!(skr.seek(SeekFrom::Current(offs as i64))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:735:15 [INFO] [stdout] | [INFO] [stdout] 735 | let page = try!(self.read_ogg_page()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:737:19 [INFO] [stdout] | [INFO] [stdout] 737 | Some(page) => try!(self.base_pck_rdr.push_page(page)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:748:9 [INFO] [stdout] | [INFO] [stdout] 748 | match try!(self.read_packet()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:750:12 [INFO] [stdout] | [INFO] [stdout] 750 | None => try!(Err(Error::new(ErrorKind::UnexpectedEof, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:766:17 [INFO] [stdout] | [INFO] [stdout] 766 | let mut res = try!(r.do_read(&mut self.rdr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:771:19 [INFO] [stdout] | [INFO] [stdout] 771 | ReadNeeded => try!(r.do_read(&mut self.rdr)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:772:19 [INFO] [stdout] | [INFO] [stdout] 772 | SeekNeeded => try!(r.do_seek(&mut self.rdr)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:784:36 [INFO] [stdout] | [INFO] [stdout] 784 | let header_buf :[u8; 27] = match try!(self.read_until_pg_header()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:788:37 [INFO] [stdout] | [INFO] [stdout] 788 | let (mut pg_prs, page_segments) = try!(PageParser::new(header_buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:791:3 [INFO] [stdout] | [INFO] [stdout] 791 | try!(self.rdr.read_exact(&mut segments_buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:796:3 [INFO] [stdout] | [INFO] [stdout] 796 | try!(self.rdr.read_exact(&mut packet_data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:798:11 [INFO] [stdout] | [INFO] [stdout] 798 | Ok(Some(try!(pg_prs.parse_packet_data(packet_data)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:808:11 [INFO] [stdout] | [INFO] [stdout] 808 | let r = try!(self.rdr.seek(pos)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:930:3 [INFO] [stdout] | [INFO] [stdout] 930 | try!(self.rdr.seek(SeekFrom::Start(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:888:12 [INFO] [stdout] | [INFO] [stdout] 888 | pos = try!(self.rdr.seek(SeekFrom::Current(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 931 | let (mut begin_pos, mut begin_pg) = pg_read_match_serial!(); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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/reading.rs:842:11 [INFO] [stdout] | [INFO] [stdout] 842 | match try!($e) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 931 | let (mut begin_pos, mut begin_pg) = pg_read_match_serial!(); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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/reading.rs:935:3 [INFO] [stdout] | [INFO] [stdout] 935 | try!(seek_before_end(&mut self.rdr, 200 * 1024)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:888:12 [INFO] [stdout] | [INFO] [stdout] 888 | pos = try!(self.rdr.seek(SeekFrom::Current(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 936 | let (mut end_pos, mut end_pg) = pg_read_until_end_or_goal!(pos_goal); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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/reading.rs:842:11 [INFO] [stdout] | [INFO] [stdout] 842 | match try!($e) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 936 | let (mut end_pos, mut end_pg) = pg_read_until_end_or_goal!(pos_goal); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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/reading.rs:835:5 [INFO] [stdout] | [INFO] [stdout] 835 | try!(self.rdr.seek(SeekFrom::Start($pos))); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 936 | let (mut end_pos, mut end_pg) = pg_read_until_end_or_goal!(pos_goal); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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/reading.rs:835:5 [INFO] [stdout] | [INFO] [stdout] 835 | try!(self.rdr.seek(SeekFrom::Start($pos))); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 943 | found!(end_pos); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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/reading.rs:947:4 [INFO] [stdout] | [INFO] [stdout] 947 | try!(self.rdr.seek(SeekFrom::Start(pos_to_seek))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:888:12 [INFO] [stdout] | [INFO] [stdout] 888 | pos = try!(self.rdr.seek(SeekFrom::Current(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 948 | let (pos, pg) = pg_read_match_serial!(); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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/reading.rs:842:11 [INFO] [stdout] | [INFO] [stdout] 842 | match try!($e) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 948 | let (pos, pg) = pg_read_match_serial!(); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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/reading.rs:961:5 [INFO] [stdout] | [INFO] [stdout] 961 | try!(self.rdr.seek(SeekFrom::Start(begin_pos))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:963:12 [INFO] [stdout] | [INFO] [stdout] 963 | pos = try!(self.rdr.seek(SeekFrom::Current(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:842:11 [INFO] [stdout] | [INFO] [stdout] 842 | match try!($e) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 964 | pg = bt!(self.read_ogg_page()); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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/reading.rs:835:5 [INFO] [stdout] | [INFO] [stdout] 835 | try!(self.rdr.seek(SeekFrom::Start($pos))); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 976 | _ if ab_of(&pg) >= pos_goal => found!(last_packet_end_pos), [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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/reading.rs:1005:16 [INFO] [stdout] | [INFO] [stdout] 1005 | let end_pos = try!(rdr.seek(SeekFrom::End(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:1007:12 [INFO] [stdout] | [INFO] [stdout] 1007 | return Ok(try!(rdr.seek(SeekFrom::End(-(end_pos_to_seek as i64))))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/writing.rs:150:6 [INFO] [stdout] | [INFO] [stdout] 150 | try!(PacketWriter::write_page(&mut self.wtr, serial, pg, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/writing.rs:155:6 [INFO] [stdout] | [INFO] [stdout] 155 | try!(PacketWriter::write_page(&mut self.wtr, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/writing.rs:169:4 [INFO] [stdout] | [INFO] [stdout] 169 | try!(PacketWriter::write_page(&mut self.wtr, serial, pg, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/writing.rs:186:4 [INFO] [stdout] | [INFO] [stdout] 186 | try!(hdr_cur.write_all(&[0x4f, 0x67, 0x67, 0x53, 0x00])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/writing.rs:192:4 [INFO] [stdout] | [INFO] [stdout] 192 | try!(hdr_cur.write_u8(flags)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/writing.rs:204:4 [INFO] [stdout] | [INFO] [stdout] 204 | try!(hdr_cur.write_u64::(last_finishing_pck_absgp)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/writing.rs:205:4 [INFO] [stdout] | [INFO] [stdout] 205 | try!(hdr_cur.write_u32::(serial)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/writing.rs:206:4 [INFO] [stdout] | [INFO] [stdout] 206 | try!(hdr_cur.write_u32::(pg.sequence_num)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/writing.rs:209:4 [INFO] [stdout] | [INFO] [stdout] 209 | try!(hdr_cur.write_u32::(0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/writing.rs:211:4 [INFO] [stdout] | [INFO] [stdout] 211 | try!(hdr_cur.write_u8(pg.segment_cnt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/writing.rs:240:4 [INFO] [stdout] | [INFO] [stdout] 240 | try!(hdr_cur.seek(SeekFrom::Start(22))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/writing.rs:241:4 [INFO] [stdout] | [INFO] [stdout] 241 | try!(hdr_cur.write_u32::(hash_calculated)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/writing.rs:244:4 [INFO] [stdout] | [INFO] [stdout] 244 | try!(wtr.write_all(hdr_cur.get_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/writing.rs:245:4 [INFO] [stdout] | [INFO] [stdout] 245 | try!(wtr.write_all(pg_lacing)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/writing.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 257 | try!(wtr.write_all(&pck[start .. end])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reading.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn 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/reading.rs:56:54 [INFO] [stdout] | [INFO] [stdout] 56 | &OggReadError::ReadError(ref err) => Some(err as &error::Error), [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SeekFrom` is imported redundantly [INFO] [stdout] --> src/reading.rs:1004:6 [INFO] [stdout] | [INFO] [stdout] 15 | use std::io::{Cursor, Read, Write, SeekFrom, Error, ErrorKind}; [INFO] [stdout] | -------- the item `SeekFrom` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1004 | use std::io::SeekFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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/reading.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | write!(fmt, "{}", error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 59 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/dump-all.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | let mut f = try!(File::open(file_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/format-info.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | let mut f = try!(File::open(file_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/repack.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | let mut f_i = try!(File::open(input_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/repack.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | let mut f_o = try!(File::create(output_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:190:34 [INFO] [stdout] | [INFO] [stdout] 190 | let stream_structure_version = try!(header_rdr.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:192:4 [INFO] [stdout] | [INFO] [stdout] 192 | try!(Err(OggReadError::InvalidStreamStructVer(stream_structure_version))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | try!(Err(OggReadError::HashMismatch(self.checksum, hash_calculated))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:424:6 [INFO] [stdout] | [INFO] [stdout] 424 | try!(Err(OggReadError::InvalidData)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:428:7 [INFO] [stdout] | [INFO] [stdout] 428 | try!(Err(OggReadError::InvalidData)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:470:7 [INFO] [stdout] | [INFO] [stdout] 470 | try!(Err(OggReadError::InvalidData)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:588:16 [INFO] [stdout] | [INFO] [stdout] 588 | let rd_len = try!(rdr.read(if self.read_amount < 27 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:614:5 [INFO] [stdout] | [INFO] [stdout] 614 | try!(Err(OggReadError::NoCapturePatternFound)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:627:4 [INFO] [stdout] | [INFO] [stdout] 627 | try!(Err(OggReadError::NoCapturePatternFound)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:683:5 [INFO] [stdout] | [INFO] [stdout] 683 | try!(skr.seek(SeekFrom::Current(offs as i64))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:735:15 [INFO] [stdout] | [INFO] [stdout] 735 | let page = try!(self.read_ogg_page()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:737:19 [INFO] [stdout] | [INFO] [stdout] 737 | Some(page) => try!(self.base_pck_rdr.push_page(page)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:748:9 [INFO] [stdout] | [INFO] [stdout] 748 | match try!(self.read_packet()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:750:12 [INFO] [stdout] | [INFO] [stdout] 750 | None => try!(Err(Error::new(ErrorKind::UnexpectedEof, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:766:17 [INFO] [stdout] | [INFO] [stdout] 766 | let mut res = try!(r.do_read(&mut self.rdr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:771:19 [INFO] [stdout] | [INFO] [stdout] 771 | ReadNeeded => try!(r.do_read(&mut self.rdr)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:772:19 [INFO] [stdout] | [INFO] [stdout] 772 | SeekNeeded => try!(r.do_seek(&mut self.rdr)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:784:36 [INFO] [stdout] | [INFO] [stdout] 784 | let header_buf :[u8; 27] = match try!(self.read_until_pg_header()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:788:37 [INFO] [stdout] | [INFO] [stdout] 788 | let (mut pg_prs, page_segments) = try!(PageParser::new(header_buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:791:3 [INFO] [stdout] | [INFO] [stdout] 791 | try!(self.rdr.read_exact(&mut segments_buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:796:3 [INFO] [stdout] | [INFO] [stdout] 796 | try!(self.rdr.read_exact(&mut packet_data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:798:11 [INFO] [stdout] | [INFO] [stdout] 798 | Ok(Some(try!(pg_prs.parse_packet_data(packet_data)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:808:11 [INFO] [stdout] | [INFO] [stdout] 808 | let r = try!(self.rdr.seek(pos)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:930:3 [INFO] [stdout] | [INFO] [stdout] 930 | try!(self.rdr.seek(SeekFrom::Start(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:888:12 [INFO] [stdout] | [INFO] [stdout] 888 | pos = try!(self.rdr.seek(SeekFrom::Current(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 931 | let (mut begin_pos, mut begin_pg) = pg_read_match_serial!(); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:842:11 [INFO] [stdout] | [INFO] [stdout] 842 | match try!($e) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 931 | let (mut begin_pos, mut begin_pg) = pg_read_match_serial!(); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:935:3 [INFO] [stdout] | [INFO] [stdout] 935 | try!(seek_before_end(&mut self.rdr, 200 * 1024)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:888:12 [INFO] [stdout] | [INFO] [stdout] 888 | pos = try!(self.rdr.seek(SeekFrom::Current(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 936 | let (mut end_pos, mut end_pg) = pg_read_until_end_or_goal!(pos_goal); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:842:11 [INFO] [stdout] | [INFO] [stdout] 842 | match try!($e) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 936 | let (mut end_pos, mut end_pg) = pg_read_until_end_or_goal!(pos_goal); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:835:5 [INFO] [stdout] | [INFO] [stdout] 835 | try!(self.rdr.seek(SeekFrom::Start($pos))); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 936 | let (mut end_pos, mut end_pg) = pg_read_until_end_or_goal!(pos_goal); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:835:5 [INFO] [stdout] | [INFO] [stdout] 835 | try!(self.rdr.seek(SeekFrom::Start($pos))); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 943 | found!(end_pos); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:947:4 [INFO] [stdout] | [INFO] [stdout] 947 | try!(self.rdr.seek(SeekFrom::Start(pos_to_seek))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:888:12 [INFO] [stdout] | [INFO] [stdout] 888 | pos = try!(self.rdr.seek(SeekFrom::Current(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 948 | let (pos, pg) = pg_read_match_serial!(); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:842:11 [INFO] [stdout] | [INFO] [stdout] 842 | match try!($e) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 948 | let (pos, pg) = pg_read_match_serial!(); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:961:5 [INFO] [stdout] | [INFO] [stdout] 961 | try!(self.rdr.seek(SeekFrom::Start(begin_pos))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:963:12 [INFO] [stdout] | [INFO] [stdout] 963 | pos = try!(self.rdr.seek(SeekFrom::Current(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:842:11 [INFO] [stdout] | [INFO] [stdout] 842 | match try!($e) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 964 | pg = bt!(self.read_ogg_page()); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:835:5 [INFO] [stdout] | [INFO] [stdout] 835 | try!(self.rdr.seek(SeekFrom::Start($pos))); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 976 | _ if ab_of(&pg) >= pos_goal => found!(last_packet_end_pos), [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:1005:16 [INFO] [stdout] | [INFO] [stdout] 1005 | let end_pos = try!(rdr.seek(SeekFrom::End(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reading.rs:1007:12 [INFO] [stdout] | [INFO] [stdout] 1007 | return Ok(try!(rdr.seek(SeekFrom::End(-(end_pos_to_seek as i64))))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/writing.rs:150:6 [INFO] [stdout] | [INFO] [stdout] 150 | try!(PacketWriter::write_page(&mut self.wtr, serial, pg, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/writing.rs:155:6 [INFO] [stdout] | [INFO] [stdout] 155 | try!(PacketWriter::write_page(&mut self.wtr, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/writing.rs:169:4 [INFO] [stdout] | [INFO] [stdout] 169 | try!(PacketWriter::write_page(&mut self.wtr, serial, pg, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/writing.rs:186:4 [INFO] [stdout] | [INFO] [stdout] 186 | try!(hdr_cur.write_all(&[0x4f, 0x67, 0x67, 0x53, 0x00])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/writing.rs:192:4 [INFO] [stdout] | [INFO] [stdout] 192 | try!(hdr_cur.write_u8(flags)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/writing.rs:204:4 [INFO] [stdout] | [INFO] [stdout] 204 | try!(hdr_cur.write_u64::(last_finishing_pck_absgp)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/writing.rs:205:4 [INFO] [stdout] | [INFO] [stdout] 205 | try!(hdr_cur.write_u32::(serial)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/writing.rs:206:4 [INFO] [stdout] | [INFO] [stdout] 206 | try!(hdr_cur.write_u32::(pg.sequence_num)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/writing.rs:209:4 [INFO] [stdout] | [INFO] [stdout] 209 | try!(hdr_cur.write_u32::(0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/writing.rs:211:4 [INFO] [stdout] | [INFO] [stdout] 211 | try!(hdr_cur.write_u8(pg.segment_cnt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/writing.rs:240:4 [INFO] [stdout] | [INFO] [stdout] 240 | try!(hdr_cur.seek(SeekFrom::Start(22))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/writing.rs:241:4 [INFO] [stdout] | [INFO] [stdout] 241 | try!(hdr_cur.write_u32::(hash_calculated)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/writing.rs:244:4 [INFO] [stdout] | [INFO] [stdout] 244 | try!(wtr.write_all(hdr_cur.get_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/writing.rs:245:4 [INFO] [stdout] | [INFO] [stdout] 245 | try!(wtr.write_all(pg_lacing)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/writing.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 257 | try!(wtr.write_all(&pck[start .. end])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reading.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reading.rs:56:54 [INFO] [stdout] | [INFO] [stdout] 56 | &OggReadError::ReadError(ref err) => Some(err as &error::Error), [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `SeekFrom` is imported redundantly [INFO] [stdout] --> src/reading.rs:1004:6 [INFO] [stdout] | [INFO] [stdout] 15 | use std::io::{Cursor, Read, Write, SeekFrom, Error, ErrorKind}; [INFO] [stdout] | -------- the item `SeekFrom` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1004 | use std::io::SeekFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/reading.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | write!(fmt, "{}", error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 59 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ogg` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "e2c4da8c69b64dda8756b128e897752336da63219cfc97c7c93854d1ca2acc67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2c4da8c69b64dda8756b128e897752336da63219cfc97c7c93854d1ca2acc67", kill_on_drop: false }` [INFO] [stdout] e2c4da8c69b64dda8756b128e897752336da63219cfc97c7c93854d1ca2acc67