[INFO] fetching crate imagefile 0.1.0... [INFO] checking imagefile-0.1.0 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate imagefile 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate imagefile 0.1.0 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] afe7abdbe0a2699db336c9ecb63e355359309fae4f6b0f7df2a73a168da1f98e [INFO] running `Command { std: "docker" "start" "-a" "afe7abdbe0a2699db336c9ecb63e355359309fae4f6b0f7df2a73a168da1f98e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afe7abdbe0a2699db336c9ecb63e355359309fae4f6b0f7df2a73a168da1f98e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afe7abdbe0a2699db336c9ecb63e355359309fae4f6b0f7df2a73a168da1f98e", kill_on_drop: false }` [INFO] [stdout] afe7abdbe0a2699db336c9ecb63e355359309fae4f6b0f7df2a73a168da1f98e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f14964350e5161b1387ee3f15b828e54dc7c0a6d28e7bd98bbf820c6fa55fd51 [INFO] running `Command { std: "docker" "start" "-a" "f14964350e5161b1387ee3f15b828e54dc7c0a6d28e7bd98bbf820c6fa55fd51", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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[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[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[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[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: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] 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] 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 5 previous errors [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] 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 7 previous errors [INFO] running `Command { std: "docker" "inspect" "f14964350e5161b1387ee3f15b828e54dc7c0a6d28e7bd98bbf820c6fa55fd51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f14964350e5161b1387ee3f15b828e54dc7c0a6d28e7bd98bbf820c6fa55fd51", kill_on_drop: false }` [INFO] [stdout] f14964350e5161b1387ee3f15b828e54dc7c0a6d28e7bd98bbf820c6fa55fd51