[INFO] fetching crate hswp 0.1.0... [INFO] testing hswp-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate hswp 0.1.0 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hswp 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--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] Downloading crates ... [INFO] [stderr] Downloaded pqcrypto-traits v0.3.5 [INFO] [stderr] Downloaded universal-hash v0.4.0 [INFO] [stderr] Downloaded pqkd v0.1.0 [INFO] [stderr] Downloaded pqcrypto-internals v0.2.6 [INFO] [stderr] Downloaded aes-gcm v0.9.2 [INFO] [stderr] Downloaded pqcrypto-kyber v0.7.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c912301c7a8cd4638911d15895f9f4ca21e136264f15cf1d17b1197df7c3f0a2 [INFO] running `Command { std: "docker" "start" "-a" "c912301c7a8cd4638911d15895f9f4ca21e136264f15cf1d17b1197df7c3f0a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c912301c7a8cd4638911d15895f9f4ca21e136264f15cf1d17b1197df7c3f0a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c912301c7a8cd4638911d15895f9f4ca21e136264f15cf1d17b1197df7c3f0a2", kill_on_drop: false }` [INFO] [stdout] c912301c7a8cd4638911d15895f9f4ca21e136264f15cf1d17b1197df7c3f0a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5da682e8ff46a5b58da057c4bffd34d979eb07f0ae0312da073141148bed0852 [INFO] running `Command { std: "docker" "start" "-a" "5da682e8ff46a5b58da057c4bffd34d979eb07f0ae0312da073141148bed0852", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling cpufeatures v0.2.15 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling rustls-pki-types v1.10.0 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling hswp v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling poly1305 v0.7.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling ghash v0.4.4 [INFO] [stderr] Compiling chacha20 v0.8.2 [INFO] [stderr] Compiling ctr v0.7.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling aes-gcm v0.9.2 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling chacha20poly1305 v0.9.1 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.3 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling hyper v1.5.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.9 [INFO] [stderr] Compiling pqkd v0.1.0 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.12s [INFO] running `Command { std: "docker" "inspect" "5da682e8ff46a5b58da057c4bffd34d979eb07f0ae0312da073141148bed0852", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5da682e8ff46a5b58da057c4bffd34d979eb07f0ae0312da073141148bed0852", kill_on_drop: false }` [INFO] [stdout] 5da682e8ff46a5b58da057c4bffd34d979eb07f0ae0312da073141148bed0852 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbdd6b90904891e3bb79895a26118a84fdd3578d44bc09fee2f31b71fbdbfe1e [INFO] running `Command { std: "docker" "start" "-a" "cbdd6b90904891e3bb79895a26118a84fdd3578d44bc09fee2f31b71fbdbfe1e", kill_on_drop: false }` [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling chacha20 v0.8.2 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling chacha20poly1305 v0.9.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling x25519-dalek v1.1.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hswp v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling criterion v0.3.6 [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[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] 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] 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [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)]` (part of `#[warn(unused)]`) on by default [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` (test "general") due to 54 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `hswp` (example "simple") due to 2 previous errors; 1 warning emitted [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] running `Command { std: "docker" "inspect" "cbdd6b90904891e3bb79895a26118a84fdd3578d44bc09fee2f31b71fbdbfe1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbdd6b90904891e3bb79895a26118a84fdd3578d44bc09fee2f31b71fbdbfe1e", kill_on_drop: false }` [INFO] [stdout] cbdd6b90904891e3bb79895a26118a84fdd3578d44bc09fee2f31b71fbdbfe1e