[INFO] fetching crate xdr 0.1.0... [INFO] checking xdr-0.1.0 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate xdr 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate xdr 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 xdr 0.1.0 [INFO] finished tweaking crates.io crate xdr 0.1.0 [INFO] tweaked toml for crates.io crate xdr 0.1.0 written to /workspace/builds/worker-0-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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 9d9bad4fa5d6aebe51f81446389c9f6683a6c9fe5f275091f6b3641cd5026a27 [INFO] running `Command { std: "docker" "start" "-a" "9d9bad4fa5d6aebe51f81446389c9f6683a6c9fe5f275091f6b3641cd5026a27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d9bad4fa5d6aebe51f81446389c9f6683a6c9fe5f275091f6b3641cd5026a27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d9bad4fa5d6aebe51f81446389c9f6683a6c9fe5f275091f6b3641cd5026a27", kill_on_drop: false }` [INFO] [stdout] 9d9bad4fa5d6aebe51f81446389c9f6683a6c9fe5f275091f6b3641cd5026a27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 9cbe7b22f70fe7d01bc01975513fd8ac5c04538155ed0908f293e5b3d534536f [INFO] running `Command { std: "docker" "start" "-a" "9cbe7b22f70fe7d01bc01975513fd8ac5c04538155ed0908f293e5b3d534536f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking xdr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `byteorder` [INFO] [stdout] --> src/xdr.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | Io(byteorder::Error), [INFO] [stdout] | ^^^^^ not found in `byteorder` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::error::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::io::Error; [INFO] [stdout] | [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 16 - Io(byteorder::Error), [INFO] [stdout] 16 + Io(Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `byteorder` [INFO] [stdout] --> src/xdr.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | impl From for Error { [INFO] [stdout] | ^^^^^ not found in `byteorder` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::error::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::io::Error; [INFO] [stdout] | [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 21 - impl From for Error { [INFO] [stdout] 21 + impl From for Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `byteorder` [INFO] [stdout] --> src/xdr.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | fn from(err: byteorder::Error) -> Error { Error::Io(err) } [INFO] [stdout] | ^^^^^ not found in `byteorder` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::error::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::io::Error; [INFO] [stdout] | [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 22 - fn from(err: byteorder::Error) -> Error { Error::Io(err) } [INFO] [stdout] 22 + fn from(err: Error) -> Error { Error::Io(err) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `byteorder` [INFO] [stdout] --> src/xdr.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | impl From for byteorder::Error { [INFO] [stdout] | ^^^^^ not found in `byteorder` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::error::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::io::Error; [INFO] [stdout] | [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 25 - impl From for byteorder::Error { [INFO] [stdout] 25 + impl From for Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `byteorder` [INFO] [stdout] --> src/xdr.rs:26:36 [INFO] [stdout] | [INFO] [stdout] 26 | fn from(err: Error) -> byteorder::Error { [INFO] [stdout] | ^^^^^ not found in `byteorder` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::error::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::io::Error; [INFO] [stdout] | [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 26 - fn from(err: Error) -> byteorder::Error { [INFO] [stdout] 26 + fn from(err: Error) -> Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Error` in `byteorder` [INFO] [stdout] --> src/xdr.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | Error::InvalidValue => byteorder::Error::Io(io::Error::new(io::ErrorKind::Other, "Invalid value")), [INFO] [stdout] | ^^^^^ could not find `Error` in `byteorder` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::error::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::io::Error; [INFO] [stdout] | [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 29 - Error::InvalidValue => byteorder::Error::Io(io::Error::new(io::ErrorKind::Other, "Invalid value")), [INFO] [stdout] 29 + Error::InvalidValue => Error::Io(io::Error::new(io::ErrorKind::Other, "Invalid value")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Error` in `byteorder` [INFO] [stdout] --> src/xdr.rs:30:37 [INFO] [stdout] | [INFO] [stdout] 30 | Error::InvalidType => byteorder::Error::Io(io::Error::new(io::ErrorKind::Other, "Invalid type")), [INFO] [stdout] | ^^^^^ could not find `Error` in `byteorder` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::error::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::io::Error; [INFO] [stdout] | [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 30 - Error::InvalidType => byteorder::Error::Io(io::Error::new(io::ErrorKind::Other, "Invalid type")), [INFO] [stdout] 30 + Error::InvalidType => Error::Io(io::Error::new(io::ErrorKind::Other, "Invalid type")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `byteorder` [INFO] [stdout] --> src/xdr.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | Io(byteorder::Error), [INFO] [stdout] | ^^^^^ not found in `byteorder` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::error::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::io::Error; [INFO] [stdout] | [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 16 - Io(byteorder::Error), [INFO] [stdout] 16 + Io(Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `byteorder` [INFO] [stdout] --> src/xdr.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | impl From for Error { [INFO] [stdout] | ^^^^^ not found in `byteorder` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::error::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::io::Error; [INFO] [stdout] | [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 21 - impl From for Error { [INFO] [stdout] 21 + impl From for Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `byteorder` [INFO] [stdout] --> src/xdr.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | fn from(err: byteorder::Error) -> Error { Error::Io(err) } [INFO] [stdout] | ^^^^^ not found in `byteorder` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::error::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::io::Error; [INFO] [stdout] | [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 22 - fn from(err: byteorder::Error) -> Error { Error::Io(err) } [INFO] [stdout] 22 + fn from(err: Error) -> Error { Error::Io(err) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `byteorder` [INFO] [stdout] --> src/xdr.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | impl From for byteorder::Error { [INFO] [stdout] | ^^^^^ not found in `byteorder` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::error::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::io::Error; [INFO] [stdout] | [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 25 - impl From for byteorder::Error { [INFO] [stdout] 25 + impl From for Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `byteorder` [INFO] [stdout] --> src/xdr.rs:26:36 [INFO] [stdout] | [INFO] [stdout] 26 | fn from(err: Error) -> byteorder::Error { [INFO] [stdout] | ^^^^^ not found in `byteorder` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::error::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::io::Error; [INFO] [stdout] | [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 26 - fn from(err: Error) -> byteorder::Error { [INFO] [stdout] 26 + fn from(err: Error) -> Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Error` in `byteorder` [INFO] [stdout] --> src/xdr.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | Error::InvalidValue => byteorder::Error::Io(io::Error::new(io::ErrorKind::Other, "Invalid value")), [INFO] [stdout] | ^^^^^ could not find `Error` in `byteorder` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::error::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::io::Error; [INFO] [stdout] | [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 29 - Error::InvalidValue => byteorder::Error::Io(io::Error::new(io::ErrorKind::Other, "Invalid value")), [INFO] [stdout] 29 + Error::InvalidValue => Error::Io(io::Error::new(io::ErrorKind::Other, "Invalid value")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Error` in `byteorder` [INFO] [stdout] --> src/xdr.rs:30:37 [INFO] [stdout] | [INFO] [stdout] 30 | Error::InvalidType => byteorder::Error::Io(io::Error::new(io::ErrorKind::Other, "Invalid type")), [INFO] [stdout] | ^^^^^ could not find `Error` in `byteorder` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::error::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use xdr::io::Error; [INFO] [stdout] | [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 30 - Error::InvalidType => byteorder::Error::Io(io::Error::new(io::ErrorKind::Other, "Invalid type")), [INFO] [stdout] 30 + Error::InvalidType => Error::Io(io::Error::new(io::ErrorKind::Other, "Invalid type")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/xdr.rs:182:41 [INFO] [stdout] | [INFO] [stdout] 182 | fn read_from_xdr(x: &mut XdrReader) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] note: required by an implicit `Sized` bound in `Result` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/result.rs:528:1 [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 182 | fn read_from_xdr(x: &mut XdrReader) -> Result where Self: Sized; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/xdr.rs:182:41 [INFO] [stdout] | [INFO] [stdout] 182 | fn read_from_xdr(x: &mut XdrReader) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] note: required by an implicit `Sized` bound in `Result` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/result.rs:528:1 [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 182 | fn read_from_xdr(x: &mut XdrReader) -> Result where Self: Sized; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xdr` (lib) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xdr` (lib test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "9cbe7b22f70fe7d01bc01975513fd8ac5c04538155ed0908f293e5b3d534536f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cbe7b22f70fe7d01bc01975513fd8ac5c04538155ed0908f293e5b3d534536f", kill_on_drop: false }` [INFO] [stdout] 9cbe7b22f70fe7d01bc01975513fd8ac5c04538155ed0908f293e5b3d534536f