[INFO] fetching crate mpeg2ps 0.1.1... [INFO] checking mpeg2ps-0.1.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate mpeg2ps 0.1.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate mpeg2ps 0.1.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate mpeg2ps 0.1.1 [INFO] tweaked toml for crates.io crate mpeg2ps 0.1.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mpeg2ps 0.1.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mpeg2ps 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1bf12edbe550374ebbb3e990e5d10941ef3e806970ae7218bc8f18e0db1d6e2d [INFO] running `Command { std: "docker" "start" "-a" "1bf12edbe550374ebbb3e990e5d10941ef3e806970ae7218bc8f18e0db1d6e2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1bf12edbe550374ebbb3e990e5d10941ef3e806970ae7218bc8f18e0db1d6e2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bf12edbe550374ebbb3e990e5d10941ef3e806970ae7218bc8f18e0db1d6e2d", kill_on_drop: false }` [INFO] [stdout] 1bf12edbe550374ebbb3e990e5d10941ef3e806970ae7218bc8f18e0db1d6e2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d01dcee0221fffc7fc3ca277dda21d636b823b638191e0c1f9054c052c39ba6 [INFO] running `Command { std: "docker" "start" "-a" "3d01dcee0221fffc7fc3ca277dda21d636b823b638191e0c1f9054c052c39ba6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bitfield v0.17.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling trackable_derive v1.0.0 [INFO] [stderr] Checking trackable v1.3.0 [INFO] [stderr] Checking mpeg2ps v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Pid` and `PsPayload` [INFO] [stdout] --> src/pes/reader.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ps::{Pid, PsPayload, ReadPsPacket}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/pes/reader.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PsSystemHeader` [INFO] [stdout] --> src/ps/packet.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ps::system_header::{PsSystemHeader, PsSystemSystemHeaderExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorKind` [INFO] [stdout] --> src/ps/packet.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{track_io, ErrorKind, Result}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WriteBytesExt` [INFO] [stdout] --> src/ps/packet.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | use byteorder::{BigEndian, ReadBytesExt, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cursor`, `SeekFrom`, and `Seek` [INFO] [stdout] --> src/ps/packet.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{Cursor, Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::read` [INFO] [stdout] --> src/ps/packet.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ptr::read; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `track_assert_eq` and `track_assert` [INFO] [stdout] --> src/ps/packet.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use trackable::{track, track_assert, track_assert_eq}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::es::StreamId` [INFO] [stdout] --> src/ps/psm.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::es::StreamId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::read` [INFO] [stdout] --> src/ps/psm.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ptr::read; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trackable::track` [INFO] [stdout] --> src/ps/psm.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use trackable::track; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PesHeader`, `PesPacketReader`, `PesPacket`, and `ReadPesPacket` [INFO] [stdout] --> src/ps/reader.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::pes::{PesHeader, PesPacket, PesPacketReader, ReadPesPacket}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bytes` and `Null` [INFO] [stdout] --> src/ps/reader.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ps::payload::{Bytes, Null, Pes}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PsSystemHeader` [INFO] [stdout] --> src/ps/reader.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ps::system_header::{PsSystemHeader, PsSystemSystemHeaderExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pid` and `PsPayload` [INFO] [stdout] --> src/ps/reader.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ps::{Pid, PsPayload}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorKind` [INFO] [stdout] --> src/ps/reader.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{track_io, ErrorKind, Result}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/ps/reader.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead` and `Seek` [INFO] [stdout] --> src/ps/reader.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{BufRead, Read, Seek}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `track_assert_eq` [INFO] [stdout] --> src/ps/reader.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | use trackable::{track, track_assert_eq}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::es::StreamId` [INFO] [stdout] --> src/ps/stream_table.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::es::StreamId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `repeat` [INFO] [stdout] --> src/ps/system_header.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{repeat, Read}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter` [INFO] [stdout] --> src/ps/system_header.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trackable::track` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use trackable::track; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::pes::PesPacketReader` [INFO] [stdout] --> src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::pes::PesPacketReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pid` and `PsPayload` [INFO] [stdout] --> src/pes/reader.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ps::{Pid, PsPayload, ReadPsPacket}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/pes/reader.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PsSystemHeader` [INFO] [stdout] --> src/ps/packet.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ps::system_header::{PsSystemHeader, PsSystemSystemHeaderExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorKind` [INFO] [stdout] --> src/ps/packet.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{track_io, ErrorKind, Result}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WriteBytesExt` [INFO] [stdout] --> src/ps/packet.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | use byteorder::{BigEndian, ReadBytesExt, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cursor`, `SeekFrom`, and `Seek` [INFO] [stdout] --> src/ps/packet.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{Cursor, Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::read` [INFO] [stdout] --> src/ps/packet.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ptr::read; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `track_assert_eq` and `track_assert` [INFO] [stdout] --> src/ps/packet.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use trackable::{track, track_assert, track_assert_eq}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::es::StreamId` [INFO] [stdout] --> src/ps/psm.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::es::StreamId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::read` [INFO] [stdout] --> src/ps/psm.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ptr::read; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trackable::track` [INFO] [stdout] --> src/ps/psm.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use trackable::track; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PesHeader`, `PesPacketReader`, `PesPacket`, and `ReadPesPacket` [INFO] [stdout] --> src/ps/reader.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::pes::{PesHeader, PesPacket, PesPacketReader, ReadPesPacket}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bytes` and `Null` [INFO] [stdout] --> src/ps/reader.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ps::payload::{Bytes, Null, Pes}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PsSystemHeader` [INFO] [stdout] --> src/ps/reader.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ps::system_header::{PsSystemHeader, PsSystemSystemHeaderExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pid` and `PsPayload` [INFO] [stdout] --> src/ps/reader.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ps::{Pid, PsPayload}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorKind` [INFO] [stdout] --> src/ps/reader.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{track_io, ErrorKind, Result}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/ps/reader.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead` and `Seek` [INFO] [stdout] --> src/ps/reader.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{BufRead, Read, Seek}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `track_assert_eq` [INFO] [stdout] --> src/ps/reader.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | use trackable::{track, track_assert_eq}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::es::StreamId` [INFO] [stdout] --> src/ps/stream_table.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::es::StreamId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `repeat` [INFO] [stdout] --> src/ps/system_header.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{repeat, Read}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter` [INFO] [stdout] --> src/ps/system_header.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trackable::track` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use trackable::track; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/pes/reader.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | if let Some(key) = self.pes_packets.as_ref() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/pes/reader.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | if let Some(key) = self.pes_packets.as_ref() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `optional_header_len` and `write_to` are never used [INFO] [stdout] --> src/pes/packet.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 44 | impl PesHeader { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 45 | pub(super) fn optional_header_len(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub(crate) fn write_to(&self, mut writer: W, pes_header_len: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `handle_pes_payload` and `handle_raw_payload` are never used [INFO] [stdout] --> src/pes/reader.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl PesPacketReader { [INFO] [stdout] | ---------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | fn handle_pes_payload(&mut self, pes: Pes) -> Result>>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn handle_raw_payload(&mut self, data: &Bytes) -> Result>>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read_from` is never used [INFO] [stdout] --> src/ps/null.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 9 | impl Null { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 10 | pub(super) fn read_from(reader: R) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_to` is never used [INFO] [stdout] --> src/ps/packet.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 99 | impl PsPayload { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 100 | fn write_to(&self, writer: W) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_to` is never used [INFO] [stdout] --> src/ps/pes.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl Pes { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub(super) fn write_to(&self, mut writer: W) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `read_from` and `write_to` are never used [INFO] [stdout] --> src/ps/types.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 13 | impl Pid { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub(super) fn read_from(mut reader: R) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub(super) fn write_to(&self, mut writer: W) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_to` is never used [INFO] [stdout] --> src/ps/types.rs:197:19 [INFO] [stdout] | [INFO] [stdout] 159 | impl Bytes { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 197 | pub(super) fn write_to(&self, mut writer: W) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_u8` is never used [INFO] [stdout] --> src/ps/types.rs:239:19 [INFO] [stdout] | [INFO] [stdout] 238 | impl TransportScramblingControl { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] 239 | pub(super) fn from_u8(n: u8) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `read_from` and `write_to` are never used [INFO] [stdout] --> src/ps/types.rs:286:19 [INFO] [stdout] | [INFO] [stdout] 257 | impl LegalTimeWindow { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 286 | pub(super) fn read_from(mut reader: R) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | pub(super) fn write_to(&self, mut writer: W) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `read_from` and `write_to` are never used [INFO] [stdout] --> src/ps/types.rs:329:19 [INFO] [stdout] | [INFO] [stdout] 305 | impl PiecewiseRate { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 329 | pub(super) fn read_from(mut reader: R) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | pub(super) fn write_to(&self, mut writer: W) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `read_from` and `write_to` are never used [INFO] [stdout] --> src/ps/types.rs:380:19 [INFO] [stdout] | [INFO] [stdout] 347 | impl SeamlessSplice { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 380 | pub(super) fn read_from(mut reader: R) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | pub(super) fn write_to(&self, mut writer: W) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_to` is never used [INFO] [stdout] --> src/time.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl Timestamp { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub(crate) fn write_to(&self, mut writer: W, check_bits: u8) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_stuffing_bytes` is never used [INFO] [stdout] --> src/util.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn write_stuffing_bytes(mut writer: W, size: usize) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WithCrc32` is never constructed [INFO] [stdout] --> src/util.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct WithCrc32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `crc32` are never used [INFO] [stdout] --> src/util.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl WithCrc32 { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 26 | pub fn new(stream: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn crc32(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/ps/psm.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | reader.read_exact(&mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = reader.read_exact(&mut buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/ps/stream_table.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | reader.read_exact(&mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 18 | let _ = reader.read_exact(&mut buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/ps/system_header.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | reader.read_exact(&mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 65 | let _ = reader.read_exact(&mut buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `optional_header_len` and `write_to` are never used [INFO] [stdout] --> src/pes/packet.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 44 | impl PesHeader { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 45 | pub(super) fn optional_header_len(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub(crate) fn write_to(&self, mut writer: W, pes_header_len: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `handle_pes_payload` and `handle_raw_payload` are never used [INFO] [stdout] --> src/pes/reader.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl PesPacketReader { [INFO] [stdout] | ---------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | fn handle_pes_payload(&mut self, pes: Pes) -> Result>>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn handle_raw_payload(&mut self, data: &Bytes) -> Result>>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read_from` is never used [INFO] [stdout] --> src/ps/null.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 9 | impl Null { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 10 | pub(super) fn read_from(reader: R) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_to` is never used [INFO] [stdout] --> src/ps/packet.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 99 | impl PsPayload { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 100 | fn write_to(&self, writer: W) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_to` is never used [INFO] [stdout] --> src/ps/pes.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl Pes { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub(super) fn write_to(&self, mut writer: W) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `read_from` and `write_to` are never used [INFO] [stdout] --> src/ps/types.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 13 | impl Pid { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub(super) fn read_from(mut reader: R) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub(super) fn write_to(&self, mut writer: W) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_to` is never used [INFO] [stdout] --> src/ps/types.rs:197:19 [INFO] [stdout] | [INFO] [stdout] 159 | impl Bytes { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 197 | pub(super) fn write_to(&self, mut writer: W) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_u8` is never used [INFO] [stdout] --> src/ps/types.rs:239:19 [INFO] [stdout] | [INFO] [stdout] 238 | impl TransportScramblingControl { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] 239 | pub(super) fn from_u8(n: u8) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `read_from` and `write_to` are never used [INFO] [stdout] --> src/ps/types.rs:286:19 [INFO] [stdout] | [INFO] [stdout] 257 | impl LegalTimeWindow { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 286 | pub(super) fn read_from(mut reader: R) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | pub(super) fn write_to(&self, mut writer: W) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `read_from` and `write_to` are never used [INFO] [stdout] --> src/ps/types.rs:329:19 [INFO] [stdout] | [INFO] [stdout] 305 | impl PiecewiseRate { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 329 | pub(super) fn read_from(mut reader: R) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | pub(super) fn write_to(&self, mut writer: W) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `read_from` and `write_to` are never used [INFO] [stdout] --> src/ps/types.rs:380:19 [INFO] [stdout] | [INFO] [stdout] 347 | impl SeamlessSplice { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 380 | pub(super) fn read_from(mut reader: R) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | pub(super) fn write_to(&self, mut writer: W) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_to` is never used [INFO] [stdout] --> src/time.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl Timestamp { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub(crate) fn write_to(&self, mut writer: W, check_bits: u8) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `read_pcr_from`, `write_pcr_to`, and `write_escr_to` are never used [INFO] [stdout] --> src/time.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 86 | impl ClockReference { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub(crate) fn read_pcr_from(mut reader: R) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub(crate) fn write_pcr_to(&self, mut writer: W) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub(crate) fn write_escr_to(&self, mut writer: W) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_stuffing_bytes` is never used [INFO] [stdout] --> src/util.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn write_stuffing_bytes(mut writer: W, size: usize) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WithCrc32` is never constructed [INFO] [stdout] --> src/util.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct WithCrc32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `crc32` are never used [INFO] [stdout] --> src/util.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl WithCrc32 { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 26 | pub fn new(stream: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn crc32(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/ps/psm.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | reader.read_exact(&mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = reader.read_exact(&mut buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/ps/stream_table.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | reader.read_exact(&mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 18 | let _ = reader.read_exact(&mut buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/ps/system_header.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | reader.read_exact(&mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 65 | let _ = reader.read_exact(&mut buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.05s [INFO] running `Command { std: "docker" "inspect" "3d01dcee0221fffc7fc3ca277dda21d636b823b638191e0c1f9054c052c39ba6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d01dcee0221fffc7fc3ca277dda21d636b823b638191e0c1f9054c052c39ba6", kill_on_drop: false }` [INFO] [stdout] 3d01dcee0221fffc7fc3ca277dda21d636b823b638191e0c1f9054c052c39ba6