[INFO] fetching crate h264-reader 0.7.0... [INFO] checking h264-reader-0.7.0 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate h264-reader 0.7.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate h264-reader 0.7.0 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate h264-reader 0.7.0 [INFO] finished tweaking crates.io crate h264-reader 0.7.0 [INFO] tweaked toml for crates.io crate h264-reader 0.7.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 81 packages [INFO] [stderr] Adding anes v0.1.6 (latest: v0.2.0) [INFO] [stderr] Adding bitstream-io v1.10.0 (latest: v2.2.0) [INFO] [stderr] Adding four-cc v0.1.0 (latest: v0.4.0) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.12.1) [INFO] [stderr] Adding mp4ra-rust v0.1.0 (latest: v0.3.0) [INFO] [stderr] Adding rfc6381-codec v0.1.0 (latest: v0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitstream-io v1.10.0 [INFO] [stderr] Downloaded hex-slice v0.1.4 [INFO] [stderr] Downloaded mpeg4-audio-const v0.2.0 [INFO] [stderr] Downloaded four-cc v0.1.0 [INFO] [stderr] Downloaded rfc6381-codec v0.1.0 [INFO] [stderr] Downloaded mp4ra-rust v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 058e12b82cb012265b717ade2e0ae39b9ccb7f404d12e04ea47bde14e70bcc77 [INFO] running `Command { std: "docker" "start" "-a" "058e12b82cb012265b717ade2e0ae39b9ccb7f404d12e04ea47bde14e70bcc77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "058e12b82cb012265b717ade2e0ae39b9ccb7f404d12e04ea47bde14e70bcc77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "058e12b82cb012265b717ade2e0ae39b9ccb7f404d12e04ea47bde14e70bcc77", kill_on_drop: false }` [INFO] [stdout] 058e12b82cb012265b717ade2e0ae39b9ccb7f404d12e04ea47bde14e70bcc77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5445c1abf28221b42eedc7e2039f3ae7f2b8763a394d878953ddba2eaa2d65e3 [INFO] running `Command { std: "docker" "start" "-a" "5445c1abf28221b42eedc7e2039f3ae7f2b8763a394d878953ddba2eaa2d65e3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking four-cc v0.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking mpeg4-audio-const v0.2.0 [INFO] [stderr] Checking bitstream-io v1.10.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking hex-slice v0.1.4 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Checking mp4ra-rust v0.1.0 [INFO] [stderr] Checking rfc6381-codec v0.1.0 [INFO] [stderr] Checking h264-reader v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `memchr` is imported redundantly [INFO] [stdout] --> src/annexb.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use memchr; [INFO] [stdout] | ^^^^^^ the item `memchr` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `top_left` and `bottom_right` are never read [INFO] [stdout] --> src/nal/pps.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct SliceRect { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 43 | top_left: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 44 | bottom_right: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SliceRect` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num_ref_idx_l1_active_minus1` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 166 | B { [INFO] [stdout] | - field in this variant [INFO] [stdout] 167 | num_ref_idx_l0_active_minus1: u32, [INFO] [stdout] 168 | num_ref_idx_l1_active_minus1: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 187 | Subtract(u32), [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 187 | Subtract(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | Add(u32), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 188 | Add(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | LongTermRef(u32), [INFO] [stdout] | ----------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 189 | LongTermRef(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ref_pic_list_modification_l0` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 194 | P { [INFO] [stdout] | - field in this variant [INFO] [stdout] 195 | ref_pic_list_modification_l0: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ref_pic_list_modification_l0` and `ref_pic_list_modification_l1` are never read [INFO] [stdout] --> src/nal/slice/mod.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 197 | B { [INFO] [stdout] | - fields in this variant [INFO] [stdout] 198 | ref_pic_list_modification_l0: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 199 | ref_pic_list_modification_l1: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `weight` and `offset` are never read [INFO] [stdout] --> src/nal/slice/mod.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 246 | struct PredWeight { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 247 | weight: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 248 | offset: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PredWeight` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `luma_log2_weight_denom`, `chroma_log2_weight_denom`, `luma_weights`, and `chroma_weights` are never read [INFO] [stdout] --> src/nal/slice/mod.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 251 | struct PredWeightTable { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 252 | luma_log2_weight_denom: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 253 | chroma_log2_weight_denom: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 254 | luma_weights: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 255 | chroma_weights: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PredWeightTable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `difference_of_pic_nums_minus1` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:321:29 [INFO] [stdout] | [INFO] [stdout] 321 | ShortTermUnusedForRef { difference_of_pic_nums_minus1: u32 }, [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `long_term_pic_num` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:323:28 [INFO] [stdout] | [INFO] [stdout] 323 | LongTermUnusedForRef { long_term_pic_num: u32 }, [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `difference_of_pic_nums_minus1` and `long_term_frame_idx` are never read [INFO] [stdout] --> src/nal/slice/mod.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 325 | ShortTermUsedForLongTerm { [INFO] [stdout] | ------------------------ fields in this variant [INFO] [stdout] 326 | difference_of_pic_nums_minus1: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 327 | long_term_frame_idx: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_long_term_frame_idx_plus1` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:330:31 [INFO] [stdout] | [INFO] [stdout] 330 | MaxUsedLongTermFrameRef { max_long_term_frame_idx_plus1: u32 }, [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `long_term_frame_idx` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:334:30 [INFO] [stdout] | [INFO] [stdout] 334 | CurrentUsedForLongTerm { long_term_frame_idx: u32 }, [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `no_output_of_prior_pics_flag` and `long_term_reference_flag` are never read [INFO] [stdout] --> src/nal/slice/mod.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 340 | Idr { [INFO] [stdout] | --- fields in this variant [INFO] [stdout] 341 | no_output_of_prior_pics_flag: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 342 | long_term_reference_flag: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:347:14 [INFO] [stdout] | [INFO] [stdout] 347 | Adaptive(Vec), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 347 | Adaptive(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/nal/slice/mod.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 418 | pub struct SliceHeader { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 419 | first_mb_in_slice: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 420 | slice_type: SliceType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 421 | colour_plane: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | idr_pic_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 425 | pub pic_order_cnt_lsb: Option, [INFO] [stdout] 426 | redundant_pic_cnt: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 427 | direct_spatial_mv_pred_flag: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 428 | num_ref_idx_active: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 429 | ref_pic_list_modification: Option, // may become an enum rather than Option in future (for ref_pic_list_mvc_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 430 | pred_weight_table: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 431 | dec_ref_pic_marking: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 432 | cabac_init_idc: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 433 | slice_qp_delta: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 434 | sp_for_switch_flag: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 435 | slice_qs: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 436 | disable_deblocking_filter_idc: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SliceHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Checking test-case v3.3.1 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] warning: the item `memchr` is imported redundantly [INFO] [stdout] --> src/annexb.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use memchr; [INFO] [stdout] | ^^^^^^ the item `memchr` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `top_left` and `bottom_right` are never read [INFO] [stdout] --> src/nal/pps.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct SliceRect { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 43 | top_left: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 44 | bottom_right: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SliceRect` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num_ref_idx_l1_active_minus1` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 166 | B { [INFO] [stdout] | - field in this variant [INFO] [stdout] 167 | num_ref_idx_l0_active_minus1: u32, [INFO] [stdout] 168 | num_ref_idx_l1_active_minus1: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 187 | Subtract(u32), [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 187 | Subtract(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | Add(u32), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 188 | Add(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | LongTermRef(u32), [INFO] [stdout] | ----------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 189 | LongTermRef(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ref_pic_list_modification_l0` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 194 | P { [INFO] [stdout] | - field in this variant [INFO] [stdout] 195 | ref_pic_list_modification_l0: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ref_pic_list_modification_l0` and `ref_pic_list_modification_l1` are never read [INFO] [stdout] --> src/nal/slice/mod.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 197 | B { [INFO] [stdout] | - fields in this variant [INFO] [stdout] 198 | ref_pic_list_modification_l0: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 199 | ref_pic_list_modification_l1: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `weight` and `offset` are never read [INFO] [stdout] --> src/nal/slice/mod.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 246 | struct PredWeight { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 247 | weight: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 248 | offset: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PredWeight` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `luma_log2_weight_denom`, `chroma_log2_weight_denom`, `luma_weights`, and `chroma_weights` are never read [INFO] [stdout] --> src/nal/slice/mod.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 251 | struct PredWeightTable { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 252 | luma_log2_weight_denom: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 253 | chroma_log2_weight_denom: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 254 | luma_weights: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 255 | chroma_weights: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PredWeightTable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `difference_of_pic_nums_minus1` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:321:29 [INFO] [stdout] | [INFO] [stdout] 321 | ShortTermUnusedForRef { difference_of_pic_nums_minus1: u32 }, [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `long_term_pic_num` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:323:28 [INFO] [stdout] | [INFO] [stdout] 323 | LongTermUnusedForRef { long_term_pic_num: u32 }, [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `difference_of_pic_nums_minus1` and `long_term_frame_idx` are never read [INFO] [stdout] --> src/nal/slice/mod.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 325 | ShortTermUsedForLongTerm { [INFO] [stdout] | ------------------------ fields in this variant [INFO] [stdout] 326 | difference_of_pic_nums_minus1: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 327 | long_term_frame_idx: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_long_term_frame_idx_plus1` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:330:31 [INFO] [stdout] | [INFO] [stdout] 330 | MaxUsedLongTermFrameRef { max_long_term_frame_idx_plus1: u32 }, [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `long_term_frame_idx` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:334:30 [INFO] [stdout] | [INFO] [stdout] 334 | CurrentUsedForLongTerm { long_term_frame_idx: u32 }, [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `no_output_of_prior_pics_flag` and `long_term_reference_flag` are never read [INFO] [stdout] --> src/nal/slice/mod.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 340 | Idr { [INFO] [stdout] | --- fields in this variant [INFO] [stdout] 341 | no_output_of_prior_pics_flag: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 342 | long_term_reference_flag: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:347:14 [INFO] [stdout] | [INFO] [stdout] 347 | Adaptive(Vec), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 347 | Adaptive(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/nal/slice/mod.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 418 | pub struct SliceHeader { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 419 | first_mb_in_slice: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 420 | slice_type: SliceType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 421 | colour_plane: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | idr_pic_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 425 | pub pic_order_cnt_lsb: Option, [INFO] [stdout] 426 | redundant_pic_cnt: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 427 | direct_spatial_mv_pred_flag: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 428 | num_ref_idx_active: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 429 | ref_pic_list_modification: Option, // may become an enum rather than Option in future (for ref_pic_list_mvc_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 430 | pred_weight_table: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 431 | dec_ref_pic_marking: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 432 | cabac_init_idc: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 433 | slice_qp_delta: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 434 | sp_for_switch_flag: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 435 | slice_qs: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 436 | disable_deblocking_filter_idc: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SliceHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.18s [INFO] running `Command { std: "docker" "inspect" "5445c1abf28221b42eedc7e2039f3ae7f2b8763a394d878953ddba2eaa2d65e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5445c1abf28221b42eedc7e2039f3ae7f2b8763a394d878953ddba2eaa2d65e3", kill_on_drop: false }` [INFO] [stdout] 5445c1abf28221b42eedc7e2039f3ae7f2b8763a394d878953ddba2eaa2d65e3 [INFO] checking h264-reader-0.7.0 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate h264-reader 0.7.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate h264-reader 0.7.0 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate h264-reader 0.7.0 [INFO] finished tweaking crates.io crate h264-reader 0.7.0 [INFO] tweaked toml for crates.io crate h264-reader 0.7.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7958366504cc963df661f6bf7e3b921f9779ac2eec975eabc61c396e5365d204 [INFO] running `Command { std: "docker" "start" "-a" "7958366504cc963df661f6bf7e3b921f9779ac2eec975eabc61c396e5365d204", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7958366504cc963df661f6bf7e3b921f9779ac2eec975eabc61c396e5365d204", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7958366504cc963df661f6bf7e3b921f9779ac2eec975eabc61c396e5365d204", kill_on_drop: false }` [INFO] [stdout] 7958366504cc963df661f6bf7e3b921f9779ac2eec975eabc61c396e5365d204 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13ebb1b1f7f162bffc4a942653c139119219eebbdce7ac529ddbb816c6d2f562 [INFO] running `Command { std: "docker" "start" "-a" "13ebb1b1f7f162bffc4a942653c139119219eebbdce7ac529ddbb816c6d2f562", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking four-cc v0.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking mpeg4-audio-const v0.2.0 [INFO] [stderr] Checking hex-slice v0.1.4 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking bitstream-io v1.10.0 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Checking mp4ra-rust v0.1.0 [INFO] [stderr] Checking rfc6381-codec v0.1.0 [INFO] [stderr] Checking h264-reader v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `memchr` is imported redundantly [INFO] [stdout] --> src/annexb.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use memchr; [INFO] [stdout] | ^^^^^^ the item `memchr` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `top_left` and `bottom_right` are never read [INFO] [stdout] --> src/nal/pps.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct SliceRect { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 43 | top_left: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 44 | bottom_right: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SliceRect` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num_ref_idx_l1_active_minus1` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 166 | B { [INFO] [stdout] | - field in this variant [INFO] [stdout] 167 | num_ref_idx_l0_active_minus1: u32, [INFO] [stdout] 168 | num_ref_idx_l1_active_minus1: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 187 | Subtract(u32), [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 187 | Subtract(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | Add(u32), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 188 | Add(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | LongTermRef(u32), [INFO] [stdout] | ----------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 189 | LongTermRef(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ref_pic_list_modification_l0` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 194 | P { [INFO] [stdout] | - field in this variant [INFO] [stdout] 195 | ref_pic_list_modification_l0: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ref_pic_list_modification_l0` and `ref_pic_list_modification_l1` are never read [INFO] [stdout] --> src/nal/slice/mod.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 197 | B { [INFO] [stdout] | - fields in this variant [INFO] [stdout] 198 | ref_pic_list_modification_l0: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 199 | ref_pic_list_modification_l1: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `weight` and `offset` are never read [INFO] [stdout] --> src/nal/slice/mod.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 246 | struct PredWeight { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 247 | weight: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 248 | offset: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PredWeight` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `luma_log2_weight_denom`, `chroma_log2_weight_denom`, `luma_weights`, and `chroma_weights` are never read [INFO] [stdout] --> src/nal/slice/mod.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 251 | struct PredWeightTable { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 252 | luma_log2_weight_denom: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 253 | chroma_log2_weight_denom: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 254 | luma_weights: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 255 | chroma_weights: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PredWeightTable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `difference_of_pic_nums_minus1` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:321:29 [INFO] [stdout] | [INFO] [stdout] 321 | ShortTermUnusedForRef { difference_of_pic_nums_minus1: u32 }, [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `long_term_pic_num` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:323:28 [INFO] [stdout] | [INFO] [stdout] 323 | LongTermUnusedForRef { long_term_pic_num: u32 }, [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `difference_of_pic_nums_minus1` and `long_term_frame_idx` are never read [INFO] [stdout] --> src/nal/slice/mod.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 325 | ShortTermUsedForLongTerm { [INFO] [stdout] | ------------------------ fields in this variant [INFO] [stdout] 326 | difference_of_pic_nums_minus1: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 327 | long_term_frame_idx: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_long_term_frame_idx_plus1` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:330:31 [INFO] [stdout] | [INFO] [stdout] 330 | MaxUsedLongTermFrameRef { max_long_term_frame_idx_plus1: u32 }, [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `long_term_frame_idx` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:334:30 [INFO] [stdout] | [INFO] [stdout] 334 | CurrentUsedForLongTerm { long_term_frame_idx: u32 }, [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `no_output_of_prior_pics_flag` and `long_term_reference_flag` are never read [INFO] [stdout] --> src/nal/slice/mod.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 340 | Idr { [INFO] [stdout] | --- fields in this variant [INFO] [stdout] 341 | no_output_of_prior_pics_flag: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 342 | long_term_reference_flag: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:347:14 [INFO] [stdout] | [INFO] [stdout] 347 | Adaptive(Vec), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 347 | Adaptive(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/nal/slice/mod.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 418 | pub struct SliceHeader { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 419 | first_mb_in_slice: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 420 | slice_type: SliceType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 421 | colour_plane: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | idr_pic_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 425 | pub pic_order_cnt_lsb: Option, [INFO] [stdout] 426 | redundant_pic_cnt: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 427 | direct_spatial_mv_pred_flag: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 428 | num_ref_idx_active: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 429 | ref_pic_list_modification: Option, // may become an enum rather than Option in future (for ref_pic_list_mvc_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 430 | pred_weight_table: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 431 | dec_ref_pic_marking: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 432 | cabac_init_idc: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 433 | slice_qp_delta: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 434 | sp_for_switch_flag: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 435 | slice_qs: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 436 | disable_deblocking_filter_idc: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SliceHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Checking test-case v3.3.1 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] warning: the item `memchr` is imported redundantly [INFO] [stdout] --> src/annexb.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use memchr; [INFO] [stdout] | ^^^^^^ the item `memchr` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `top_left` and `bottom_right` are never read [INFO] [stdout] --> src/nal/pps.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct SliceRect { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 43 | top_left: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 44 | bottom_right: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SliceRect` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num_ref_idx_l1_active_minus1` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 166 | B { [INFO] [stdout] | - field in this variant [INFO] [stdout] 167 | num_ref_idx_l0_active_minus1: u32, [INFO] [stdout] 168 | num_ref_idx_l1_active_minus1: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 187 | Subtract(u32), [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 187 | Subtract(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | Add(u32), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 188 | Add(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | LongTermRef(u32), [INFO] [stdout] | ----------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 189 | LongTermRef(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ref_pic_list_modification_l0` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 194 | P { [INFO] [stdout] | - field in this variant [INFO] [stdout] 195 | ref_pic_list_modification_l0: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ref_pic_list_modification_l0` and `ref_pic_list_modification_l1` are never read [INFO] [stdout] --> src/nal/slice/mod.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 197 | B { [INFO] [stdout] | - fields in this variant [INFO] [stdout] 198 | ref_pic_list_modification_l0: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 199 | ref_pic_list_modification_l1: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `weight` and `offset` are never read [INFO] [stdout] --> src/nal/slice/mod.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 246 | struct PredWeight { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 247 | weight: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 248 | offset: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PredWeight` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `luma_log2_weight_denom`, `chroma_log2_weight_denom`, `luma_weights`, and `chroma_weights` are never read [INFO] [stdout] --> src/nal/slice/mod.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 251 | struct PredWeightTable { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 252 | luma_log2_weight_denom: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 253 | chroma_log2_weight_denom: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 254 | luma_weights: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 255 | chroma_weights: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PredWeightTable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `difference_of_pic_nums_minus1` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:321:29 [INFO] [stdout] | [INFO] [stdout] 321 | ShortTermUnusedForRef { difference_of_pic_nums_minus1: u32 }, [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `long_term_pic_num` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:323:28 [INFO] [stdout] | [INFO] [stdout] 323 | LongTermUnusedForRef { long_term_pic_num: u32 }, [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `difference_of_pic_nums_minus1` and `long_term_frame_idx` are never read [INFO] [stdout] --> src/nal/slice/mod.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 325 | ShortTermUsedForLongTerm { [INFO] [stdout] | ------------------------ fields in this variant [INFO] [stdout] 326 | difference_of_pic_nums_minus1: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 327 | long_term_frame_idx: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_long_term_frame_idx_plus1` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:330:31 [INFO] [stdout] | [INFO] [stdout] 330 | MaxUsedLongTermFrameRef { max_long_term_frame_idx_plus1: u32 }, [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `long_term_frame_idx` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:334:30 [INFO] [stdout] | [INFO] [stdout] 334 | CurrentUsedForLongTerm { long_term_frame_idx: u32 }, [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `no_output_of_prior_pics_flag` and `long_term_reference_flag` are never read [INFO] [stdout] --> src/nal/slice/mod.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 340 | Idr { [INFO] [stdout] | --- fields in this variant [INFO] [stdout] 341 | no_output_of_prior_pics_flag: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 342 | long_term_reference_flag: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/nal/slice/mod.rs:347:14 [INFO] [stdout] | [INFO] [stdout] 347 | Adaptive(Vec), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 347 | Adaptive(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/nal/slice/mod.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 418 | pub struct SliceHeader { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 419 | first_mb_in_slice: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 420 | slice_type: SliceType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 421 | colour_plane: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | idr_pic_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 425 | pub pic_order_cnt_lsb: Option, [INFO] [stdout] 426 | redundant_pic_cnt: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 427 | direct_spatial_mv_pred_flag: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 428 | num_ref_idx_active: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 429 | ref_pic_list_modification: Option, // may become an enum rather than Option in future (for ref_pic_list_mvc_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 430 | pred_weight_table: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 431 | dec_ref_pic_marking: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 432 | cabac_init_idc: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 433 | slice_qp_delta: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 434 | sp_for_switch_flag: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 435 | slice_qs: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 436 | disable_deblocking_filter_idc: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SliceHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.40s [INFO] running `Command { std: "docker" "inspect" "13ebb1b1f7f162bffc4a942653c139119219eebbdce7ac529ddbb816c6d2f562", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13ebb1b1f7f162bffc4a942653c139119219eebbdce7ac529ddbb816c6d2f562", kill_on_drop: false }` [INFO] [stdout] 13ebb1b1f7f162bffc4a942653c139119219eebbdce7ac529ddbb816c6d2f562