[INFO] fetching crate mpeg2ts-reader 0.15.0... [INFO] testing mpeg2ts-reader-0.15.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate mpeg2ts-reader 0.15.0 into /workspace/builds/worker-65/source [INFO] validating manifest of crates.io crate mpeg2ts-reader 0.15.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mpeg2ts-reader 0.15.0 [INFO] finished tweaking crates.io crate mpeg2ts-reader 0.15.0 [INFO] tweaked toml for crates.io crate mpeg2ts-reader 0.15.0 written to /workspace/builds/worker-65/source/Cargo.toml [INFO] crate crates.io crate mpeg2ts-reader 0.15.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae5e7a8a0f35f3af647ca7ee13e12d69d9fdd729002d46648e6220c3faea3b75 [INFO] running `Command { std: "docker" "start" "-a" "ae5e7a8a0f35f3af647ca7ee13e12d69d9fdd729002d46648e6220c3faea3b75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae5e7a8a0f35f3af647ca7ee13e12d69d9fdd729002d46648e6220c3faea3b75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae5e7a8a0f35f3af647ca7ee13e12d69d9fdd729002d46648e6220c3faea3b75", kill_on_drop: false }` [INFO] [stdout] ae5e7a8a0f35f3af647ca7ee13e12d69d9fdd729002d46648e6220c3faea3b75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f8ce90bcb09b852e8ee86122ff83393ed941e0c2e22d37baa0cc97ea2c683d3 [INFO] running `Command { std: "docker" "start" "-a" "7f8ce90bcb09b852e8ee86122ff83393ed941e0c2e22d37baa0cc97ea2c683d3", kill_on_drop: false }` [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling four-cc v0.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling fixedbitset v0.4.0 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling smptera-format-identifiers-rust v0.3.0 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling mpeg2ts-reader v0.15.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `buf` [INFO] [stdout] --> src/pes.rs:468:5 [INFO] [stdout] | [INFO] [stdout] 468 | buf: &'buf [u8], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `PesExtension` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pes.rs:466:10 [INFO] [stdout] | [INFO] [stdout] 466 | #[derive(Debug)] // TODO manual Debug [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.94s [INFO] running `Command { std: "docker" "inspect" "7f8ce90bcb09b852e8ee86122ff83393ed941e0c2e22d37baa0cc97ea2c683d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f8ce90bcb09b852e8ee86122ff83393ed941e0c2e22d37baa0cc97ea2c683d3", kill_on_drop: false }` [INFO] [stdout] 7f8ce90bcb09b852e8ee86122ff83393ed941e0c2e22d37baa0cc97ea2c683d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 915be1c46a075001907de4713d2e556b2d86ff9882d1ef75c80282133bf742cb [INFO] running `Command { std: "docker" "start" "-a" "915be1c46a075001907de4713d2e556b2d86ff9882d1ef75c80282133bf742cb", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling serde v1.0.89 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling either v1.5.1 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling syn v0.15.30 [INFO] [stderr] Compiling plotters-backend v0.3.0 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling cast v0.2.2 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling oorandom v11.1.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling bitstream-io v0.9.0 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling hex-slice v0.1.4 [INFO] [stdout] warning: field is never read: `buf` [INFO] [stdout] --> src/pes.rs:468:5 [INFO] [stdout] | [INFO] [stdout] 468 | buf: &'buf [u8], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `PesExtension` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pes.rs:466:10 [INFO] [stdout] | [INFO] [stdout] 466 | #[derive(Debug)] // TODO manual Debug [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling plotters-svg v0.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling hex-literal-impl v0.2.2 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling hex-literal v0.2.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling plotters v0.3.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling serde_derive v1.0.89 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.3.4 [INFO] [stderr] Compiling mpeg2ts-reader v0.15.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/psi/mod.rs:799:36 [INFO] [stdout] | [INFO] [stdout] 799 | fn do_construct(&mut self, req: demultiplex::FilterRequest<'_, '_>) -> NullFilterSwitch { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/psi/mod.rs:945:17 [INFO] [stdout] | [INFO] [stdout] 945 | header: &SectionCommonHeader, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_syntax_header` [INFO] [stdout] --> src/psi/mod.rs:946:17 [INFO] [stdout] | [INFO] [stdout] 946 | table_syntax_header: &TableSyntaxHeader<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_syntax_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/psi/mod.rs:947:17 [INFO] [stdout] | [INFO] [stdout] 947 | data: &'a [u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/psi/mod.rs:952:81 [INFO] [stdout] | [INFO] [stdout] 952 | fn continue_syntax_section<'a>(&mut self, _ctx: &mut Self::Context, data: &'a [u8]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/psi/mod.rs:1024:17 [INFO] [stdout] | [INFO] [stdout] 1024 | ctx: &mut Self::Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/psi/mod.rs:1025:17 [INFO] [stdout] | [INFO] [stdout] 1025 | header: &SectionCommonHeader, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/psi/mod.rs:1026:17 [INFO] [stdout] | [INFO] [stdout] 1026 | data: &'a [u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/psi/mod.rs:1031:56 [INFO] [stdout] | [INFO] [stdout] 1031 | fn continue_compact_section<'a>(&mut self, ctx: &mut Self::Context, data: &'a [u8]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/psi/mod.rs:1031:81 [INFO] [stdout] | [INFO] [stdout] 1031 | fn continue_compact_section<'a>(&mut self, ctx: &mut Self::Context, data: &'a [u8]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `buf` [INFO] [stdout] --> src/pes.rs:468:5 [INFO] [stdout] | [INFO] [stdout] 468 | buf: &'buf [u8], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `PesExtension` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pes.rs:466:10 [INFO] [stdout] | [INFO] [stdout] 466 | #[derive(Debug)] // TODO manual Debug [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Pat` [INFO] [stdout] --> src/demultiplex.rs:145:16 [INFO] [stdout] | [INFO] [stdout] 145 | $( $case_name($t), )* [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/psi/mod.rs:790:5 [INFO] [stdout] | [INFO] [stdout] 790 | / packet_filter_switch! { [INFO] [stdout] 791 | | NullFilterSwitch { [INFO] [stdout] 792 | | Pat: demultiplex::PatPacketFilter, [INFO] [stdout] 793 | | Pmt: demultiplex::PmtPacketFilter, [INFO] [stdout] 794 | | Nul: demultiplex::NullPacketFilter, [INFO] [stdout] 795 | | } [INFO] [stdout] 796 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `packet_filter_switch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Pmt` [INFO] [stdout] --> src/demultiplex.rs:145:16 [INFO] [stdout] | [INFO] [stdout] 145 | $( $case_name($t), )* [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/psi/mod.rs:790:5 [INFO] [stdout] | [INFO] [stdout] 790 | / packet_filter_switch! { [INFO] [stdout] 791 | | NullFilterSwitch { [INFO] [stdout] 792 | | Pat: demultiplex::PatPacketFilter, [INFO] [stdout] 793 | | Pmt: demultiplex::PmtPacketFilter, [INFO] [stdout] 794 | | Nul: demultiplex::NullPacketFilter, [INFO] [stdout] 795 | | } [INFO] [stdout] 796 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `packet_filter_switch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Nul` [INFO] [stdout] --> src/demultiplex.rs:145:16 [INFO] [stdout] | [INFO] [stdout] 145 | $( $case_name($t), )* [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/psi/mod.rs:790:5 [INFO] [stdout] | [INFO] [stdout] 790 | / packet_filter_switch! { [INFO] [stdout] 791 | | NullFilterSwitch { [INFO] [stdout] 792 | | Pat: demultiplex::PatPacketFilter, [INFO] [stdout] 793 | | Pmt: demultiplex::PmtPacketFilter, [INFO] [stdout] 794 | | Nul: demultiplex::NullPacketFilter, [INFO] [stdout] 795 | | } [INFO] [stdout] 796 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `packet_filter_switch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cont` [INFO] [stdout] --> src/psi/mod.rs:1013:13 [INFO] [stdout] | [INFO] [stdout] 1013 | cont: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `reset` [INFO] [stdout] --> src/psi/mod.rs:1014:13 [INFO] [stdout] | [INFO] [stdout] 1014 | reset: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 16.59s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/mpeg2ts_reader-4cb88c568e7a11cc) [INFO] running `Command { std: "docker" "inspect" "915be1c46a075001907de4713d2e556b2d86ff9882d1ef75c80282133bf742cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "915be1c46a075001907de4713d2e556b2d86ff9882d1ef75c80282133bf742cb", kill_on_drop: false }` [INFO] [stdout] 915be1c46a075001907de4713d2e556b2d86ff9882d1ef75c80282133bf742cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 580d7fee850a328be906a4ed6adda06d57e5223055af10d024d61dbc08cc5442 [INFO] running `Command { std: "docker" "start" "-a" "580d7fee850a328be906a4ed6adda06d57e5223055af10d024d61dbc08cc5442", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `buf` [INFO] [stderr] --> src/pes.rs:468:5 [INFO] [stderr] | [INFO] [stderr] 468 | buf: &'buf [u8], [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `PesExtension` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/pes.rs:466:10 [INFO] [stderr] | [INFO] [stderr] 466 | #[derive(Debug)] // TODO manual Debug [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `mpeg2ts-reader` (lib) generated 1 warning [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/psi/mod.rs:799:36 [INFO] [stderr] | [INFO] [stderr] 799 | fn do_construct(&mut self, req: demultiplex::FilterRequest<'_, '_>) -> NullFilterSwitch { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `header` [INFO] [stderr] --> src/psi/mod.rs:945:17 [INFO] [stderr] | [INFO] [stderr] 945 | header: &SectionCommonHeader, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `table_syntax_header` [INFO] [stderr] --> src/psi/mod.rs:946:17 [INFO] [stderr] | [INFO] [stderr] 946 | table_syntax_header: &TableSyntaxHeader<'a>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_syntax_header` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/psi/mod.rs:947:17 [INFO] [stderr] | [INFO] [stderr] 947 | data: &'a [u8], [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/psi/mod.rs:952:81 [INFO] [stderr] | [INFO] [stderr] 952 | fn continue_syntax_section<'a>(&mut self, _ctx: &mut Self::Context, data: &'a [u8]) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/psi/mod.rs:1024:17 [INFO] [stderr] | [INFO] [stderr] 1024 | ctx: &mut Self::Context, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `header` [INFO] [stderr] --> src/psi/mod.rs:1025:17 [INFO] [stderr] | [INFO] [stderr] 1025 | header: &SectionCommonHeader, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/psi/mod.rs:1026:17 [INFO] [stderr] | [INFO] [stderr] 1026 | data: &'a [u8], [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/psi/mod.rs:1031:56 [INFO] [stderr] | [INFO] [stderr] 1031 | fn continue_compact_section<'a>(&mut self, ctx: &mut Self::Context, data: &'a [u8]) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/psi/mod.rs:1031:81 [INFO] [stderr] | [INFO] [stderr] 1031 | fn continue_compact_section<'a>(&mut self, ctx: &mut Self::Context, data: &'a [u8]) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Pat` [INFO] [stderr] --> src/demultiplex.rs:145:16 [INFO] [stderr] | [INFO] [stderr] 145 | $( $case_name($t), )* [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/psi/mod.rs:790:5 [INFO] [stderr] | [INFO] [stderr] 790 | / packet_filter_switch! { [INFO] [stderr] 791 | | NullFilterSwitch { [INFO] [stderr] 792 | | Pat: demultiplex::PatPacketFilter, [INFO] [stderr] 793 | | Pmt: demultiplex::PmtPacketFilter, [INFO] [stderr] 794 | | Nul: demultiplex::NullPacketFilter, [INFO] [stderr] 795 | | } [INFO] [stderr] 796 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `packet_filter_switch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Pmt` [INFO] [stderr] --> src/demultiplex.rs:145:16 [INFO] [stderr] | [INFO] [stderr] 145 | $( $case_name($t), )* [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/psi/mod.rs:790:5 [INFO] [stderr] | [INFO] [stderr] 790 | / packet_filter_switch! { [INFO] [stderr] 791 | | NullFilterSwitch { [INFO] [stderr] 792 | | Pat: demultiplex::PatPacketFilter, [INFO] [stderr] 793 | | Pmt: demultiplex::PmtPacketFilter, [INFO] [stderr] 794 | | Nul: demultiplex::NullPacketFilter, [INFO] [stderr] 795 | | } [INFO] [stderr] 796 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `packet_filter_switch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Nul` [INFO] [stderr] --> src/demultiplex.rs:145:16 [INFO] [stderr] | [INFO] [stderr] 145 | $( $case_name($t), )* [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/psi/mod.rs:790:5 [INFO] [stderr] | [INFO] [stderr] 790 | / packet_filter_switch! { [INFO] [stderr] 791 | | NullFilterSwitch { [INFO] [stderr] 792 | | Pat: demultiplex::PatPacketFilter, [INFO] [stderr] 793 | | Pmt: demultiplex::PmtPacketFilter, [INFO] [stderr] 794 | | Nul: demultiplex::NullPacketFilter, [INFO] [stderr] 795 | | } [INFO] [stderr] 796 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `packet_filter_switch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `cont` [INFO] [stderr] --> src/psi/mod.rs:1013:13 [INFO] [stderr] | [INFO] [stderr] 1013 | cont: usize, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `reset` [INFO] [stderr] --> src/psi/mod.rs:1014:13 [INFO] [stderr] | [INFO] [stderr] 1014 | reset: usize, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `mpeg2ts-reader` (lib test) generated 16 warnings (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mpeg2ts_reader-4cb88c568e7a11cc) [INFO] [stdout] [INFO] [stdout] running 41 tests [INFO] [stdout] test demultiplex::test::demux_empty ... ok [INFO] [stdout] test demultiplex::test::pat_no_existing_program ... ok [INFO] [stdout] test demultiplex::test::pmt_new_stream ... ok [INFO] [stdout] test demultiplex::test::pat ... ok [INFO] [stdout] test demultiplex::test::pat_remove_existing_program ... ok [INFO] [stdout] test descriptor::avcvideo::test::debug ... ok [INFO] [stdout] test descriptor::avcvideo::test::descriptor ... ok [INFO] [stdout] test descriptor::iso_639_language::test::debug ... ok [INFO] [stdout] test descriptor::iso_639_language::test::descriptor ... ok [INFO] [stdout] test descriptor::iso_639_language::test::too_short ... ok [INFO] [stdout] test descriptor::max_bitrate::test::descriptor ... ok [INFO] [stdout] test descriptor::test::not_enough_data ... ok [INFO] [stdout] test descriptor::registration::test::descriptor ... ok [INFO] [stdout] test descriptor::test::core ... ok [INFO] [stdout] test packet::test::empty_adaptation_field ... ok [INFO] [stdout] test packet::test::empty_adaptation_field_extension ... ok [INFO] [stdout] test packet::test::pid ... ok [INFO] [stdout] test packet::test::test_xmas_tree ... ok [INFO] [stdout] test pes::test::dts ... ok [INFO] [stdout] test pes::test::parse_header ... ok [INFO] [stdout] test pes::test::header_length_doesnt_fit ... ok [INFO] [stdout] test pes::test::pes_header_data_length_too_short ... ok [INFO] [stdout] test pes::test::pes_packet_consumer ... ok [INFO] [stdout] test pes::test::timestamp_bad_marker ... ok [INFO] [stdout] test pes::test::pts ... ok [INFO] [stdout] test pes::test::timestamp_bad_prefix ... ok [INFO] [stdout] test pes::test::timestamp_zeros ... ok [INFO] [stdout] test pes::test::timestamp_ones ... ok [INFO] [stdout] test psi::pmt::test::far_too_small ... ok [INFO] [stdout] test psi::pmt::test::descriptors_dont_fit ... ok [INFO] [stdout] test psi::pmt::test::debug_does_not_panic ... ok [INFO] [stdout] test psi::pmt::test::truncated_descriptor ... ok [INFO] [stdout] test psi::test::compact_section_syntax ... ok [INFO] [stdout] test psi::test::continuation_outside_section ... ok [INFO] [stdout] test psi::test::dedup_section ... ok [INFO] [stdout] test psi::test::section_spanning_packets ... ok [INFO] [stdout] test psi::test::small_section ... ok [INFO] [stdout] test psi::test::table_syntax ... ok [INFO] [stdout] test test::mappings ... ok [INFO] [stdout] test test::pes ... ok [INFO] [stdout] test packet::test::zero_len - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 41 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Doc-tests mpeg2ts-reader [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/pes.rs - pes::PesContents (line 368) ... ok [INFO] [stdout] test src/packet.rs - packet::ContinuityCounter::follows (line 436) ... ok [INFO] [stdout] test src/descriptor/mod.rs - descriptor::descriptor_enum (line 72) ... ok [INFO] [stdout] test src/demultiplex.rs - demultiplex::demux_context (line 76) ... ok [INFO] [stdout] test src/descriptor/mod.rs - descriptor (line 22) ... ok [INFO] [stdout] test src/descriptor/registration.rs - descriptor::registration::RegistrationDescriptor::format_identifier (line 29) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.36s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "580d7fee850a328be906a4ed6adda06d57e5223055af10d024d61dbc08cc5442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "580d7fee850a328be906a4ed6adda06d57e5223055af10d024d61dbc08cc5442", kill_on_drop: false }` [INFO] [stdout] 580d7fee850a328be906a4ed6adda06d57e5223055af10d024d61dbc08cc5442