[INFO] fetching crate sentc-crypto 0.15.0... [INFO] testing sentc-crypto-0.15.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate sentc-crypto 0.15.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate sentc-crypto 0.15.0 [INFO] finished tweaking crates.io crate sentc-crypto 0.15.0 [INFO] tweaked toml for crates.io crate sentc-crypto 0.15.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sentc-crypto 0.15.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 228 packages to latest compatible versions [INFO] [stderr] Adding base64ct v1.0.1 (available: v1.8.0) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded base64ct v1.0.1 [INFO] [stderr] Downloaded safe-oqs v0.10.0 [INFO] [stderr] Downloaded sentc-crypto-std-keys v0.15.0 [INFO] [stderr] Downloaded ope v0.1.1 [INFO] [stderr] Downloaded argon2 v0.3.4 [INFO] [stderr] Downloaded sentc-crypto-fips-keys v0.15.0 [INFO] [stderr] Downloaded build-deps v0.1.4 [INFO] [stderr] Downloaded cstr_core v0.2.6 [INFO] [stderr] Downloaded pqc_dilithium_edit v0.2.0 [INFO] [stderr] Downloaded ghash v0.4.4 [INFO] [stderr] Downloaded password-hash v0.3.2 [INFO] [stderr] Downloaded aes-gcm v0.9.4 [INFO] [stderr] Downloaded pqc_kyber_edit v0.7.2 [INFO] [stderr] Downloaded sentc-crypto-rec-keys v0.15.0 [INFO] [stderr] Downloaded safe-oqs-sys v0.10.0+liboqs-0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61a00673e80f703c0e12099b3e6f5a4dc42b7e50b1e97848f31a9afe515e5685 [INFO] running `Command { std: "docker" "start" "-a" "61a00673e80f703c0e12099b3e6f5a4dc42b7e50b1e97848f31a9afe515e5685", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61a00673e80f703c0e12099b3e6f5a4dc42b7e50b1e97848f31a9afe515e5685", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61a00673e80f703c0e12099b3e6f5a4dc42b7e50b1e97848f31a9afe515e5685", kill_on_drop: false }` [INFO] [stdout] 61a00673e80f703c0e12099b3e6f5a4dc42b7e50b1e97848f31a9afe515e5685 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd35f10cb8e5f9787877bf977887e7799f3c0e65d9ff3f92474063bfb017ed00 [INFO] running `Command { std: "docker" "start" "-a" "cd35f10cb8e5f9787877bf977887e7799f3c0e65d9ff3f92474063bfb017ed00", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling base64ct v1.0.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling pem-rfc7468 v0.3.1 [INFO] [stderr] Compiling sentc-crypto-core v0.15.0 [INFO] [stderr] Compiling sentc-crypto-common v0.11.0 [INFO] [stderr] Compiling sentc-crypto-utils v0.15.0 [INFO] [stderr] Compiling sentc-crypto v0.15.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/crypto/crypto.rs:20:102 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn split_head_and_encrypted_data<'a, T: Deserialize<'a>>(data_with_head: &'a [u8]) -> Result<(T, &[u8]), SdkError> [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 20 | pub fn split_head_and_encrypted_data<'a, T: Deserialize<'a>>(data_with_head: &'a [u8]) -> Result<(T, &'a [u8]), SdkError> [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.40s [INFO] running `Command { std: "docker" "inspect" "cd35f10cb8e5f9787877bf977887e7799f3c0e65d9ff3f92474063bfb017ed00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd35f10cb8e5f9787877bf977887e7799f3c0e65d9ff3f92474063bfb017ed00", kill_on_drop: false }` [INFO] [stdout] cd35f10cb8e5f9787877bf977887e7799f3c0e65d9ff3f92474063bfb017ed00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a9d5f660081922da0c8860a1125361df160140c354fffa0bdba7c5154c06dae [INFO] running `Command { std: "docker" "start" "-a" "9a9d5f660081922da0c8860a1125361df160140c354fffa0bdba7c5154c06dae", kill_on_drop: false }` [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/crypto/crypto.rs:20:102 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn split_head_and_encrypted_data<'a, T: Deserialize<'a>>(data_with_head: &'a [u8]) -> Result<(T, &[u8]), SdkError> [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 20 | pub fn split_head_and_encrypted_data<'a, T: Deserialize<'a>>(data_with_head: &'a [u8]) -> Result<(T, &'a [u8]), SdkError> [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sentc-crypto v0.15.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::group::test_fn::TestGroup` [INFO] [stdout] --> src/group/group.rs:715:44 [INFO] [stdout] | [INFO] [stdout] 715 | use crate::group::test_fn::{create_group, TestGroup}; [INFO] [stdout] | ^^^^^^^^^ no `TestGroup` in `group::test_fn` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/group/mod.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature = "std_keys")] [INFO] [stdout] | -------------------- the item is gated behind the `std_keys` feature [INFO] [stdout] 33 | pub type TestGroup = crate::keys::std::StdGroup; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/group/mod.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(all(feature = "fips_keys", not(feature = "std_keys")))] [INFO] [stdout] | --------------------- the item is gated behind the `fips_keys` feature [INFO] [stdout] 35 | pub type TestGroup = crate::keys::fips::FipsGroup; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/group/mod.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(feature = "rec_keys", not(feature = "std_keys")))] [INFO] [stdout] | -------------------- the item is gated behind the `rec_keys` feature [INFO] [stdout] 37 | pub type TestGroup = crate::keys::rec::RecGroup; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::user::test_fn::TestUserKeyDataInt` [INFO] [stdout] --> src/group/mod.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::user::test_fn::TestUserKeyDataInt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `TestUserKeyDataInt` in `user::test_fn` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/user/mod.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 76 | #[cfg(feature = "std_keys")] [INFO] [stdout] | -------------------- the item is gated behind the `std_keys` feature [INFO] [stdout] 77 | pub type TestUserKeyDataInt = crate::keys::std::StdUserKeyDataInt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/user/mod.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 78 | #[cfg(all(feature = "fips_keys", not(feature = "std_keys")))] [INFO] [stdout] | --------------------- the item is gated behind the `fips_keys` feature [INFO] [stdout] 79 | pub type TestUserKeyDataInt = crate::keys::fips::FipsUserKeyDataInt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/user/mod.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(all(feature = "rec_keys", not(feature = "std_keys")))] [INFO] [stdout] | -------------------- the item is gated behind the `rec_keys` feature [INFO] [stdout] 81 | pub type TestUserKeyDataInt = crate::keys::rec::RecUserKeyDataInt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::user::test_fn::TestUser` [INFO] [stdout] --> src/user/user.rs:619:124 [INFO] [stdout] | [INFO] [stdout] 619 | use crate::user::test_fn::{create_user, simulate_server_done_login, simulate_server_prepare_login, simulate_verify_login, TestUser}; [INFO] [stdout] | ^^^^^^^^ no `TestUser` in `user::test_fn` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/user/mod.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(feature = "std_keys")] [INFO] [stdout] | -------------------- the item is gated behind the `std_keys` feature [INFO] [stdout] 63 | pub type TestUser = crate::keys::std::StdUser; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/user/mod.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 64 | #[cfg(all(feature = "fips_keys", not(feature = "std_keys")))] [INFO] [stdout] | --------------------- the item is gated behind the `fips_keys` feature [INFO] [stdout] 65 | pub type TestUser = crate::keys::fips::FipsUser; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/user/mod.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg(all(feature = "rec_keys", not(feature = "std_keys")))] [INFO] [stdout] | -------------------- the item is gated behind the `rec_keys` feature [INFO] [stdout] 67 | pub type TestUser = crate::keys::rec::RecUser; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::util::server` [INFO] [stdout] --> src/user/mod.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | use crate::util::server::generate_salt_from_base64_to_string; [INFO] [stdout] | ^^^^^^ could not find `server` in `util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/util/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(feature = "server")] [INFO] [stdout] | ------------------ the item is gated behind the `server` feature [INFO] [stdout] 3 | pub mod server; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestSymmetricKey` in this scope [INFO] [stdout] --> src/group/mod.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 74 | pub(crate) fn create_group( [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestSecretKey` in this scope [INFO] [stdout] --> src/group/mod.rs:78:38 [INFO] [stdout] | [INFO] [stdout] 78 | Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 74 | pub(crate) fn create_group( [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestPublicKey` in this scope [INFO] [stdout] --> src/group/mod.rs:78:53 [INFO] [stdout] | [INFO] [stdout] 78 | Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 74 | pub(crate) fn create_group( [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestHmacKey` in this scope [INFO] [stdout] --> src/group/mod.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 80 | Vec, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 74 | pub(crate) fn create_group( [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestSortableKey` in this scope [INFO] [stdout] --> src/group/mod.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 74 | pub(crate) fn create_group( [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `salt_string` in this scope [INFO] [stdout] --> src/user/mod.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | salt_string, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `challenge` in this scope [INFO] [stdout] --> src/user/mod.rs:172:4 [INFO] [stdout] | [INFO] [stdout] 172 | challenge, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestUserDataInt` in this scope [INFO] [stdout] --> src/user/mod.rs:231:33 [INFO] [stdout] | [INFO] [stdout] 231 | pub(crate) fn create_user() -> TestUserDataInt [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PkFromUserKeyWrapper` [INFO] [stdout] --> src/crypto/crypto.rs:210:38 [INFO] [stdout] | [INFO] [stdout] 210 | use sentc_crypto_utils::cryptomat::{PkFromUserKeyWrapper, SkCryptoWrapper, SymKeyCrypto}; [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: `crate::util` [INFO] [stdout] --> src/user/mod.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | use crate::util; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestPublicKey` [INFO] [stdout] --> src/crypto/crypto.rs:328:27 [INFO] [stdout] | [INFO] [stdout] 328 | let (head, encrypted) = TestPublicKey::encrypt_raw_with_user_key(&user.user_keys[0].exported_public_key, text.as_bytes()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TestPublicKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestPublicKey` [INFO] [stdout] --> src/crypto/crypto.rs:344:27 [INFO] [stdout] | [INFO] [stdout] 344 | let (head, encrypted) = TestPublicKey::encrypt_raw_with_user_key_with_sign( [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TestPublicKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestPublicKey` [INFO] [stdout] --> src/crypto/crypto.rs:453:19 [INFO] [stdout] | [INFO] [stdout] 453 | let encrypted = TestPublicKey::encrypt_with_user_key(&user.user_keys[0].exported_public_key, text.as_bytes()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TestPublicKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestPublicKey` [INFO] [stdout] --> src/crypto/crypto.rs:471:19 [INFO] [stdout] | [INFO] [stdout] 471 | let encrypted = TestPublicKey::encrypt_with_user_key_with_sign( [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TestPublicKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestPublicKey` [INFO] [stdout] --> src/crypto/crypto.rs:553:19 [INFO] [stdout] | [INFO] [stdout] 553 | let encrypted = TestPublicKey::encrypt_string_with_user_key(&user.user_keys[0].exported_public_key, text).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TestPublicKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestPublicKey` [INFO] [stdout] --> src/crypto/crypto.rs:571:19 [INFO] [stdout] | [INFO] [stdout] 571 | let encrypted = TestPublicKey::encrypt_string_with_user_key_with_sign( [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TestPublicKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestKeyGenerator` [INFO] [stdout] --> src/crypto/crypto.rs:593:30 [INFO] [stdout] | [INFO] [stdout] 593 | let (key, encrypted_key) = TestKeyGenerator::generate_non_register_sym_key(master_key).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TestKeyGenerator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestKeyGenerator` [INFO] [stdout] --> src/crypto/crypto.rs:610:23 [INFO] [stdout] | [INFO] [stdout] 610 | let decrypted_key = TestKeyGenerator::decrypt_sym_key(master_key, &encrypted_key).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TestKeyGenerator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestKeyGenerator` [INFO] [stdout] --> src/crypto/crypto.rs:620:30 [INFO] [stdout] | [INFO] [stdout] 620 | let (key, encrypted_key) = TestKeyGenerator::generate_non_register_sym_key_by_public_key(&user.user_keys[0].exported_public_key).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TestKeyGenerator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestKeyGenerator` [INFO] [stdout] --> src/crypto/crypto.rs:637:23 [INFO] [stdout] | [INFO] [stdout] 637 | let decrypted_key = TestKeyGenerator::decrypt_sym_key_by_private_key(&user.user_keys[0].private_key, &encrypted_key).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TestKeyGenerator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestGroup` [INFO] [stdout] --> src/group/mod.rs:84:15 [INFO] [stdout] | [INFO] [stdout] 84 | let group = TestGroup::prepare_create(&user.public_key, Some(&user.sign_key), "".to_string()).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TestGroup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestGroup` [INFO] [stdout] --> src/group/mod.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | .map(|k| TestGroup::decrypt_group_keys(&user.private_key, k, Some(&user.exported_verify_key)).unwrap()) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TestGroup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestGroup` [INFO] [stdout] --> src/group/mod.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | .map(|k| TestGroup::decrypt_group_hmac_key(&group_keys[0].group_key, k).unwrap()) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TestGroup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestGroup` [INFO] [stdout] --> src/group/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | .map(|k| TestGroup::decrypt_group_sortable_key(&group_keys[0].group_key, k).unwrap()) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TestGroup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestUser` [INFO] [stdout] --> src/user/mod.rs:236:20 [INFO] [stdout] | [INFO] [stdout] 236 | let out_string = TestUser::register(username, password).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TestUser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestUser` [INFO] [stdout] --> src/user/mod.rs:241:55 [INFO] [stdout] | [INFO] [stdout] 241 | let (_input, auth_key, master_key_encryption_key) = TestUser::prepare_login(username, password, &server_output).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TestUser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestUser` [INFO] [stdout] --> src/user/mod.rs:245:20 [INFO] [stdout] | [INFO] [stdout] 245 | let done_login = TestUser::done_login( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TestUser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestUser` [INFO] [stdout] --> src/user/mod.rs:255:3 [INFO] [stdout] | [INFO] [stdout] 255 | TestUser::verify_login( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TestUser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sentc-crypto` (lib test) due to 30 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9a9d5f660081922da0c8860a1125361df160140c354fffa0bdba7c5154c06dae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a9d5f660081922da0c8860a1125361df160140c354fffa0bdba7c5154c06dae", kill_on_drop: false }` [INFO] [stdout] 9a9d5f660081922da0c8860a1125361df160140c354fffa0bdba7c5154c06dae