[INFO] fetching crate imagefile 0.1.0... [INFO] checking imagefile-0.1.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate imagefile 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate imagefile 0.1.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate imagefile 0.1.0 [INFO] finished tweaking crates.io crate imagefile 0.1.0 [INFO] tweaked toml for crates.io crate imagefile 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42be5c972339cdee8c8dbf2a349d376b7faa127e890f9691580f4892350feab3 [INFO] running `Command { std: "docker" "start" "-a" "42be5c972339cdee8c8dbf2a349d376b7faa127e890f9691580f4892350feab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42be5c972339cdee8c8dbf2a349d376b7faa127e890f9691580f4892350feab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42be5c972339cdee8c8dbf2a349d376b7faa127e890f9691580f4892350feab3", kill_on_drop: false }` [INFO] [stdout] 42be5c972339cdee8c8dbf2a349d376b7faa127e890f9691580f4892350feab3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f62a278b07e1412ecddb3a176988f210dc7ebfef16eb5d5f181a17b115597f15 [INFO] running `Command { std: "docker" "start" "-a" "f62a278b07e1412ecddb3a176988f210dc7ebfef16eb5d5f181a17b115597f15", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking imagefile v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0532]: expected tuple struct or tuple variant, found unit variant `ImgfileError::NotEnoughData` [INFO] [stdout] --> src/lib.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 23 | NotEnoughData, [INFO] [stdout] | ------------- `ImgfileError::NotEnoughData` defined here [INFO] [stdout] ... [INFO] [stdout] 59 | ImgfileError::NotEnoughData(..) => &"Not enough data", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use this syntax instead: `ImgfileError::NotEnoughData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `byteorder` [INFO] [stdout] --> src/lib.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 79 | impl From for ImgfileError { [INFO] [stdout] | ^^^^^ not found in `byteorder` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 9 + use fmt::Error; [INFO] [stdout] | [INFO] [stdout] 9 + use io::Error; [INFO] [stdout] | [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 79 - impl From for ImgfileError { [INFO] [stdout] 79 + impl From for ImgfileError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `byteorder` [INFO] [stdout] --> src/lib.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | fn from(err: byteorder::Error) -> ImgfileError { [INFO] [stdout] | ^^^^^ not found in `byteorder` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 9 + use fmt::Error; [INFO] [stdout] | [INFO] [stdout] 9 + use io::Error; [INFO] [stdout] | [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 80 - fn from(err: byteorder::Error) -> ImgfileError { [INFO] [stdout] 80 + fn from(err: Error) -> ImgfileError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Error` in `byteorder` [INFO] [stdout] --> src/lib.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 82 | byteorder::Error::UnexpectedEOF => ImgfileError::ImageEnd, [INFO] [stdout] | ^^^^^ could not find `Error` in `byteorder` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 9 + use fmt::Error; [INFO] [stdout] | [INFO] [stdout] 9 + use io::Error; [INFO] [stdout] | [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 82 - byteorder::Error::UnexpectedEOF => ImgfileError::ImageEnd, [INFO] [stdout] 82 + Error::UnexpectedEOF => ImgfileError::ImageEnd, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Error` in `byteorder` [INFO] [stdout] --> src/lib.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | byteorder::Error::Io(err) => ImgfileError::IoError(err), [INFO] [stdout] | ^^^^^ could not find `Error` in `byteorder` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 9 + use fmt::Error; [INFO] [stdout] | [INFO] [stdout] 9 + use io::Error; [INFO] [stdout] | [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 83 - byteorder::Error::Io(err) => ImgfileError::IoError(err), [INFO] [stdout] 83 + Error::Io(err) => ImgfileError::IoError(err), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decoder.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | try!(r.seek(SeekFrom::Start(0))); [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:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | try!(r.read_exact(head)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decoder.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | try!(self.r.seek(SeekFrom::Start(offset))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decoder.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | try!(self.r.read_exact(&mut buf[..row_len])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decoder.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | try!(self.r.seek(SeekFrom::Start(HEADER_LEN))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decoder.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | try!(self.r.read_exact(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | try!(w.write_all("imagefile".as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | try!(w.write_u32::(width)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | try!(w.write_u32::(height)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | try!(w.write_all(data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `read_exact` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(read_exact)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:65:33 [INFO] [stdout] | [INFO] [stdout] 65 | fn cause (&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | fn cause (&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected tuple struct or tuple variant, found unit variant `ImgfileError::NotEnoughData` [INFO] [stdout] --> src/lib.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 23 | NotEnoughData, [INFO] [stdout] | ------------- `ImgfileError::NotEnoughData` defined here [INFO] [stdout] ... [INFO] [stdout] 59 | ImgfileError::NotEnoughData(..) => &"Not enough data", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use this syntax instead: `ImgfileError::NotEnoughData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `byteorder` [INFO] [stdout] --> src/lib.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 79 | impl From for ImgfileError { [INFO] [stdout] | ^^^^^ not found in `byteorder` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 9 + use fmt::Error; [INFO] [stdout] | [INFO] [stdout] 9 + use io::Error; [INFO] [stdout] | [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 79 - impl From for ImgfileError { [INFO] [stdout] 79 + impl From for ImgfileError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `byteorder` [INFO] [stdout] --> src/lib.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | fn from(err: byteorder::Error) -> ImgfileError { [INFO] [stdout] | ^^^^^ not found in `byteorder` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 9 + use fmt::Error; [INFO] [stdout] | [INFO] [stdout] 9 + use io::Error; [INFO] [stdout] | [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 80 - fn from(err: byteorder::Error) -> ImgfileError { [INFO] [stdout] 80 + fn from(err: Error) -> ImgfileError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Error` in `byteorder` [INFO] [stdout] --> src/lib.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 82 | byteorder::Error::UnexpectedEOF => ImgfileError::ImageEnd, [INFO] [stdout] | ^^^^^ could not find `Error` in `byteorder` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 9 + use fmt::Error; [INFO] [stdout] | [INFO] [stdout] 9 + use io::Error; [INFO] [stdout] | [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 82 - byteorder::Error::UnexpectedEOF => ImgfileError::ImageEnd, [INFO] [stdout] 82 + Error::UnexpectedEOF => ImgfileError::ImageEnd, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Error` in `byteorder` [INFO] [stdout] --> src/lib.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | byteorder::Error::Io(err) => ImgfileError::IoError(err), [INFO] [stdout] | ^^^^^ could not find `Error` in `byteorder` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 9 + use fmt::Error; [INFO] [stdout] | [INFO] [stdout] 9 + use io::Error; [INFO] [stdout] | [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 83 - byteorder::Error::Io(err) => ImgfileError::IoError(err), [INFO] [stdout] 83 + Error::Io(err) => ImgfileError::IoError(err), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decoder.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | try!(r.seek(SeekFrom::Start(0))); [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:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | try!(r.read_exact(head)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decoder.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | try!(self.r.seek(SeekFrom::Start(offset))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decoder.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | try!(self.r.read_exact(&mut buf[..row_len])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decoder.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | try!(self.r.seek(SeekFrom::Start(HEADER_LEN))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decoder.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | try!(self.r.read_exact(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | try!(w.write_all("imagefile".as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | try!(w.write_u32::(width)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | try!(w.write_u32::(height)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | try!(w.write_all(data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `read_exact` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(read_exact)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:65:33 [INFO] [stdout] | [INFO] [stdout] 65 | fn cause (&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | fn cause (&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0532. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `imagefile` (lib) due to 6 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no variant or associated item named `UnexpectedEOF` found for enum `ErrorKind` in the current scope [INFO] [stdout] --> src/decoder.rs:104:43 [INFO] [stdout] | [INFO] [stdout] 104 | if e.kind() == ErrorKind::UnexpectedEOF { [INFO] [stdout] | ^^^^^^^^^^^^^ variant or associated item not found in `ErrorKind` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 104 | if e.kind() == ErrorKind::UnexpectedEof { [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `UnexpectedEOF` found for enum `ErrorKind` in the current scope [INFO] [stdout] --> src/decoder.rs:122:43 [INFO] [stdout] | [INFO] [stdout] 122 | if e.kind() == ErrorKind::UnexpectedEOF { [INFO] [stdout] | ^^^^^^^^^^^^^ variant or associated item not found in `ErrorKind` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 122 | if e.kind() == ErrorKind::UnexpectedEof { [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0532, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `imagefile` (lib test) due to 8 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f62a278b07e1412ecddb3a176988f210dc7ebfef16eb5d5f181a17b115597f15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f62a278b07e1412ecddb3a176988f210dc7ebfef16eb5d5f181a17b115597f15", kill_on_drop: false }` [INFO] [stdout] f62a278b07e1412ecddb3a176988f210dc7ebfef16eb5d5f181a17b115597f15