[INFO] fetching crate sentc-crypto 0.15.0... [INFO] testing sentc-crypto-0.15.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate sentc-crypto 0.15.0 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sentc-crypto 0.15.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 232 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sentc-crypto-common v0.11.0 [INFO] [stderr] Downloaded sentc-crypto-utils v0.15.0 [INFO] [stderr] Downloaded sentc-crypto-core v0.15.0 [INFO] [stderr] Downloaded ope v0.1.1 [INFO] [stderr] Downloaded sentc-crypto-std-keys v0.15.0 [INFO] [stderr] Downloaded cstr_core v0.2.6 [INFO] [stderr] Downloaded build-deps v0.1.4 [INFO] [stderr] Downloaded sentc-crypto-fips-keys v0.15.0 [INFO] [stderr] Downloaded sentc-crypto-rec-keys v0.15.0 [INFO] [stderr] Downloaded pqc_dilithium_edit v0.2.0 [INFO] [stderr] Downloaded argon2 v0.3.4 [INFO] [stderr] Downloaded safe-oqs v0.10.0 [INFO] [stderr] Downloaded pqc_kyber_edit v0.7.2 [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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40f67f71bdfc5843742c84d7467d86af18af1849b4ad435f22e89eb362b08fd8 [INFO] running `Command { std: "docker" "start" "-a" "40f67f71bdfc5843742c84d7467d86af18af1849b4ad435f22e89eb362b08fd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40f67f71bdfc5843742c84d7467d86af18af1849b4ad435f22e89eb362b08fd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40f67f71bdfc5843742c84d7467d86af18af1849b4ad435f22e89eb362b08fd8", kill_on_drop: false }` [INFO] [stdout] 40f67f71bdfc5843742c84d7467d86af18af1849b4ad435f22e89eb362b08fd8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] caf030c476fc42a42756f1ef8d81e8b631da8077df23d425f4a00649939d3e94 [INFO] running `Command { std: "docker" "start" "-a" "caf030c476fc42a42756f1ef8d81e8b631da8077df23d425f4a00649939d3e94", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling base64ct v1.0.1 [INFO] [stderr] Compiling pem-rfc7468 v0.3.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling sentc-crypto-core v0.15.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde v1.0.219 [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/crypto/crypto.rs:20:79 [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 lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to 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 22.49s [INFO] running `Command { std: "docker" "inspect" "caf030c476fc42a42756f1ef8d81e8b631da8077df23d425f4a00649939d3e94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caf030c476fc42a42756f1ef8d81e8b631da8077df23d425f4a00649939d3e94", kill_on_drop: false }` [INFO] [stdout] caf030c476fc42a42756f1ef8d81e8b631da8077df23d425f4a00649939d3e94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ac4d187ca82b0c5c20ad8c31e9ece875ed8ab9c9a78a963f1ea77479de4ecc1d [INFO] running `Command { std: "docker" "start" "-a" "ac4d187ca82b0c5c20ad8c31e9ece875ed8ab9c9a78a963f1ea77479de4ecc1d", kill_on_drop: false }` [INFO] [stderr] Compiling sentc-crypto v0.15.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/crypto/crypto.rs:20:79 [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 lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to 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] [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] 33 | pub type TestGroup = crate::keys::std::StdGroup; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `std_keys` feature [INFO] [stdout] --> src/group/mod.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature = "std_keys")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/group/mod.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub type TestGroup = crate::keys::fips::FipsGroup; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/group/mod.rs:34:2 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(all(feature = "fips_keys", not(feature = "std_keys")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/group/mod.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub type TestGroup = crate::keys::rec::RecGroup; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/group/mod.rs:36:2 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(all(feature = "rec_keys", not(feature = "std_keys")))] [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] 77 | pub type TestUserKeyDataInt = crate::keys::std::StdUserKeyDataInt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `std_keys` feature [INFO] [stdout] --> src/user/mod.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | #[cfg(feature = "std_keys")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/user/mod.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | pub type TestUserKeyDataInt = crate::keys::fips::FipsUserKeyDataInt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/user/mod.rs:78:2 [INFO] [stdout] | [INFO] [stdout] 78 | #[cfg(all(feature = "fips_keys", not(feature = "std_keys")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/user/mod.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | pub type TestUserKeyDataInt = crate::keys::rec::RecUserKeyDataInt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/user/mod.rs:80:2 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(all(feature = "rec_keys", not(feature = "std_keys")))] [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] 63 | pub type TestUser = crate::keys::std::StdUser; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `std_keys` feature [INFO] [stdout] --> src/user/mod.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(feature = "std_keys")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/user/mod.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | pub type TestUser = crate::keys::fips::FipsUser; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/user/mod.rs:64:2 [INFO] [stdout] | [INFO] [stdout] 64 | #[cfg(all(feature = "fips_keys", not(feature = "std_keys")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/user/mod.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | pub type TestUser = crate::keys::rec::RecUser; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/user/mod.rs:66:2 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg(all(feature = "rec_keys", not(feature = "std_keys")))] [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] 3 | pub mod server; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `server` feature [INFO] [stdout] --> src/util/mod.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(feature = "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)]` 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" "ac4d187ca82b0c5c20ad8c31e9ece875ed8ab9c9a78a963f1ea77479de4ecc1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac4d187ca82b0c5c20ad8c31e9ece875ed8ab9c9a78a963f1ea77479de4ecc1d", kill_on_drop: false }` [INFO] [stdout] ac4d187ca82b0c5c20ad8c31e9ece875ed8ab9c9a78a963f1ea77479de4ecc1d