[INFO] cloning repository https://github.com/dgarciabriseno/jp2dump [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dgarciabriseno/jp2dump" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgarciabriseno%2Fjp2dump", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgarciabriseno%2Fjp2dump'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d327ef88a767dc033677e427ead348e96defc3b8 [INFO] testing dgarciabriseno/jp2dump against beta-2026-03-05 for beta-1.95-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgarciabriseno%2Fjp2dump" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dgarciabriseno/jp2dump [INFO] finished tweaking git repo https://github.com/dgarciabriseno/jp2dump [INFO] tweaked toml for git repo https://github.com/dgarciabriseno/jp2dump written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dgarciabriseno/jp2dump on toolchain beta-2026-03-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-03-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dgarciabriseno/jp2dump 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" "+beta-2026-03-05" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anstyle v1.0.6 [INFO] [stderr] Downloaded anstyle-wincon v3.0.2 [INFO] [stderr] Downloaded strsim v0.11.0 [INFO] [stderr] Downloaded clap v4.5.4 [INFO] [stderr] Downloaded anstyle-query v1.0.2 [INFO] [stderr] Downloaded anstream v0.6.13 [INFO] [stderr] Downloaded anstyle-parse v0.2.3 [INFO] [stderr] Downloaded clap_derive v4.5.4 [INFO] [stderr] Downloaded clap_lex v0.7.0 [INFO] [stderr] Downloaded clap_builder v4.5.2 [INFO] [stderr] Downloaded syn v2.0.55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-03-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb2c7d92d21f662469c05f8cf9de313291077baa3ce15804dd6ec958f64faf7f [INFO] running `Command { std: "docker" "start" "-a" "bb2c7d92d21f662469c05f8cf9de313291077baa3ce15804dd6ec958f64faf7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb2c7d92d21f662469c05f8cf9de313291077baa3ce15804dd6ec958f64faf7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb2c7d92d21f662469c05f8cf9de313291077baa3ce15804dd6ec958f64faf7f", kill_on_drop: false }` [INFO] [stdout] bb2c7d92d21f662469c05f8cf9de313291077baa3ce15804dd6ec958f64faf7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-03-05" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 221a3d24fd06e51f081dcd771ee584ce2ae8f8b39206bf66228538f41dd8dbcf [INFO] running `Command { std: "docker" "start" "-a" "221a3d24fd06e51f081dcd771ee584ce2ae8f8b39206bf66228538f41dd8dbcf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling jp2dump v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/boxes/generic_box.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{Error, Read, Result, Seek}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LittleEndian` [INFO] [stdout] --> src/boxes/reader_requirements.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use byteorder::{BigEndian, LittleEndian, ReadBytesExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Display` [INFO] [stdout] --> src/boxes.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | use std::{fmt::Display, fs::File}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/boxes/association_box.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn print_associations(len: u32, data: Vec) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/boxes/data_reference_box.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `brand`, `minor_version`, and `cl` are never read [INFO] [stdout] --> src/boxes/ftype_box.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct FTypeBox { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | brand: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | minor_version: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 7 | cl: Vec [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `FTypeBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nf`, `offset`, `len`, and `index` are never read [INFO] [stdout] --> src/boxes/fragment_list_box.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct FragmentListBox { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 7 | /** Number of fragments */ [INFO] [stdout] 8 | nf: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 9 | /** Offset to the start of the fragment in the file specified via the data reference */ [INFO] [stdout] 10 | offset: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | /** Length of the fragment */ [INFO] [stdout] 12 | len: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | /** Index of the data reference box for this fragment */ [INFO] [stdout] 14 | index: u16 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FragmentListBox` 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 `version`, `flags`, and `location` are never read [INFO] [stdout] --> src/boxes/data_reference_box.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct UrlBox { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 7 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub flags: [u8; 3], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub location: String [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UrlBox` 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 `feature` and `mask` are never read [INFO] [stdout] --> src/boxes/reader_requirements.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct VendorFeature { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 30 | pub feature: u128, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 31 | pub mask: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VendorFeature` 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 `flag` and `mask` are never read [INFO] [stdout] --> src/boxes/reader_requirements.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct StandardFlag { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 36 | pub flag: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | pub mask: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StandardFlag` 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 `mask_length`, `fully_understand_aspects`, `display_contents_mask`, `flags`, and `vendor_features` are never read [INFO] [stdout] --> src/boxes/reader_requirements.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct ReaderRequirements { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 42 | /** Number of bytes used for compatibility masks */ [INFO] [stdout] 43 | pub mask_length: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 44 | pub fully_understand_aspects: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | pub display_contents_mask: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | pub flags: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 47 | pub vendor_features: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReaderRequirements` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/boxes/img_header_box.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ImageHeader { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 7 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub num_components: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub bits_per_component: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub compression_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub colorspace_unknown: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub intellectual_property: u8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImageHeader` 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 `method`, `precedence`, `approximation`, `enumerated_colorspace`, and `profile` are never read [INFO] [stdout] --> src/boxes/color_box.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ColorBox { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 7 | pub method: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | pub precedence: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub approximation: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub enumerated_colorspace: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub profile: Vec [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColorBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.86s [INFO] running `Command { std: "docker" "inspect" "221a3d24fd06e51f081dcd771ee584ce2ae8f8b39206bf66228538f41dd8dbcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "221a3d24fd06e51f081dcd771ee584ce2ae8f8b39206bf66228538f41dd8dbcf", kill_on_drop: false }` [INFO] [stdout] 221a3d24fd06e51f081dcd771ee584ce2ae8f8b39206bf66228538f41dd8dbcf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-03-05" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b886f49f82d5520e9fa649cddca4b6377e468307f28a2ff611db59e7528a3ca0 [INFO] running `Command { std: "docker" "start" "-a" "b886f49f82d5520e9fa649cddca4b6377e468307f28a2ff611db59e7528a3ca0", kill_on_drop: false }` [INFO] [stderr] Compiling jp2dump v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/boxes/generic_box.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{Error, Read, Result, Seek}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LittleEndian` [INFO] [stdout] --> src/boxes/reader_requirements.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use byteorder::{BigEndian, LittleEndian, ReadBytesExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Display` [INFO] [stdout] --> src/boxes.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | use std::{fmt::Display, fs::File}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/boxes/association_box.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn print_associations(len: u32, data: Vec) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/boxes/data_reference_box.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `brand`, `minor_version`, and `cl` are never read [INFO] [stdout] --> src/boxes/ftype_box.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct FTypeBox { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | brand: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | minor_version: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 7 | cl: Vec [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `FTypeBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nf`, `offset`, `len`, and `index` are never read [INFO] [stdout] --> src/boxes/fragment_list_box.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct FragmentListBox { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 7 | /** Number of fragments */ [INFO] [stdout] 8 | nf: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 9 | /** Offset to the start of the fragment in the file specified via the data reference */ [INFO] [stdout] 10 | offset: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | /** Length of the fragment */ [INFO] [stdout] 12 | len: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | /** Index of the data reference box for this fragment */ [INFO] [stdout] 14 | index: u16 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FragmentListBox` 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 `version`, `flags`, and `location` are never read [INFO] [stdout] --> src/boxes/data_reference_box.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct UrlBox { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 7 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub flags: [u8; 3], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub location: String [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UrlBox` 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 `feature` and `mask` are never read [INFO] [stdout] --> src/boxes/reader_requirements.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct VendorFeature { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 30 | pub feature: u128, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 31 | pub mask: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VendorFeature` 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 `flag` and `mask` are never read [INFO] [stdout] --> src/boxes/reader_requirements.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct StandardFlag { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 36 | pub flag: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | pub mask: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StandardFlag` 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 `mask_length`, `fully_understand_aspects`, `display_contents_mask`, `flags`, and `vendor_features` are never read [INFO] [stdout] --> src/boxes/reader_requirements.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct ReaderRequirements { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 42 | /** Number of bytes used for compatibility masks */ [INFO] [stdout] 43 | pub mask_length: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 44 | pub fully_understand_aspects: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | pub display_contents_mask: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | pub flags: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 47 | pub vendor_features: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReaderRequirements` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/boxes/img_header_box.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ImageHeader { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 7 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub num_components: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub bits_per_component: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub compression_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub colorspace_unknown: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub intellectual_property: u8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImageHeader` 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 `method`, `precedence`, `approximation`, `enumerated_colorspace`, and `profile` are never read [INFO] [stdout] --> src/boxes/color_box.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ColorBox { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 7 | pub method: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | pub precedence: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub approximation: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub enumerated_colorspace: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub profile: Vec [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColorBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] running `Command { std: "docker" "inspect" "b886f49f82d5520e9fa649cddca4b6377e468307f28a2ff611db59e7528a3ca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b886f49f82d5520e9fa649cddca4b6377e468307f28a2ff611db59e7528a3ca0", kill_on_drop: false }` [INFO] [stdout] b886f49f82d5520e9fa649cddca4b6377e468307f28a2ff611db59e7528a3ca0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-03-05" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cb45f19ee6c6357882086ef6c7e62de3cdb8dc7e53af775639252ce83b911716 [INFO] running `Command { std: "docker" "start" "-a" "cb45f19ee6c6357882086ef6c7e62de3cdb8dc7e53af775639252ce83b911716", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Error` [INFO] [stdout] [INFO] [stderr] --> src/boxes/generic_box.rs:3:15 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 3 | use std::io::{Error, Read, Result, Seek}; [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `LittleEndian` [INFO] [stderr] --> src/boxes/reader_requirements.rs:2:28 [INFO] [stderr] | [INFO] [stderr] 2 | use byteorder::{BigEndian, LittleEndian, ReadBytesExt}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `fmt::Display` [INFO] [stderr] --> src/boxes.rs:13:11 [INFO] [stderr] | [INFO] [stderr] 13 | use std::{fmt::Display, fs::File}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `len` [INFO] [stderr] --> src/boxes/association_box.rs:7:27 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn print_associations(len: u32, data: Vec) -> Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/boxes/data_reference_box.rs:37:13 [INFO] [stderr] | [INFO] [stderr] 37 | for i in 0..count { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: fields `brand`, `minor_version`, and `cl` are never read [INFO] [stderr] --> src/boxes/ftype_box.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct FTypeBox { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 5 | brand: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 6 | minor_version: u32, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 7 | cl: Vec [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `FTypeBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `nf`, `offset`, `len`, and `index` are never read [INFO] [stderr] --> src/boxes/fragment_list_box.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct FragmentListBox { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 7 | /** Number of fragments */ [INFO] [stderr] 8 | nf: u16, [INFO] [stderr] | ^^ [INFO] [stderr] 9 | /** Offset to the start of the fragment in the file specified via the data reference */ [INFO] [stderr] 10 | offset: u64, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 11 | /** Length of the fragment */ [INFO] [stderr] 12 | len: u32, [INFO] [stderr] | ^^^ [INFO] [stderr] 13 | /** Index of the data reference box for this fragment */ [INFO] [stderr] 14 | index: u16 [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FragmentListBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `version`, `flags`, and `location` are never read [INFO] [stderr] --> src/boxes/data_reference_box.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct UrlBox { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 7 | pub version: u8, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 8 | pub flags: [u8; 3], [INFO] [stderr] | ^^^^^ [INFO] [stderr] 9 | pub location: String [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `UrlBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `feature` and `mask` are never read [INFO] [stderr] --> src/boxes/reader_requirements.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub struct VendorFeature { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 30 | pub feature: u128, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 31 | pub mask: Vec [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `VendorFeature` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `flag` and `mask` are never read [INFO] [stderr] --> src/boxes/reader_requirements.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 35 | pub struct StandardFlag { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 36 | pub flag: u16, [INFO] [stderr] | ^^^^ [INFO] [stderr] 37 | pub mask: Vec [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StandardFlag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `mask_length`, `fully_understand_aspects`, `display_contents_mask`, `flags`, and `vendor_features` are never read [INFO] [stderr] --> src/boxes/reader_requirements.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 41 | pub struct ReaderRequirements { [INFO] [stderr] | ------------------ fields in this struct [INFO] [stderr] 42 | /** Number of bytes used for compatibility masks */ [INFO] [stderr] 43 | pub mask_length: u8, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 44 | pub fully_understand_aspects: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 45 | pub display_contents_mask: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 46 | pub flags: Vec, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 47 | pub vendor_features: Vec [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ReaderRequirements` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/boxes/img_header_box.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct ImageHeader { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 7 | pub height: u32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 8 | pub width: u32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 9 | pub num_components: u16, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 10 | pub bits_per_component: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 11 | pub compression_type: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 12 | pub colorspace_unknown: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 13 | pub intellectual_property: u8 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ImageHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `method`, `precedence`, `approximation`, `enumerated_colorspace`, and `profile` are never read [INFO] [stderr] --> src/boxes/color_box.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct ColorBox { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 7 | pub method: u8, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 8 | pub precedence: u8, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 9 | pub approximation: u8, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 10 | pub enumerated_colorspace: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 11 | pub profile: Vec [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ColorBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `jp2dump` (bin "jp2dump" test) generated 13 warnings (run `cargo fix --bin "jp2dump" -p jp2dump --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/jp2dump-e1a935500889f545) [INFO] running `Command { std: "docker" "inspect" "cb45f19ee6c6357882086ef6c7e62de3cdb8dc7e53af775639252ce83b911716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb45f19ee6c6357882086ef6c7e62de3cdb8dc7e53af775639252ce83b911716", kill_on_drop: false }` [INFO] [stdout] cb45f19ee6c6357882086ef6c7e62de3cdb8dc7e53af775639252ce83b911716