[INFO] cloning repository https://github.com/portal-co/corki [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/portal-co/corki" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fportal-co%2Fcorki", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fportal-co%2Fcorki'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f73891d900970e731e8142d9b53bed31a0ab1dfb [INFO] checking portal-co/corki against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fportal-co%2Fcorki" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/portal-co/corki [INFO] finished tweaking git repo https://github.com/portal-co/corki [INFO] tweaked toml for git repo https://github.com/portal-co/corki written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/portal-co/corki 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 git repo https://github.com/portal-co/corki 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] a31522e8f2b30dac6cacdf187e163a7ab1cc63331d2847bc153049d74b9cc7ed [INFO] running `Command { std: "docker" "start" "-a" "a31522e8f2b30dac6cacdf187e163a7ab1cc63331d2847bc153049d74b9cc7ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a31522e8f2b30dac6cacdf187e163a7ab1cc63331d2847bc153049d74b9cc7ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a31522e8f2b30dac6cacdf187e163a7ab1cc63331d2847bc153049d74b9cc7ed", kill_on_drop: false }` [INFO] [stdout] a31522e8f2b30dac6cacdf187e163a7ab1cc63331d2847bc153049d74b9cc7ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 98432d4df9d518b387a70e3d8156c85cbd867c9df5bc469cfc7e59887bec4221 [INFO] running `Command { std: "docker" "start" "-a" "98432d4df9d518b387a70e3d8156c85cbd867c9df5bc469cfc7e59887bec4221", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking kem v0.3.0-pre.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Compiling syn v2.0.106 [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 spki v0.7.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking hash-based-signature v0.1.1 [INFO] [stderr] Checking ml-kem v0.3.0-pre [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking slh-dsa v0.0.3 [INFO] [stderr] Checking x-wing v0.0.1-pre.1 [INFO] [stderr] Checking portal-solutions-corki-core v0.0.0 (/opt/rustwide/workdir/corki-core) [INFO] [stdout] warning: unused imports: `CryptoRng` and `RngCore` [INFO] [stdout] --> corki-core/src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::{CryptoRng, Rng, RngCore}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> corki-core/src/lib.rs:123:32 [INFO] [stdout] | [INFO] [stdout] 123 | Symmetric [S] => [u8;32] | (32), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 123 - Symmetric [S] => [u8;32] | (32), [INFO] [stdout] 123 + Symmetric [S] => [u8;32] | 32, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> corki-core/src/lib.rs:127:32 [INFO] [stdout] | [INFO] [stdout] 127 | Symmetric [S] => [u8;32] | (32), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 127 - Symmetric [S] => [u8;32] | (32), [INFO] [stdout] 127 + Symmetric [S] => [u8;32] | 32, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> corki-core/src/lib.rs:131:61 [INFO] [stdout] | [INFO] [stdout] 131 | ...y | (<::SkLen as typenum::Unsigned>::USIZE) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 131 - SLHDSA [s] => slh_dsa::SigningKey | (<::SkLen as typenum::Unsigned>::USIZE) [INFO] [stdout] 131 + SLHDSA [s] => slh_dsa::SigningKey | <::SkLen as typenum::Unsigned>::USIZE [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> corki-core/src/lib.rs:134:63 [INFO] [stdout] | [INFO] [stdout] 134 | ... | (<::VkLen as typenum::Unsigned>::USIZE) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 134 - SLHDSA [s] => slh_dsa::VerifyingKey | (<::VkLen as typenum::Unsigned>::USIZE) [INFO] [stdout] 134 + SLHDSA [s] => slh_dsa::VerifyingKey | <::VkLen as typenum::Unsigned>::USIZE [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CryptoRng` and `RngCore` [INFO] [stdout] --> corki-core/src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::{CryptoRng, Rng, RngCore}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> corki-core/src/lib.rs:123:32 [INFO] [stdout] | [INFO] [stdout] 123 | Symmetric [S] => [u8;32] | (32), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 123 - Symmetric [S] => [u8;32] | (32), [INFO] [stdout] 123 + Symmetric [S] => [u8;32] | 32, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> corki-core/src/lib.rs:127:32 [INFO] [stdout] | [INFO] [stdout] 127 | Symmetric [S] => [u8;32] | (32), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 127 - Symmetric [S] => [u8;32] | (32), [INFO] [stdout] 127 + Symmetric [S] => [u8;32] | 32, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> corki-core/src/lib.rs:131:61 [INFO] [stdout] | [INFO] [stdout] 131 | ...y | (<::SkLen as typenum::Unsigned>::USIZE) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 131 - SLHDSA [s] => slh_dsa::SigningKey | (<::SkLen as typenum::Unsigned>::USIZE) [INFO] [stdout] 131 + SLHDSA [s] => slh_dsa::SigningKey | <::SkLen as typenum::Unsigned>::USIZE [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> corki-core/src/lib.rs:134:63 [INFO] [stdout] | [INFO] [stdout] 134 | ... | (<::VkLen as typenum::Unsigned>::USIZE) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 134 - SLHDSA [s] => slh_dsa::VerifyingKey | (<::VkLen as typenum::Unsigned>::USIZE) [INFO] [stdout] 134 + SLHDSA [s] => slh_dsa::VerifyingKey | <::VkLen as typenum::Unsigned>::USIZE [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> corki-core/src/lib.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 110 | _ => unsafe{$crate::__::core::hint::unreachable_unchecked()} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] ... [INFO] [stdout] 122 | / key_ty!(enum EncryptionKey (EncryptionKeyKind ; JsEncryptionKey){ [INFO] [stdout] 123 | | Symmetric [S] => [u8;32] | (32), [INFO] [stdout] 124 | | XWing [X] => x_wing::EncapsulationKey | x_wing::ENCAPSULATION_KEY_SIZE [INFO] [stdout] 125 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> corki-core/src/lib.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 109 | $($name::$a{..} => $kind::$a),*, [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] 110 | _ => unsafe{$crate::__::core::hint::unreachable_unchecked()} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] ... [INFO] [stdout] 122 | / key_ty!(enum EncryptionKey (EncryptionKeyKind ; JsEncryptionKey){ [INFO] [stdout] 123 | | Symmetric [S] => [u8;32] | (32), [INFO] [stdout] 124 | | XWing [X] => x_wing::EncapsulationKey | x_wing::ENCAPSULATION_KEY_SIZE [INFO] [stdout] 125 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `key_ty` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> corki-core/src/lib.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 110 | _ => unsafe{$crate::__::core::hint::unreachable_unchecked()} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] ... [INFO] [stdout] 126 | / key_ty!(enum DecryptionKey (DecryptionKeyKind ; JsDecryptionKey){ [INFO] [stdout] 127 | | Symmetric [S] => [u8;32] | (32), [INFO] [stdout] 128 | | XWing [X] => x_wing::DecapsulationKey | x_wing::DECAPSULATION_KEY_SIZE [INFO] [stdout] 129 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> corki-core/src/lib.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 109 | $($name::$a{..} => $kind::$a),*, [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] 110 | _ => unsafe{$crate::__::core::hint::unreachable_unchecked()} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] ... [INFO] [stdout] 126 | / key_ty!(enum DecryptionKey (DecryptionKeyKind ; JsDecryptionKey){ [INFO] [stdout] 127 | | Symmetric [S] => [u8;32] | (32), [INFO] [stdout] 128 | | XWing [X] => x_wing::DecapsulationKey | x_wing::DECAPSULATION_KEY_SIZE [INFO] [stdout] 129 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `key_ty` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> corki-core/src/lib.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 109 | $($name::$a{..} => $kind::$a),*, [INFO] [stdout] | ------------- matches all the relevant values [INFO] [stdout] 110 | _ => unsafe{$crate::__::core::hint::unreachable_unchecked()} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] ... [INFO] [stdout] 130 | / key_ty!(enum SigningKey (SigningKeyKind ; JsSigningKey){ [INFO] [stdout] 131 | | SLHDSA [s] => slh_dsa::SigningKey | (<::SkLen as typenum::Unsigned>... [INFO] [stdout] 132 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `key_ty` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> corki-core/src/lib.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 109 | $($name::$a{..} => $kind::$a),*, [INFO] [stdout] | ------------- matches all the relevant values [INFO] [stdout] 110 | _ => unsafe{$crate::__::core::hint::unreachable_unchecked()} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] ... [INFO] [stdout] 133 | / key_ty!(enum VerificationKey (VerificationKeyKind ; JsVerificationKey){ [INFO] [stdout] 134 | | SLHDSA [s] => slh_dsa::VerifyingKey | (<::VkLen as typenum::Unsig... [INFO] [stdout] 135 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `key_ty` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> corki-core/src/lib.rs:189:34 [INFO] [stdout] | [INFO] [stdout] 189 | ... key: a.try_into().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<(Ciphertext, [u8; 32]), Infallible> [INFO] [stdout] --> corki-core/src/lib.rs:206:42 [INFO] [stdout] | [INFO] [stdout] 206 | Self::XWing { key } => match key.encapsulate(&mut rng).ok().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 32], Infallible> [INFO] [stdout] --> corki-core/src/lib.rs:239:22 [INFO] [stdout] | [INFO] [stdout] 239 | Some(key.decapsulate(&c).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> corki-core/src/lib.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 110 | _ => unsafe{$crate::__::core::hint::unreachable_unchecked()} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] ... [INFO] [stdout] 122 | / key_ty!(enum EncryptionKey (EncryptionKeyKind ; JsEncryptionKey){ [INFO] [stdout] 123 | | Symmetric [S] => [u8;32] | (32), [INFO] [stdout] 124 | | XWing [X] => x_wing::EncapsulationKey | x_wing::ENCAPSULATION_KEY_SIZE [INFO] [stdout] 125 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> corki-core/src/lib.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 109 | $($name::$a{..} => $kind::$a),*, [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] 110 | _ => unsafe{$crate::__::core::hint::unreachable_unchecked()} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] ... [INFO] [stdout] 122 | / key_ty!(enum EncryptionKey (EncryptionKeyKind ; JsEncryptionKey){ [INFO] [stdout] 123 | | Symmetric [S] => [u8;32] | (32), [INFO] [stdout] 124 | | XWing [X] => x_wing::EncapsulationKey | x_wing::ENCAPSULATION_KEY_SIZE [INFO] [stdout] 125 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `key_ty` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> corki-core/src/lib.rs:264:34 [INFO] [stdout] | [INFO] [stdout] 264 | ... key: a.try_into().ok()?, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, B1>, B1>, B0>, B1>, B0>, B0>, B0>, B1>, B1>, B0>, B0>, B0>, B0>, B0>>, Infallible> [INFO] [stdout] --> corki-core/src/lib.rs:358:25 [INFO] [stdout] | [INFO] [stdout] 358 | let c = hybrid_array::Array::try_from(c).ok()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, B0>, B0>, B0>, B0>, B0>, UInt, B0>, B1>, B1>, B1>, B1>>>, Infallible> [INFO] [stdout] --> corki-core/src/lib.rs:359:25 [INFO] [stdout] | [INFO] [stdout] 359 | let c = slh_dsa::Signature::try_from(&c).ok()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> corki-core/src/lib.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 110 | _ => unsafe{$crate::__::core::hint::unreachable_unchecked()} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] ... [INFO] [stdout] 126 | / key_ty!(enum DecryptionKey (DecryptionKeyKind ; JsDecryptionKey){ [INFO] [stdout] 127 | | Symmetric [S] => [u8;32] | (32), [INFO] [stdout] 128 | | XWing [X] => x_wing::DecapsulationKey | x_wing::DECAPSULATION_KEY_SIZE [INFO] [stdout] 129 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> corki-core/src/lib.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 109 | $($name::$a{..} => $kind::$a),*, [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] 110 | _ => unsafe{$crate::__::core::hint::unreachable_unchecked()} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] ... [INFO] [stdout] 126 | / key_ty!(enum DecryptionKey (DecryptionKeyKind ; JsDecryptionKey){ [INFO] [stdout] 127 | | Symmetric [S] => [u8;32] | (32), [INFO] [stdout] 128 | | XWing [X] => x_wing::DecapsulationKey | x_wing::DECAPSULATION_KEY_SIZE [INFO] [stdout] 129 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `key_ty` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> corki-core/src/lib.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 109 | $($name::$a{..} => $kind::$a),*, [INFO] [stdout] | ------------- matches all the relevant values [INFO] [stdout] 110 | _ => unsafe{$crate::__::core::hint::unreachable_unchecked()} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] ... [INFO] [stdout] 130 | / key_ty!(enum SigningKey (SigningKeyKind ; JsSigningKey){ [INFO] [stdout] 131 | | SLHDSA [s] => slh_dsa::SigningKey | (<::SkLen as typenum::Unsigned>... [INFO] [stdout] 132 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `key_ty` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> corki-core/src/lib.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 109 | $($name::$a{..} => $kind::$a),*, [INFO] [stdout] | ------------- matches all the relevant values [INFO] [stdout] 110 | _ => unsafe{$crate::__::core::hint::unreachable_unchecked()} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] ... [INFO] [stdout] 133 | / key_ty!(enum VerificationKey (VerificationKeyKind ; JsVerificationKey){ [INFO] [stdout] 134 | | SLHDSA [s] => slh_dsa::VerifyingKey | (<::VkLen as typenum::Unsig... [INFO] [stdout] 135 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `key_ty` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `portal-solutions-corki-core` (lib) due to 6 previous errors; 9 warnings emitted [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] --> corki-core/src/lib.rs:189:34 [INFO] [stdout] | [INFO] [stdout] 189 | ... key: a.try_into().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<(Ciphertext, [u8; 32]), Infallible> [INFO] [stdout] --> corki-core/src/lib.rs:206:42 [INFO] [stdout] | [INFO] [stdout] 206 | Self::XWing { key } => match key.encapsulate(&mut rng).ok().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 32], Infallible> [INFO] [stdout] --> corki-core/src/lib.rs:239:22 [INFO] [stdout] | [INFO] [stdout] 239 | Some(key.decapsulate(&c).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> corki-core/src/lib.rs:264:34 [INFO] [stdout] | [INFO] [stdout] 264 | ... key: a.try_into().ok()?, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, B1>, B1>, B0>, B1>, B0>, B0>, B0>, B1>, B1>, B0>, B0>, B0>, B0>, B0>>, Infallible> [INFO] [stdout] --> corki-core/src/lib.rs:358:25 [INFO] [stdout] | [INFO] [stdout] 358 | let c = hybrid_array::Array::try_from(c).ok()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, B0>, B0>, B0>, B0>, B0>, UInt, B0>, B1>, B1>, B1>, B1>>>, Infallible> [INFO] [stdout] --> corki-core/src/lib.rs:359:25 [INFO] [stdout] | [INFO] [stdout] 359 | let c = slh_dsa::Signature::try_from(&c).ok()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `portal-solutions-corki-core` (lib test) due to 6 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "98432d4df9d518b387a70e3d8156c85cbd867c9df5bc469cfc7e59887bec4221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98432d4df9d518b387a70e3d8156c85cbd867c9df5bc469cfc7e59887bec4221", kill_on_drop: false }` [INFO] [stdout] 98432d4df9d518b387a70e3d8156c85cbd867c9df5bc469cfc7e59887bec4221