[INFO] cloning repository https://github.com/jmwample/kemeleon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jmwample/kemeleon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmwample%2Fkemeleon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmwample%2Fkemeleon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb139f862766bab387efbf9d5ffe3200d3f3f4e7 [INFO] checking jmwample/kemeleon/cb139f862766bab387efbf9d5ffe3200d3f3f4e7 against master#61cc47e367d7be91e13bcd01e4e96e0e233d4f6d for pr-133502-21 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmwample%2Fkemeleon" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jmwample/kemeleon [INFO] finished tweaking git repo https://github.com/jmwample/kemeleon [INFO] tweaked toml for git repo https://github.com/jmwample/kemeleon written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jmwample/kemeleon on toolchain 61cc47e367d7be91e13bcd01e4e96e0e233d4f6d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61cc47e367d7be91e13bcd01e4e96e0e233d4f6d" "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" "+61cc47e367d7be91e13bcd01e4e96e0e233d4f6d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/jmwample/KEMs.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 46 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding hex-literal v0.4.1 (available: v1.1.0) [INFO] [stderr] Adding hybrid-array v0.2.3 (available: v0.4.7) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rand_core v0.6.4 (available: v0.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61cc47e367d7be91e13bcd01e4e96e0e233d4f6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hybrid-array v0.2.3 [INFO] [stderr] Downloaded kem v0.3.0-rc.6 [INFO] [stderr] Downloaded generic-array v1.3.5 [INFO] [stderr] Downloaded hybrid-array v0.4.7 [INFO] [stderr] Downloaded crypto-common v0.2.0 [INFO] [stderr] Downloaded rand_core v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+61cc47e367d7be91e13bcd01e4e96e0e233d4f6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 333b55373b65d1e98ef1c971e127e7bb5527badafd928e1a6bbdb0e1344011b5 [INFO] running `Command { std: "docker" "start" "-a" "333b55373b65d1e98ef1c971e127e7bb5527badafd928e1a6bbdb0e1344011b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "333b55373b65d1e98ef1c971e127e7bb5527badafd928e1a6bbdb0e1344011b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "333b55373b65d1e98ef1c971e127e7bb5527badafd928e1a6bbdb0e1344011b5", kill_on_drop: false }` [INFO] [stdout] 333b55373b65d1e98ef1c971e127e7bb5527badafd928e1a6bbdb0e1344011b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+61cc47e367d7be91e13bcd01e4e96e0e233d4f6d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b29dfe8bb7b26a50a74b9f68f6fe39a65d61ffb8a2e29fa5648d83e07a438da4 [INFO] running `Command { std: "docker" "start" "-a" "b29dfe8bb7b26a50a74b9f68f6fe39a65d61ffb8a2e29fa5648d83e07a438da4", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Checking rand_core v0.10.0 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking hybrid-array v0.4.7 [INFO] [stderr] Checking hybrid-array v0.2.3 [INFO] [stderr] Checking generic-array v1.3.5 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crypto-common v0.2.0 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking kem v0.3.0-rc.6 [INFO] [stderr] Checking ml-kem v0.3.0-pre (https://github.com/jmwample/KEMs.git?branch=params#af50988e) [INFO] [stdout] error[E0437]: type `Error` is not a member of trait `kem::Decapsulate` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/kem.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | type Error = Infallible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `kem::Decapsulate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Error` is not a member of trait `kem::Encapsulate` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/kem.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | type Error = Infallible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `kem::Encapsulate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `encapsulate` is not a member of trait `kem::Encapsulate` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/kem.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | / fn encapsulate( [INFO] [stdout] 199 | | &self, [INFO] [stdout] 200 | | rng: &mut impl CryptoRngCore, [INFO] [stdout] 201 | | ) -> Result<(EncodedCiphertext

, SharedKey), Self::Error> { [INFO] [stdout] 202 | | let m: B32 = rand(rng); [INFO] [stdout] 203 | | Ok(self.encapsulate_deterministic_inner(&m)) [INFO] [stdout] 204 | | } [INFO] [stdout] | |_____^ not a member of trait `kem::Encapsulate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 2 generic arguments were supplied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/kem.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 90 | impl

::kem::Decapsulate, SharedKey> for DecapsulationKey

[INFO] [stdout] | ^^^^^^^^^^^--------------------------------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/kem-0.3.0-rc.6/src/lib.rs:124:11 [INFO] [stdout] | [INFO] [stdout] 124 | pub trait Decapsulate: TryDecapsulate { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 2 generic arguments were supplied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/kem.rs:192:16 [INFO] [stdout] | [INFO] [stdout] 192 | impl

::kem::Encapsulate, SharedKey> for EncapsulationKey

[INFO] [stdout] | ^^^^^^^^^^^--------------------------------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/kem-0.3.0-rc.6/src/lib.rs:182:11 [INFO] [stdout] | [INFO] [stdout] 182 | pub trait Encapsulate: TryKeyInit + KeyExport { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `Self` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/kem.rs:201:58 [INFO] [stdout] | [INFO] [stdout] 201 | ) -> Result<(EncodedCiphertext

, SharedKey), Self::Error> { [INFO] [stdout] | ^^^^^ associated type `Error` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `decapsulate` has an incompatible type for trait [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/kem.rs:98:27 [INFO] [stdout] | [INFO] [stdout] 98 | encapsulated_key: &EncodedCiphertext

, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `Array`, found `Array` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&DecapsulationKey<_>, &kem::crypto_common::hybrid_array::Array) -> kem::crypto_common::hybrid_array::Array` [INFO] [stdout] found signature `fn(&DecapsulationKey<_>, &hybrid_array::Array::CiphertextSize>) -> Result, B0>, B0>, B0>, B0>, B0>>, Infallible>` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 98 - encapsulated_key: &EncodedCiphertext

, [INFO] [stdout] 98 + encapsulated_key: &kem::crypto_common::hybrid_array::Array, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DecapsulationKey

: Decapsulator` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/kem.rs:90:65 [INFO] [stdout] | [INFO] [stdout] 90 | impl

::kem::Decapsulate, SharedKey> for DecapsulationKey

[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Decapsulator` is not implemented for `DecapsulationKey

` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/kem.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct DecapsulationKey

[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `DecapsulationKey

` to implement `TryDecapsulate` [INFO] [stdout] note: required by a bound in `Decapsulate` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/kem-0.3.0-rc.6/src/lib.rs:124:24 [INFO] [stdout] | [INFO] [stdout] 124 | pub trait Decapsulate: TryDecapsulate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Decapsulate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Kem`, `encapsulate_with_rng` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/kem.rs:192:1 [INFO] [stdout] | [INFO] [stdout] 192 | / impl

::kem::Encapsulate, SharedKey> for EncapsulationKey

[INFO] [stdout] 193 | | where [INFO] [stdout] 194 | | P: KemParams, [INFO] [stdout] | |_________________^ missing `Kem`, `encapsulate_with_rng` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Kem = /* Type */;` [INFO] [stdout] = help: implement the missing item: `fn encapsulate_with_rng(&self, _: &mut R) -> (kem::crypto_common::hybrid_array::Array::Kem as kem::Kem>::CiphertextSize>, kem::crypto_common::hybrid_array::Array::Kem as kem::Kem>::SharedKeySize>) where R: ?Sized, R: kem::crypto_common::rand_core::CryptoRng { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `EncapsulationKey

: KeyExport` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/kem.rs:192:65 [INFO] [stdout] | [INFO] [stdout] 192 | impl

::kem::Encapsulate, SharedKey> for EncapsulationKey

[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `KeyExport` is not implemented for `EncapsulationKey

` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/kem.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct EncapsulationKey

[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Encapsulate` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/kem-0.3.0-rc.6/src/lib.rs:182:37 [INFO] [stdout] | [INFO] [stdout] 182 | pub trait Encapsulate: TryKeyInit + KeyExport { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Encapsulate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `EncapsulationKey

: TryKeyInit` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/kem.rs:192:65 [INFO] [stdout] | [INFO] [stdout] 192 | impl

::kem::Encapsulate, SharedKey> for EncapsulationKey

[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryKeyInit` is not implemented for `EncapsulationKey

` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/kem.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct EncapsulationKey

[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Encapsulate` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/kem-0.3.0-rc.6/src/lib.rs:182:24 [INFO] [stdout] | [INFO] [stdout] 182 | pub trait Encapsulate: TryKeyInit + KeyExport { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Encapsulate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `EncapsulationKey

: kem::KeySizeUser` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/kem.rs:192:65 [INFO] [stdout] | [INFO] [stdout] 192 | impl

::kem::Encapsulate, SharedKey> for EncapsulationKey

[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `kem::crypto_common::InnerUser` is not implemented for `EncapsulationKey

` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/kem.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct EncapsulationKey

[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: there are multiple different versions of crate `crypto_common` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/crypto-common-0.2.0/src/lib.rs:144:1 [INFO] [stdout] | [INFO] [stdout] 144 | pub trait InnerUser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/crypto-common-0.1.7/src/lib.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | pub trait InnerUser { [INFO] [stdout] | ------------------- this is the trait that was imported [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `EncapsulationKey

` to implement `kem::KeySizeUser` [INFO] [stdout] = note: required for `EncapsulationKey

` to implement `KeyExport` [INFO] [stdout] note: required by a bound in `Encapsulate` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/kem-0.3.0-rc.6/src/lib.rs:182:37 [INFO] [stdout] | [INFO] [stdout] 182 | pub trait Encapsulate: TryKeyInit + KeyExport { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Encapsulate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 2 generic arguments were supplied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/lib.rs:122:28 [INFO] [stdout] | [INFO] [stdout] 122 | type DecapsulationKey: Decapsulate, SharedKey> [INFO] [stdout] | ^^^^^^^^^^^----------------------------------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/kem-0.3.0-rc.6/src/lib.rs:124:11 [INFO] [stdout] | [INFO] [stdout] 124 | pub trait Decapsulate: TryDecapsulate { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DecapsulationKey

: Decapsulator` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/kem.rs:237:29 [INFO] [stdout] | [INFO] [stdout] 237 | type DecapsulationKey = DecapsulationKey

; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Decapsulator` is not implemented for `DecapsulationKey

` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/kem.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct DecapsulationKey

[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: the trait `Decapsulate` is implemented for `DecapsulationKey

` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/kem.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | / impl

::kem::Decapsulate, SharedKey> for DecapsulationKey

[INFO] [stdout] 91 | | where [INFO] [stdout] 92 | | P: KemParams, [INFO] [stdout] | |_________________^ [INFO] [stdout] = note: required for ` as KemCore>::DecapsulationKey` to implement `TryDecapsulate` [INFO] [stdout] = note: required for ` as KemCore>::DecapsulationKey` to implement `Decapsulate` [INFO] [stdout] note: required by a bound in `KemCore::DecapsulationKey` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/lib.rs:122:28 [INFO] [stdout] | [INFO] [stdout] 122 | type DecapsulationKey: Decapsulate, SharedKey> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `KemCore::DecapsulationKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 2 generic arguments were supplied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/lib.rs:129:28 [INFO] [stdout] | [INFO] [stdout] 129 | type EncapsulationKey: Encapsulate, SharedKey> [INFO] [stdout] | ^^^^^^^^^^^----------------------------------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/kem-0.3.0-rc.6/src/lib.rs:182:11 [INFO] [stdout] | [INFO] [stdout] 182 | pub trait Encapsulate: TryKeyInit + KeyExport { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `EncapsulationKey

: KeyExport` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/kem.rs:238:29 [INFO] [stdout] | [INFO] [stdout] 238 | type EncapsulationKey = EncapsulationKey

; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `KeyExport` is not implemented for `EncapsulationKey

` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/kem.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct EncapsulationKey

[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: the trait `Encapsulate` is implemented for `EncapsulationKey

` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/kem.rs:192:1 [INFO] [stdout] | [INFO] [stdout] 192 | / impl

::kem::Encapsulate, SharedKey> for EncapsulationKey

[INFO] [stdout] 193 | | where [INFO] [stdout] 194 | | P: KemParams, [INFO] [stdout] | |_________________^ [INFO] [stdout] = note: required for ` as KemCore>::EncapsulationKey` to implement `Encapsulate` [INFO] [stdout] note: required by a bound in `KemCore::EncapsulationKey` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/lib.rs:129:28 [INFO] [stdout] | [INFO] [stdout] 129 | type EncapsulationKey: Encapsulate, SharedKey> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `KemCore::EncapsulationKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `EncapsulationKey

: TryKeyInit` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/kem.rs:238:29 [INFO] [stdout] | [INFO] [stdout] 238 | type EncapsulationKey = EncapsulationKey

; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `TryKeyInit` is not implemented for `EncapsulationKey

` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/kem.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct EncapsulationKey

[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: the trait `Encapsulate` is implemented for `EncapsulationKey

` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/kem.rs:192:1 [INFO] [stdout] | [INFO] [stdout] 192 | / impl

::kem::Encapsulate, SharedKey> for EncapsulationKey

[INFO] [stdout] 193 | | where [INFO] [stdout] 194 | | P: KemParams, [INFO] [stdout] | |_________________^ [INFO] [stdout] = note: required for ` as KemCore>::EncapsulationKey` to implement `Encapsulate` [INFO] [stdout] note: required by a bound in `KemCore::EncapsulationKey` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/lib.rs:129:28 [INFO] [stdout] | [INFO] [stdout] 129 | type EncapsulationKey: Encapsulate, SharedKey> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `KemCore::EncapsulationKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `EncapsulationKey

: kem::KeySizeUser` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/kem.rs:238:29 [INFO] [stdout] | [INFO] [stdout] 238 | type EncapsulationKey = EncapsulationKey

; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `kem::crypto_common::InnerUser` is not implemented for `EncapsulationKey

` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/kem.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct EncapsulationKey

[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: there are multiple different versions of crate `crypto_common` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/crypto-common-0.2.0/src/lib.rs:144:1 [INFO] [stdout] | [INFO] [stdout] 144 | pub trait InnerUser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/crypto-common-0.1.7/src/lib.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | pub trait InnerUser { [INFO] [stdout] | ------------------- this is the trait that was imported [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] help: the trait `Encapsulate` is implemented for `EncapsulationKey

` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/kem.rs:192:1 [INFO] [stdout] | [INFO] [stdout] 192 | / impl

::kem::Encapsulate, SharedKey> for EncapsulationKey

[INFO] [stdout] 193 | | where [INFO] [stdout] 194 | | P: KemParams, [INFO] [stdout] | |_________________^ [INFO] [stdout] = note: required for `EncapsulationKey

` to implement `kem::KeySizeUser` [INFO] [stdout] = note: required for ` as KemCore>::EncapsulationKey` to implement `KeyExport` [INFO] [stdout] = note: required for ` as KemCore>::EncapsulationKey` to implement `Encapsulate` [INFO] [stdout] note: required by a bound in `KemCore::EncapsulationKey` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/lib.rs:129:28 [INFO] [stdout] | [INFO] [stdout] 129 | type EncapsulationKey: Encapsulate, SharedKey> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `KemCore::EncapsulationKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DecapsulationKey

: Decapsulator` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/kem.rs:99:28 [INFO] [stdout] | [INFO] [stdout] 99 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Decapsulator` is not implemented for `DecapsulationKey

` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/kem.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct DecapsulationKey

[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `TryDecapsulate` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/kem-0.3.0-rc.6/src/lib.rs:142:27 [INFO] [stdout] | [INFO] [stdout] 142 | pub trait TryDecapsulate: Decapsulator { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `TryDecapsulate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DecapsulationKey

: Decapsulator` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/kem.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Decapsulator` is not implemented for `DecapsulationKey

` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kems-a3ec4eb2dbfb4ed5/af50988/ml-kem/src/kem.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct DecapsulationKey

[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `DecapsulationKey

` to implement `TryDecapsulate` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stdout] Some errors have detailed explanations: E0046, E0053, E0107, E0220, E0277, E0407, E0437. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ml-kem` (lib) due to 20 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b29dfe8bb7b26a50a74b9f68f6fe39a65d61ffb8a2e29fa5648d83e07a438da4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b29dfe8bb7b26a50a74b9f68f6fe39a65d61ffb8a2e29fa5648d83e07a438da4", kill_on_drop: false }` [INFO] [stdout] b29dfe8bb7b26a50a74b9f68f6fe39a65d61ffb8a2e29fa5648d83e07a438da4