[INFO] fetching crate matlab-mat 0.1.0...
[INFO] checking matlab-mat-0.1.0 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate matlab-mat 0.1.0 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate matlab-mat 0.1.0 on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate matlab-mat 0.1.0
[INFO] finished tweaking crates.io crate matlab-mat 0.1.0
[INFO] tweaked toml for crates.io crate matlab-mat 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 53 packages to latest compatible versions
[INFO] [stderr]       Adding enum-primitive-derive v0.2.2 (latest: v0.3.0)
[INFO] [stderr]       Adding libflate v1.4.0 (latest: v2.1.0)
[INFO] [stderr]       Adding libflate_lz77 v1.2.0 (latest: v2.1.0)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.60)
[INFO] [stderr]       Adding windows-core v0.52.0 (latest: v0.56.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 575ac147918cd7bb8347729ede5c613e3e1ab7df5ed0d4ff1c485d63df848f42
[INFO] running `Command { std: "docker" "start" "-a" "575ac147918cd7bb8347729ede5c613e3e1ab7df5ed0d4ff1c485d63df848f42", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "575ac147918cd7bb8347729ede5c613e3e1ab7df5ed0d4ff1c485d63df848f42", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "575ac147918cd7bb8347729ede5c613e3e1ab7df5ed0d4ff1c485d63df848f42", kill_on_drop: false }`
[INFO] [stdout] 575ac147918cd7bb8347729ede5c613e3e1ab7df5ed0d4ff1c485d63df848f42
[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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 10e1e2b809f6cbb1947aac492696069fbd7eab35a797b0c2f7b6f322990ae6de
[INFO] running `Command { std: "docker" "start" "-a" "10e1e2b809f6cbb1947aac492696069fbd7eab35a797b0c2f7b6f322990ae6de", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling crc32fast v1.4.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking libflate_lz77 v1.2.0
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking libflate v1.4.0
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]    Compiling enum-primitive-derive v0.2.2
[INFO] [stderr]     Checking matlab-mat v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: couldn't read `src/d:/myfile.mat`: No such file or directory (os error 2)
[INFO] [stdout]    --> src/parse.rs:831:20
[INFO] [stdout]     |
[INFO] [stdout] 831 |         let data = include_bytes!("d:/myfile.mat");
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nom::character::complete::alpha0`
[INFO] [stdout]  --> src/parse.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use nom::character::complete::alpha0;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> src/writer.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{Read, Write};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DataElementTag`, `DataElement`, `self`
[INFO] [stdout]  --> src/writer.rs:3:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::parse::{self, ArrayFlags, DataElement, DataElementTag, DataType};
[INFO] [stdout]   |                    ^^^^              ^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::NumericData`
[INFO] [stdout]  --> src/writer.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::NumericData;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `libflate::deflate::EncodeOptions`
[INFO] [stdout]  --> src/writer.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use libflate::deflate::EncodeOptions;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Decoder`, `Header`
[INFO] [stdout]  --> src/writer.rs:9:22
[INFO] [stdout]   |
[INFO] [stdout] 9 | use libflate::zlib::{Decoder, Encoder, Header};
[INFO] [stdout]   |                      ^^^^^^^           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bytes::BufMut`
[INFO] [stdout]    --> src/writer.rs:253:9
[INFO] [stdout]     |
[INFO] [stdout] 253 |     use bytes::BufMut;
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nom::character::complete::u32`
[INFO] [stdout]    --> src/writer.rs:255:9
[INFO] [stdout]     |
[INFO] [stdout] 255 |     use nom::character::complete::u32;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nom::sequence::tuple`
[INFO] [stdout]    --> src/writer.rs:256:9
[INFO] [stdout]     |
[INFO] [stdout] 256 |     use nom::sequence::tuple;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nom::character::complete::alpha0`
[INFO] [stdout]  --> src/parse.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use nom::character::complete::alpha0;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> src/writer.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{Read, Write};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DataElementTag`, `DataElement`
[INFO] [stdout]  --> src/writer.rs:3:38
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::parse::{self, ArrayFlags, DataElement, DataElementTag, DataType};
[INFO] [stdout]   |                                      ^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::NumericData`
[INFO] [stdout]  --> src/writer.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::NumericData;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `libflate::deflate::EncodeOptions`
[INFO] [stdout]  --> src/writer.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use libflate::deflate::EncodeOptions;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Decoder`, `Header`
[INFO] [stdout]  --> src/writer.rs:9:22
[INFO] [stdout]   |
[INFO] [stdout] 9 | use libflate::zlib::{Decoder, Encoder, Header};
[INFO] [stdout]   |                      ^^^^^^^           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bytes::BufMut`
[INFO] [stdout]    --> src/writer.rs:253:9
[INFO] [stdout]     |
[INFO] [stdout] 253 |     use bytes::BufMut;
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nom::character::complete::u32`
[INFO] [stdout]    --> src/writer.rs:255:9
[INFO] [stdout]     |
[INFO] [stdout] 255 |     use nom::character::complete::u32;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nom::sequence::tuple`
[INFO] [stdout]    --> src/writer.rs:256:9
[INFO] [stdout]     |
[INFO] [stdout] 256 |     use nom::sequence::tuple;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `endianness`
[INFO] [stdout]    --> src/parse.rs:144:24
[INFO] [stdout]     |
[INFO] [stdout] 144 |     fn to_bytes(&self, endianness: nom::number::Endianness) -> BytesMut {
[INFO] [stdout]     |                        ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endianness`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `endianness`
[INFO] [stdout]    --> src/parse.rs:144:24
[INFO] [stdout]     |
[INFO] [stdout] 144 |     fn to_bytes(&self, endianness: nom::number::Endianness) -> BytesMut {
[INFO] [stdout]     |                        ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endianness`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/parse.rs:849:19
[INFO] [stdout]     |
[INFO] [stdout] 849 |     fn test_count(i: &[u8]) -> IResult<&[u8], DataElement> {
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data_type`
[INFO] [stdout]    --> src/writer.rs:192:9
[INFO] [stdout]     |
[INFO] [stdout] 192 |     let data_type = array.array_flags.class.numeric_data_type().unwrap();
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/parse.rs:849:19
[INFO] [stdout]     |
[INFO] [stdout] 849 |     fn test_count(i: &[u8]) -> IResult<&[u8], DataElement> {
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ix0`
[INFO] [stdout]   --> src/lib.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let ix0 = self.check_index_bound(row, 0);
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_ix0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ix1`
[INFO] [stdout]   --> src/lib.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let ix1 = self.check_index_bound(col, 1);
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_ix1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/lib.rs:200:13
[INFO] [stdout]     |
[INFO] [stdout] 200 |             _ => {}
[INFO] [stdout]     |             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:118:39
[INFO] [stdout]     |
[INFO] [stdout] 118 |             NumericData::Int8 { real, imag } => {
[INFO] [stdout]     |                                       ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:123:40
[INFO] [stdout]     |
[INFO] [stdout] 123 |             NumericData::UInt8 { real, imag } => {
[INFO] [stdout]     |                                        ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:128:40
[INFO] [stdout]     |
[INFO] [stdout] 128 |             NumericData::Int16 { real, imag } => {
[INFO] [stdout]     |                                        ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:137:41
[INFO] [stdout]     |
[INFO] [stdout] 137 |             NumericData::UInt16 { real, imag } => {
[INFO] [stdout]     |                                         ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:146:40
[INFO] [stdout]     |
[INFO] [stdout] 146 |             NumericData::Int32 { real, imag } => {
[INFO] [stdout]     |                                        ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:155:41
[INFO] [stdout]     |
[INFO] [stdout] 155 |             NumericData::UInt32 { real, imag } => {
[INFO] [stdout]     |                                         ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:164:40
[INFO] [stdout]     |
[INFO] [stdout] 164 |             NumericData::Int64 { real, imag } => {
[INFO] [stdout]     |                                        ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:173:41
[INFO] [stdout]     |
[INFO] [stdout] 173 |             NumericData::UInt64 { real, imag } => {
[INFO] [stdout]     |                                         ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:182:41
[INFO] [stdout]     |
[INFO] [stdout] 182 |             NumericData::Single { real, imag } => {
[INFO] [stdout]     |                                         ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:191:41
[INFO] [stdout]     |
[INFO] [stdout] 191 |             NumericData::Double { real, imag } => {
[INFO] [stdout]     |                                         ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data_type`
[INFO] [stdout]    --> src/writer.rs:192:9
[INFO] [stdout]     |
[INFO] [stdout] 192 |     let data_type = array.array_flags.class.numeric_data_type().unwrap();
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:116:13
[INFO] [stdout]     |
[INFO] [stdout] 116 |         let mut imag_bytes = BytesMut::new();
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/lib.rs:244:13
[INFO] [stdout]     |
[INFO] [stdout] 244 |             _ => (0usize, 0usize),
[INFO] [stdout]     |             ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/lib.rs:259:13
[INFO] [stdout]     |
[INFO] [stdout] 259 |             _ => 0,
[INFO] [stdout]     |             ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:249:39
[INFO] [stdout]     |
[INFO] [stdout] 249 |             NumericData::Int8 { real, imag } => real.len(),
[INFO] [stdout]     |                                       ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:250:40
[INFO] [stdout]     |
[INFO] [stdout] 250 |             NumericData::UInt8 { real, imag } => real.len(),
[INFO] [stdout]     |                                        ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:251:40
[INFO] [stdout]     |
[INFO] [stdout] 251 |             NumericData::Int16 { real, imag } => 2 * real.len(),
[INFO] [stdout]     |                                        ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:252:41
[INFO] [stdout]     |
[INFO] [stdout] 252 |             NumericData::UInt16 { real, imag } => 2 * real.len(),
[INFO] [stdout]     |                                         ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:253:40
[INFO] [stdout]     |
[INFO] [stdout] 253 |             NumericData::Int32 { real, imag } => 4 * real.len(),
[INFO] [stdout]     |                                        ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:254:41
[INFO] [stdout]     |
[INFO] [stdout] 254 |             NumericData::UInt32 { real, imag } => 4 * real.len(),
[INFO] [stdout]     |                                         ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:255:40
[INFO] [stdout]     |
[INFO] [stdout] 255 |             NumericData::Int64 { real, imag } => 8 * real.len(),
[INFO] [stdout]     |                                        ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:256:41
[INFO] [stdout]     |
[INFO] [stdout] 256 |             NumericData::UInt64 { real, imag } => 8 * real.len(),
[INFO] [stdout]     |                                         ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:257:41
[INFO] [stdout]     |
[INFO] [stdout] 257 |             NumericData::Single { real, imag } => 4 * real.len(),
[INFO] [stdout]     |                                         ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:258:41
[INFO] [stdout]     |
[INFO] [stdout] 258 |             NumericData::Double { real, imag } => 8 * real.len(),
[INFO] [stdout]     |                                         ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ix0`
[INFO] [stdout]   --> src/lib.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let ix0 = self.check_index_bound(row, 0);
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_ix0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ix1`
[INFO] [stdout]   --> src/lib.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let ix1 = self.check_index_bound(col, 1);
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_ix1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/lib.rs:200:13
[INFO] [stdout]     |
[INFO] [stdout] 200 |             _ => {}
[INFO] [stdout]     |             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:118:39
[INFO] [stdout]     |
[INFO] [stdout] 118 |             NumericData::Int8 { real, imag } => {
[INFO] [stdout]     |                                       ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:123:40
[INFO] [stdout]     |
[INFO] [stdout] 123 |             NumericData::UInt8 { real, imag } => {
[INFO] [stdout]     |                                        ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:128:40
[INFO] [stdout]     |
[INFO] [stdout] 128 |             NumericData::Int16 { real, imag } => {
[INFO] [stdout]     |                                        ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:137:41
[INFO] [stdout]     |
[INFO] [stdout] 137 |             NumericData::UInt16 { real, imag } => {
[INFO] [stdout]     |                                         ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:146:40
[INFO] [stdout]     |
[INFO] [stdout] 146 |             NumericData::Int32 { real, imag } => {
[INFO] [stdout]     |                                        ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:155:41
[INFO] [stdout]     |
[INFO] [stdout] 155 |             NumericData::UInt32 { real, imag } => {
[INFO] [stdout]     |                                         ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:164:40
[INFO] [stdout]     |
[INFO] [stdout] 164 |             NumericData::Int64 { real, imag } => {
[INFO] [stdout]     |                                        ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:173:41
[INFO] [stdout]     |
[INFO] [stdout] 173 |             NumericData::UInt64 { real, imag } => {
[INFO] [stdout]     |                                         ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:182:41
[INFO] [stdout]     |
[INFO] [stdout] 182 |             NumericData::Single { real, imag } => {
[INFO] [stdout]     |                                         ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:191:41
[INFO] [stdout]     |
[INFO] [stdout] 191 |             NumericData::Double { real, imag } => {
[INFO] [stdout]     |                                         ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:116:13
[INFO] [stdout]     |
[INFO] [stdout] 116 |         let mut imag_bytes = BytesMut::new();
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/lib.rs:244:13
[INFO] [stdout]     |
[INFO] [stdout] 244 |             _ => (0usize, 0usize),
[INFO] [stdout]     |             ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/lib.rs:259:13
[INFO] [stdout]     |
[INFO] [stdout] 259 |             _ => 0,
[INFO] [stdout]     |             ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:249:39
[INFO] [stdout]     |
[INFO] [stdout] 249 |             NumericData::Int8 { real, imag } => real.len(),
[INFO] [stdout]     |                                       ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:250:40
[INFO] [stdout]     |
[INFO] [stdout] 250 |             NumericData::UInt8 { real, imag } => real.len(),
[INFO] [stdout]     |                                        ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:251:40
[INFO] [stdout]     |
[INFO] [stdout] 251 |             NumericData::Int16 { real, imag } => 2 * real.len(),
[INFO] [stdout]     |                                        ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:252:41
[INFO] [stdout]     |
[INFO] [stdout] 252 |             NumericData::UInt16 { real, imag } => 2 * real.len(),
[INFO] [stdout]     |                                         ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_real_size` is never used
[INFO] [stdout]    --> src/lib.rs:247:8
[INFO] [stdout]     |
[INFO] [stdout] 113 | impl NumericData {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 247 |     fn to_real_size(&self) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:253:40
[INFO] [stdout]     |
[INFO] [stdout] 253 |             NumericData::Int32 { real, imag } => 4 * real.len(),
[INFO] [stdout]     |                                        ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:254:41
[INFO] [stdout]     |
[INFO] [stdout] 254 |             NumericData::UInt32 { real, imag } => 4 * real.len(),
[INFO] [stdout]     |                                         ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:255:40
[INFO] [stdout]     |
[INFO] [stdout] 255 |             NumericData::Int64 { real, imag } => 8 * real.len(),
[INFO] [stdout]     |                                        ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:256:41
[INFO] [stdout]     |
[INFO] [stdout] 256 |             NumericData::UInt64 { real, imag } => 8 * real.len(),
[INFO] [stdout]     |                                         ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `description` and `deflate_level` are never read
[INFO] [stdout]   --> src/parse.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct Header {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub description: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub deflate_level: i8, //NO_COMPRESSION:0,COMPRESSION:1
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Header` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:257:41
[INFO] [stdout]     |
[INFO] [stdout] 257 |             NumericData::Single { real, imag } => 4 * real.len(),
[INFO] [stdout]     |                                         ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `len` and `data_type` are never used
[INFO] [stdout]    --> src/parse.rs:103:8
[INFO] [stdout]     |
[INFO] [stdout] 45  | impl NumericData {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 103 |     fn len(&self) -> usize {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     fn data_type(&self) -> DataType {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/lib.rs:258:41
[INFO] [stdout]     |
[INFO] [stdout] 258 |             NumericData::Double { real, imag } => 8 * real.len(),
[INFO] [stdout]     |                                         ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_bytes` is never used
[INFO] [stdout]    --> src/parse.rs:144:8
[INFO] [stdout]     |
[INFO] [stdout] 143 | impl ArrayFlags {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] 144 |     fn to_bytes(&self, endianness: nom::number::Endianness) -> BytesMut {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/parse.rs:274:9
[INFO] [stdout]     |
[INFO] [stdout] 273 |     SparseMatrix(
[INFO] [stdout]     |     ------------ fields in this variant
[INFO] [stdout] 274 |         ArrayFlags,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 275 |         Dimensions,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 276 |         String,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 277 |         RowIndex,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 278 |         ColumnShift,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 279 |         NumericData,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 280 |         Option<NumericData>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]     |
[INFO] [stdout] 274 ~         (),
[INFO] [stdout] 275 ~         (),
[INFO] [stdout] 276 ~         (),
[INFO] [stdout] 277 ~         (),
[INFO] [stdout] 278 ~         (),
[INFO] [stdout] 279 ~         (),
[INFO] [stdout] 280 ~         (),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `header` is never read
[INFO] [stdout]    --> src/parse.rs:295:9
[INFO] [stdout]     |
[INFO] [stdout] 294 | pub struct ParseResult {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout] 295 |     pub header: Header,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ceil_to_multiple` is never used
[INFO] [stdout]    --> src/parse.rs:324:4
[INFO] [stdout]     |
[INFO] [stdout] 324 | fn ceil_to_multiple(x: u32, multiple: u32) -> u32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_count` is never used
[INFO] [stdout]    --> src/parse.rs:849:8
[INFO] [stdout]     |
[INFO] [stdout] 849 |     fn test_count(i: &[u8]) -> IResult<&[u8], DataElement> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BEST_SPEED` is never used
[INFO] [stdout]   --> src/writer.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 | const BEST_SPEED: u8 = 1;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decoder` is never used
[INFO] [stdout]    --> src/writer.rs:275:8
[INFO] [stdout]     |
[INFO] [stdout] 275 |     fn decoder(i: &[u8]) -> nom::IResult<&[u8], ()> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/lib.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 48 |         if index >= 0 && index < self.size[dim] {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 49 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 38 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `matlab-mat` (lib test) due to 2 previous errors; 38 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "10e1e2b809f6cbb1947aac492696069fbd7eab35a797b0c2f7b6f322990ae6de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "10e1e2b809f6cbb1947aac492696069fbd7eab35a797b0c2f7b6f322990ae6de", kill_on_drop: false }`
[INFO] [stdout] 10e1e2b809f6cbb1947aac492696069fbd7eab35a797b0c2f7b6f322990ae6de
