[INFO] fetching crate bmp-encoder 0.1.4...
[INFO] checking bmp-encoder-0.1.4 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate bmp-encoder 0.1.4 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate bmp-encoder 0.1.4 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate bmp-encoder 0.1.4
[INFO] finished tweaking crates.io crate bmp-encoder 0.1.4
[INFO] tweaked toml for crates.io crate bmp-encoder 0.1.4 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded byteorder v0.3.13
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] eec19a092444ac084ee6f386f5605fff7b37a0c92b58f799a25dfd3bec84fa30
[INFO] running `Command { std: "docker" "start" "-a" "eec19a092444ac084ee6f386f5605fff7b37a0c92b58f799a25dfd3bec84fa30", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "eec19a092444ac084ee6f386f5605fff7b37a0c92b58f799a25dfd3bec84fa30", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eec19a092444ac084ee6f386f5605fff7b37a0c92b58f799a25dfd3bec84fa30", kill_on_drop: false }`
[INFO] [stdout] eec19a092444ac084ee6f386f5605fff7b37a0c92b58f799a25dfd3bec84fa30
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d98ce0e67192fe74e442f06854a3bff4399b5884b645cdcb814e8a8522bd6435
[INFO] running `Command { std: "docker" "start" "-a" "d98ce0e67192fe74e442f06854a3bff4399b5884b645cdcb814e8a8522bd6435", kill_on_drop: false }`
[INFO] [stderr]     Checking byteorder v0.3.13
[INFO] [stderr]     Checking bmp-encoder v0.1.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `AsRef` is imported redundantly
[INFO] [stdout]   --> src/lib.rs:36:20
[INFO] [stdout]    |
[INFO] [stdout] 36 | use std::convert::{AsRef};
[INFO] [stdout]    |                    ^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `AsRef` is already defined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]   --> src/lib.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | use std::error::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Iterator` is imported redundantly
[INFO] [stdout]   --> src/lib.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | use std::iter::Iterator;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Iterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `From` is imported redundantly
[INFO] [stdout]  --> src/decoder.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::convert::{From, AsRef};
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `From` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AsRef` is imported redundantly
[INFO] [stdout]  --> src/decoder.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::convert::{From, AsRef};
[INFO] [stdout]   |                          ^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `AsRef` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/decoder.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 86 |     try!(read_bmp_id(bmp_data));
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/decoder.rs:87:18
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let header = try!(read_bmp_header(bmp_data));
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/decoder.rs:88:22
[INFO] [stdout]    |
[INFO] [stdout] 88 |     let dib_header = try!(read_bmp_dib_header(bmp_data));
[INFO] [stdout]    |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/decoder.rs:90:25
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let color_palette = try!(read_color_palette(bmp_data, &dib_header));
[INFO] [stdout]    |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/decoder.rs:97:30
[INFO] [stdout]    |
[INFO] [stdout] 97 |         Some(ref palette) => try!(
[INFO] [stdout]    |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:101:17
[INFO] [stdout]     |
[INFO] [stdout] 101 |         None => try!(
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:121:5
[INFO] [stdout]     |
[INFO] [stdout] 121 |     try!(bmp_data.read(&mut bm));
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:132:23
[INFO] [stdout]     |
[INFO] [stdout] 132 |         file_size:    try!(bmp_data.read_u32::<LittleEndian>()),
[INFO] [stdout]     |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:133:23
[INFO] [stdout]     |
[INFO] [stdout] 133 |         creator1:     try!(bmp_data.read_u16::<LittleEndian>()),
[INFO] [stdout]     |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:134:23
[INFO] [stdout]     |
[INFO] [stdout] 134 |         creator2:     try!(bmp_data.read_u16::<LittleEndian>()),
[INFO] [stdout]     |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:135:23
[INFO] [stdout]     |
[INFO] [stdout] 135 |         pixel_offset: try!(bmp_data.read_u32::<LittleEndian>()),
[INFO] [stdout]     |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:143:25
[INFO] [stdout]     |
[INFO] [stdout] 143 |         header_size:    try!(bmp_data.read_u32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:144:25
[INFO] [stdout]     |
[INFO] [stdout] 144 |         width:          try!(bmp_data.read_i32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:145:25
[INFO] [stdout]     |
[INFO] [stdout] 145 |         height:         try!(bmp_data.read_i32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:146:25
[INFO] [stdout]     |
[INFO] [stdout] 146 |         num_planes:     try!(bmp_data.read_u16::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:147:25
[INFO] [stdout]     |
[INFO] [stdout] 147 |         bits_per_pixel: try!(bmp_data.read_u16::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:148:25
[INFO] [stdout]     |
[INFO] [stdout] 148 |         compress_type:  try!(bmp_data.read_u32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:149:25
[INFO] [stdout]     |
[INFO] [stdout] 149 |         data_size:      try!(bmp_data.read_u32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:150:25
[INFO] [stdout]     |
[INFO] [stdout] 150 |         hres:           try!(bmp_data.read_i32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 |         vres:           try!(bmp_data.read_i32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:152:25
[INFO] [stdout]     |
[INFO] [stdout] 152 |         num_colors:     try!(bmp_data.read_u32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:153:25
[INFO] [stdout]     |
[INFO] [stdout] 153 |         num_imp_colors: try!(bmp_data.read_u32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:202:9
[INFO] [stdout]     |
[INFO] [stdout] 202 |         try!(bmp_data.read(&mut px));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:233:5
[INFO] [stdout]     |
[INFO] [stdout] 233 |     try!(bmp_data.seek(SeekFrom::Start(offset as u64)));
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:242:9
[INFO] [stdout]     |
[INFO] [stdout] 242 |         try!(bmp_data.seek(SeekFrom::Current(padding)));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:238:13
[INFO] [stdout]     |
[INFO] [stdout] 238 |             try!(bmp_data.read(&mut px));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     try!(write_header(&mut bmp_data, bmp_image));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     try!(write_data(&mut bmp_data, bmp_image));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     try!(io::Write::write(bmp_data, &[B, M]));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     try!(bmp_data.write_u32::<LittleEndian>(header_size + data_size));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     try!(bmp_data.write_u16::<LittleEndian>(header.creator1));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     try!(bmp_data.write_u16::<LittleEndian>(header.creator2));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     try!(bmp_data.write_u32::<LittleEndian>(header_size)); // pixel_offset
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     try!(bmp_data.write_u32::<LittleEndian>(dib_header.header_size));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     try!(bmp_data.write_i32::<LittleEndian>(dib_header.width));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     try!(bmp_data.write_i32::<LittleEndian>(dib_header.height));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     try!(bmp_data.write_u16::<LittleEndian>(1));  // num_planes
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     try!(bmp_data.write_u16::<LittleEndian>(24)); // bits_per_pixel
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     try!(bmp_data.write_u32::<LittleEndian>(0));  // compress_type
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     try!(bmp_data.write_u32::<LittleEndian>(data_size));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     try!(bmp_data.write_i32::<LittleEndian>(dib_header.hres));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     try!(bmp_data.write_i32::<LittleEndian>(dib_header.vres));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     try!(bmp_data.write_u32::<LittleEndian>(0)); // num_colors
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 41 |     try!(bmp_data.write_u32::<LittleEndian>(0)); // num_imp_colors
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         try!(Write::write(bmp_data, padding));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |             try!(Write::write(bmp_data, &[px.b, px.g, px.r]));
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:213:9
[INFO] [stdout]     |
[INFO] [stdout] 213 |         try!(write!(f, "Image {}\n", '{'));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:214:9
[INFO] [stdout]     |
[INFO] [stdout] 214 |         try!(write!(f, "\theader: {:?},\n", self.header));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:215:9
[INFO] [stdout]     |
[INFO] [stdout] 215 |         try!(write!(f, "\tdib_header: {:?},\n", self.dib_header));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:216:9
[INFO] [stdout]     |
[INFO] [stdout] 216 |         try!(write!(f, "\tcolor_palette: {:?},\n", self.color_palette));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:217:9
[INFO] [stdout]     |
[INFO] [stdout] 217 |         try!(write!(f, "\twidth: {:?},\n", self.width));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 218 |         try!(write!(f, "\theight: {:?},\n", self.height));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:219:9
[INFO] [stdout]     |
[INFO] [stdout] 219 |         try!(write!(f, "\tpadding: {:?},\n", self.padding));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:331:9
[INFO] [stdout]     |
[INFO] [stdout] 331 |         try!(bmp_file.write(&bmp_data));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:329:24
[INFO] [stdout]     |
[INFO] [stdout] 329 |         let bmp_data = try!(encoder::encode_image(self));
[INFO] [stdout]     |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:330:28
[INFO] [stdout]     |
[INFO] [stdout] 330 |         let mut bmp_file = try!(fs::File::create(name));
[INFO] [stdout]     |                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:350:5
[INFO] [stdout]     |
[INFO] [stdout] 350 |     try!(f.read_to_end(&mut bytes));
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:349:17
[INFO] [stdout]     |
[INFO] [stdout] 349 |     let mut f = try!(fs::File::open(name));
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `AsRef` is imported redundantly
[INFO] [stdout]   --> src/lib.rs:36:20
[INFO] [stdout]    |
[INFO] [stdout] 36 | use std::convert::{AsRef};
[INFO] [stdout]    |                    ^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `AsRef` is already defined here
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/lib.rs:2:24
[INFO] [stdout]    |
[INFO] [stdout] 2  | #![cfg_attr(test, deny(warnings))]
[INFO] [stdout]    |                        ^^^^^^^^
[INFO] [stdout]    = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused import: `std::error::Error`
[INFO] [stdout]   --> src/lib.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | use std::error::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `Iterator` is imported redundantly
[INFO] [stdout]   --> src/lib.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | use std::iter::Iterator;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Iterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `From` is imported redundantly
[INFO] [stdout]  --> src/decoder.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::convert::{From, AsRef};
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `From` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `AsRef` is imported redundantly
[INFO] [stdout]  --> src/decoder.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::convert::{From, AsRef};
[INFO] [stdout]   |                          ^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `AsRef` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/decoder.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 86 |     try!(read_bmp_id(bmp_data));
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/decoder.rs:87:18
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let header = try!(read_bmp_header(bmp_data));
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/decoder.rs:88:22
[INFO] [stdout]    |
[INFO] [stdout] 88 |     let dib_header = try!(read_bmp_dib_header(bmp_data));
[INFO] [stdout]    |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/decoder.rs:90:25
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let color_palette = try!(read_color_palette(bmp_data, &dib_header));
[INFO] [stdout]    |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/decoder.rs:97:30
[INFO] [stdout]    |
[INFO] [stdout] 97 |         Some(ref palette) => try!(
[INFO] [stdout]    |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:101:17
[INFO] [stdout]     |
[INFO] [stdout] 101 |         None => try!(
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:121:5
[INFO] [stdout]     |
[INFO] [stdout] 121 |     try!(bmp_data.read(&mut bm));
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:132:23
[INFO] [stdout]     |
[INFO] [stdout] 132 |         file_size:    try!(bmp_data.read_u32::<LittleEndian>()),
[INFO] [stdout]     |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:133:23
[INFO] [stdout]     |
[INFO] [stdout] 133 |         creator1:     try!(bmp_data.read_u16::<LittleEndian>()),
[INFO] [stdout]     |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:134:23
[INFO] [stdout]     |
[INFO] [stdout] 134 |         creator2:     try!(bmp_data.read_u16::<LittleEndian>()),
[INFO] [stdout]     |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:135:23
[INFO] [stdout]     |
[INFO] [stdout] 135 |         pixel_offset: try!(bmp_data.read_u32::<LittleEndian>()),
[INFO] [stdout]     |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:143:25
[INFO] [stdout]     |
[INFO] [stdout] 143 |         header_size:    try!(bmp_data.read_u32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:144:25
[INFO] [stdout]     |
[INFO] [stdout] 144 |         width:          try!(bmp_data.read_i32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:145:25
[INFO] [stdout]     |
[INFO] [stdout] 145 |         height:         try!(bmp_data.read_i32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:146:25
[INFO] [stdout]     |
[INFO] [stdout] 146 |         num_planes:     try!(bmp_data.read_u16::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:147:25
[INFO] [stdout]     |
[INFO] [stdout] 147 |         bits_per_pixel: try!(bmp_data.read_u16::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:148:25
[INFO] [stdout]     |
[INFO] [stdout] 148 |         compress_type:  try!(bmp_data.read_u32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:149:25
[INFO] [stdout]     |
[INFO] [stdout] 149 |         data_size:      try!(bmp_data.read_u32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:150:25
[INFO] [stdout]     |
[INFO] [stdout] 150 |         hres:           try!(bmp_data.read_i32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 |         vres:           try!(bmp_data.read_i32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:152:25
[INFO] [stdout]     |
[INFO] [stdout] 152 |         num_colors:     try!(bmp_data.read_u32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:153:25
[INFO] [stdout]     |
[INFO] [stdout] 153 |         num_imp_colors: try!(bmp_data.read_u32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:202:9
[INFO] [stdout]     |
[INFO] [stdout] 202 |         try!(bmp_data.read(&mut px));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:233:5
[INFO] [stdout]     |
[INFO] [stdout] 233 |     try!(bmp_data.seek(SeekFrom::Start(offset as u64)));
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:242:9
[INFO] [stdout]     |
[INFO] [stdout] 242 |         try!(bmp_data.seek(SeekFrom::Current(padding)));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:238:13
[INFO] [stdout]     |
[INFO] [stdout] 238 |             try!(bmp_data.read(&mut px));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     try!(write_header(&mut bmp_data, bmp_image));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     try!(write_data(&mut bmp_data, bmp_image));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     try!(io::Write::write(bmp_data, &[B, M]));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     try!(bmp_data.write_u32::<LittleEndian>(header_size + data_size));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     try!(bmp_data.write_u16::<LittleEndian>(header.creator1));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     try!(bmp_data.write_u16::<LittleEndian>(header.creator2));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     try!(bmp_data.write_u32::<LittleEndian>(header_size)); // pixel_offset
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     try!(bmp_data.write_u32::<LittleEndian>(dib_header.header_size));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     try!(bmp_data.write_i32::<LittleEndian>(dib_header.width));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     try!(bmp_data.write_i32::<LittleEndian>(dib_header.height));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     try!(bmp_data.write_u16::<LittleEndian>(1));  // num_planes
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     try!(bmp_data.write_u16::<LittleEndian>(24)); // bits_per_pixel
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     try!(bmp_data.write_u32::<LittleEndian>(0));  // compress_type
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     try!(bmp_data.write_u32::<LittleEndian>(data_size));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     try!(bmp_data.write_i32::<LittleEndian>(dib_header.hres));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     try!(bmp_data.write_i32::<LittleEndian>(dib_header.vres));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     try!(bmp_data.write_u32::<LittleEndian>(0)); // num_colors
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 41 |     try!(bmp_data.write_u32::<LittleEndian>(0)); // num_imp_colors
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         try!(Write::write(bmp_data, padding));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |             try!(Write::write(bmp_data, &[px.b, px.g, px.r]));
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:213:9
[INFO] [stdout]     |
[INFO] [stdout] 213 |         try!(write!(f, "Image {}\n", '{'));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:214:9
[INFO] [stdout]     |
[INFO] [stdout] 214 |         try!(write!(f, "\theader: {:?},\n", self.header));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:215:9
[INFO] [stdout]     |
[INFO] [stdout] 215 |         try!(write!(f, "\tdib_header: {:?},\n", self.dib_header));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:216:9
[INFO] [stdout]     |
[INFO] [stdout] 216 |         try!(write!(f, "\tcolor_palette: {:?},\n", self.color_palette));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:217:9
[INFO] [stdout]     |
[INFO] [stdout] 217 |         try!(write!(f, "\twidth: {:?},\n", self.width));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 218 |         try!(write!(f, "\theight: {:?},\n", self.height));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:219:9
[INFO] [stdout]     |
[INFO] [stdout] 219 |         try!(write!(f, "\tpadding: {:?},\n", self.padding));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:331:9
[INFO] [stdout]     |
[INFO] [stdout] 331 |         try!(bmp_file.write(&bmp_data));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:329:24
[INFO] [stdout]     |
[INFO] [stdout] 329 |         let bmp_data = try!(encoder::encode_image(self));
[INFO] [stdout]     |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:330:28
[INFO] [stdout]     |
[INFO] [stdout] 330 |         let mut bmp_file = try!(fs::File::create(name));
[INFO] [stdout]     |                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:350:5
[INFO] [stdout]     |
[INFO] [stdout] 350 |     try!(f.read_to_end(&mut bytes));
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:349:17
[INFO] [stdout]     |
[INFO] [stdout] 349 |     let mut f = try!(fs::File::open(name));
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/decoder.rs:78:41
[INFO] [stdout]    |
[INFO] [stdout] 78 |             BmpIoError(ref e) => Error::description(e),
[INFO] [stdout]    |                                         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/decoder.rs:79:48
[INFO] [stdout]    |
[INFO] [stdout] 79 |             BmpByteorderError(ref e) => Error::description(e),
[INFO] [stdout]    |                                                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/decoder.rs:78:41
[INFO] [stdout]    |
[INFO] [stdout] 78 |             BmpIoError(ref e) => Error::description(e),
[INFO] [stdout]    |                                         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/decoder.rs:79:48
[INFO] [stdout]    |
[INFO] [stdout] 79 |             BmpByteorderError(ref e) => Error::description(e),
[INFO] [stdout]    |                                                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/decoder.rs:58:41
[INFO] [stdout]    |
[INFO] [stdout] 58 |             _ => write!(fmt, "{}", self.description())
[INFO] [stdout]    |                                         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/decoder.rs:58:41
[INFO] [stdout]    |
[INFO] [stdout] 58 |             _ => write!(fmt, "{}", self.description())
[INFO] [stdout]    |                                         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/decoder.rs:8:35
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io::{self, Cursor, Read, Write, SeekFrom, Seek};
[INFO] [stdout]   |                                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused import: `Write`
[INFO] [stdout]  --> src/decoder.rs:8:35
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io::{self, Cursor, Read, Write, SeekFrom, Seek};
[INFO] [stdout]   |                                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Version1`, `Version3`, and `Version4` are never constructed
[INFO] [stdout]   --> src/lib.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 85 | enum BmpVersion {
[INFO] [stdout]    |      ---------- variants in this enum
[INFO] [stdout] 86 |     Version1,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 87 |     Version2,
[INFO] [stdout] 88 |     Version3,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 89 |     Version3NT,
[INFO] [stdout] 90 |     Version4,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BmpVersion` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 68 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: variants `Version1`, `Version3`, and `Version4` are never constructed
[INFO] [stdout]   --> src/lib.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 85 | enum BmpVersion {
[INFO] [stdout]    |      ---------- variants in this enum
[INFO] [stdout] 86 |     Version1,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 87 |     Version2,
[INFO] [stdout] 88 |     Version3,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 89 |     Version3NT,
[INFO] [stdout] 90 |     Version4,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BmpVersion` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 68 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bmp-encoder` (lib test) due to 69 previous errors
[INFO] running `Command { std: "docker" "inspect" "d98ce0e67192fe74e442f06854a3bff4399b5884b645cdcb814e8a8522bd6435", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d98ce0e67192fe74e442f06854a3bff4399b5884b645cdcb814e8a8522bd6435", kill_on_drop: false }`
[INFO] [stdout] d98ce0e67192fe74e442f06854a3bff4399b5884b645cdcb814e8a8522bd6435
[INFO] checking bmp-encoder-0.1.4 against try#72eda894eb3548c7ba774079ce0afab42958d4ee for pr-121848-1
[INFO] extracting crate bmp-encoder 0.1.4 into /workspace/builds/worker-3-tc2/source
[INFO] validating manifest of crates.io crate bmp-encoder 0.1.4 on toolchain 72eda894eb3548c7ba774079ce0afab42958d4ee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate bmp-encoder 0.1.4
[INFO] finished tweaking crates.io crate bmp-encoder 0.1.4
[INFO] tweaked toml for crates.io crate bmp-encoder 0.1.4 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ca34d3174de243efd0be4f829f1c7fbb217762cc61880046589eb67a7d155699
[INFO] running `Command { std: "docker" "start" "-a" "ca34d3174de243efd0be4f829f1c7fbb217762cc61880046589eb67a7d155699", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ca34d3174de243efd0be4f829f1c7fbb217762cc61880046589eb67a7d155699", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ca34d3174de243efd0be4f829f1c7fbb217762cc61880046589eb67a7d155699", kill_on_drop: false }`
[INFO] [stdout] ca34d3174de243efd0be4f829f1c7fbb217762cc61880046589eb67a7d155699
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f2fdf8b7649b53749ad93b9cb5e5fe1277c5f796fc3d70f50e603f1ebd626a03
[INFO] running `Command { std: "docker" "start" "-a" "f2fdf8b7649b53749ad93b9cb5e5fe1277c5f796fc3d70f50e603f1ebd626a03", kill_on_drop: false }`
[INFO] [stderr]     Checking byteorder v0.3.13
[INFO] [stderr]     Checking bmp-encoder v0.1.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `AsRef` is imported redundantly
[INFO] [stdout]   --> src/lib.rs:36:20
[INFO] [stdout]    |
[INFO] [stdout] 36 | use std::convert::{AsRef};
[INFO] [stdout]    |                    ^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `AsRef` is already defined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]   --> src/lib.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | use std::error::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Iterator` is imported redundantly
[INFO] [stdout]   --> src/lib.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | use std::iter::Iterator;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Iterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `From` is imported redundantly
[INFO] [stdout]  --> src/decoder.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::convert::{From, AsRef};
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `From` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AsRef` is imported redundantly
[INFO] [stdout]  --> src/decoder.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::convert::{From, AsRef};
[INFO] [stdout]   |                          ^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `AsRef` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/decoder.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 86 |     try!(read_bmp_id(bmp_data));
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/decoder.rs:87:18
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let header = try!(read_bmp_header(bmp_data));
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/decoder.rs:88:22
[INFO] [stdout]    |
[INFO] [stdout] 88 |     let dib_header = try!(read_bmp_dib_header(bmp_data));
[INFO] [stdout]    |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/decoder.rs:90:25
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let color_palette = try!(read_color_palette(bmp_data, &dib_header));
[INFO] [stdout]    |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/decoder.rs:97:30
[INFO] [stdout]    |
[INFO] [stdout] 97 |         Some(ref palette) => try!(
[INFO] [stdout]    |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:101:17
[INFO] [stdout]     |
[INFO] [stdout] 101 |         None => try!(
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:121:5
[INFO] [stdout]     |
[INFO] [stdout] 121 |     try!(bmp_data.read(&mut bm));
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:132:23
[INFO] [stdout]     |
[INFO] [stdout] 132 |         file_size:    try!(bmp_data.read_u32::<LittleEndian>()),
[INFO] [stdout]     |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:133:23
[INFO] [stdout]     |
[INFO] [stdout] 133 |         creator1:     try!(bmp_data.read_u16::<LittleEndian>()),
[INFO] [stdout]     |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:134:23
[INFO] [stdout]     |
[INFO] [stdout] 134 |         creator2:     try!(bmp_data.read_u16::<LittleEndian>()),
[INFO] [stdout]     |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:135:23
[INFO] [stdout]     |
[INFO] [stdout] 135 |         pixel_offset: try!(bmp_data.read_u32::<LittleEndian>()),
[INFO] [stdout]     |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:143:25
[INFO] [stdout]     |
[INFO] [stdout] 143 |         header_size:    try!(bmp_data.read_u32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:144:25
[INFO] [stdout]     |
[INFO] [stdout] 144 |         width:          try!(bmp_data.read_i32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:145:25
[INFO] [stdout]     |
[INFO] [stdout] 145 |         height:         try!(bmp_data.read_i32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:146:25
[INFO] [stdout]     |
[INFO] [stdout] 146 |         num_planes:     try!(bmp_data.read_u16::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:147:25
[INFO] [stdout]     |
[INFO] [stdout] 147 |         bits_per_pixel: try!(bmp_data.read_u16::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:148:25
[INFO] [stdout]     |
[INFO] [stdout] 148 |         compress_type:  try!(bmp_data.read_u32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:149:25
[INFO] [stdout]     |
[INFO] [stdout] 149 |         data_size:      try!(bmp_data.read_u32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:150:25
[INFO] [stdout]     |
[INFO] [stdout] 150 |         hres:           try!(bmp_data.read_i32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 |         vres:           try!(bmp_data.read_i32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:152:25
[INFO] [stdout]     |
[INFO] [stdout] 152 |         num_colors:     try!(bmp_data.read_u32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:153:25
[INFO] [stdout]     |
[INFO] [stdout] 153 |         num_imp_colors: try!(bmp_data.read_u32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:202:9
[INFO] [stdout]     |
[INFO] [stdout] 202 |         try!(bmp_data.read(&mut px));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:233:5
[INFO] [stdout]     |
[INFO] [stdout] 233 |     try!(bmp_data.seek(SeekFrom::Start(offset as u64)));
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:242:9
[INFO] [stdout]     |
[INFO] [stdout] 242 |         try!(bmp_data.seek(SeekFrom::Current(padding)));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:238:13
[INFO] [stdout]     |
[INFO] [stdout] 238 |             try!(bmp_data.read(&mut px));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     try!(write_header(&mut bmp_data, bmp_image));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     try!(write_data(&mut bmp_data, bmp_image));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     try!(io::Write::write(bmp_data, &[B, M]));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     try!(bmp_data.write_u32::<LittleEndian>(header_size + data_size));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     try!(bmp_data.write_u16::<LittleEndian>(header.creator1));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     try!(bmp_data.write_u16::<LittleEndian>(header.creator2));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     try!(bmp_data.write_u32::<LittleEndian>(header_size)); // pixel_offset
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     try!(bmp_data.write_u32::<LittleEndian>(dib_header.header_size));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     try!(bmp_data.write_i32::<LittleEndian>(dib_header.width));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     try!(bmp_data.write_i32::<LittleEndian>(dib_header.height));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     try!(bmp_data.write_u16::<LittleEndian>(1));  // num_planes
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     try!(bmp_data.write_u16::<LittleEndian>(24)); // bits_per_pixel
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     try!(bmp_data.write_u32::<LittleEndian>(0));  // compress_type
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     try!(bmp_data.write_u32::<LittleEndian>(data_size));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     try!(bmp_data.write_i32::<LittleEndian>(dib_header.hres));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     try!(bmp_data.write_i32::<LittleEndian>(dib_header.vres));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     try!(bmp_data.write_u32::<LittleEndian>(0)); // num_colors
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 41 |     try!(bmp_data.write_u32::<LittleEndian>(0)); // num_imp_colors
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         try!(Write::write(bmp_data, padding));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |             try!(Write::write(bmp_data, &[px.b, px.g, px.r]));
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:213:9
[INFO] [stdout]     |
[INFO] [stdout] 213 |         try!(write!(f, "Image {}\n", '{'));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:214:9
[INFO] [stdout]     |
[INFO] [stdout] 214 |         try!(write!(f, "\theader: {:?},\n", self.header));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:215:9
[INFO] [stdout]     |
[INFO] [stdout] 215 |         try!(write!(f, "\tdib_header: {:?},\n", self.dib_header));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:216:9
[INFO] [stdout]     |
[INFO] [stdout] 216 |         try!(write!(f, "\tcolor_palette: {:?},\n", self.color_palette));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:217:9
[INFO] [stdout]     |
[INFO] [stdout] 217 |         try!(write!(f, "\twidth: {:?},\n", self.width));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 218 |         try!(write!(f, "\theight: {:?},\n", self.height));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:219:9
[INFO] [stdout]     |
[INFO] [stdout] 219 |         try!(write!(f, "\tpadding: {:?},\n", self.padding));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:331:9
[INFO] [stdout]     |
[INFO] [stdout] 331 |         try!(bmp_file.write(&bmp_data));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:329:24
[INFO] [stdout]     |
[INFO] [stdout] 329 |         let bmp_data = try!(encoder::encode_image(self));
[INFO] [stdout]     |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:330:28
[INFO] [stdout]     |
[INFO] [stdout] 330 |         let mut bmp_file = try!(fs::File::create(name));
[INFO] [stdout]     |                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:350:5
[INFO] [stdout]     |
[INFO] [stdout] 350 |     try!(f.read_to_end(&mut bytes));
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:349:17
[INFO] [stdout]     |
[INFO] [stdout] 349 |     let mut f = try!(fs::File::open(name));
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `AsRef` is imported redundantly
[INFO] [stdout]   --> src/lib.rs:36:20
[INFO] [stdout]    |
[INFO] [stdout] 36 | use std::convert::{AsRef};
[INFO] [stdout]    |                    ^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `AsRef` is already defined here
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/lib.rs:2:24
[INFO] [stdout]    |
[INFO] [stdout] 2  | #![cfg_attr(test, deny(warnings))]
[INFO] [stdout]    |                        ^^^^^^^^
[INFO] [stdout]    = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused import: `std::error::Error`
[INFO] [stdout]   --> src/lib.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | use std::error::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `Iterator` is imported redundantly
[INFO] [stdout]   --> src/lib.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | use std::iter::Iterator;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Iterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `From` is imported redundantly
[INFO] [stdout]  --> src/decoder.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::convert::{From, AsRef};
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `From` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `AsRef` is imported redundantly
[INFO] [stdout]  --> src/decoder.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::convert::{From, AsRef};
[INFO] [stdout]   |                          ^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `AsRef` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/decoder.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 86 |     try!(read_bmp_id(bmp_data));
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/decoder.rs:87:18
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let header = try!(read_bmp_header(bmp_data));
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/decoder.rs:88:22
[INFO] [stdout]    |
[INFO] [stdout] 88 |     let dib_header = try!(read_bmp_dib_header(bmp_data));
[INFO] [stdout]    |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/decoder.rs:90:25
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let color_palette = try!(read_color_palette(bmp_data, &dib_header));
[INFO] [stdout]    |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/decoder.rs:97:30
[INFO] [stdout]    |
[INFO] [stdout] 97 |         Some(ref palette) => try!(
[INFO] [stdout]    |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:101:17
[INFO] [stdout]     |
[INFO] [stdout] 101 |         None => try!(
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:121:5
[INFO] [stdout]     |
[INFO] [stdout] 121 |     try!(bmp_data.read(&mut bm));
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:132:23
[INFO] [stdout]     |
[INFO] [stdout] 132 |         file_size:    try!(bmp_data.read_u32::<LittleEndian>()),
[INFO] [stdout]     |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:133:23
[INFO] [stdout]     |
[INFO] [stdout] 133 |         creator1:     try!(bmp_data.read_u16::<LittleEndian>()),
[INFO] [stdout]     |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:134:23
[INFO] [stdout]     |
[INFO] [stdout] 134 |         creator2:     try!(bmp_data.read_u16::<LittleEndian>()),
[INFO] [stdout]     |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:135:23
[INFO] [stdout]     |
[INFO] [stdout] 135 |         pixel_offset: try!(bmp_data.read_u32::<LittleEndian>()),
[INFO] [stdout]     |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:143:25
[INFO] [stdout]     |
[INFO] [stdout] 143 |         header_size:    try!(bmp_data.read_u32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:144:25
[INFO] [stdout]     |
[INFO] [stdout] 144 |         width:          try!(bmp_data.read_i32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:145:25
[INFO] [stdout]     |
[INFO] [stdout] 145 |         height:         try!(bmp_data.read_i32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:146:25
[INFO] [stdout]     |
[INFO] [stdout] 146 |         num_planes:     try!(bmp_data.read_u16::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:147:25
[INFO] [stdout]     |
[INFO] [stdout] 147 |         bits_per_pixel: try!(bmp_data.read_u16::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:148:25
[INFO] [stdout]     |
[INFO] [stdout] 148 |         compress_type:  try!(bmp_data.read_u32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:149:25
[INFO] [stdout]     |
[INFO] [stdout] 149 |         data_size:      try!(bmp_data.read_u32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:150:25
[INFO] [stdout]     |
[INFO] [stdout] 150 |         hres:           try!(bmp_data.read_i32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 |         vres:           try!(bmp_data.read_i32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:152:25
[INFO] [stdout]     |
[INFO] [stdout] 152 |         num_colors:     try!(bmp_data.read_u32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:153:25
[INFO] [stdout]     |
[INFO] [stdout] 153 |         num_imp_colors: try!(bmp_data.read_u32::<LittleEndian>()),
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:202:9
[INFO] [stdout]     |
[INFO] [stdout] 202 |         try!(bmp_data.read(&mut px));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:233:5
[INFO] [stdout]     |
[INFO] [stdout] 233 |     try!(bmp_data.seek(SeekFrom::Start(offset as u64)));
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:242:9
[INFO] [stdout]     |
[INFO] [stdout] 242 |         try!(bmp_data.seek(SeekFrom::Current(padding)));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/decoder.rs:238:13
[INFO] [stdout]     |
[INFO] [stdout] 238 |             try!(bmp_data.read(&mut px));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     try!(write_header(&mut bmp_data, bmp_image));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     try!(write_data(&mut bmp_data, bmp_image));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     try!(io::Write::write(bmp_data, &[B, M]));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     try!(bmp_data.write_u32::<LittleEndian>(header_size + data_size));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     try!(bmp_data.write_u16::<LittleEndian>(header.creator1));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     try!(bmp_data.write_u16::<LittleEndian>(header.creator2));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     try!(bmp_data.write_u32::<LittleEndian>(header_size)); // pixel_offset
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     try!(bmp_data.write_u32::<LittleEndian>(dib_header.header_size));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     try!(bmp_data.write_i32::<LittleEndian>(dib_header.width));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     try!(bmp_data.write_i32::<LittleEndian>(dib_header.height));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     try!(bmp_data.write_u16::<LittleEndian>(1));  // num_planes
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     try!(bmp_data.write_u16::<LittleEndian>(24)); // bits_per_pixel
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     try!(bmp_data.write_u32::<LittleEndian>(0));  // compress_type
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     try!(bmp_data.write_u32::<LittleEndian>(data_size));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     try!(bmp_data.write_i32::<LittleEndian>(dib_header.hres));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     try!(bmp_data.write_i32::<LittleEndian>(dib_header.vres));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     try!(bmp_data.write_u32::<LittleEndian>(0)); // num_colors
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 41 |     try!(bmp_data.write_u32::<LittleEndian>(0)); // num_imp_colors
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         try!(Write::write(bmp_data, padding));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/encoder.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |             try!(Write::write(bmp_data, &[px.b, px.g, px.r]));
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:213:9
[INFO] [stdout]     |
[INFO] [stdout] 213 |         try!(write!(f, "Image {}\n", '{'));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:214:9
[INFO] [stdout]     |
[INFO] [stdout] 214 |         try!(write!(f, "\theader: {:?},\n", self.header));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:215:9
[INFO] [stdout]     |
[INFO] [stdout] 215 |         try!(write!(f, "\tdib_header: {:?},\n", self.dib_header));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:216:9
[INFO] [stdout]     |
[INFO] [stdout] 216 |         try!(write!(f, "\tcolor_palette: {:?},\n", self.color_palette));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:217:9
[INFO] [stdout]     |
[INFO] [stdout] 217 |         try!(write!(f, "\twidth: {:?},\n", self.width));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 218 |         try!(write!(f, "\theight: {:?},\n", self.height));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:219:9
[INFO] [stdout]     |
[INFO] [stdout] 219 |         try!(write!(f, "\tpadding: {:?},\n", self.padding));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:331:9
[INFO] [stdout]     |
[INFO] [stdout] 331 |         try!(bmp_file.write(&bmp_data));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:329:24
[INFO] [stdout]     |
[INFO] [stdout] 329 |         let bmp_data = try!(encoder::encode_image(self));
[INFO] [stdout]     |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:330:28
[INFO] [stdout]     |
[INFO] [stdout] 330 |         let mut bmp_file = try!(fs::File::create(name));
[INFO] [stdout]     |                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:350:5
[INFO] [stdout]     |
[INFO] [stdout] 350 |     try!(f.read_to_end(&mut bytes));
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:349:17
[INFO] [stdout]     |
[INFO] [stdout] 349 |     let mut f = try!(fs::File::open(name));
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/decoder.rs:78:41
[INFO] [stdout]    |
[INFO] [stdout] 78 |             BmpIoError(ref e) => Error::description(e),
[INFO] [stdout]    |                                         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/decoder.rs:79:48
[INFO] [stdout]    |
[INFO] [stdout] 79 |             BmpByteorderError(ref e) => Error::description(e),
[INFO] [stdout]    |                                                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/decoder.rs:78:41
[INFO] [stdout]    |
[INFO] [stdout] 78 |             BmpIoError(ref e) => Error::description(e),
[INFO] [stdout]    |                                         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/decoder.rs:79:48
[INFO] [stdout]    |
[INFO] [stdout] 79 |             BmpByteorderError(ref e) => Error::description(e),
[INFO] [stdout]    |                                                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/decoder.rs:58:41
[INFO] [stdout]    |
[INFO] [stdout] 58 |             _ => write!(fmt, "{}", self.description())
[INFO] [stdout]    |                                         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/decoder.rs:58:41
[INFO] [stdout]    |
[INFO] [stdout] 58 |             _ => write!(fmt, "{}", self.description())
[INFO] [stdout]    |                                         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/decoder.rs:8:35
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io::{self, Cursor, Read, Write, SeekFrom, Seek};
[INFO] [stdout]   |                                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused import: `Write`
[INFO] [stdout]  --> src/decoder.rs:8:35
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io::{self, Cursor, Read, Write, SeekFrom, Seek};
[INFO] [stdout]   |                                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Version1`, `Version3`, and `Version4` are never constructed
[INFO] [stdout]   --> src/lib.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 85 | enum BmpVersion {
[INFO] [stdout]    |      ---------- variants in this enum
[INFO] [stdout] 86 |     Version1,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 87 |     Version2,
[INFO] [stdout] 88 |     Version3,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 89 |     Version3NT,
[INFO] [stdout] 90 |     Version4,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BmpVersion` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 68 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: variants `Version1`, `Version3`, and `Version4` are never constructed
[INFO] [stdout]   --> src/lib.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 85 | enum BmpVersion {
[INFO] [stdout]    |      ---------- variants in this enum
[INFO] [stdout] 86 |     Version1,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 87 |     Version2,
[INFO] [stdout] 88 |     Version3,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 89 |     Version3NT,
[INFO] [stdout] 90 |     Version4,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BmpVersion` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 68 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bmp-encoder` (lib test) due to 69 previous errors
[INFO] running `Command { std: "docker" "inspect" "f2fdf8b7649b53749ad93b9cb5e5fe1277c5f796fc3d70f50e603f1ebd626a03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f2fdf8b7649b53749ad93b9cb5e5fe1277c5f796fc3d70f50e603f1ebd626a03", kill_on_drop: false }`
[INFO] [stdout] f2fdf8b7649b53749ad93b9cb5e5fe1277c5f796fc3d70f50e603f1ebd626a03
