[INFO] cloning repository https://github.com/eternal-io/shoalart
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eternal-io/shoalart" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feternal-io%2Fshoalart", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feternal-io%2Fshoalart'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d6242651e86dd8aeb67f5c8a826ddac576d2b997
[INFO] checking eternal-io/shoalart against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feternal-io%2Fshoalart" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/eternal-io/shoalart
[INFO] finished tweaking git repo https://github.com/eternal-io/shoalart
[INFO] tweaked toml for git repo https://github.com/eternal-io/shoalart written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/eternal-io/shoalart on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/eternal-io/shoalart 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded primal-check v0.3.1
[INFO] [stderr]   Downloaded strength_reduce v0.2.3
[INFO] [stderr]   Downloaded scrap v0.5.0
[INFO] [stderr]   Downloaded transpose v0.2.1
[INFO] [stderr]   Downloaded signal-hook-mio v0.2.1
[INFO] [stderr]   Downloaded rustdct v0.6.0
[INFO] [stderr]   Downloaded bytemuck v1.7.3
[INFO] [stderr]   Downloaded lz4_flex v0.9.2
[INFO] [stderr]   Downloaded proc-macro2 v1.0.34
[INFO] [stderr]   Downloaded signal-hook v0.3.12
[INFO] [stderr]   Downloaded crc32fast v1.3.0
[INFO] [stderr]   Downloaded crossterm v0.22.1
[INFO] [stderr]   Downloaded syn v1.0.82
[INFO] [stderr]   Downloaded rustfft v5.1.1
[INFO] [stderr]   Downloaded libc v0.2.112
[INFO] [stderr]   Downloaded edge-detection v0.2.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 17e6744896c98bae3ad396b1021441af7f99172e41e776697bf9e227787e58d7
[INFO] running `Command { std: "docker" "start" "-a" "17e6744896c98bae3ad396b1021441af7f99172e41e776697bf9e227787e58d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "17e6744896c98bae3ad396b1021441af7f99172e41e776697bf9e227787e58d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "17e6744896c98bae3ad396b1021441af7f99172e41e776697bf9e227787e58d7", kill_on_drop: false }`
[INFO] [stdout] 17e6744896c98bae3ad396b1021441af7f99172e41e776697bf9e227787e58d7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] df94302c62b35d5d853d86ecf523083d7166f9af6aecc6b6ceb32def791ea7f1
[INFO] running `Command { std: "docker" "start" "-a" "df94302c62b35d5d853d86ecf523083d7166f9af6aecc6b6ceb32def791ea7f1", kill_on_drop: false }`
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling libc v0.2.112
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.34
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling crc32fast v1.3.0
[INFO] [stderr]     Checking adler32 v1.2.0
[INFO] [stderr]    Compiling syn v1.0.82
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]     Checking weezl v0.1.5
[INFO] [stderr]    Compiling signal-hook v0.3.12
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]     Checking miniz_oxide v0.3.7
[INFO] [stderr]     Checking instant v0.1.12
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]     Checking smallvec v1.7.0
[INFO] [stderr]     Checking deflate v0.8.6
[INFO] [stderr]     Checking unicode-width v0.1.9
[INFO] [stderr]    Compiling unicode-segmentation v1.8.0
[INFO] [stderr]     Checking strength_reduce v0.2.3
[INFO] [stderr]     Checking lock_api v0.4.5
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]     Checking bytemuck v1.7.3
[INFO] [stderr]     Checking gif v0.11.3
[INFO] [stderr]     Checking num-complex v0.3.1
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking crossbeam-channel v0.5.1
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]     Checking ttf-parser v0.6.2
[INFO] [stderr]    Compiling scrap v0.5.0
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking twox-hash v1.6.1
[INFO] [stderr]     Checking png v0.16.8
[INFO] [stderr]     Checking ab_glyph_rasterizer v0.1.5
[INFO] [stderr]     Checking block v0.1.6
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking once_cell v1.9.0
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]     Checking transpose v0.2.1
[INFO] [stderr]     Checking primal-check v0.3.1
[INFO] [stderr]     Checking crossbeam-deque v0.8.1
[INFO] [stderr]     Checking lz4_flex v0.9.2
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking mio v0.7.14
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking rustfft v5.1.1
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking signal-hook-mio v0.2.1
[INFO] [stderr]     Checking crossterm v0.22.1
[INFO] [stderr]     Checking owned_ttf_parser v0.6.0
[INFO] [stderr]     Checking rusttype v0.9.2
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]     Checking jpeg-decoder v0.1.22
[INFO] [stderr]     Checking tiff v0.6.1
[INFO] [stderr]     Checking structopt v0.3.25
[INFO] [stderr]     Checking image v0.23.14
[INFO] [stderr]     Checking rustdct v0.6.0
[INFO] [stderr]     Checking edge-detection v0.2.5
[INFO] [stderr]     Checking shoalart v0.0.100 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `ClearType` and `Clear`
[INFO] [stdout]  --> src/routine/art.rs:7:44
[INFO] [stdout]   |
[INFO] [stdout] 7 |         disable_raw_mode, enable_raw_mode, Clear, ClearType, EnterAlternateScreen,
[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 imports: `ClearType` and `Clear`
[INFO] [stdout]  --> src/routine/art.rs:7:44
[INFO] [stdout]   |
[INFO] [stdout] 7 |         disable_raw_mode, enable_raw_mode, Clear, ClearType, EnterAlternateScreen,
[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 variable: `image_dir`
[INFO] [stdout]   --> src/routine/imageset.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         image_dir,
[INFO] [stdout]    |         ^^^^^^^^^ help: try ignoring the field: `image_dir: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output_file`
[INFO] [stdout]   --> src/routine/imageset.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         output_file,
[INFO] [stdout]    |         ^^^^^^^^^^^ help: try ignoring the field: `output_file: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `crop`
[INFO] [stdout]   --> src/routine/imageset.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         crop,
[INFO] [stdout]    |         ^^^^ help: try ignoring the field: `crop: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `resize`
[INFO] [stdout]   --> src/routine/imageset.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |         resize,
[INFO] [stdout]    |         ^^^^^^ help: try ignoring the field: `resize: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gray`
[INFO] [stdout]   --> src/routine/imageset.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         gray,
[INFO] [stdout]    |         ^^^^ help: try ignoring the field: `gray: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dump`
[INFO] [stdout]   --> src/routine/imageset.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         dump,
[INFO] [stdout]    |         ^^^^ help: try ignoring the field: `dump: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `image_dir_or_file`
[INFO] [stdout]   --> src/routine/photon.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |         image_dir_or_file,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ help: try ignoring the field: `image_dir_or_file: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output_dir_or_file`
[INFO] [stdout]   --> src/routine/photon.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |         output_dir_or_file,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `output_dir_or_file: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imageset`
[INFO] [stdout]   --> src/routine/photon.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |         imageset,
[INFO] [stdout]    |         ^^^^^^^^ help: try ignoring the field: `imageset: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imageset_dir`
[INFO] [stdout]   --> src/routine/photon.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |         imageset_dir,
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: try ignoring the field: `imageset_dir: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `crop`
[INFO] [stdout]   --> src/routine/photon.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |         crop,
[INFO] [stdout]    |         ^^^^ help: try ignoring the field: `crop: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `resize`
[INFO] [stdout]   --> src/routine/photon.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         resize,
[INFO] [stdout]    |         ^^^^^^ help: try ignoring the field: `resize: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `enlarge`
[INFO] [stdout]   --> src/routine/photon.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |         enlarge,
[INFO] [stdout]    |         ^^^^^^^ help: try ignoring the field: `enlarge: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `negate`
[INFO] [stdout]   --> src/routine/photon.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |         negate,
[INFO] [stdout]    |         ^^^^^^ help: try ignoring the field: `negate: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `image_dir`, `output_file`, `crop`, `resize`, `gray`, and `dump` are never read
[INFO] [stdout]   --> src/routine/imageset.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct Param {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout]  6 |     #[structopt(parse(from_os_str))]
[INFO] [stdout]  7 |     image_dir: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]  8 |     #[structopt(default_value = "Shoalart-Imageset.bin", parse(from_os_str))]
[INFO] [stdout]  9 |     output_file: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     crop: Option<(u32, u32, u32, u32)>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     resize: Option<(u32, u32)>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     gray: bool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     dump: bool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Param` 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: function `main` is never used
[INFO] [stdout]   --> src/routine/imageset.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn main(
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/routine/photon.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct Param {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout]  6 |     #[structopt(parse(from_os_str))]
[INFO] [stdout]  7 |     image_dir_or_file: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]  8 |     #[structopt(parse(from_os_str))]
[INFO] [stdout]  9 |     output_dir_or_file: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     imageset: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     imageset_dir: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     crop: Option<(u32, u32, u32, u32)>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     resize: Option<(u32, u32)>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     enlarge: (u32, u32),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     negate: bool,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Param` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/routine/photon.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub fn main(
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `[u8; 15]` does not permit being left uninitialized
[INFO] [stdout]    --> src/util.rs:100:46
[INFO] [stdout]     |
[INFO] [stdout] 100 | macro_rules! unsafe_init { () => {{ unsafe { std::mem::MaybeUninit::uninit().assume_init() } }}; }
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                              |
[INFO] [stdout]     |                                              this code causes undefined behavior when executed
[INFO] [stdout]     |                                              help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/routine/art.rs:128:41
[INFO] [stdout]     |
[INFO] [stdout] 128 |     let mut buf: [u8; ART_HEADER_LEN] = unsafe_init!();
[INFO] [stdout]     |                                         -------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: integers must be initialized
[INFO] [stdout]     = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `unsafe_init` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `[[f32; 8]; 8]` does not permit being left uninitialized
[INFO] [stdout]    --> src/util.rs:100:46
[INFO] [stdout]     |
[INFO] [stdout] 100 | macro_rules! unsafe_init { () => {{ unsafe { std::mem::MaybeUninit::uninit().assume_init() } }}; }
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                              |
[INFO] [stdout]     |                                              this code causes undefined behavior when executed
[INFO] [stdout]     |                                              help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/routine/art.rs:197:36
[INFO] [stdout]     |
[INFO] [stdout] 197 |     let mut block: [[f32; 8]; 8] = unsafe_init!();
[INFO] [stdout]     |                                    -------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: floats must be initialized
[INFO] [stdout]     = note: this warning originates in the macro `unsafe_init` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `[u8; 45]` does not permit being left uninitialized
[INFO] [stdout]    --> src/util.rs:100:46
[INFO] [stdout]     |
[INFO] [stdout] 100 | macro_rules! unsafe_init { () => {{ unsafe { std::mem::MaybeUninit::uninit().assume_init() } }}; }
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                              |
[INFO] [stdout]     |                                              this code causes undefined behavior when executed
[INFO] [stdout]     |                                              help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/routine/charset.rs:78:39
[INFO] [stdout]     |
[INFO] [stdout]  78 |     let mut buf: [u8; CST_ITEM_LEN] = unsafe_init!();
[INFO] [stdout]     |                                       -------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: integers must be initialized
[INFO] [stdout]     = note: this warning originates in the macro `unsafe_init` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `[[f32; 8]; 8]` does not permit being left uninitialized
[INFO] [stdout]    --> src/util.rs:100:46
[INFO] [stdout]     |
[INFO] [stdout] 100 | macro_rules! unsafe_init { () => {{ unsafe { std::mem::MaybeUninit::uninit().assume_init() } }}; }
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                              |
[INFO] [stdout]     |                                              this code causes undefined behavior when executed
[INFO] [stdout]     |                                              help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/routine/charset.rs:169:36
[INFO] [stdout]     |
[INFO] [stdout] 169 |     let mut block: [[f32; 8]; 8] = unsafe_init!();
[INFO] [stdout]     |                                    -------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: floats must be initialized
[INFO] [stdout]     = note: this warning originates in the macro `unsafe_init` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `image_dir`
[INFO] [stdout]   --> src/routine/imageset.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         image_dir,
[INFO] [stdout]    |         ^^^^^^^^^ help: try ignoring the field: `image_dir: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output_file`
[INFO] [stdout]   --> src/routine/imageset.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         output_file,
[INFO] [stdout]    |         ^^^^^^^^^^^ help: try ignoring the field: `output_file: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `crop`
[INFO] [stdout]   --> src/routine/imageset.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         crop,
[INFO] [stdout]    |         ^^^^ help: try ignoring the field: `crop: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `resize`
[INFO] [stdout]   --> src/routine/imageset.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |         resize,
[INFO] [stdout]    |         ^^^^^^ help: try ignoring the field: `resize: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gray`
[INFO] [stdout]   --> src/routine/imageset.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         gray,
[INFO] [stdout]    |         ^^^^ help: try ignoring the field: `gray: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dump`
[INFO] [stdout]   --> src/routine/imageset.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         dump,
[INFO] [stdout]    |         ^^^^ help: try ignoring the field: `dump: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `image_dir_or_file`
[INFO] [stdout]   --> src/routine/photon.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |         image_dir_or_file,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ help: try ignoring the field: `image_dir_or_file: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output_dir_or_file`
[INFO] [stdout]   --> src/routine/photon.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |         output_dir_or_file,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `output_dir_or_file: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imageset`
[INFO] [stdout]   --> src/routine/photon.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |         imageset,
[INFO] [stdout]    |         ^^^^^^^^ help: try ignoring the field: `imageset: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imageset_dir`
[INFO] [stdout]   --> src/routine/photon.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |         imageset_dir,
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: try ignoring the field: `imageset_dir: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `crop`
[INFO] [stdout]   --> src/routine/photon.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |         crop,
[INFO] [stdout]    |         ^^^^ help: try ignoring the field: `crop: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `resize`
[INFO] [stdout]   --> src/routine/photon.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         resize,
[INFO] [stdout]    |         ^^^^^^ help: try ignoring the field: `resize: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `enlarge`
[INFO] [stdout]   --> src/routine/photon.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |         enlarge,
[INFO] [stdout]    |         ^^^^^^^ help: try ignoring the field: `enlarge: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `negate`
[INFO] [stdout]   --> src/routine/photon.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |         negate,
[INFO] [stdout]    |         ^^^^^^ help: try ignoring the field: `negate: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `image_dir`, `output_file`, `crop`, `resize`, `gray`, and `dump` are never read
[INFO] [stdout]   --> src/routine/imageset.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct Param {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout]  6 |     #[structopt(parse(from_os_str))]
[INFO] [stdout]  7 |     image_dir: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]  8 |     #[structopt(default_value = "Shoalart-Imageset.bin", parse(from_os_str))]
[INFO] [stdout]  9 |     output_file: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     crop: Option<(u32, u32, u32, u32)>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     resize: Option<(u32, u32)>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     gray: bool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     dump: bool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Param` 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: function `main` is never used
[INFO] [stdout]   --> src/routine/imageset.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn main(
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/routine/photon.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct Param {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout]  6 |     #[structopt(parse(from_os_str))]
[INFO] [stdout]  7 |     image_dir_or_file: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]  8 |     #[structopt(parse(from_os_str))]
[INFO] [stdout]  9 |     output_dir_or_file: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     imageset: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     imageset_dir: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     crop: Option<(u32, u32, u32, u32)>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     resize: Option<(u32, u32)>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     enlarge: (u32, u32),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     negate: bool,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Param` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/routine/photon.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub fn main(
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `[u8; 15]` does not permit being left uninitialized
[INFO] [stdout]    --> src/util.rs:100:46
[INFO] [stdout]     |
[INFO] [stdout] 100 | macro_rules! unsafe_init { () => {{ unsafe { std::mem::MaybeUninit::uninit().assume_init() } }}; }
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                              |
[INFO] [stdout]     |                                              this code causes undefined behavior when executed
[INFO] [stdout]     |                                              help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/routine/art.rs:128:41
[INFO] [stdout]     |
[INFO] [stdout] 128 |     let mut buf: [u8; ART_HEADER_LEN] = unsafe_init!();
[INFO] [stdout]     |                                         -------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: integers must be initialized
[INFO] [stdout]     = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `unsafe_init` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `[[f32; 8]; 8]` does not permit being left uninitialized
[INFO] [stdout]    --> src/util.rs:100:46
[INFO] [stdout]     |
[INFO] [stdout] 100 | macro_rules! unsafe_init { () => {{ unsafe { std::mem::MaybeUninit::uninit().assume_init() } }}; }
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                              |
[INFO] [stdout]     |                                              this code causes undefined behavior when executed
[INFO] [stdout]     |                                              help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/routine/art.rs:197:36
[INFO] [stdout]     |
[INFO] [stdout] 197 |     let mut block: [[f32; 8]; 8] = unsafe_init!();
[INFO] [stdout]     |                                    -------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: floats must be initialized
[INFO] [stdout]     = note: this warning originates in the macro `unsafe_init` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `[u8; 45]` does not permit being left uninitialized
[INFO] [stdout]    --> src/util.rs:100:46
[INFO] [stdout]     |
[INFO] [stdout] 100 | macro_rules! unsafe_init { () => {{ unsafe { std::mem::MaybeUninit::uninit().assume_init() } }}; }
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                              |
[INFO] [stdout]     |                                              this code causes undefined behavior when executed
[INFO] [stdout]     |                                              help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/routine/charset.rs:78:39
[INFO] [stdout]     |
[INFO] [stdout]  78 |     let mut buf: [u8; CST_ITEM_LEN] = unsafe_init!();
[INFO] [stdout]     |                                       -------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: integers must be initialized
[INFO] [stdout]     = note: this warning originates in the macro `unsafe_init` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `[[f32; 8]; 8]` does not permit being left uninitialized
[INFO] [stdout]    --> src/util.rs:100:46
[INFO] [stdout]     |
[INFO] [stdout] 100 | macro_rules! unsafe_init { () => {{ unsafe { std::mem::MaybeUninit::uninit().assume_init() } }}; }
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                              |
[INFO] [stdout]     |                                              this code causes undefined behavior when executed
[INFO] [stdout]     |                                              help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/routine/charset.rs:169:36
[INFO] [stdout]     |
[INFO] [stdout] 169 |     let mut block: [[f32; 8]; 8] = unsafe_init!();
[INFO] [stdout]     |                                    -------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: floats must be initialized
[INFO] [stdout]     = note: this warning originates in the macro `unsafe_init` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [optimized + debuginfo] target(s) in 16.13s
[INFO] running `Command { std: "docker" "inspect" "df94302c62b35d5d853d86ecf523083d7166f9af6aecc6b6ceb32def791ea7f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "df94302c62b35d5d853d86ecf523083d7166f9af6aecc6b6ceb32def791ea7f1", kill_on_drop: false }`
[INFO] [stdout] df94302c62b35d5d853d86ecf523083d7166f9af6aecc6b6ceb32def791ea7f1
