[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 master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgarciabriseno%2Fjp2dump" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dgarciabriseno/jp2dump on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5589cbd369edbdbf6ab8542654af29d4678f05ca9be1babc93b585c819e61a1 [INFO] running `Command { std: "docker" "start" "-a" "c5589cbd369edbdbf6ab8542654af29d4678f05ca9be1babc93b585c819e61a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5589cbd369edbdbf6ab8542654af29d4678f05ca9be1babc93b585c819e61a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5589cbd369edbdbf6ab8542654af29d4678f05ca9be1babc93b585c819e61a1", kill_on_drop: false }` [INFO] [stdout] c5589cbd369edbdbf6ab8542654af29d4678f05ca9be1babc93b585c819e61a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21301a48b1f7e42372624ecc2e9a8afd5cc7e7dc289e957b19b44e686d7fe62c [INFO] running `Command { std: "docker" "start" "-a" "21301a48b1f7e42372624ecc2e9a8afd5cc7e7dc289e957b19b44e686d7fe62c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling anstyle-query v1.0.2 [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 heck v0.5.0 [INFO] [stderr] Compiling byteorder v1.5.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)]` 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)]` 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)]` 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 9.54s [INFO] running `Command { std: "docker" "inspect" "21301a48b1f7e42372624ecc2e9a8afd5cc7e7dc289e957b19b44e686d7fe62c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21301a48b1f7e42372624ecc2e9a8afd5cc7e7dc289e957b19b44e686d7fe62c", kill_on_drop: false }` [INFO] [stdout] 21301a48b1f7e42372624ecc2e9a8afd5cc7e7dc289e957b19b44e686d7fe62c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c0f8b32e7aff1c6f7355bd715e804dcc9c24088ab57451aa10d89cec0909c5a [INFO] running `Command { std: "docker" "start" "-a" "6c0f8b32e7aff1c6f7355bd715e804dcc9c24088ab57451aa10d89cec0909c5a", 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)]` 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)]` 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)]` 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.47s [INFO] running `Command { std: "docker" "inspect" "6c0f8b32e7aff1c6f7355bd715e804dcc9c24088ab57451aa10d89cec0909c5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c0f8b32e7aff1c6f7355bd715e804dcc9c24088ab57451aa10d89cec0909c5a", kill_on_drop: false }` [INFO] [stdout] 6c0f8b32e7aff1c6f7355bd715e804dcc9c24088ab57451aa10d89cec0909c5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 94cc34faf1e65efa08a3c4fb0b7d578a1b80640090c6f8564e224e5c80b5932e [INFO] running `Command { std: "docker" "start" "-a" "94cc34faf1e65efa08a3c4fb0b7d578a1b80640090c6f8564e224e5c80b5932e", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> src/boxes/generic_box.rs:3:15 [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::{Error, Read, Result, Seek}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` 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)]` 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)]` 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" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/jp2dump-e2afb12a6de93373) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "94cc34faf1e65efa08a3c4fb0b7d578a1b80640090c6f8564e224e5c80b5932e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94cc34faf1e65efa08a3c4fb0b7d578a1b80640090c6f8564e224e5c80b5932e", kill_on_drop: false }` [INFO] [stdout] 94cc34faf1e65efa08a3c4fb0b7d578a1b80640090c6f8564e224e5c80b5932e