[INFO] fetching crate loadsmith 0.1.1... [INFO] testing loadsmith-0.1.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate loadsmith 0.1.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate loadsmith 0.1.1 [INFO] finished tweaking crates.io crate loadsmith 0.1.1 [INFO] tweaked toml for crates.io crate loadsmith 0.1.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate loadsmith 0.1.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate loadsmith 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39cea3a31a654c6fe9e4020aef0e82ee4f6de1111f3eb70fa6468172ee6cc799 [INFO] running `Command { std: "docker" "start" "-a" "39cea3a31a654c6fe9e4020aef0e82ee4f6de1111f3eb70fa6468172ee6cc799", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39cea3a31a654c6fe9e4020aef0e82ee4f6de1111f3eb70fa6468172ee6cc799", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39cea3a31a654c6fe9e4020aef0e82ee4f6de1111f3eb70fa6468172ee6cc799", kill_on_drop: false }` [INFO] [stdout] 39cea3a31a654c6fe9e4020aef0e82ee4f6de1111f3eb70fa6468172ee6cc799 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32e08f6236bc8681f8582f41f05814f8a0491b8d7cafc99553e63839be11c5f1 [INFO] running `Command { std: "docker" "start" "-a" "32e08f6236bc8681f8582f41f05814f8a0491b8d7cafc99553e63839be11c5f1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling zlib-rs v0.5.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling libbz2-rs-sys v0.2.2 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling zopfli v0.8.2 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling bzip2 v0.6.0 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling lzma-rust2 v0.13.0 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling ppmd-rust v1.2.1 [INFO] [stderr] Compiling deflate64 v0.1.9 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling glob-match v0.2.1 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling libz-rs-sys v0.5.2 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling zip v5.1.1 [INFO] [stderr] Compiling loadsmith v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0107]: missing generics for struct `ZipFile` [INFO] [stdout] --> src/util.rs:83:36 [INFO] [stdout] | [INFO] [stdout] 83 | fn set_unix_mode(file: &zip::read::ZipFile, target_path: &Path) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `R` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zip-5.1.1/src/read.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | pub struct ZipFile<'a, R: Read> { [INFO] [stdout] | ^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 83 | fn set_unix_mode(file: &zip::read::ZipFile, target_path: &Path) -> io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::Error` [INFO] [stdout] --> src/util.rs:76:50 [INFO] [stdout] | [INFO] [stdout] 41 | ) -> Result<()> [INFO] [stdout] | ---------- expected `error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 76 | set_unix_mode(&source_file, &target_path)?; [INFO] [stdout] | -----------------------------------------^ the trait `From` is not implemented for `error::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, std::io::Error>` [INFO] [stdout] | [INFO] [stdout] note: `error::Error` needs to implement `From` [INFO] [stdout] --> src/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] help: the following other types implement trait `From` [INFO] [stdout] --> src/error.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | Walkdir(#[from] walkdir::Error), [INFO] [stdout] | ^^^^^^^ `error::Error` implements `From` [INFO] [stdout] ... [INFO] [stdout] 23 | Zip(#[from] zip::result::ZipError), [INFO] [stdout] | ^^^^^^^ `error::Error` implements `From` [INFO] [stdout] ... [INFO] [stdout] 26 | Json(#[from] serde_json::Error), [INFO] [stdout] | ^^^^^^^ `error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `loadsmith` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "32e08f6236bc8681f8582f41f05814f8a0491b8d7cafc99553e63839be11c5f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32e08f6236bc8681f8582f41f05814f8a0491b8d7cafc99553e63839be11c5f1", kill_on_drop: false }` [INFO] [stdout] 32e08f6236bc8681f8582f41f05814f8a0491b8d7cafc99553e63839be11c5f1