[INFO] fetching crate caf 0.1.0... [INFO] building caf-0.1.0 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate caf 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate caf 0.1.0 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate caf 0.1.0 [INFO] finished tweaking crates.io crate caf 0.1.0 [INFO] tweaked toml for crates.io crate caf 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 468205f8ecee4d9fc9726c1bf793f60a4424508d98c23f1d8f6f6eae45c9d244 [INFO] running `Command { std: "docker" "start" "-a" "468205f8ecee4d9fc9726c1bf793f60a4424508d98c23f1d8f6f6eae45c9d244", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "468205f8ecee4d9fc9726c1bf793f60a4424508d98c23f1d8f6f6eae45c9d244", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "468205f8ecee4d9fc9726c1bf793f60a4424508d98c23f1d8f6f6eae45c9d244", kill_on_drop: false }` [INFO] [stdout] 468205f8ecee4d9fc9726c1bf793f60a4424508d98c23f1d8f6f6eae45c9d244 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3efd91e422c9a5720e03438364cf6da36b87ad92b362e9c1a1d16202bd6ab7a [INFO] running `Command { std: "docker" "start" "-a" "b3efd91e422c9a5720e03438364cf6da36b87ad92b362e9c1a1d16202bd6ab7a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling caf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | bytes_per_packet : rdt!(rdr,read_u32), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | frames_per_packet : rdt!(rdr,read_u32), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | channels_per_frame : rdt!(rdr,read_u32), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | bits_per_channel : rdt!(rdr,read_u32), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | let num_packets = rdt!(rdr, read_i64); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | num_valid_frames : rdt!(rdr, read_i64), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | num_priming_frames : rdt!(rdr, read_i32), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | num_remainder_frames : rdt!(rdr, read_i32), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:166:16 [INFO] [stdout] | [INFO] [stdout] 166 | ... let b = try!(read_vlq(&mut rdr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | let channel_descriptions_count = rdt!(rdr, read_u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | channel_label : rdt!(rdr, read_u32), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | channel_flags : rdt!(rdr, read_u32), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | coordinates : (rdt!(rdr, read_f32), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | rdt!(rdr, read_f32), rdt!(rdr, read_f32)), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | rdt!(rdr, read_f32), rdt!(rdr, read_f32)), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | let num_entries = rdt!(rdr, read_u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:204:6 [INFO] [stdout] | [INFO] [stdout] 204 | try!(rdr.read_until(0, &mut key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/chunks.rs:205:6 [INFO] [stdout] | [INFO] [stdout] 205 | try!(rdr.read_until(0, &mut val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/chunks.rs:210:16 [INFO] [stdout] | [INFO] [stdout] 210 | res.push((try!(String::from_utf8(key)), try!(String::from_utf8(val)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/chunks.rs:210:46 [INFO] [stdout] | [INFO] [stdout] 210 | res.push((try!(String::from_utf8(key)), try!(String::from_utf8(val)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/chunks.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | _ => try!(Err(CafError::UnsupportedChunkType(chunk_type))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/chunks.rs:224:3 [INFO] [stdout] | [INFO] [stdout] 224 | try!(rdr.read_exact(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 44 | try!(rdr.read_exact(&mut hdr_buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let hdr = try!(self.read_chunk_header()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:84:3 [INFO] [stdout] | [INFO] [stdout] 84 | try!(self.rdr.read_exact(&mut chunk_content)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | let chunk_type_u32 = try!(self.rdr.read_u32::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | let chunk_size = try!(self.rdr.read_i64::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:122:3 [INFO] [stdout] | [INFO] [stdout] 122 | try!(self.rdr.seek(SeekFrom::Current(hdr.ch_size))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:140:3 [INFO] [stdout] | [INFO] [stdout] 140 | try!(self.rdr.seek(SeekFrom::Current(-hdr.ch_size))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:164:14 [INFO] [stdout] | [INFO] [stdout] 164 | let hdr = try!(self.read_chunk_header()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 193 | res.push(try!(self.read_chunk_body(&hdr))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | try!(self.to_next_chunk(&hdr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:237:16 [INFO] [stdout] | [INFO] [stdout] 237 | let ch_rdr = try!(CafChunkReader::new(rdr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:258:4 [INFO] [stdout] | [INFO] [stdout] 258 | try!(ch_rdr.read_chunks_to_mem(filter_by, &content_read)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/lib.rs:267:25 [INFO] [stdout] | [INFO] [stdout] 267 | AudioDescription => (audio_desc_idx = Some(idx)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 267 - AudioDescription => (audio_desc_idx = Some(idx)), [INFO] [stdout] 267 + AudioDescription => audio_desc_idx = Some(idx), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/lib.rs:268:20 [INFO] [stdout] | [INFO] [stdout] 268 | PacketTable => (packet_table_idx = Some(idx)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 268 - PacketTable => (packet_table_idx = Some(idx)), [INFO] [stdout] 268 + PacketTable => packet_table_idx = Some(idx), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:286:27 [INFO] [stdout] | [INFO] [stdout] 286 | let (chunks, hdrs) = try!(ch_rdr.read_chunks_to_mem( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/lib.rs:294:22 [INFO] [stdout] | [INFO] [stdout] 294 | PacketTable => (packet_table_idx = Some(idx)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 294 - PacketTable => (packet_table_idx = Some(idx)), [INFO] [stdout] 294 + PacketTable => packet_table_idx = Some(idx), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:324:4 [INFO] [stdout] | [INFO] [stdout] 324 | try!(ch_rdr.rdr.seek(SeekFrom::Current(-(seek_backwards as i64)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:328:18 [INFO] [stdout] | [INFO] [stdout] 328 | let ch_hdr = try!(ch_rdr.read_chunk_header()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:333:6 [INFO] [stdout] | [INFO] [stdout] 333 | try!(ch_rdr.to_next_chunk(&ch_hdr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:340:4 [INFO] [stdout] | [INFO] [stdout] 340 | try!(ch_rdr.rdr.read_u32::()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:403:3 [INFO] [stdout] | [INFO] [stdout] 403 | try!(self.ch_rdr.rdr.read_exact(&mut arr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:415:3 [INFO] [stdout] | [INFO] [stdout] 415 | try!(self.ch_rdr.rdr.read_exact(data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:460:4 [INFO] [stdout] | [INFO] [stdout] 460 | try!(self.ch_rdr.rdr.seek(SeekFrom::Current(offs))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:462:4 [INFO] [stdout] | [INFO] [stdout] 462 | try!(self.ch_rdr.rdr.seek(SeekFrom::Current(-offs))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:51:33 [INFO] [stdout] | [INFO] [stdout] 51 | &Io(ref err) => Some(err as &Error), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 | &Io(ref err) => Some(err as &dyn Error), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:52:39 [INFO] [stdout] | [INFO] [stdout] 52 | &FromUtf8(ref err) => Some(err as &Error), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 | &FromUtf8(ref err) => Some(err as &dyn Error), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 65 | NotCaf => write!(f, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "b3efd91e422c9a5720e03438364cf6da36b87ad92b362e9c1a1d16202bd6ab7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3efd91e422c9a5720e03438364cf6da36b87ad92b362e9c1a1d16202bd6ab7a", kill_on_drop: false }` [INFO] [stdout] b3efd91e422c9a5720e03438364cf6da36b87ad92b362e9c1a1d16202bd6ab7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aef46f107cf28d356b13b1cc981e7017ddebd373f654f6ce35b37c43f528a1a7 [INFO] running `Command { std: "docker" "start" "-a" "aef46f107cf28d356b13b1cc981e7017ddebd373f654f6ce35b37c43f528a1a7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | bytes_per_packet : rdt!(rdr,read_u32), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | frames_per_packet : rdt!(rdr,read_u32), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | channels_per_frame : rdt!(rdr,read_u32), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | bits_per_channel : rdt!(rdr,read_u32), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | let num_packets = rdt!(rdr, read_i64); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | num_valid_frames : rdt!(rdr, read_i64), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | num_priming_frames : rdt!(rdr, read_i32), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | num_remainder_frames : rdt!(rdr, read_i32), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:166:16 [INFO] [stdout] | [INFO] [stdout] 166 | ... let b = try!(read_vlq(&mut rdr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | let channel_descriptions_count = rdt!(rdr, read_u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | channel_label : rdt!(rdr, read_u32), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | channel_flags : rdt!(rdr, read_u32), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | coordinates : (rdt!(rdr, read_f32), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | rdt!(rdr, read_f32), rdt!(rdr, read_f32)), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | rdt!(rdr, read_f32), rdt!(rdr, read_f32)), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | let num_entries = rdt!(rdr, read_u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:204:6 [INFO] [stdout] | [INFO] [stdout] 204 | try!(rdr.read_until(0, &mut key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/chunks.rs:205:6 [INFO] [stdout] | [INFO] [stdout] 205 | try!(rdr.read_until(0, &mut val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/chunks.rs:210:16 [INFO] [stdout] | [INFO] [stdout] 210 | res.push((try!(String::from_utf8(key)), try!(String::from_utf8(val)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/chunks.rs:210:46 [INFO] [stdout] | [INFO] [stdout] 210 | res.push((try!(String::from_utf8(key)), try!(String::from_utf8(val)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/chunks.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | _ => try!(Err(CafError::UnsupportedChunkType(chunk_type))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/chunks.rs:224:3 [INFO] [stdout] | [INFO] [stdout] 224 | try!(rdr.read_exact(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 44 | try!(rdr.read_exact(&mut hdr_buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let hdr = try!(self.read_chunk_header()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:84:3 [INFO] [stdout] | [INFO] [stdout] 84 | try!(self.rdr.read_exact(&mut chunk_content)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | let chunk_type_u32 = try!(self.rdr.read_u32::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | let chunk_size = try!(self.rdr.read_i64::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:122:3 [INFO] [stdout] | [INFO] [stdout] 122 | try!(self.rdr.seek(SeekFrom::Current(hdr.ch_size))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:140:3 [INFO] [stdout] | [INFO] [stdout] 140 | try!(self.rdr.seek(SeekFrom::Current(-hdr.ch_size))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:164:14 [INFO] [stdout] | [INFO] [stdout] 164 | let hdr = try!(self.read_chunk_header()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 193 | res.push(try!(self.read_chunk_body(&hdr))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | try!(self.to_next_chunk(&hdr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:237:16 [INFO] [stdout] | [INFO] [stdout] 237 | let ch_rdr = try!(CafChunkReader::new(rdr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:258:4 [INFO] [stdout] | [INFO] [stdout] 258 | try!(ch_rdr.read_chunks_to_mem(filter_by, &content_read)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/lib.rs:267:25 [INFO] [stdout] | [INFO] [stdout] 267 | AudioDescription => (audio_desc_idx = Some(idx)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 267 - AudioDescription => (audio_desc_idx = Some(idx)), [INFO] [stdout] 267 + AudioDescription => audio_desc_idx = Some(idx), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/lib.rs:268:20 [INFO] [stdout] | [INFO] [stdout] 268 | PacketTable => (packet_table_idx = Some(idx)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 268 - PacketTable => (packet_table_idx = Some(idx)), [INFO] [stdout] 268 + PacketTable => packet_table_idx = Some(idx), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:286:27 [INFO] [stdout] | [INFO] [stdout] 286 | let (chunks, hdrs) = try!(ch_rdr.read_chunks_to_mem( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/lib.rs:294:22 [INFO] [stdout] | [INFO] [stdout] 294 | PacketTable => (packet_table_idx = Some(idx)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 294 - PacketTable => (packet_table_idx = Some(idx)), [INFO] [stdout] 294 + PacketTable => packet_table_idx = Some(idx), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:324:4 [INFO] [stdout] | [INFO] [stdout] 324 | try!(ch_rdr.rdr.seek(SeekFrom::Current(-(seek_backwards as i64)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:328:18 [INFO] [stdout] | [INFO] [stdout] 328 | let ch_hdr = try!(ch_rdr.read_chunk_header()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:333:6 [INFO] [stdout] | [INFO] [stdout] 333 | try!(ch_rdr.to_next_chunk(&ch_hdr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:340:4 [INFO] [stdout] | [INFO] [stdout] 340 | try!(ch_rdr.rdr.read_u32::()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:403:3 [INFO] [stdout] | [INFO] [stdout] 403 | try!(self.ch_rdr.rdr.read_exact(&mut arr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:415:3 [INFO] [stdout] | [INFO] [stdout] 415 | try!(self.ch_rdr.rdr.read_exact(data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:460:4 [INFO] [stdout] | [INFO] [stdout] 460 | try!(self.ch_rdr.rdr.seek(SeekFrom::Current(offs))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:462:4 [INFO] [stdout] | [INFO] [stdout] 462 | try!(self.ch_rdr.rdr.seek(SeekFrom::Current(-offs))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:51:33 [INFO] [stdout] | [INFO] [stdout] 51 | &Io(ref err) => Some(err as &Error), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 | &Io(ref err) => Some(err as &dyn Error), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:52:39 [INFO] [stdout] | [INFO] [stdout] 52 | &FromUtf8(ref err) => Some(err as &Error), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 | &FromUtf8(ref err) => Some(err as &dyn Error), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling caf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 65 | NotCaf => write!(f, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | bytes_per_packet : rdt!(rdr,read_u32), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | frames_per_packet : rdt!(rdr,read_u32), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | channels_per_frame : rdt!(rdr,read_u32), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | bits_per_channel : rdt!(rdr,read_u32), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | let num_packets = rdt!(rdr, read_i64); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | num_valid_frames : rdt!(rdr, read_i64), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | num_priming_frames : rdt!(rdr, read_i32), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | num_remainder_frames : rdt!(rdr, read_i32), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:166:16 [INFO] [stdout] | [INFO] [stdout] 166 | ... let b = try!(read_vlq(&mut rdr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | let channel_descriptions_count = rdt!(rdr, read_u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | channel_label : rdt!(rdr, read_u32), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | channel_flags : rdt!(rdr, read_u32), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | coordinates : (rdt!(rdr, read_f32), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | rdt!(rdr, read_f32), rdt!(rdr, read_f32)), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | rdt!(rdr, read_f32), rdt!(rdr, read_f32)), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | ($rdr:ident, $func:ident) => { try!($rdr.$func::()) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | let num_entries = rdt!(rdr, read_u32); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `rdt` (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/chunks.rs:204:6 [INFO] [stdout] | [INFO] [stdout] 204 | try!(rdr.read_until(0, &mut key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/chunks.rs:205:6 [INFO] [stdout] | [INFO] [stdout] 205 | try!(rdr.read_until(0, &mut val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/chunks.rs:210:16 [INFO] [stdout] | [INFO] [stdout] 210 | res.push((try!(String::from_utf8(key)), try!(String::from_utf8(val)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/chunks.rs:210:46 [INFO] [stdout] | [INFO] [stdout] 210 | res.push((try!(String::from_utf8(key)), try!(String::from_utf8(val)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/chunks.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | _ => try!(Err(CafError::UnsupportedChunkType(chunk_type))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/chunks.rs:224:3 [INFO] [stdout] | [INFO] [stdout] 224 | try!(rdr.read_exact(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 44 | try!(rdr.read_exact(&mut hdr_buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let hdr = try!(self.read_chunk_header()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:84:3 [INFO] [stdout] | [INFO] [stdout] 84 | try!(self.rdr.read_exact(&mut chunk_content)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | let chunk_type_u32 = try!(self.rdr.read_u32::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | let chunk_size = try!(self.rdr.read_i64::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:122:3 [INFO] [stdout] | [INFO] [stdout] 122 | try!(self.rdr.seek(SeekFrom::Current(hdr.ch_size))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:140:3 [INFO] [stdout] | [INFO] [stdout] 140 | try!(self.rdr.seek(SeekFrom::Current(-hdr.ch_size))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:164:14 [INFO] [stdout] | [INFO] [stdout] 164 | let hdr = try!(self.read_chunk_header()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 193 | res.push(try!(self.read_chunk_body(&hdr))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | try!(self.to_next_chunk(&hdr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:237:16 [INFO] [stdout] | [INFO] [stdout] 237 | let ch_rdr = try!(CafChunkReader::new(rdr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:258:4 [INFO] [stdout] | [INFO] [stdout] 258 | try!(ch_rdr.read_chunks_to_mem(filter_by, &content_read)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/lib.rs:267:25 [INFO] [stdout] | [INFO] [stdout] 267 | AudioDescription => (audio_desc_idx = Some(idx)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 267 - AudioDescription => (audio_desc_idx = Some(idx)), [INFO] [stdout] 267 + AudioDescription => audio_desc_idx = Some(idx), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/lib.rs:268:20 [INFO] [stdout] | [INFO] [stdout] 268 | PacketTable => (packet_table_idx = Some(idx)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 268 - PacketTable => (packet_table_idx = Some(idx)), [INFO] [stdout] 268 + PacketTable => packet_table_idx = Some(idx), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:286:27 [INFO] [stdout] | [INFO] [stdout] 286 | let (chunks, hdrs) = try!(ch_rdr.read_chunks_to_mem( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/lib.rs:294:22 [INFO] [stdout] | [INFO] [stdout] 294 | PacketTable => (packet_table_idx = Some(idx)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 294 - PacketTable => (packet_table_idx = Some(idx)), [INFO] [stdout] 294 + PacketTable => packet_table_idx = Some(idx), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:324:4 [INFO] [stdout] | [INFO] [stdout] 324 | try!(ch_rdr.rdr.seek(SeekFrom::Current(-(seek_backwards as i64)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:328:18 [INFO] [stdout] | [INFO] [stdout] 328 | let ch_hdr = try!(ch_rdr.read_chunk_header()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:333:6 [INFO] [stdout] | [INFO] [stdout] 333 | try!(ch_rdr.to_next_chunk(&ch_hdr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:340:4 [INFO] [stdout] | [INFO] [stdout] 340 | try!(ch_rdr.rdr.read_u32::()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:403:3 [INFO] [stdout] | [INFO] [stdout] 403 | try!(self.ch_rdr.rdr.read_exact(&mut arr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:415:3 [INFO] [stdout] | [INFO] [stdout] 415 | try!(self.ch_rdr.rdr.read_exact(data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:460:4 [INFO] [stdout] | [INFO] [stdout] 460 | try!(self.ch_rdr.rdr.seek(SeekFrom::Current(offs))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:462:4 [INFO] [stdout] | [INFO] [stdout] 462 | try!(self.ch_rdr.rdr.seek(SeekFrom::Current(-offs))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:51:33 [INFO] [stdout] | [INFO] [stdout] 51 | &Io(ref err) => Some(err as &Error), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 | &Io(ref err) => Some(err as &dyn Error), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:52:39 [INFO] [stdout] | [INFO] [stdout] 52 | &FromUtf8(ref err) => Some(err as &Error), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 | &FromUtf8(ref err) => Some(err as &dyn Error), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 65 | NotCaf => write!(f, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "aef46f107cf28d356b13b1cc981e7017ddebd373f654f6ce35b37c43f528a1a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aef46f107cf28d356b13b1cc981e7017ddebd373f654f6ce35b37c43f528a1a7", kill_on_drop: false }` [INFO] [stdout] aef46f107cf28d356b13b1cc981e7017ddebd373f654f6ce35b37c43f528a1a7