[INFO] fetching crate xdr 0.1.0...
[INFO] testing xdr-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8
[INFO] extracting crate xdr 0.1.0 into /workspace/builds/worker-0-tc1/source
[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] validating manifest of crates.io crate xdr 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded byteorder v1.5.0
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d60ff207187ce17e7f8a15f82fc3bc284b3785327906317b6621846e46ce6176
[INFO] running `Command { std: "docker" "start" "-a" "d60ff207187ce17e7f8a15f82fc3bc284b3785327906317b6621846e46ce6176", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d60ff207187ce17e7f8a15f82fc3bc284b3785327906317b6621846e46ce6176", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d60ff207187ce17e7f8a15f82fc3bc284b3785327906317b6621846e46ce6176", kill_on_drop: false }`
[INFO] [stdout] d60ff207187ce17e7f8a15f82fc3bc284b3785327906317b6621846e46ce6176
[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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9952cbb8c2ca8ec832dd1736a0d0ad00de83cfc7779758af201582d566d16027
[INFO] running `Command { std: "docker" "start" "-a" "9952cbb8c2ca8ec832dd1736a0d0ad00de83cfc7779758af201582d566d16027", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling 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<byteorder::Error> 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<byteorder::Error> for Error {
[INFO] [stdout] 21 + impl From<Error> 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<Error> 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<Error> for byteorder::Error {
[INFO] [stdout] 25 + impl From<Error> 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] warning: unused import: `BigEndian`
[INFO] [stdout]   --> src/xdr.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | use byteorder::{BigEndian,ReadBytesExt,WriteBytesExt};
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/xdr.rs:157:13
[INFO] [stdout]     |
[INFO] [stdout] 157 |         let len = try!(self.unpack::<u32>()) as usize;
[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/xdr.rs:188:15
[INFO] [stdout]     |
[INFO] [stdout] 188 |         let count = try!(x.unpack::<u32>()) as usize;
[INFO] [stdout]     |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/xdr.rs:216:13
[INFO] [stdout]     |
[INFO] [stdout] 216 |         let len = try!(x.unpack::<u32>()) as usize;
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/xdr.rs:218:15
[INFO] [stdout]     |
[INFO] [stdout] 218 |         let bytes = try!(x.unpack_opaque_fixed_len(len));
[INFO] [stdout]     |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/xdr.rs:221:4
[INFO] [stdout]     |
[INFO] [stdout] 221 |             try!(x.unpack_opaque_fixed_len(pad));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/xdr.rs:50:40
[INFO] [stdout]    |
[INFO] [stdout] 50 |             Error::Io(ref err) => error::Error::description(err),
[INFO] [stdout]    |                                                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/xdr.rs:54:29
[INFO] [stdout]    |
[INFO] [stdout] 54 |     fn cause(&self) -> Option<&error::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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 54 |     fn cause(&self) -> Option<&dyn error::Error> {
[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<Self, Error>;
[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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/result.rs:557:0
[INFO] [stdout] help: consider further restricting `Self`
[INFO] [stdout]     |
[INFO] [stdout] 182 |     fn read_from_xdr(x: &mut XdrReader) -> Result<Self, Error> 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; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "9952cbb8c2ca8ec832dd1736a0d0ad00de83cfc7779758af201582d566d16027", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9952cbb8c2ca8ec832dd1736a0d0ad00de83cfc7779758af201582d566d16027", kill_on_drop: false }`
[INFO] [stdout] 9952cbb8c2ca8ec832dd1736a0d0ad00de83cfc7779758af201582d566d16027
