[INFO] fetching crate krystals 0.0.1...
[INFO] checking krystals-0.0.1 against master#4d1bd0db7f489b22c6d8aa2385937a95412c015b for pr-114682
[INFO] extracting crate krystals 0.0.1 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate krystals 0.0.1 on toolchain 4d1bd0db7f489b22c6d8aa2385937a95412c015b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d1bd0db7f489b22c6d8aa2385937a95412c015b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate krystals 0.0.1
[INFO] finished tweaking crates.io crate krystals 0.0.1
[INFO] tweaked toml for crates.io crate krystals 0.0.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d1bd0db7f489b22c6d8aa2385937a95412c015b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d1bd0db7f489b22c6d8aa2385937a95412c015b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+4d1bd0db7f489b22c6d8aa2385937a95412c015b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ccac38c086fa72071e3bcfaffa0c350f41894b090409933ee213ca995ff619bc
[INFO] running `Command { std: "docker" "start" "-a" "ccac38c086fa72071e3bcfaffa0c350f41894b090409933ee213ca995ff619bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ccac38c086fa72071e3bcfaffa0c350f41894b090409933ee213ca995ff619bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ccac38c086fa72071e3bcfaffa0c350f41894b090409933ee213ca995ff619bc", kill_on_drop: false }`
[INFO] [stdout] ccac38c086fa72071e3bcfaffa0c350f41894b090409933ee213ca995ff619bc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+4d1bd0db7f489b22c6d8aa2385937a95412c015b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f4aff08ba390c820bd8b3834a5b3d4e5397d6e8ef02b6fe9aaa46a94b09393b3
[INFO] running `Command { std: "docker" "start" "-a" "f4aff08ba390c820bd8b3834a5b3d4e5397d6e8ef02b6fe9aaa46a94b09393b3", kill_on_drop: false }`
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]     Checking regex-syntax v0.8.2
[INFO] [stderr]     Checking getrandom v0.2.11
[INFO] [stderr]    Compiling krystals v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]     Checking serde_cbor v0.11.2
[INFO] [stderr]     Checking plotters v0.3.5
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking keccak v0.1.4
[INFO] [stderr]     Checking zeroize v1.7.0
[INFO] [stderr]     Checking array-init v2.1.0
[INFO] [stderr]    Compiling hex-literal v0.3.4
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking secrecy v0.8.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking sha3 v0.10.8
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking regex-automata v0.4.3
[INFO] [stdout] warning: unused imports: `Cell`, `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`, `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`, `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`, `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`, `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`, `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`, `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`, `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`, `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`, `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`, `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: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking regex v1.10.2
[INFO] [stderr]     Checking criterion v0.3.6
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `crystals`
[INFO] [stdout]  --> benches/kyber_polyvec.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crystals::polyvec::{KyberPolyVec, PolynomialVector};
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `crystals`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 8 | use krystals::polyvec::{KyberPolyVec, PolynomialVector};
[INFO] [stdout]   |     ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `crystals`
[INFO] [stdout]  --> benches/kyber_gen_matrix.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crystals::{poly::kyber::KYBER_N, polymat::KyberMatrix};
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `crystals`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 8 | use krystals::{poly::kyber::KYBER_N, polymat::KyberMatrix};
[INFO] [stdout]   |     ~~~~~~~~
[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 undeclared crate or module `crystals_cref`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `crystals`
[INFO] [stdout]  --> benches/keccak.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crystals::keccak::fips202::Digest;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `crystals`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 2 | use krystals::keccak::fips202::Digest;
[INFO] [stdout]   |     ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `crystals`
[INFO] [stdout]   --> benches/keccak.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |         use crystals::keccak::fips202::Sha3_256;
[INFO] [stdout]    |             ^^^^^^^^ use of undeclared crate or module `crystals`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 14 |         use krystals::keccak::fips202::Sha3_256;
[INFO] [stdout]    |             ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `crystals`
[INFO] [stdout]   --> benches/keccak.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |         use crystals::keccak::fips202::Sha3_512;
[INFO] [stdout]    |             ^^^^^^^^ use of undeclared crate or module `crystals`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 57 |         use krystals::keccak::fips202::Sha3_512;
[INFO] [stdout]    |             ~~~~~~~~
[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 undeclared crate or module `crystals_cref`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `crystals`
[INFO] [stdout]  --> benches/dilithium_poly.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crystals::poly::{dilithium::DilithiumPoly, SizedPolynomial};
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `crystals`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 4 | use krystals::poly::{dilithium::DilithiumPoly, SizedPolynomial};
[INFO] [stdout]   |     ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `crystals`
[INFO] [stdout]  --> benches/kyber_poly.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crystals::poly::{kyber::KyberPoly, SizedPolynomial};
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `crystals`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 3 | use krystals::poly::{kyber::KyberPoly, SizedPolynomial};
[INFO] [stdout]   |     ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `crystals`
[INFO] [stdout]  --> benches/kyber_indcpa.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crystals::{
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `crystals`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 7 | use krystals::{
[INFO] [stdout]   |     ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[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 undeclared crate or module `crystals_cref`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crystals`
[INFO] [stdout]  --> benches/kyber_indcpa.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crystals::{
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `crystals`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 7 | use krystals::{
[INFO] [stdout]   |     ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `crystals_cref`
[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 undeclared crate or module `crystals_cref`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `crystals`
[INFO] [stdout]  --> benches/dilithium_polyvec.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crystals::polyvec::{DilithiumPolyVec, PolynomialVector};
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `crystals`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 8 | use krystals::polyvec::{DilithiumPolyVec, PolynomialVector};
[INFO] [stdout]   |     ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[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[E0432]: unresolved import `crystals_cref`
[INFO] [stdout]  --> benches/dilithium_polyvec.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crystals_cref::dilithium as cref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ use of undeclared crate or module `crystals_cref`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `krystals` (bench "kyber_polyvec") due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 2 previous errors
[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: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `crystals_cref`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[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 undeclared crate or module `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 undeclared crate or module `crystals_cref`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `crystals_cref`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `krystals` (bench "kyber_poly") due to 3 previous errors
[INFO] [stderr] error: could not compile `krystals` (bench "keccak") due to 4 previous errors
[INFO] [stderr] error: could not compile `krystals` (bench "kyber_gen_matrix") due to 3 previous errors
[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 krystals::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::<K>::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 krystals::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 krystals::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 krystals::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::<K>::encrypt(
[INFO] [stdout]    |                     ^^^^^^^^ use of undeclared type `KyberPke`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use krystals::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::<K>::encrypt(
[INFO] [stdout]    |                     ^^^^^^^^ use of undeclared type `KyberPke`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use krystals::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 krystals::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 krystals::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::<K>::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 krystals::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::<K>::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 krystals::pke::KyberPke;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[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: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `krystals` (bench "dilithium_polyvec") due to 3 previous errors
[INFO] [stderr] error: could not compile `krystals` (bench "dilithium_poly") due to 5 previous errors
[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 undeclared crate or module `crystals_cref`
[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 undeclared crate or module `crystals_cref`
[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 undeclared crate or module `crystals_cref`
[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 undeclared crate or module `crystals_cref`
[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 undeclared crate or module `crystals_cref`
[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: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]    = help: unsized locals are gated as an unstable feature
[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 a bound in `Option`
[INFO] [stdout]   --> /rustc/4d1bd0db7f489b22c6d8aa2385937a95412c015b/library/core/src/option.rs:570:1
[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/4d1bd0db7f489b22c6d8aa2385937a95412c015b/library/core/src/option.rs:574:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `crystals_cref`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `crystals_cref`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `crystals_cref`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 17 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0432, E0433.
[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 undeclared crate or module `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 undeclared crate or module `crystals_cref`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `crystals_cref`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `crystals_cref`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `krystals` (bench "kyber_indcpa") due to 18 previous errors
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `crystals_cref`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `crystals_cref`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `crystals_cref`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Cell`, `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`, `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`, `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`, `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`, `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`, `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`, `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`, `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`, `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`, `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`, `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] error: aborting due to 14 previous errors; 12 warnings emitted
[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 `krystals` (lib test) due to 15 previous errors; 12 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f4aff08ba390c820bd8b3834a5b3d4e5397d6e8ef02b6fe9aaa46a94b09393b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f4aff08ba390c820bd8b3834a5b3d4e5397d6e8ef02b6fe9aaa46a94b09393b3", kill_on_drop: false }`
[INFO] [stdout] f4aff08ba390c820bd8b3834a5b3d4e5397d6e8ef02b6fe9aaa46a94b09393b3
