[INFO] fetching crate sentc-crypto 0.15.0...
[INFO] testing sentc-crypto-0.15.0 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] extracting crate sentc-crypto 0.15.0 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate sentc-crypto 0.15.0 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-2-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 202 packages to latest compatible versions
[INFO] [stderr]       Adding base64ct v1.0.1 (available: v1.6.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" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d7280703af702daca5d84f6e43eec66bc0315430bf13e9cbc226ace1be4d34ae
[INFO] running `Command { std: "docker" "start" "-a" "d7280703af702daca5d84f6e43eec66bc0315430bf13e9cbc226ace1be4d34ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d7280703af702daca5d84f6e43eec66bc0315430bf13e9cbc226ace1be4d34ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d7280703af702daca5d84f6e43eec66bc0315430bf13e9cbc226ace1be4d34ae", kill_on_drop: false }`
[INFO] [stdout] d7280703af702daca5d84f6e43eec66bc0315430bf13e9cbc226ace1be4d34ae
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b24b0931a4ef1f10de910eba55d2c6a47ee2d4604bf6968add17490082943e90
[INFO] running `Command { std: "docker" "start" "-a" "b24b0931a4ef1f10de910eba55d2c6a47ee2d4604bf6968add17490082943e90", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling cpufeatures v0.2.14
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling base64ct v1.0.1
[INFO] [stderr]    Compiling pem-rfc7468 v0.3.1
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling syn v2.0.86
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling sentc-crypto-core v0.15.0
[INFO] [stderr]    Compiling serde_derive v1.0.214
[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: elided lifetime has a name
[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]    |                                      -- lifetime `'a` declared here                                  ^ this elided lifetime gets resolved as `'a`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(elided_named_lifetimes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.26s
[INFO] running `Command { std: "docker" "inspect" "b24b0931a4ef1f10de910eba55d2c6a47ee2d4604bf6968add17490082943e90", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b24b0931a4ef1f10de910eba55d2c6a47ee2d4604bf6968add17490082943e90", kill_on_drop: false }`
[INFO] [stdout] b24b0931a4ef1f10de910eba55d2c6a47ee2d4604bf6968add17490082943e90
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 13ed51478624ea2b275351b7718da1795d504aaa590594b17b46fc928c8989d3
[INFO] running `Command { std: "docker" "start" "-a" "13ed51478624ea2b275351b7718da1795d504aaa590594b17b46fc928c8989d3", kill_on_drop: false }`
[INFO] [stdout] warning: elided lifetime has a name
[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]    |                                      -- lifetime `'a` declared here                                  ^ this elided lifetime gets resolved as `'a`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(elided_named_lifetimes)]` on by default
[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] 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<GroupKeyData<TestSymmetricKey, TestSecretKey, TestPublicKey>>,
[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<TestSymmetricKey>(
[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<GroupKeyData<TestSymmetricKey, TestSecretKey, TestPublicKey>>,
[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<TestSecretKey>(
[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<GroupKeyData<TestSymmetricKey, TestSecretKey, TestPublicKey>>,
[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<TestPublicKey>(
[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<TestHmacKey>,
[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<TestHmacKey>(
[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<TestSortableKey>,
[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<TestSortableKey>(
[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: elided lifetime has a name
[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]    |                                      -- lifetime `'a` declared here                                  ^ this elided lifetime gets resolved as `'a`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(elided_named_lifetimes)]` on by default
[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)....
[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; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "13ed51478624ea2b275351b7718da1795d504aaa590594b17b46fc928c8989d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "13ed51478624ea2b275351b7718da1795d504aaa590594b17b46fc928c8989d3", kill_on_drop: false }`
[INFO] [stdout] 13ed51478624ea2b275351b7718da1795d504aaa590594b17b46fc928c8989d3
