[INFO] fetching crate imagefile 0.1.0... [INFO] testing imagefile-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate imagefile 0.1.0 into /workspace/builds/worker-6-tc1/source [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] validating manifest of crates.io crate imagefile 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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] 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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e25cb71984cb808592ecbb70c1f6e345432bccaa942a8b03a266d8eb8561e28 [INFO] running `Command { std: "docker" "start" "-a" "5e25cb71984cb808592ecbb70c1f6e345432bccaa942a8b03a266d8eb8561e28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e25cb71984cb808592ecbb70c1f6e345432bccaa942a8b03a266d8eb8561e28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e25cb71984cb808592ecbb70c1f6e345432bccaa942a8b03a266d8eb8561e28", kill_on_drop: false }` [INFO] [stdout] 5e25cb71984cb808592ecbb70c1f6e345432bccaa942a8b03a266d8eb8561e28 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 68085614dd4bd4313a34300f21d4883beb57a678a1b23f7387754991ae0d1a9c [INFO] running `Command { std: "docker" "start" "-a" "68085614dd4bd4313a34300f21d4883beb57a678a1b23f7387754991ae0d1a9c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling 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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | fn cause (&self) -> Option<&dyn Error> { [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; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "68085614dd4bd4313a34300f21d4883beb57a678a1b23f7387754991ae0d1a9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68085614dd4bd4313a34300f21d4883beb57a678a1b23f7387754991ae0d1a9c", kill_on_drop: false }` [INFO] [stdout] 68085614dd4bd4313a34300f21d4883beb57a678a1b23f7387754991ae0d1a9c