[INFO] fetching crate geotiff 0.0.2... [INFO] checking geotiff-0.0.2 against try#39e1293fce4b650061e85dda88aa428f726a8444 for pr-88041 [INFO] extracting crate geotiff 0.0.2 into /workspace/builds/worker-80/source [INFO] validating manifest of crates.io crate geotiff 0.0.2 on toolchain 39e1293fce4b650061e85dda88aa428f726a8444 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate geotiff 0.0.2 [INFO] finished tweaking crates.io crate geotiff 0.0.2 [INFO] tweaked toml for crates.io crate geotiff 0.0.2 written to /workspace/builds/worker-80/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/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" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff4ac5d9f44456fc795a46ed72009bbf3b0a13a6cc9d671a0edbb928cbc7ae40 [INFO] running `Command { std: "docker" "start" "-a" "ff4ac5d9f44456fc795a46ed72009bbf3b0a13a6cc9d671a0edbb928cbc7ae40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff4ac5d9f44456fc795a46ed72009bbf3b0a13a6cc9d671a0edbb928cbc7ae40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff4ac5d9f44456fc795a46ed72009bbf3b0a13a6cc9d671a0edbb928cbc7ae40", kill_on_drop: false }` [INFO] [stdout] ff4ac5d9f44456fc795a46ed72009bbf3b0a13a6cc9d671a0edbb928cbc7ae40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/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" "+39e1293fce4b650061e85dda88aa428f726a8444" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 963b422552508bde5e5036fd5b5bb215cc1b240d6c23a708c92bfbbf0ef96535 [INFO] running `Command { std: "docker" "start" "-a" "963b422552508bde5e5036fd5b5bb215cc1b240d6c23a708c92bfbbf0ef96535", kill_on_drop: false }` [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking geotiff v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `num::FromPrimitive` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use num::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BigEndian`, `LittleEndian`, `ReadBytesExt`, `WriteBytesExt` [INFO] [stdout] --> src/lib.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use byteorder::{ReadBytesExt, WriteBytesExt, BigEndian, LittleEndian}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Seek` [INFO] [stdout] --> src/lib.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{Read, Seek}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `HashSet` [INFO] [stdout] --> src/lib.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BYTE`, `FLOAT`, `LONG`, `SBYTE`, `SHORT`, `SLONG`, `SSHORT` [INFO] [stdout] --> src/reader.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | use lowlevel::{TIFFByteOrder, TIFFTag, BYTE, SBYTE, SHORT, SSHORT, LONG, SLONG, FLOAT, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^ ^^^^^^ ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:32:37 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn read(&self, reader: &mut SeekableReader) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn SeekableReader` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn read_byte_order(&self, reader: &mut SeekableReader) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn SeekableReader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:54:52 [INFO] [stdout] | [INFO] [stdout] 54 | fn read_tiff(&self, reader: &mut SeekableReader) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn SeekableReader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:66:53 [INFO] [stdout] | [INFO] [stdout] 66 | fn read_magic(&self, reader: &mut SeekableReader) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn SeekableReader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:76:62 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn read_ifd_offset(&self, reader: &mut SeekableReader) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn SeekableReader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::FromPrimitive` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use num::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BigEndian`, `LittleEndian`, `ReadBytesExt`, `WriteBytesExt` [INFO] [stdout] --> src/lib.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use byteorder::{ReadBytesExt, WriteBytesExt, BigEndian, LittleEndian}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Seek` [INFO] [stdout] --> src/lib.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{Read, Seek}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `HashSet` [INFO] [stdout] --> src/lib.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BYTE`, `FLOAT`, `LONG`, `SBYTE`, `SHORT`, `SLONG`, `SSHORT` [INFO] [stdout] --> src/reader.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | use lowlevel::{TIFFByteOrder, TIFFTag, BYTE, SBYTE, SHORT, SSHORT, LONG, SLONG, FLOAT, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^ ^^^^^^ ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:32:37 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn read(&self, reader: &mut SeekableReader) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn SeekableReader` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn read_byte_order(&self, reader: &mut SeekableReader) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn SeekableReader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:54:52 [INFO] [stdout] | [INFO] [stdout] 54 | fn read_tiff(&self, reader: &mut SeekableReader) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn SeekableReader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:66:53 [INFO] [stdout] | [INFO] [stdout] 66 | fn read_magic(&self, reader: &mut SeekableReader) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn SeekableReader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:76:62 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn read_ifd_offset(&self, reader: &mut SeekableReader) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn SeekableReader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:88:51 [INFO] [stdout] | [INFO] [stdout] 88 | fn read_IFD(&self, reader: &mut SeekableReader, ifd_offset: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn SeekableReader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:109:35 [INFO] [stdout] | [INFO] [stdout] 109 | fn read_n(&self, reader: &mut SeekableReader, bytes_to_read: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn SeekableReader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:163:49 [INFO] [stdout] | [INFO] [stdout] 163 | ... reader: &mut SeekableReader) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn SeekableReader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:232:63 [INFO] [stdout] | [INFO] [stdout] 232 | fn read_image_data(&self, reader: &mut SeekableReader, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn SeekableReader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/tiff.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tiff::*` [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tiff::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:88:51 [INFO] [stdout] | [INFO] [stdout] 88 | fn read_IFD(&self, reader: &mut SeekableReader, ifd_offset: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn SeekableReader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:109:35 [INFO] [stdout] | [INFO] [stdout] 109 | fn read_n(&self, reader: &mut SeekableReader, bytes_to_read: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn SeekableReader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:163:49 [INFO] [stdout] | [INFO] [stdout] 163 | ... reader: &mut SeekableReader) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn SeekableReader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:232:63 [INFO] [stdout] | [INFO] [stdout] 232 | fn read_image_data(&self, reader: &mut SeekableReader, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn SeekableReader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/tiff.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tiff::*` [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tiff::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lowlevel.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | _ => 0, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/reader.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | _ => panic!("Tag not found!"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/reader.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 268 | for j in 0..image_width { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows_per_strip` [INFO] [stdout] --> src/reader.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | let rows_per_strip = match rows_per_strip.value[0] { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rows_per_strip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/reader.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 298 | for i in 0..(*byte_count / image_depth as u32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lowlevel.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | _ => 0, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/reader.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | _ => panic!("Tag not found!"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/reader.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 268 | for j in 0..image_width { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows_per_strip` [INFO] [stdout] --> src/reader.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | let rows_per_strip = match rows_per_strip.value[0] { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rows_per_strip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/reader.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 298 | for i in 0..(*byte_count / image_depth as u32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/reader.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | &img.push(Vec::with_capacity(image_width as usize)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 267 | let _ = &img.push(Vec::with_capacity(image_width as usize)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/reader.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | &img[i as usize].push(vec![0; 1]); // TODO To be changed to take into account SamplesPerPixel! [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 269 | let _ = &img[i as usize].push(vec![0; 1]); // TODO To be changed to take into account SamplesPerPixel! [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/reader.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | &img.push(Vec::with_capacity(image_width as usize)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 267 | let _ = &img.push(Vec::with_capacity(image_width as usize)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/reader.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | &img[i as usize].push(vec![0; 1]); // TODO To be changed to take into account SamplesPerPixel! [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 269 | let _ = &img[i as usize].push(vec![0; 1]); // TODO To be changed to take into account SamplesPerPixel! [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_load` [INFO] [stdout] --> tests/integration.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn test_load() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_load_3` [INFO] [stdout] --> tests/integration.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn test_load_3() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.75s [INFO] running `Command { std: "docker" "inspect" "963b422552508bde5e5036fd5b5bb215cc1b240d6c23a708c92bfbbf0ef96535", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "963b422552508bde5e5036fd5b5bb215cc1b240d6c23a708c92bfbbf0ef96535", kill_on_drop: false }` [INFO] [stdout] 963b422552508bde5e5036fd5b5bb215cc1b240d6c23a708c92bfbbf0ef96535