[INFO] fetching crate libcgc 0.1.1... [INFO] checking libcgc-0.1.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate libcgc 0.1.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate libcgc 0.1.1 [INFO] finished tweaking crates.io crate libcgc 0.1.1 [INFO] tweaked toml for crates.io crate libcgc 0.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libcgc 0.1.1 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 libcgc 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 2563b5f337bf50a50369cf2e7e7f862955ef6264beab6fd183e99ba1ac4c8e2c [INFO] running `Command { std: "docker" "start" "-a" "2563b5f337bf50a50369cf2e7e7f862955ef6264beab6fd183e99ba1ac4c8e2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2563b5f337bf50a50369cf2e7e7f862955ef6264beab6fd183e99ba1ac4c8e2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2563b5f337bf50a50369cf2e7e7f862955ef6264beab6fd183e99ba1ac4c8e2c", kill_on_drop: false }` [INFO] [stdout] 2563b5f337bf50a50369cf2e7e7f862955ef6264beab6fd183e99ba1ac4c8e2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 96ccfb1b8434a6e8d722e09a9ed4071318ce79d46bab706360ac97b6ab4b8770 [INFO] running `Command { std: "docker" "start" "-a" "96ccfb1b8434a6e8d722e09a9ed4071318ce79d46bab706360ac97b6ab4b8770", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling rle-decode-fast v1.0.3 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling zip v2.6.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling dary_heap v0.3.7 [INFO] [stderr] Compiling cc v1.2.21 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling minisign-verify v0.2.3 [INFO] [stderr] Compiling zopfli v0.8.2 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking hybrid-array v0.2.3 [INFO] [stderr] Checking hybrid-array v0.3.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking kem v0.3.0-pre.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking ml-kem v0.3.0-pre [INFO] [stderr] Checking ml-kem v0.2.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Compiling xattr v1.5.0 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling libflate_lz77 v2.1.0 [INFO] [stderr] Checking ml-dsa v0.0.4 [INFO] [stderr] Compiling libflate v2.1.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking x-wing v0.0.1-pre.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling ureq v2.12.1 [INFO] [stderr] Compiling libsodium-sys-stable v1.22.3 [INFO] [stderr] Checking sodoken v0.1.0 [INFO] [stderr] Checking libcgc v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result<(Ciphertext, [u8; 32]), Infallible> [INFO] [stdout] --> src/crypto/asymmetric.rs:68:39 [INFO] [stdout] | [INFO] [stdout] 68 | let (ciphertext, shared_secret) = key.key.encapsulate(rng).ok()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 32], Infallible> [INFO] [stdout] --> src/crypto/asymmetric.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | let shared_secret = priv_key.key.decapsulate(&x_ciph).ok()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libcgc` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/tests.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut pair = AsymmetricKeyPair::generate(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(Ciphertext, [u8; 32]), Infallible> [INFO] [stdout] --> src/crypto/asymmetric.rs:68:39 [INFO] [stdout] | [INFO] [stdout] 68 | let (ciphertext, shared_secret) = key.key.encapsulate(rng).ok()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 32], Infallible> [INFO] [stdout] --> src/crypto/asymmetric.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | let shared_secret = priv_key.key.decapsulate(&x_ciph).ok()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libcgc` (lib test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "96ccfb1b8434a6e8d722e09a9ed4071318ce79d46bab706360ac97b6ab4b8770", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96ccfb1b8434a6e8d722e09a9ed4071318ce79d46bab706360ac97b6ab4b8770", kill_on_drop: false }` [INFO] [stdout] 96ccfb1b8434a6e8d722e09a9ed4071318ce79d46bab706360ac97b6ab4b8770