[INFO] fetching crate cargo-lock-fetch 0.2.0... [INFO] checking cargo-lock-fetch-0.2.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate cargo-lock-fetch 0.2.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate cargo-lock-fetch 0.2.0 [INFO] finished tweaking crates.io crate cargo-lock-fetch 0.2.0 [INFO] tweaked toml for crates.io crate cargo-lock-fetch 0.2.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cargo-lock-fetch 0.2.0 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cargo-lock-fetch 0.2.0 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b93c9acce1e2d918f32cfee517ef0a3f7593d57909771e8374434a2de1a00c7 [INFO] running `Command { std: "docker" "start" "-a" "3b93c9acce1e2d918f32cfee517ef0a3f7593d57909771e8374434a2de1a00c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b93c9acce1e2d918f32cfee517ef0a3f7593d57909771e8374434a2de1a00c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b93c9acce1e2d918f32cfee517ef0a3f7593d57909771e8374434a2de1a00c7", kill_on_drop: false }` [INFO] [stdout] 3b93c9acce1e2d918f32cfee517ef0a3f7593d57909771e8374434a2de1a00c7 [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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3251fed56714fdb3254b69c0502730dcdd79772603e01f0b7b8a5619afa0675c [INFO] running `Command { std: "docker" "start" "-a" "3251fed56714fdb3254b69c0502730dcdd79772603e01f0b7b8a5619afa0675c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Checking winnow v0.7.12 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Compiling tz-rs v0.7.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Compiling tzdb_data v0.2.2 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling is_debug v1.1.0 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_builder v4.5.41 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling libgit2-sys v0.18.2+1.9.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling tzdb v0.7.2 [INFO] [stderr] Checking toml_parser v1.0.1 [INFO] [stderr] Checking toml_writer v1.0.2 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking toml_datetime v0.7.0 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking toml_edit v0.23.2 [INFO] [stderr] Checking temp-dir v0.1.16 [INFO] [stderr] Checking unwrap-infallible v0.1.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Checking clap v4.5.41 [INFO] [stderr] Checking clap-cargo v0.16.0 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking serde_fmt v1.0.3 [INFO] [stderr] Checking erased-serde v0.4.6 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking value-bag-serde1 v1.11.1 [INFO] [stderr] Checking value-bag v1.11.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking cargo-lock v10.1.0 [INFO] [stderr] Compiling git2 v0.20.2 [INFO] [stderr] Checking shadow-rs v1.2.1 [INFO] [stderr] Compiling cargo-lock-fetch v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cargo_lock_fetch.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | Box::new(PathBuf::from_str(dir).unwrap_infallible()) as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-lock-fetch` (bin "cargo-lock-fetch") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cargo_lock_fetch.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | Box::new(PathBuf::from_str(dir).unwrap_infallible()) as _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-lock-fetch` (bin "cargo-lock-fetch" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "3251fed56714fdb3254b69c0502730dcdd79772603e01f0b7b8a5619afa0675c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3251fed56714fdb3254b69c0502730dcdd79772603e01f0b7b8a5619afa0675c", kill_on_drop: false }` [INFO] [stdout] 3251fed56714fdb3254b69c0502730dcdd79772603e01f0b7b8a5619afa0675c