[INFO] fetching crate bmp-encoder 0.1.4... [INFO] checking bmp-encoder-0.1.4 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate bmp-encoder 0.1.4 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate bmp-encoder 0.1.4 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41d075f6ef6f63533157108fa787dac43e8aed25c7df14ca084b85342dbce290 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "41d075f6ef6f63533157108fa787dac43e8aed25c7df14ca084b85342dbce290", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41d075f6ef6f63533157108fa787dac43e8aed25c7df14ca084b85342dbce290", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41d075f6ef6f63533157108fa787dac43e8aed25c7df14ca084b85342dbce290", kill_on_drop: false }` [INFO] [stdout] 41d075f6ef6f63533157108fa787dac43e8aed25c7df14ca084b85342dbce290 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b11247ea279d94036c28d70dcc3e5b2e6625d9e0786625993fdc211c5840650 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6b11247ea279d94036c28d70dcc3e5b2e6625d9e0786625993fdc211c5840650", kill_on_drop: false }` [INFO] [stderr] Checking byteorder v0.3.13 [INFO] [stderr] Checking bmp-encoder v0.1.4 (/opt/rustwide/workdir) [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] 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: 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: 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(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::()), [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::()), [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::()), [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::()), [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::()), [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::()), [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::()), [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::()), [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::()), [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::()), [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::()), [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::()), [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::()), [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::()), [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::()), [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: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/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/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::(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::(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::(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::(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::(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::(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::(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::(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::(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::(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::(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::(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::(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::(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::(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: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/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/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: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: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:349:17 [INFO] [stdout] | [INFO] [stdout] 349 | let mut f = try!(fs::File::open(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 associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/decoder.rs:78:34 [INFO] [stdout] | [INFO] [stdout] 78 | BmpIoError(ref e) => Error::description(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/decoder.rs:79:41 [INFO] [stdout] | [INFO] [stdout] 79 | BmpByteorderError(ref e) => Error::description(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] = note: `#[warn(unused_imports)]` on by default [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::()), [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::()), [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::()), [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::()), [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::()), [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::()), [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::()), [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::()), [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::()), [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::()), [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::()), [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::()), [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::()), [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::()), [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::()), [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: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/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/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::(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::(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::(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::(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::(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::(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::(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::(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::(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::(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::(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::(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::(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::(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::(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: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/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/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: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: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: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 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 associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/decoder.rs:78:34 [INFO] [stdout] | [INFO] [stdout] 78 | BmpIoError(ref e) => Error::description(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/decoder.rs:79:41 [INFO] [stdout] | [INFO] [stdout] 79 | BmpByteorderError(ref e) => Error::description(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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] warning: variant is never constructed: `Version1` [INFO] [stdout] --> src/lib.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | Version1, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: variant is never constructed: `Version3` [INFO] [stdout] --> src/lib.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | Version3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Version4` [INFO] [stdout] --> src/lib.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | Version4, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 63 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bmp-encoder` [INFO] [stdout] warning: 66 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6b11247ea279d94036c28d70dcc3e5b2e6625d9e0786625993fdc211c5840650", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b11247ea279d94036c28d70dcc3e5b2e6625d9e0786625993fdc211c5840650", kill_on_drop: false }` [INFO] [stdout] 6b11247ea279d94036c28d70dcc3e5b2e6625d9e0786625993fdc211c5840650