[INFO] fetching crate crystals-rs 0.0.1... [INFO] checking crystals-rs-0.0.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate crystals-rs 0.0.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate crystals-rs 0.0.1 [INFO] finished tweaking crates.io crate crystals-rs 0.0.1 [INFO] tweaked toml for crates.io crate crystals-rs 0.0.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate crystals-rs 0.0.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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] Locking 98 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.0) [INFO] [stderr] Adding hex-literal v0.3.4 (available: v1.0.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding secrecy v0.8.0 (available: v0.10.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15a7c18321e2bd7ba08380d2f319a61c72a767b23679c3c346d93a3ca3c29b0a [INFO] running `Command { std: "docker" "start" "-a" "15a7c18321e2bd7ba08380d2f319a61c72a767b23679c3c346d93a3ca3c29b0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15a7c18321e2bd7ba08380d2f319a61c72a767b23679c3c346d93a3ca3c29b0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15a7c18321e2bd7ba08380d2f319a61c72a767b23679c3c346d93a3ca3c29b0a", kill_on_drop: false }` [INFO] [stdout] 15a7c18321e2bd7ba08380d2f319a61c72a767b23679c3c346d93a3ca3c29b0a [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6687e124a34671f9ec0471f361c4330c3975d624a9784c1aade5defcc909b933 [INFO] running `Command { std: "docker" "start" "-a" "6687e124a34671f9ec0471f361c4330c3975d624a9784c1aade5defcc909b933", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crystals-rs v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking rand_core v0.6.4 [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 sha3 v0.10.8 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stdout] warning: unused imports: `Cell` and `RefCell` [INFO] [stdout] --> src/lib.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | pub use self::core::cell::{Cell, RefCell}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Clone` and `self` [INFO] [stdout] --> src/lib.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | pub use self::core::clone::{self, Clone}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `From`, `Into`, and `self` [INFO] [stdout] --> src/lib.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | pub use self::core::convert::{self, From, Into}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Default` and `self` [INFO] [stdout] --> src/lib.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | pub use self::core::default::{self, Default}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Debug` and `Display` [INFO] [stdout] --> src/lib.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | pub use self::core::fmt::{self, Debug, Display}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PhantomData` and `self` [INFO] [stdout] --> src/lib.rs:30:34 [INFO] [stdout] | [INFO] [stdout] 30 | pub use self::core::marker::{self, PhantomData}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::core::num::Wrapping` [INFO] [stdout] --> src/lib.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | pub use self::core::num::Wrapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Option` and `self` [INFO] [stdout] --> src/lib.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | pub use self::core::option::{self, Option}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `self` [INFO] [stdout] --> src/lib.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | pub use self::core::result::{self, Result}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cmp`, `iter`, `num`, `ptr`, and `str` [INFO] [stdout] --> src/lib.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | pub use self::core::{cmp, iter, mem, num, ptr, slice, str}; [INFO] [stdout] | ^^^ ^^^^ ^^^ ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `i16`, `i32`, `i64`, `i8`, and `isize` [INFO] [stdout] --> src/lib.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | pub use self::core::{i16, i32, i64, i8, isize}; [INFO] [stdout] | ^^^ ^^^ ^^^ ^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `u16`, `u32`, `u64`, `u8`, and `usize` [INFO] [stdout] --> src/lib.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | pub use self::core::{u16, u32, u64, u8, usize}; [INFO] [stdout] | ^^^ ^^^ ^^^ ^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `array_chunks` [INFO] [stdout] --> src/utils/unsafe_utils/split.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(not(any(has_array_chunks, feature = "array_chunks")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `pub_internals`, `std`, and `unstable` [INFO] [stdout] = help: consider adding `array_chunks` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `array_chunks` [INFO] [stdout] --> src/utils/unsafe_utils/split.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(not(any(has_array_chunks, feature = "array_chunks")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `pub_internals`, `std`, and `unstable` [INFO] [stdout] = help: consider adding `array_chunks` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `array_chunks` [INFO] [stdout] --> src/utils/unsafe_utils/split.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(any(has_array_chunks, feature = "array_chunks"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `pub_internals`, `std`, and `unstable` [INFO] [stdout] = help: consider adding `array_chunks` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `array_chunks` [INFO] [stdout] --> src/utils/unsafe_utils/split.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(any(has_array_chunks, feature = "array_chunks"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `pub_internals`, `std`, and `unstable` [INFO] [stdout] = help: consider adding `array_chunks` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `array_chunks` [INFO] [stdout] --> src/utils/unsafe_utils/split.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(not(any(has_array_chunks, feature = "array_chunks")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `pub_internals`, `std`, and `unstable` [INFO] [stdout] = help: consider adding `array_chunks` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `array_chunks` [INFO] [stdout] --> src/utils/unsafe_utils/split.rs:67:33 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg(not(any(has_array_chunks, feature = "array_chunks")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `pub_internals`, `std`, and `unstable` [INFO] [stdout] = help: consider adding `array_chunks` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `array_chunks` [INFO] [stdout] --> src/utils/unsafe_utils/split.rs:260:33 [INFO] [stdout] | [INFO] [stdout] 260 | #[cfg(not(any(has_array_chunks, feature = "array_chunks")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `pub_internals`, `std`, and `unstable` [INFO] [stdout] = help: consider adding `array_chunks` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `array_chunks` [INFO] [stdout] --> src/utils/unsafe_utils/split.rs:290:33 [INFO] [stdout] | [INFO] [stdout] 290 | #[cfg(not(any(has_array_chunks, feature = "array_chunks")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `pub_internals`, `std`, and `unstable` [INFO] [stdout] = help: consider adding `array_chunks` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/utils/unsafe_utils/split.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/utils/unsafe_utils/split.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Kem` is never used [INFO] [stdout] --> src/kem.rs:89:7 [INFO] [stdout] | [INFO] [stdout] 89 | trait Kem {} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `krystals` [INFO] [stdout] --> benches/dilithium_polyvec.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use krystals::polyvec::{DilithiumPolyVec, PolynomialVector}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `krystals` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `krystals`, use `cargo add krystals` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crystals_cref` [INFO] [stdout] --> benches/dilithium_polyvec.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crystals_cref::dilithium as cref; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - use crystals_cref::dilithium as cref; [INFO] [stdout] 6 + use crystals_rs::dilithium as cref; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `krystals` [INFO] [stdout] --> benches/kyber_gen_matrix.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use krystals::{poly::kyber::KYBER_N, polymat::KyberMatrix}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `krystals` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `krystals`, use `cargo add krystals` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crystals_cref` [INFO] [stdout] --> benches/kyber_gen_matrix.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crystals_cref::kyber as cref; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 9 - use crystals_cref::kyber as cref; [INFO] [stdout] 9 + use crystals_rs::kyber as cref; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `krystals` [INFO] [stdout] --> benches/kyber_indcpa.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use krystals::{ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `krystals` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `krystals`, use `cargo add krystals` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crystals-rs` (bench "dilithium_polyvec") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `krystals` [INFO] [stdout] --> benches/kyber_indcpa.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use krystals::{ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `krystals` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `krystals`, use `cargo add krystals` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] --> benches/kyber_indcpa.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crystals_cref::{kyber as cref, randombytes::randombytes_push_bytes}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 16 - use crystals_cref::{kyber as cref, randombytes::randombytes_push_bytes}; [INFO] [stdout] 16 + use crystals_rs::{kyber as cref, randombytes::randombytes_push_bytes}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crystals_cref` [INFO] [stdout] --> benches/kyber_indcpa.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crystals_cref::{kyber as cref, randombytes::randombytes_push_bytes}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 16 - use crystals_cref::{kyber as cref, randombytes::randombytes_push_bytes}; [INFO] [stdout] 16 + use crystals_rs::{kyber as cref, randombytes::randombytes_push_bytes}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `krystals` [INFO] [stdout] --> benches/dilithium_poly.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use krystals::poly::{dilithium::DilithiumPoly, SizedPolynomial}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `krystals` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `krystals`, use `cargo add krystals` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `krystals` [INFO] [stdout] --> benches/keccak.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use krystals::keccak::fips202::{Digest, Sha3_256, Sha3_512}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `krystals` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `krystals`, use `cargo add krystals` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] --> benches/dilithium_poly.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | b.iter(|| crystals_cref::dilithium::ntt(black_box(&mut poly))) [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 21 - b.iter(|| crystals_cref::dilithium::ntt(black_box(&mut poly))) [INFO] [stdout] 21 + b.iter(|| crystals_rs::dilithium::ntt(black_box(&mut poly))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KYBER_SYMBYTES` in this scope [INFO] [stdout] --> benches/kyber_indcpa.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | let mut entropy = [0u8; KYBER_SYMBYTES]; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use crystals_rs::pke::KYBER_SYMBYTES; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KyberPke` [INFO] [stdout] --> benches/kyber_indcpa.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | KyberPke::::keypair(black_box(&entropy), black_box(&mut sk), black_box(&mut pk)) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `KyberPke` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crystals_rs::pke::KyberPke; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KYBER_SYMBYTES` in this scope [INFO] [stdout] --> benches/kyber_indcpa.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | let mut entropy = [0u8; KYBER_SYMBYTES]; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use crystals_rs::pke::KYBER_SYMBYTES; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keypair` in this scope [INFO] [stdout] --> benches/kyber_indcpa.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | keypair(&entropy, &mut sk, &mut pk); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crystals_rs::pke::keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KyberPke` [INFO] [stdout] --> benches/kyber_indcpa.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | KyberPke::::encrypt( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `KyberPke` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crystals_rs::pke::KyberPke; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KyberPke` [INFO] [stdout] --> benches/kyber_indcpa.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | KyberPke::::encrypt( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `KyberPke` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crystals_rs::pke::KyberPke; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KYBER_SYMBYTES` in this scope [INFO] [stdout] --> benches/kyber_indcpa.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 133 | let mut entropy = [0u8; KYBER_SYMBYTES]; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use crystals_rs::pke::KYBER_SYMBYTES; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keypair` in this scope [INFO] [stdout] --> benches/kyber_indcpa.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | keypair(&entropy, &mut sk, &mut pk); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crystals_rs::pke::keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KyberPke` [INFO] [stdout] --> benches/kyber_indcpa.rs:155:21 [INFO] [stdout] | [INFO] [stdout] 155 | KyberPke::::decrypt(black_box(&ct), black_box(&sk), black_box(&mut msg)) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `KyberPke` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crystals_rs::pke::KyberPke; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KyberPke` [INFO] [stdout] --> benches/kyber_indcpa.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | KyberPke::::decrypt(black_box(&ct), black_box(&sk), black_box(&mut msg)) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `KyberPke` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crystals_rs::pke::KyberPke; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] --> benches/dilithium_poly.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | b.iter(|| crystals_cref::dilithium::inv_ntt(black_box(&mut poly))) [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 42 - b.iter(|| crystals_cref::dilithium::inv_ntt(black_box(&mut poly))) [INFO] [stdout] 42 + b.iter(|| crystals_rs::dilithium::inv_ntt(black_box(&mut poly))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] --> benches/dilithium_poly.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | crystals_cref::dilithium::poly_pointwise_montgomery( [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 72 - crystals_cref::dilithium::poly_pointwise_montgomery( [INFO] [stdout] 72 + crystals_rs::dilithium::poly_pointwise_montgomery( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `krystals` [INFO] [stdout] --> benches/kyber_poly.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use krystals::poly::{kyber::KyberPoly, SizedPolynomial}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `krystals` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `krystals`, use `cargo add krystals` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crystals-rs` (bench "keccak") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `crystals_cref` [INFO] [stdout] --> benches/kyber_poly.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crystals_cref::kyber as cref; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 - use crystals_cref::kyber as cref; [INFO] [stdout] 4 + use crystals_rs::kyber as cref; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crystals-rs` (bench "kyber_gen_matrix") due to 2 previous errors [INFO] [stderr] error: could not compile `crystals-rs` (bench "kyber_poly") due to 2 previous errors [INFO] [stderr] error: could not compile `crystals-rs` (bench "dilithium_poly") due to 4 previous errors [INFO] [stdout] error[E0277]: the size for values of type `[_]` cannot be known at compilation time [INFO] [stdout] --> benches/kyber_indcpa.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | for b in pk.bytes { [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[_]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[_]` cannot be known at compilation time [INFO] [stdout] --> benches/kyber_indcpa.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | / for b in pk.bytes { [INFO] [stdout] 62 | | pk_ref.extend_from_slice(&b); [INFO] [stdout] 63 | | } [INFO] [stdout] | |_____^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[_]` [INFO] [stdout] note: required by a bound in `None` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/option.rs:597:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[_]` cannot be known at compilation time [INFO] [stdout] --> benches/kyber_indcpa.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | for b in pk.bytes { [INFO] [stdout] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[_]` [INFO] [stdout] note: required by an implicit `Sized` bound in `Option` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/option.rs:593:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crystals_cref` [INFO] [stdout] --> src/poly/dilithium.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | use crystals_cref::dilithium as cref; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crystals_cref`, use `cargo add crystals_cref` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crystals_cref` [INFO] [stdout] --> src/poly/kyber.rs:548:9 [INFO] [stdout] | [INFO] [stdout] 548 | use crystals_cref::kyber as cref; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crystals_cref`, use `cargo add crystals_cref` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crystals_cref` [INFO] [stdout] --> src/ciphertext.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 407 | use crystals_cref::kyber as cref; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crystals_cref`, use `cargo add crystals_cref` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crystals_cref` [INFO] [stdout] --> src/pke.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | use crystals_cref::kyber as cref; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crystals_cref`, use `cargo add crystals_cref` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crystals_cref` [INFO] [stdout] --> src/pke.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | use crystals_cref::randombytes; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crystals_cref`, use `cargo add crystals_cref` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `krystals` [INFO] [stdout] --> benches/kyber_polyvec.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use krystals::polyvec::{KyberPolyVec, PolynomialVector}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `krystals` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `krystals`, use `cargo add krystals` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crystals_cref` [INFO] [stdout] --> benches/kyber_polyvec.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crystals_cref::kyber as cref; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 9 - use crystals_cref::kyber as cref; [INFO] [stdout] 9 + use crystals_rs::kyber as cref; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] --> src/poly/kyber.rs:584:13 [INFO] [stdout] | [INFO] [stdout] 584 | crystals_cref::kyber::ntt(&mut p); [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crystals_cref`, use `cargo add crystals_cref` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] --> src/poly/kyber.rs:602:13 [INFO] [stdout] | [INFO] [stdout] 602 | crystals_cref::kyber::inv_ntt(&mut p); [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crystals_cref`, use `cargo add crystals_cref` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] --> src/poly/kyber.rs:603:13 [INFO] [stdout] | [INFO] [stdout] 603 | crystals_cref::kyber::poly_reduce(&mut p); [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crystals_cref`, use `cargo add crystals_cref` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] --> src/poly/kyber.rs:625:13 [INFO] [stdout] | [INFO] [stdout] 625 | crystals_cref::kyber::poly_pointwise_montgomery(&mut r, &a, &b); [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crystals_cref`, use `cargo add crystals_cref` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crystals-rs` (bench "kyber_indcpa") due to 17 previous errors [INFO] [stderr] error: could not compile `crystals-rs` (bench "kyber_polyvec") due to 2 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] --> src/poly/kyber.rs:626:13 [INFO] [stdout] | [INFO] [stdout] 626 | crystals_cref::kyber::poly_reduce(&mut r); [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crystals_cref`, use `cargo add crystals_cref` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] --> src/poly/kyber.rs:644:13 [INFO] [stdout] | [INFO] [stdout] 644 | crystals_cref::kyber::poly_cbd_eta_eq_2(&mut p, &buf); [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crystals_cref`, use `cargo add crystals_cref` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] --> src/poly/kyber.rs:662:13 [INFO] [stdout] | [INFO] [stdout] 662 | crystals_cref::kyber::poly_cbd_eta_eq_3(&mut p, &buf); [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crystals_cref`, use `cargo add crystals_cref` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] --> src/poly/kyber.rs:682:13 [INFO] [stdout] | [INFO] [stdout] 682 | crystals_cref::kyber::poly_getnoise_eta_eq_3(&mut p, &seed, nonce); [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crystals_cref`, use `cargo add crystals_cref` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] --> src/polymat.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | crystals_cref::kyber::gen_matrix(&mut a_ref, &seed, TRANSPOSED); [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crystals_cref` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crystals_cref`, use `cargo add crystals_cref` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cell` and `RefCell` [INFO] [stdout] --> src/lib.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | pub use self::core::cell::{Cell, RefCell}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Clone` and `self` [INFO] [stdout] --> src/lib.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | pub use self::core::clone::{self, Clone}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `From`, `Into`, and `self` [INFO] [stdout] --> src/lib.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | pub use self::core::convert::{self, From, Into}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Default` and `self` [INFO] [stdout] --> src/lib.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | pub use self::core::default::{self, Default}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Debug` and `Display` [INFO] [stdout] --> src/lib.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | pub use self::core::fmt::{self, Debug, Display}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PhantomData` and `self` [INFO] [stdout] --> src/lib.rs:30:34 [INFO] [stdout] | [INFO] [stdout] 30 | pub use self::core::marker::{self, PhantomData}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::core::num::Wrapping` [INFO] [stdout] --> src/lib.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | pub use self::core::num::Wrapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Option` and `self` [INFO] [stdout] --> src/lib.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | pub use self::core::option::{self, Option}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `self` [INFO] [stdout] --> src/lib.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | pub use self::core::result::{self, Result}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cmp`, `iter`, `num`, `ptr`, and `str` [INFO] [stdout] --> src/lib.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | pub use self::core::{cmp, iter, mem, num, ptr, slice, str}; [INFO] [stdout] | ^^^ ^^^^ ^^^ ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `i16`, `i32`, `i64`, `i8`, and `isize` [INFO] [stdout] --> src/lib.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | pub use self::core::{i16, i32, i64, i8, isize}; [INFO] [stdout] | ^^^ ^^^ ^^^ ^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `u16`, `u32`, `u64`, `u8`, and `usize` [INFO] [stdout] --> src/lib.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | pub use self::core::{u16, u32, u64, u8, usize}; [INFO] [stdout] | ^^^ ^^^ ^^^ ^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `array_chunks` [INFO] [stdout] --> src/utils/unsafe_utils/split.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(not(any(has_array_chunks, feature = "array_chunks")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `pub_internals`, `std`, and `unstable` [INFO] [stdout] = help: consider adding `array_chunks` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `array_chunks` [INFO] [stdout] --> src/utils/unsafe_utils/split.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(not(any(has_array_chunks, feature = "array_chunks")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `pub_internals`, `std`, and `unstable` [INFO] [stdout] = help: consider adding `array_chunks` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `array_chunks` [INFO] [stdout] --> src/utils/unsafe_utils/split.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(any(has_array_chunks, feature = "array_chunks"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `pub_internals`, `std`, and `unstable` [INFO] [stdout] = help: consider adding `array_chunks` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `array_chunks` [INFO] [stdout] --> src/utils/unsafe_utils/split.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(any(has_array_chunks, feature = "array_chunks"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `pub_internals`, `std`, and `unstable` [INFO] [stdout] = help: consider adding `array_chunks` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `array_chunks` [INFO] [stdout] --> src/utils/unsafe_utils/split.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(not(any(has_array_chunks, feature = "array_chunks")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `pub_internals`, `std`, and `unstable` [INFO] [stdout] = help: consider adding `array_chunks` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `array_chunks` [INFO] [stdout] --> src/utils/unsafe_utils/split.rs:67:33 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg(not(any(has_array_chunks, feature = "array_chunks")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `pub_internals`, `std`, and `unstable` [INFO] [stdout] = help: consider adding `array_chunks` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `array_chunks` [INFO] [stdout] --> src/utils/unsafe_utils/split.rs:260:33 [INFO] [stdout] | [INFO] [stdout] 260 | #[cfg(not(any(has_array_chunks, feature = "array_chunks")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `pub_internals`, `std`, and `unstable` [INFO] [stdout] = help: consider adding `array_chunks` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `array_chunks` [INFO] [stdout] --> src/utils/unsafe_utils/split.rs:290:33 [INFO] [stdout] | [INFO] [stdout] 290 | #[cfg(not(any(has_array_chunks, feature = "array_chunks")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `pub_internals`, `std`, and `unstable` [INFO] [stdout] = help: consider adding `array_chunks` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/utils/unsafe_utils/split.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/utils/unsafe_utils/split.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crystals-rs` (lib test) due to 14 previous errors; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6687e124a34671f9ec0471f361c4330c3975d624a9784c1aade5defcc909b933", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6687e124a34671f9ec0471f361c4330c3975d624a9784c1aade5defcc909b933", kill_on_drop: false }` [INFO] [stdout] 6687e124a34671f9ec0471f361c4330c3975d624a9784c1aade5defcc909b933