[INFO] cloning repository https://github.com/SurajPatil44/BMPmetadata [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SurajPatil44/BMPmetadata" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSurajPatil44%2FBMPmetadata", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSurajPatil44%2FBMPmetadata'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 34d2e8d30caf07a3b2b08797d8ed3b6c37b3948c [INFO] checking SurajPatil44/BMPmetadata/34d2e8d30caf07a3b2b08797d8ed3b6c37b3948c against master#a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb for pr-151109 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSurajPatil44%2FBMPmetadata" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SurajPatil44/BMPmetadata [INFO] finished tweaking git repo https://github.com/SurajPatil44/BMPmetadata [INFO] tweaked toml for git repo https://github.com/SurajPatil44/BMPmetadata written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SurajPatil44/BMPmetadata on toolchain a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SurajPatil44/BMPmetadata 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" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.21 [INFO] [stderr] Downloaded syn v1.0.41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9f509ddcf8c41b0e42a0ddccab760f26d0039df964c9f8bc7fe4d54e0059e4d [INFO] running `Command { std: "docker" "start" "-a" "c9f509ddcf8c41b0e42a0ddccab760f26d0039df964c9f8bc7fe4d54e0059e4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9f509ddcf8c41b0e42a0ddccab760f26d0039df964c9f8bc7fe4d54e0059e4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9f509ddcf8c41b0e42a0ddccab760f26d0039df964c9f8bc7fe4d54e0059e4d", kill_on_drop: false }` [INFO] [stdout] c9f509ddcf8c41b0e42a0ddccab760f26d0039df964c9f8bc7fe4d54e0059e4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba1afb44b4465b64f8fefd4fa7728dc873e339b128d8056b99bbf04cb486bd92 [INFO] running `Command { std: "docker" "start" "-a" "ba1afb44b4465b64f8fefd4fa7728dc873e339b128d8056b99bbf04cb486bd92", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking reading_bmp_file v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `msg` is never read [INFO] [stdout] --> src/main.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | InvalidSignature { msg: String }, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `Signature`, `FileSize`, `Reserved`, and `DataOffset` are never read [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct BmpHeader { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 12 | Signature: [u8; 2], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | FileSize: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | Reserved: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | DataOffset: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BmpHeader` 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: multiple fields are never read [INFO] [stdout] --> src/main.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 104 | struct BmpInfoHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 105 | Size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 106 | Width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 107 | Height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 108 | Planes: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 109 | BitPerPixel: BitsPerPixel, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 110 | Compression: CompressionType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 111 | ImageSize: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 112 | HorizontalRes: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 113 | VerticalRes: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 114 | // for 8 bit it 100H to 256 [INFO] [stdout] 115 | Colors: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 116 | // 0 means all [INFO] [stdout] 117 | ImportantColors: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BmpInfoHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `msg` is never read [INFO] [stdout] --> src/main.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | InvalidSignature { msg: String }, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `Signature`, `FileSize`, `Reserved`, and `DataOffset` are never read [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct BmpHeader { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 12 | Signature: [u8; 2], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | FileSize: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | Reserved: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | DataOffset: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BmpHeader` 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: multiple fields are never read [INFO] [stdout] --> src/main.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 104 | struct BmpInfoHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 105 | Size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 106 | Width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 107 | Height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 108 | Planes: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 109 | BitPerPixel: BitsPerPixel, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 110 | Compression: CompressionType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 111 | ImageSize: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 112 | HorizontalRes: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 113 | VerticalRes: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 114 | // for 8 bit it 100H to 256 [INFO] [stdout] 115 | Colors: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 116 | // 0 means all [INFO] [stdout] 117 | ImportantColors: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BmpInfoHeader` 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 5.15s [INFO] running `Command { std: "docker" "inspect" "ba1afb44b4465b64f8fefd4fa7728dc873e339b128d8056b99bbf04cb486bd92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba1afb44b4465b64f8fefd4fa7728dc873e339b128d8056b99bbf04cb486bd92", kill_on_drop: false }` [INFO] [stdout] ba1afb44b4465b64f8fefd4fa7728dc873e339b128d8056b99bbf04cb486bd92