[INFO] fetching crate hswp 0.1.0... [INFO] checking hswp-0.1.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate hswp 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate hswp 0.1.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate hswp 0.1.0 [INFO] tweaked toml for crates.io crate hswp 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hswp 0.1.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate hswp 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pqcrypto-traits v0.3.5 [INFO] [stderr] Downloaded pqcrypto-internals v0.2.6 [INFO] [stderr] Downloaded pqcrypto-kyber v0.7.9 [INFO] [stderr] Downloaded pqkd v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 397f7aacd26c7b6fdc9dfa1877dcc31311e88abedebb4aff7c87090f1e73682e [INFO] running `Command { std: "docker" "start" "-a" "397f7aacd26c7b6fdc9dfa1877dcc31311e88abedebb4aff7c87090f1e73682e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "397f7aacd26c7b6fdc9dfa1877dcc31311e88abedebb4aff7c87090f1e73682e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "397f7aacd26c7b6fdc9dfa1877dcc31311e88abedebb4aff7c87090f1e73682e", kill_on_drop: false }` [INFO] [stdout] 397f7aacd26c7b6fdc9dfa1877dcc31311e88abedebb4aff7c87090f1e73682e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0820be888c39c036bdca52fd732ec469c4c5ad4ec90a5721a9315f5df268d1d2 [INFO] running `Command { std: "docker" "start" "-a" "0820be888c39c036bdca52fd732ec469c4c5ad4ec90a5721a9315f5df268d1d2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Checking cpufeatures v0.2.15 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking hashbrown v0.15.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking universal-hash v0.4.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking polyval v0.5.3 [INFO] [stderr] Checking aead v0.4.3 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking ctr v0.7.0 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking poly1305 v0.7.2 [INFO] [stderr] Compiling hswp v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking ghash v0.4.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking aes-gcm v0.9.2 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking chacha20 v0.8.2 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking zerofrom v0.1.4 [INFO] [stderr] Checking yoke v0.7.4 [INFO] [stderr] Checking chacha20poly1305 v0.9.1 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking x25519-dalek v1.1.1 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.3 [INFO] [stderr] Checking hyper v1.5.0 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.9 [INFO] [stderr] Checking pqkd v0.1.0 [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> src/params/mod.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied [INFO] [stdout] --> src/builder.rs:244:22 [INFO] [stdout] | [INFO] [stdout] 244 | let _noise = Builder::new("Noise_NN_25519_ChaChaPoly_SHA256".parse().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^----------------------------------------------------- two arguments of type `&str` and `&str` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/builder.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn new(params: NoiseParams, sae_id: &'builder str, addr_pqkd: &'builder str) -> Self { [INFO] [stdout] | ^^^ --------------------- ------------------------ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 244 | let _noise = Builder::new("Noise_NN_25519_ChaChaPoly_SHA256".parse().unwrap(), /* &str */, /* &str */) [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied [INFO] [stdout] --> src/builder.rs:253:23 [INFO] [stdout] | [INFO] [stdout] 253 | let builder = Builder::new("Noise_NN_25519_ChaChaPoly_SHA256".parse().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^----------------------------------------------------- two arguments of type `&str` and `&str` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/builder.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn new(params: NoiseParams, sae_id: &'builder str, addr_pqkd: &'builder str) -> Self { [INFO] [stdout] | ^^^ --------------------- ------------------------ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 253 | let builder = Builder::new("Noise_NN_25519_ChaChaPoly_SHA256".parse().unwrap(), /* &str */, /* &str */); [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied [INFO] [stdout] --> src/builder.rs:271:21 [INFO] [stdout] | [INFO] [stdout] 271 | let noise = Builder::new("Noise_NK_25519_ChaChaPoly_SHA256".parse().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^----------------------------------------------------- two arguments of type `&str` and `&str` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/builder.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn new(params: NoiseParams, sae_id: &'builder str, addr_pqkd: &'builder str) -> Self { [INFO] [stdout] | ^^^ --------------------- ------------------------ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 271 | let noise = Builder::new("Noise_NK_25519_ChaChaPoly_SHA256".parse().unwrap(), /* &str */, /* &str */) [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HandshakeTokens` [INFO] [stdout] --> src/params/mod.rs:286:22 [INFO] [stdout] | [INFO] [stdout] 286 | let tokens = HandshakeTokens::try_from(&p.handshake).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `HandshakeTokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HandshakeTokens` [INFO] [stdout] --> src/params/mod.rs:297:22 [INFO] [stdout] | [INFO] [stdout] 297 | let tokens = HandshakeTokens::try_from(&p.handshake).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `HandshakeTokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/params/mod.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | Token::Psk(_) => {}, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/params/mod.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | Token::Psk(_) => {}, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/params/mod.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 300 | Token::Psk(_) => {}, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hswp` (lib test) due to 8 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `snow` [INFO] [stdout] --> tests/general.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use snow::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `snow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `snow`, use `cargo add snow` 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 `snow` [INFO] [stdout] --> examples/simple.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use snow::{params::NoiseParams, Builder}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `snow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `snow`, use `cargo add snow` 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 `snow` [INFO] [stdout] --> tests/general.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use snow::{params::*, types::*}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `snow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `snow`, use `cargo add snow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `snow` [INFO] [stdout] --> tests/general.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use snow::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `snow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `snow`, use `cargo add snow` 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 `snow` [INFO] [stdout] --> benches/benches.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use snow::{params::*, *}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `snow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `snow`, use `cargo add snow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `snow` [INFO] [stdout] --> examples/simple.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use snow::{params::NoiseParams, Builder}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `snow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `snow`, use `cargo add snow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App` and `arg` [INFO] [stdout] --> examples/simple.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use clap::{arg, App}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `snow` [INFO] [stdout] --> benches/benches.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use snow::{params::*, *}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `snow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `snow`, use `cargo add snow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Random` in this scope [INFO] [stdout] --> tests/general.rs:39:6 [INFO] [stdout] | [INFO] [stdout] 39 | impl Random for CountingRng {} [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::types::Random; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Random` in this scope [INFO] [stdout] --> tests/general.rs:67:45 [INFO] [stdout] | [INFO] [stdout] 67 | fn resolve_rng(&self) -> Option> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::types::Random; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DHChoice` in this scope [INFO] [stdout] --> tests/general.rs:72:35 [INFO] [stdout] | [INFO] [stdout] 72 | fn resolve_dh(&self, choice: &DHChoice) -> Option> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::DHChoice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Dh` in this scope [INFO] [stdout] --> tests/general.rs:72:63 [INFO] [stdout] | [INFO] [stdout] 72 | fn resolve_dh(&self, choice: &DHChoice) -> Option> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::types::Dh; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashChoice` in this scope [INFO] [stdout] --> tests/general.rs:76:37 [INFO] [stdout] | [INFO] [stdout] 76 | fn resolve_hash(&self, choice: &HashChoice) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::HashChoice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `Hash` [INFO] [stdout] --> tests/general.rs:76:67 [INFO] [stdout] | [INFO] [stdout] 76 | fn resolve_hash(&self, choice: &HashChoice) -> Option> { [INFO] [stdout] | ^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits instead [INFO] [stdout] | [INFO] [stdout] 5 + use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::types::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CipherChoice` in this scope [INFO] [stdout] --> tests/general.rs:80:39 [INFO] [stdout] | [INFO] [stdout] 80 | fn resolve_cipher(&self, choice: &CipherChoice) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::CipherChoice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Cipher` in this scope [INFO] [stdout] --> tests/general.rs:80:71 [INFO] [stdout] | [INFO] [stdout] 80 | fn resolve_cipher(&self, choice: &CipherChoice) -> Option> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::types::Cipher; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoiseParams` in this scope [INFO] [stdout] --> tests/general.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | let protocol_spec: NoiseParams = "Noise_NK_25519_ChaChaPoly_BLAKE2s".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::NoiseParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BaseChoice` [INFO] [stdout] --> tests/general.rs:89:36 [INFO] [stdout] | [INFO] [stdout] 89 | assert_eq!(protocol_spec.base, BaseChoice::Noise); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `BaseChoice` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::BaseChoice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HandshakePattern` [INFO] [stdout] --> tests/general.rs:90:49 [INFO] [stdout] | [INFO] [stdout] 90 | assert_eq!(protocol_spec.handshake.pattern, HandshakePattern::NK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `HandshakePattern` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::HandshakePattern; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CipherChoice` [INFO] [stdout] --> tests/general.rs:91:38 [INFO] [stdout] | [INFO] [stdout] 91 | assert_eq!(protocol_spec.cipher, CipherChoice::ChaChaPoly); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CipherChoice` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::CipherChoice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashChoice` [INFO] [stdout] --> tests/general.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 92 | assert_eq!(protocol_spec.hash, HashChoice::Blake2s); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `HashChoice` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::HashChoice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoiseParams` in this scope [INFO] [stdout] --> tests/general.rs:94:31 [INFO] [stdout] | [INFO] [stdout] 94 | let protocol_spec: Result = "Noise_NK_25519_ChaChaPoly_FAKE2X".parse(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::NoiseParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoiseParams` in this scope [INFO] [stdout] --> tests/general.rs:99:31 [INFO] [stdout] | [INFO] [stdout] 99 | let protocol_spec: Result = "Noise_NK_25519_ChaChaPoly".parse(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::NoiseParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoiseParams` in this scope [INFO] [stdout] --> tests/general.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | let params: NoiseParams = "Noise_NN_25519_ChaChaPoly_SHA256".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::NoiseParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoiseParams` in this scope [INFO] [stdout] --> tests/general.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | let params: NoiseParams = "Noise_NN_25519_ChaChaPoly_SHA256".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::NoiseParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoiseParams` in this scope [INFO] [stdout] --> tests/general.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | let params: NoiseParams = "Noise_NN_25519_AESGCM_SHA256".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::NoiseParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoiseParams` in this scope [INFO] [stdout] --> tests/general.rs:171:17 [INFO] [stdout] | [INFO] [stdout] 171 | let params: NoiseParams = "Noise_Npsk0_25519_ChaChaPoly_SHA256".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::NoiseParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoiseParams` in this scope [INFO] [stdout] --> tests/general.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | let params: NoiseParams = "Noise_Npsk0_25519_AESGCM_SHA256".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::NoiseParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoiseParams` in this scope [INFO] [stdout] --> tests/general.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | let params: NoiseParams = "Noise_Npsk0_25519_ChaChaPoly_SHA256".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::NoiseParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoiseParams` in this scope [INFO] [stdout] --> tests/general.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | let params: NoiseParams = "Noise_Xpsk0_25519_ChaChaPoly_SHA256".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::NoiseParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoiseParams` in this scope [INFO] [stdout] --> tests/general.rs:291:17 [INFO] [stdout] | [INFO] [stdout] 291 | let params: NoiseParams = "Noise_XXpsk0_25519_ChaChaPoly_SHA256".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::NoiseParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoiseParams` in this scope [INFO] [stdout] --> tests/general.rs:335:17 [INFO] [stdout] | [INFO] [stdout] 335 | let params: NoiseParams = "Noise_NNpsk0_25519_ChaChaPoly_SHA256".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::NoiseParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoiseParams` in this scope [INFO] [stdout] --> tests/general.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | let params: NoiseParams = "Noise_XXpsk3_25519_ChaChaPoly_SHA256".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::NoiseParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoiseParams` in this scope [INFO] [stdout] --> tests/general.rs:396:17 [INFO] [stdout] | [INFO] [stdout] 396 | let params: NoiseParams = "Noise_NN_25519_ChaChaPoly_SHA256".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::NoiseParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoiseParams` in this scope [INFO] [stdout] --> tests/general.rs:441:17 [INFO] [stdout] | [INFO] [stdout] 441 | let params: NoiseParams = "Noise_NN_25519_ChaChaPoly_SHA256".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::NoiseParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoiseParams` in this scope [INFO] [stdout] --> tests/general.rs:486:17 [INFO] [stdout] | [INFO] [stdout] 486 | let params: NoiseParams = "Noise_NN_25519_ChaChaPoly_SHA256".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::NoiseParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoiseParams` in this scope [INFO] [stdout] --> tests/general.rs:495:17 [INFO] [stdout] | [INFO] [stdout] 495 | let params: NoiseParams = "Noise_NN_25519_ChaChaPoly_SHA256".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::NoiseParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoiseParams` in this scope [INFO] [stdout] --> tests/general.rs:504:17 [INFO] [stdout] | [INFO] [stdout] 504 | let params: NoiseParams = "Noise_N_25519_ChaChaPoly_SHA256".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::NoiseParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoiseParams` in this scope [INFO] [stdout] --> tests/general.rs:515:17 [INFO] [stdout] | [INFO] [stdout] 515 | let params: NoiseParams = "Noise_N_25519_ChaChaPoly_SHA256".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::NoiseParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoiseParams` in this scope [INFO] [stdout] --> tests/general.rs:526:17 [INFO] [stdout] | [INFO] [stdout] 526 | let params: NoiseParams = "Noise_N_25519_ChaChaPoly_SHA256".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::NoiseParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoiseParams` in this scope [INFO] [stdout] --> tests/general.rs:537:17 [INFO] [stdout] | [INFO] [stdout] 537 | let params: NoiseParams = "Noise_N_25519_ChaChaPoly_SHA256".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::NoiseParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoiseParams` in this scope [INFO] [stdout] --> tests/general.rs:557:17 [INFO] [stdout] | [INFO] [stdout] 557 | let params: NoiseParams = "Noise_NN_25519_ChaChaPoly_SHA256".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::NoiseParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoiseParams` in this scope [INFO] [stdout] --> tests/general.rs:571:17 [INFO] [stdout] | [INFO] [stdout] 571 | let params: NoiseParams = "Noise_XK_25519_ChaChaPoly_BLAKE2s".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::NoiseParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `snow` [INFO] [stdout] --> tests/general.rs:573:21 [INFO] [stdout] | [INFO] [stdout] 573 | let builder_r = snow::Builder::new(params.clone()); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `snow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `snow`, use `cargo add snow` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 573 - let builder_r = snow::Builder::new(params.clone()); [INFO] [stdout] 573 + let builder_r = Builder::new(params.clone()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `snow` [INFO] [stdout] --> tests/general.rs:577:21 [INFO] [stdout] | [INFO] [stdout] 577 | let builder_i = snow::Builder::new(params); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `snow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `snow`, use `cargo add snow` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 577 - let builder_i = snow::Builder::new(params); [INFO] [stdout] 577 + let builder_i = Builder::new(params); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoiseParams` in this scope [INFO] [stdout] --> tests/general.rs:605:17 [INFO] [stdout] | [INFO] [stdout] 605 | let params: NoiseParams = "Noise_IKpsk2_25519_ChaChaPoly_SHA256".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::NoiseParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoiseParams` in this scope [INFO] [stdout] --> tests/general.rs:650:17 [INFO] [stdout] | [INFO] [stdout] 650 | let params: NoiseParams = "Noise_XXpsk2_25519_ChaChaPoly_SHA256".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::NoiseParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoiseParams` in this scope [INFO] [stdout] --> tests/general.rs:693:17 [INFO] [stdout] | [INFO] [stdout] 693 | let params: NoiseParams = "Noise_XX_25519_ChaChaPoly_SHA256".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::NoiseParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoiseParams` in this scope [INFO] [stdout] --> tests/general.rs:739:17 [INFO] [stdout] | [INFO] [stdout] 739 | let params: NoiseParams = "Noise_XXpsk3_25519_ChaChaPoly_SHA256".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::NoiseParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoiseParams` in this scope [INFO] [stdout] --> tests/general.rs:769:17 [INFO] [stdout] | [INFO] [stdout] 769 | let params: NoiseParams = "Noise_NN_25519_ChaChaPoly_SHA256".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::NoiseParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoiseParams` in this scope [INFO] [stdout] --> tests/general.rs:791:17 [INFO] [stdout] | [INFO] [stdout] 791 | let params: NoiseParams = "Noise_NN_25519_ChaChaPoly_SHA256".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::NoiseParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoiseParams` in this scope [INFO] [stdout] --> tests/general.rs:809:17 [INFO] [stdout] | [INFO] [stdout] 809 | let params: NoiseParams = "Noise_NN_25519_ChaChaPoly_SHA256".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::NoiseParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `snow` [INFO] [stdout] --> tests/general.rs:840:13 [INFO] [stdout] | [INFO] [stdout] 840 | Err(snow::Error::State(snow::error::StateProblem::Exhausted)) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `snow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `snow`, use `cargo add snow` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 10 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 840 - Err(snow::Error::State(snow::error::StateProblem::Exhausted)) [INFO] [stdout] 840 + Err(Error::State(snow::error::StateProblem::Exhausted)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `snow` [INFO] [stdout] --> tests/general.rs:840:32 [INFO] [stdout] | [INFO] [stdout] 840 | Err(snow::Error::State(snow::error::StateProblem::Exhausted)) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `snow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `snow`, use `cargo add snow` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::error::StateProblem; [INFO] [stdout] | [INFO] [stdout] help: if you import `StateProblem`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 840 - Err(snow::Error::State(snow::error::StateProblem::Exhausted)) [INFO] [stdout] 840 + Err(snow::Error::State(StateProblem::Exhausted)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoiseParams` in this scope [INFO] [stdout] --> tests/general.rs:846:17 [INFO] [stdout] | [INFO] [stdout] 846 | let params: NoiseParams = "Noise_NN_25519_ChaChaPoly_SHA256".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::params::NoiseParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `snow` [INFO] [stdout] --> tests/general.rs:865:13 [INFO] [stdout] | [INFO] [stdout] 865 | Err(snow::Error::State(snow::error::StateProblem::Exhausted)) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `snow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `snow`, use `cargo add snow` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 10 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 865 - Err(snow::Error::State(snow::error::StateProblem::Exhausted)) [INFO] [stdout] 865 + Err(Error::State(snow::error::StateProblem::Exhausted)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `snow` [INFO] [stdout] --> tests/general.rs:865:32 [INFO] [stdout] | [INFO] [stdout] 865 | Err(snow::Error::State(snow::error::StateProblem::Exhausted)) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `snow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `snow`, use `cargo add snow` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::error::StateProblem; [INFO] [stdout] | [INFO] [stdout] help: if you import `StateProblem`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 865 - Err(snow::Error::State(snow::error::StateProblem::Exhausted)) [INFO] [stdout] 865 + Err(snow::Error::State(StateProblem::Exhausted)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `snow` [INFO] [stdout] --> tests/general.rs:870:13 [INFO] [stdout] | [INFO] [stdout] 870 | Err(snow::Error::State(snow::error::StateProblem::Exhausted)) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `snow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `snow`, use `cargo add snow` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 10 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 870 - Err(snow::Error::State(snow::error::StateProblem::Exhausted)) [INFO] [stdout] 870 + Err(Error::State(snow::error::StateProblem::Exhausted)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `snow` [INFO] [stdout] --> tests/general.rs:870:32 [INFO] [stdout] | [INFO] [stdout] 870 | Err(snow::Error::State(snow::error::StateProblem::Exhausted)) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `snow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `snow`, use `cargo add snow` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use hswp::error::StateProblem; [INFO] [stdout] | [INFO] [stdout] help: if you import `StateProblem`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 870 - Err(snow::Error::State(snow::error::StateProblem::Exhausted)) [INFO] [stdout] 870 + Err(snow::Error::State(StateProblem::Exhausted)) [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] Some errors have detailed explanations: E0404, E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0404`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hswp` (bench "benches") due to 2 previous errors [INFO] [stderr] error: could not compile `hswp` (test "general") due to 54 previous errors [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 `hswp` (example "simple") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "0820be888c39c036bdca52fd732ec469c4c5ad4ec90a5721a9315f5df268d1d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0820be888c39c036bdca52fd732ec469c4c5ad4ec90a5721a9315f5df268d1d2", kill_on_drop: false }` [INFO] [stdout] 0820be888c39c036bdca52fd732ec469c4c5ad4ec90a5721a9315f5df268d1d2