[INFO] cloning repository https://github.com/oussama/twain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oussama/twain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foussama%2Ftwain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foussama%2Ftwain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eafcc2d2f35e43248b5928e7f637f414f3ad745d [INFO] checking oussama/twain against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foussama%2Ftwain" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oussama/twain on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/oussama/twain [INFO] finished tweaking git repo https://github.com/oussama/twain [INFO] tweaked toml for git repo https://github.com/oussama/twain written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/oussama/twain already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0acecd3000cafce6c52231be24090b5125b07888710dcc79bc74db4d4c3bc53d [INFO] running `Command { std: "docker" "start" "-a" "0acecd3000cafce6c52231be24090b5125b07888710dcc79bc74db4d4c3bc53d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0acecd3000cafce6c52231be24090b5125b07888710dcc79bc74db4d4c3bc53d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0acecd3000cafce6c52231be24090b5125b07888710dcc79bc74db4d4c3bc53d", kill_on_drop: false }` [INFO] [stdout] 0acecd3000cafce6c52231be24090b5125b07888710dcc79bc74db4d4c3bc53d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21e4f1808c175405107228b42f0d2889405d9afaf4185c6ed374b163057a1af0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "21e4f1808c175405107228b42f0d2889405d9afaf4185c6ed374b163057a1af0", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling dlopen_derive v0.1.4 [INFO] [stderr] Checking dlopen v0.1.8 [INFO] [stderr] Checking twain v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/lib.rs (2 fixes) [INFO] [stderr] Fixed src/test.rs (1 fix) [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/lib.rs:421:10 [INFO] [stdout] | [INFO] [stdout] 421 | #[derive(Debug, Default, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unaligned_references)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/lib.rs:421:26 [INFO] [stdout] | [INFO] [stdout] 421 | #[derive(Debug, Default, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/lib.rs:434:10 [INFO] [stdout] | [INFO] [stdout] 434 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/lib.rs:662:10 [INFO] [stdout] | [INFO] [stdout] 662 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/lib.rs:859:10 [INFO] [stdout] | [INFO] [stdout] 859 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/test.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/lib.rs:421:10 [INFO] [stdout] | [INFO] [stdout] 421 | #[derive(Debug, Default, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unaligned_references)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/lib.rs:421:26 [INFO] [stdout] | [INFO] [stdout] 421 | #[derive(Debug, Default, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/lib.rs:434:10 [INFO] [stdout] | [INFO] [stdout] 434 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/lib.rs:662:10 [INFO] [stdout] | [INFO] [stdout] 662 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/lib.rs:859:10 [INFO] [stdout] | [INFO] [stdout] 859 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dwPaletteSize` should have a snake case name [INFO] [stdout] --> src/lib.rs:1131:13 [INFO] [stdout] | [INFO] [stdout] 1131 | let dwPaletteSize = match header.bit_count { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_palette_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nImageSize` should have a snake case name [INFO] [stdout] --> src/lib.rs:1142:13 [INFO] [stdout] | [INFO] [stdout] 1142 | let nImageSize = header.size_image as usize [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_image_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bmpFIH` should have a snake case name [INFO] [stdout] --> src/lib.rs:1148:17 [INFO] [stdout] | [INFO] [stdout] 1148 | let mut bmpFIH = BitmapFileHeader::default(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `bmp_fih` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dwPaletteSize` should have a snake case name [INFO] [stdout] --> src/lib.rs:1131:13 [INFO] [stdout] | [INFO] [stdout] 1131 | let dwPaletteSize = match header.bit_count { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_palette_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nImageSize` should have a snake case name [INFO] [stdout] --> src/lib.rs:1142:13 [INFO] [stdout] | [INFO] [stdout] 1142 | let nImageSize = header.size_image as usize [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_image_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bmpFIH` should have a snake case name [INFO] [stdout] --> src/lib.rs:1148:17 [INFO] [stdout] | [INFO] [stdout] 1148 | let mut bmpFIH = BitmapFileHeader::default(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `bmp_fih` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.20s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking twain v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/lib.rs:421:10 [INFO] [stdout] | [INFO] [stdout] 421 | #[derive(Debug, Default, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unaligned_references)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/lib.rs:421:26 [INFO] [stdout] | [INFO] [stdout] 421 | #[derive(Debug, Default, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/lib.rs:434:10 [INFO] [stdout] | [INFO] [stdout] 434 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/lib.rs:662:10 [INFO] [stdout] | [INFO] [stdout] 662 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/lib.rs:859:10 [INFO] [stdout] | [INFO] [stdout] 859 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/test.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/lib.rs:421:10 [INFO] [stdout] | [INFO] [stdout] 421 | #[derive(Debug, Default, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unaligned_references)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/lib.rs:421:26 [INFO] [stdout] | [INFO] [stdout] 421 | #[derive(Debug, Default, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/lib.rs:434:10 [INFO] [stdout] | [INFO] [stdout] 434 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/lib.rs:662:10 [INFO] [stdout] | [INFO] [stdout] 662 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/lib.rs:859:10 [INFO] [stdout] | [INFO] [stdout] 859 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dwPaletteSize` should have a snake case name [INFO] [stdout] --> src/lib.rs:1131:13 [INFO] [stdout] | [INFO] [stdout] 1131 | let dwPaletteSize = match header.bit_count { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_palette_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nImageSize` should have a snake case name [INFO] [stdout] --> src/lib.rs:1142:13 [INFO] [stdout] | [INFO] [stdout] 1142 | let nImageSize = header.size_image as usize [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_image_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bmpFIH` should have a snake case name [INFO] [stdout] --> src/lib.rs:1148:17 [INFO] [stdout] | [INFO] [stdout] 1148 | let mut bmpFIH = BitmapFileHeader::default(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `bmp_fih` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dwPaletteSize` should have a snake case name [INFO] [stdout] --> src/lib.rs:1131:13 [INFO] [stdout] | [INFO] [stdout] 1131 | let dwPaletteSize = match header.bit_count { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_palette_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nImageSize` should have a snake case name [INFO] [stdout] --> src/lib.rs:1142:13 [INFO] [stdout] | [INFO] [stdout] 1142 | let nImageSize = header.size_image as usize [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_image_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bmpFIH` should have a snake case name [INFO] [stdout] --> src/lib.rs:1148:17 [INFO] [stdout] | [INFO] [stdout] 1148 | let mut bmpFIH = BitmapFileHeader::default(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `bmp_fih` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.92s [INFO] running `Command { std: "docker" "inspect" "21e4f1808c175405107228b42f0d2889405d9afaf4185c6ed374b163057a1af0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21e4f1808c175405107228b42f0d2889405d9afaf4185c6ed374b163057a1af0", kill_on_drop: false }` [INFO] [stdout] 21e4f1808c175405107228b42f0d2889405d9afaf4185c6ed374b163057a1af0