[INFO] cloning repository https://github.com/xthang/lib-messaging
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xthang/lib-messaging" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxthang%2Flib-messaging"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxthang%2Flib-messaging'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 9171f680293928bb63f230dfce9a9d5f9c596dfe
[INFO] testing xthang/lib-messaging against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxthang%2Flib-messaging" "/workspace/builds/worker-6-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] removed dangling symlink "swift/Tests/LibSignalClientTests/Resources/svr2handshakestart.data"
[INFO] removed dangling symlink "java/client/src/test/resources/org/signal/libsignal/sgxsession/svr2handshakestart.data"
[INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain
[INFO] started tweaking git repo https://github.com/xthang/lib-messaging
[INFO] finished tweaking git repo https://github.com/xthang/lib-messaging
[INFO] tweaked toml for git repo https://github.com/xthang/lib-messaging written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/xthang/lib-messaging on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/xthang/lib-messaging already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 57e0ef07319732399efec3aa3494dc617f93c4406099f58f533c6c466ce253a3
[INFO] running `"docker" "start" "57e0ef07319732399efec3aa3494dc617f93c4406099f58f533c6c466ce253a3"`
[INFO] running `"docker" "inspect" "57e0ef07319732399efec3aa3494dc617f93c4406099f58f533c6c466ce253a3"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "57e0ef07319732399efec3aa3494dc617f93c4406099f58f533c6c466ce253a3" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "57e0ef07319732399efec3aa3494dc617f93c4406099f58f533c6c466ce253a3"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "57e0ef07319732399efec3aa3494dc617f93c4406099f58f533c6c466ce253a3" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling proc-macro2 v1.0.63
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling quote v1.0.29
[INFO] [stderr]    Compiling unicode-ident v1.0.9
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling either v1.8.1
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling anyhow v1.0.71
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling cpufeatures v0.2.8
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling rustix v0.37.22
[INFO] [stderr]    Compiling tempfile v3.6.0
[INFO] [stderr]    Compiling equivalent v1.0.0
[INFO] [stderr]    Compiling bytes v1.4.0
[INFO] [stderr]    Compiling linux-raw-sys v0.3.8
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling hashbrown v0.14.0
[INFO] [stderr]    Compiling dunce v1.0.4
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling winnow v0.4.7
[INFO] [stderr]    Compiling regex-syntax v0.7.2
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling toml_datetime v0.6.3
[INFO] [stderr]    Compiling fastrand v1.9.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling unicode-segmentation v1.10.1
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling log v0.4.19
[INFO] [stderr]    Compiling indexmap v2.0.0
[INFO] [stderr]    Compiling aho-corasick v1.0.2
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling thiserror v1.0.40
[INFO] [stderr]    Compiling async-trait v0.1.69
[INFO] [stderr]    Compiling pqcrypto-traits v0.3.4
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling syn v2.0.23
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling uuid v1.4.0
[INFO] [stderr]    Compiling petgraph v0.6.3
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling jobserver v0.1.26
[INFO] [stderr]    Compiling which v4.4.0
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]    Compiling prost-build v0.9.0
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling cipher v0.3.0
[INFO] [stderr]    Compiling universal-hash v0.4.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling crypto-mac v0.11.0
[INFO] [stderr]    Compiling polyval v0.5.3
[INFO] [stderr]    Compiling aead v0.4.3
[INFO] [stderr]    Compiling ctr v0.8.0
[INFO] [stderr]    Compiling ctr v0.7.0
[INFO] [stderr]    Compiling hmac v0.11.0
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling sha-1 v0.9.8
[INFO] [stderr]    Compiling hkdf v0.11.0
[INFO] [stderr]    Compiling aes v0.7.5
[INFO] [stderr]    Compiling ghash v0.4.4
[INFO] [stderr]    Compiling block-modes v0.8.1
[INFO] [stderr]    Compiling toml_edit v0.19.11
[INFO] [stderr]    Compiling regex v1.8.4
[INFO] [stderr]    Compiling pqcrypto-internals v0.2.4
[INFO] [stderr]    Compiling pqcrypto-kyber v0.7.6
[INFO] [stderr]    Compiling messaging-crypto v0.1.0 (/opt/rustwide/workdir/rust/crypto)
[INFO] [stderr]    Compiling prost-derive v0.9.0
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling prost v0.9.0
[INFO] [stderr]    Compiling prost-types v0.9.0
[INFO] [stderr]    Compiling num_enum_derive v0.5.11
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]    Compiling displaydoc v0.2.4
[INFO] [stderr]    Compiling num_enum v0.5.11
[INFO] [stderr]    Compiling zeroize v1.3.0
[INFO] [stderr]    Compiling lib-messaging-protocol v0.1.0 (/opt/rustwide/workdir/rust/protocol)
[INFO] [stderr]    Compiling curve25519-dalek v3.2.1 (https://github.com/signalapp/curve25519-dalek?branch=lizard2#4f0aa665)
[INFO] [stderr]    Compiling aes-gcm-siv v0.10.1
[INFO] [stderr]    Compiling x25519-dalek v1.2.0
[INFO] [stdout] warning: unused import: `Padding`
[INFO] [stdout]   --> rust/protocol/src/crypto.rs:13:34
[INFO] [stdout]    |
[INFO] [stdout] 13 | use block_modes::block_padding::{Padding, Pkcs7};
[INFO] [stdout]    |                                  ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_FORWARD_JUMPS` is never used
[INFO] [stdout]  --> rust/protocol/src/consts.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const MAX_FORWARD_JUMPS: usize = 25_000;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_MESSAGE_KEYS` is never used
[INFO] [stdout]  --> rust/protocol/src/consts.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub const MAX_MESSAGE_KEYS: usize = 2000;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_RECEIVER_CHAINS` is never used
[INFO] [stdout]  --> rust/protocol/src/consts.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const MAX_RECEIVER_CHAINS: usize = 5;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ARCHIVED_STATES_MAX_LENGTH` is never used
[INFO] [stdout]  --> rust/protocol/src/consts.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const ARCHIVED_STATES_MAX_LENGTH: usize = 40;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_SENDER_KEY_STATES` is never used
[INFO] [stdout]   --> rust/protocol/src/consts.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const MAX_SENDER_KEY_STATES: usize = 5;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `aes_256_ctr_encrypt` is never used
[INFO] [stdout]   --> rust/protocol/src/crypto.rs:60:4
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn aes_256_ctr_encrypt(ptext: &[u8], key: &[u8]) -> Result<Vec<u8>, EncryptionError> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `aes_256_ctr_decrypt` is never used
[INFO] [stdout]   --> rust/protocol/src/crypto.rs:71:4
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn aes_256_ctr_decrypt(ctext: &[u8], key: &[u8]) -> Result<Vec<u8>, DecryptionError> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `aes256_ctr_hmacsha256_encrypt` is never used
[INFO] [stdout]    --> rust/protocol/src/crypto.rs:113:15
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub(crate) fn aes256_ctr_hmacsha256_encrypt(
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `aes256_ctr_hmacsha256_decrypt` is never used
[INFO] [stdout]    --> rust/protocol/src/crypto.rs:124:15
[INFO] [stdout]     |
[INFO] [stdout] 124 | pub(crate) fn aes256_ctr_hmacsha256_decrypt(
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> rust/protocol/src/error.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[derive(Debug, Display, Error)]
[INFO] [stdout]    |                 ^------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `Display` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_DERIVE_Display_FOR_SignalProtocolError`
[INFO] [stdout] 17 | #[ignore_extra_doc_attributes]
[INFO] [stdout] 18 | pub enum SignalProtocolError {
[INFO] [stdout]    |          ------------------- `SignalProtocolError` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `aes-gcm-siv`
[INFO] [stderr]   --> rust/protocol/Cargo.toml:14:1
[INFO] [stderr]    |
[INFO] [stderr] 14 | aes-gcm-siv = "0.10.1"
[INFO] [stderr]    | ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `aes-gcm-siv`
[INFO] [stderr] warning: unused dependency `async-trait`
[INFO] [stderr]   --> rust/protocol/Cargo.toml:16:1
[INFO] [stderr]    |
[INFO] [stderr] 16 | async-trait = "0.1.41"
[INFO] [stderr]    | ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `async-trait`
[INFO] [stderr] warning: unused dependency `hex`
[INFO] [stderr]   --> rust/protocol/Cargo.toml:29:1
[INFO] [stderr]    |
[INFO] [stderr] 29 | hex = "0.4"
[INFO] [stderr]    | ^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `hex`
[INFO] [stderr] warning: unused dependency `hkdf`
[INFO] [stderr]   --> rust/protocol/Cargo.toml:20:1
[INFO] [stderr]    |
[INFO] [stderr] 20 | hkdf = "0.11"
[INFO] [stderr]    | ^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `hkdf`
[INFO] [stderr] warning: unused dependency `itertools`
[INFO] [stderr]   --> rust/protocol/Cargo.toml:23:1
[INFO] [stderr]    |
[INFO] [stderr] 23 | itertools = "0.10.1"
[INFO] [stderr]    | ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `itertools`
[INFO] [stderr] warning: unused dependency `log`
[INFO] [stderr]   --> rust/protocol/Cargo.toml:30:1
[INFO] [stderr]    |
[INFO] [stderr] 30 | log = "0.4"
[INFO] [stderr]    | ^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `log`
[INFO] [stderr] warning: unused dependency `num_enum`
[INFO] [stderr]   --> rust/protocol/Cargo.toml:31:1
[INFO] [stderr]    |
[INFO] [stderr] 31 | num_enum = "0.5.1"
[INFO] [stderr]    | ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `num_enum`
[INFO] [stderr] warning: unused dependency `pqcrypto-kyber`
[INFO] [stderr]   --> rust/protocol/Cargo.toml:35:1
[INFO] [stderr]    |
[INFO] [stderr] 35 | pqcrypto-kyber = {version = "0.7.6", default-features = false, features = ["std"]}
[INFO] [stderr]    | ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `pqcrypto-kyber`
[INFO] [stderr] warning: unused dependency `prost`
[INFO] [stderr]   --> rust/protocol/Cargo.toml:24:1
[INFO] [stderr]    |
[INFO] [stderr] 24 | prost = "0.9"
[INFO] [stderr]    | ^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `prost`
[INFO] [stderr] warning: unused dependency `uuid`
[INFO] [stderr]   --> rust/protocol/Cargo.toml:32:1
[INFO] [stderr]    |
[INFO] [stderr] 32 | uuid = "1.1.2"
[INFO] [stderr]    | ^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `uuid`
[INFO] [stderr] warning: unused dependency `prost-build`
[INFO] [stderr]   --> rust/protocol/Cargo.toml:48:1
[INFO] [stderr]    |
[INFO] [stderr] 48 | prost-build = "0.9"
[INFO] [stderr]    | ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `prost-build`
[INFO] [stderr] warning: `lib-messaging-protocol` (manifest) generated 11 warnings
[INFO] [stderr] warning: unused dependency `aes`
[INFO] [stderr]   --> rust/crypto/Cargo.toml:13:1
[INFO] [stderr]    |
[INFO] [stderr] 13 | aes = { version = "0.7.4", features = ["ctr"] }
[INFO] [stderr]    | ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `aes`
[INFO] [stderr] warning: unused dependency `ghash`
[INFO] [stderr]   --> rust/crypto/Cargo.toml:16:1
[INFO] [stderr]    |
[INFO] [stderr] 16 | ghash = "0.4.2"
[INFO] [stderr]    | ^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `ghash`
[INFO] [stderr] warning: unused dependency `hmac`
[INFO] [stderr]   --> rust/crypto/Cargo.toml:17:1
[INFO] [stderr]    |
[INFO] [stderr] 17 | hmac = "0.11"
[INFO] [stderr]    | ^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `hmac`
[INFO] [stderr] warning: unused dependency `sha-1`
[INFO] [stderr]   --> rust/crypto/Cargo.toml:18:1
[INFO] [stderr]    |
[INFO] [stderr] 18 | sha-1 = "0.9"
[INFO] [stderr]    | ^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `sha-1`
[INFO] [stderr] warning: unused dependency `sha2`
[INFO] [stderr]   --> rust/crypto/Cargo.toml:19:1
[INFO] [stderr]    |
[INFO] [stderr] 19 | sha2 = "0.9"
[INFO] [stderr]    | ^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `sha2`
[INFO] [stderr] warning: `messaging-crypto` (manifest) generated 5 warnings
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 40.74s
[INFO] running `"docker" "inspect" "57e0ef07319732399efec3aa3494dc617f93c4406099f58f533c6c466ce253a3"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "57e0ef07319732399efec3aa3494dc617f93c4406099f58f533c6c466ce253a3" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.15
[INFO] [stderr]    Compiling serde v1.0.165
[INFO] [stderr]    Compiling libm v0.2.7
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.165
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling rayon-core v1.11.0
[INFO] [stderr]    Compiling serde_json v1.0.99
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling regex-syntax v0.7.2
[INFO] [stderr]    Compiling itoa v1.0.8
[INFO] [stderr]    Compiling ryu v1.0.13
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling plotters-backend v0.3.5
[INFO] [stderr]    Compiling ciborium-io v0.2.1
[INFO] [stderr]    Compiling os_str_bytes v6.5.1
[INFO] [stderr]    Compiling half v1.8.2
[INFO] [stderr]    Compiling rustix v0.37.22
[INFO] [stderr]    Compiling cast v0.3.0
[INFO] [stderr]    Compiling linux-raw-sys v0.3.8
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling aho-corasick v1.0.2
[INFO] [stderr]    Compiling textwrap v0.16.0
[INFO] [stderr]    Compiling clap_lex v0.2.4
[INFO] [stderr]    Compiling plotters-svg v0.3.5
[INFO] [stderr]    Compiling ciborium-ll v0.2.1
[INFO] [stderr]    Compiling walkdir v2.3.3
[INFO] [stderr]    Compiling criterion-plot v0.5.0
[INFO] [stderr]    Compiling tempfile v3.6.0
[INFO] [stderr]    Compiling slab v0.4.8
[INFO] [stderr]    Compiling crossbeam-channel v0.5.8
[INFO] [stderr]    Compiling clap v3.2.25
[INFO] [stderr]    Compiling oorandom v11.1.3
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]    Compiling anes v0.1.6
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling crossbeam-deque v0.8.3
[INFO] [stderr]    Compiling fastrand v1.9.0
[INFO] [stderr]    Compiling log v0.4.19
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling futures-macro v0.3.28
[INFO] [stderr]    Compiling termcolor v1.2.0
[INFO] [stderr]    Compiling unarray v0.1.4
[INFO] [stderr]    Compiling pin-project-lite v0.2.10
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling plotters v0.3.5
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling pqcrypto-internals v0.2.4
[INFO] [stderr]    Compiling wait-timeout v0.2.0
[INFO] [stderr]    Compiling rand_xorshift v0.3.0
[INFO] [stderr]    Compiling pqcrypto-kyber v0.7.6
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling curve25519-dalek v3.2.1 (https://github.com/signalapp/curve25519-dalek?branch=lizard2#4f0aa665)
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling regex v1.8.4
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling rayon v1.7.0
[INFO] [stderr]    Compiling x25519-dalek v1.2.0
[INFO] [stderr]    Compiling rusty-fork v0.3.0
[INFO] [stderr]    Compiling env_logger v0.8.4
[INFO] [stderr]    Compiling lib-messaging-protocol v0.1.0 (/opt/rustwide/workdir/rust/protocol)
[INFO] [stdout] warning: unused import: `Padding`
[INFO] [stdout]   --> rust/protocol/src/crypto.rs:13:34
[INFO] [stdout]    |
[INFO] [stdout] 13 | use block_modes::block_padding::{Padding, Pkcs7};
[INFO] [stdout]    |                                  ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling proptest v1.2.0
[INFO] [stdout] warning: constant `MAX_FORWARD_JUMPS` is never used
[INFO] [stdout]  --> rust/protocol/src/consts.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const MAX_FORWARD_JUMPS: usize = 25_000;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_MESSAGE_KEYS` is never used
[INFO] [stdout]  --> rust/protocol/src/consts.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub const MAX_MESSAGE_KEYS: usize = 2000;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_RECEIVER_CHAINS` is never used
[INFO] [stdout]  --> rust/protocol/src/consts.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const MAX_RECEIVER_CHAINS: usize = 5;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ARCHIVED_STATES_MAX_LENGTH` is never used
[INFO] [stdout]  --> rust/protocol/src/consts.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const ARCHIVED_STATES_MAX_LENGTH: usize = 40;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_SENDER_KEY_STATES` is never used
[INFO] [stdout]   --> rust/protocol/src/consts.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const MAX_SENDER_KEY_STATES: usize = 5;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `aes_256_ctr_encrypt` is never used
[INFO] [stdout]   --> rust/protocol/src/crypto.rs:60:4
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn aes_256_ctr_encrypt(ptext: &[u8], key: &[u8]) -> Result<Vec<u8>, EncryptionError> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `aes_256_ctr_decrypt` is never used
[INFO] [stdout]   --> rust/protocol/src/crypto.rs:71:4
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn aes_256_ctr_decrypt(ctext: &[u8], key: &[u8]) -> Result<Vec<u8>, DecryptionError> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `aes256_ctr_hmacsha256_encrypt` is never used
[INFO] [stdout]    --> rust/protocol/src/crypto.rs:113:15
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub(crate) fn aes256_ctr_hmacsha256_encrypt(
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `aes256_ctr_hmacsha256_decrypt` is never used
[INFO] [stdout]    --> rust/protocol/src/crypto.rs:124:15
[INFO] [stdout]     |
[INFO] [stdout] 124 | pub(crate) fn aes256_ctr_hmacsha256_decrypt(
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> rust/protocol/src/error.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[derive(Debug, Display, Error)]
[INFO] [stdout]    |                 ^------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `Display` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_DERIVE_Display_FOR_SignalProtocolError`
[INFO] [stdout] 17 | #[ignore_extra_doc_attributes]
[INFO] [stdout] 18 | pub enum SignalProtocolError {
[INFO] [stdout]    |          ------------------- `SignalProtocolError` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling ciborium v0.2.1
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling criterion v0.4.0
[INFO] [stderr]    Compiling messaging-crypto v0.1.0 (/opt/rustwide/workdir/rust/crypto)
[INFO] [stdout] warning: unused import: `Padding`
[INFO] [stdout]   --> rust/protocol/src/crypto.rs:13:34
[INFO] [stdout]    |
[INFO] [stdout] 13 | use block_modes::block_padding::{Padding, Pkcs7};
[INFO] [stdout]    |                                  ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `kem` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:165:25
[INFO] [stdout]     |
[INFO] [stdout] 165 |     let bob_kyber_key = kem::KeyPair::generate(kem::KeyType::Kyber1024);
[INFO] [stdout]     |                         ^^^ use of unresolved module or unlinked crate `kem`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `kem`, use `cargo add kem` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_FORWARD_JUMPS` is never used
[INFO] [stdout]  --> rust/protocol/src/consts.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const MAX_FORWARD_JUMPS: usize = 25_000;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_MESSAGE_KEYS` is never used
[INFO] [stdout]  --> rust/protocol/src/consts.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub const MAX_MESSAGE_KEYS: usize = 2000;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_RECEIVER_CHAINS` is never used
[INFO] [stdout]  --> rust/protocol/src/consts.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const MAX_RECEIVER_CHAINS: usize = 5;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ARCHIVED_STATES_MAX_LENGTH` is never used
[INFO] [stdout]  --> rust/protocol/src/consts.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const ARCHIVED_STATES_MAX_LENGTH: usize = 40;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_SENDER_KEY_STATES` is never used
[INFO] [stdout]   --> rust/protocol/src/consts.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const MAX_SENDER_KEY_STATES: usize = 5;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `aes_256_ctr_decrypt` is never used
[INFO] [stdout]   --> rust/protocol/src/crypto.rs:71:4
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn aes_256_ctr_decrypt(ctext: &[u8], key: &[u8]) -> Result<Vec<u8>, DecryptionError> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `aes256_ctr_hmacsha256_encrypt` is never used
[INFO] [stdout]    --> rust/protocol/src/crypto.rs:113:15
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub(crate) fn aes256_ctr_hmacsha256_encrypt(
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `aes256_ctr_hmacsha256_decrypt` is never used
[INFO] [stdout]    --> rust/protocol/src/crypto.rs:124:15
[INFO] [stdout]     |
[INFO] [stdout] 124 | pub(crate) fn aes256_ctr_hmacsha256_decrypt(
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> rust/protocol/src/error.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[derive(Debug, Display, Error)]
[INFO] [stdout]    |                 ^------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `Display` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_DERIVE_Display_FOR_SignalProtocolError`
[INFO] [stdout] 17 | #[ignore_extra_doc_attributes]
[INFO] [stdout] 18 | pub enum SignalProtocolError {
[INFO] [stdout]    |          ------------------- `SignalProtocolError` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `kem` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:165:48
[INFO] [stdout]     |
[INFO] [stdout] 165 |     let bob_kyber_key = kem::KeyPair::generate(kem::KeyType::Kyber1024);
[INFO] [stdout]     |                                                ^^^ use of unresolved module or unlinked crate `kem`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `kem`, use `cargo add kem` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `kem` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:299:20
[INFO] [stdout]     |
[INFO] [stdout] 299 |         let pair = kem::KeyPair::generate(kem::KeyType::Kyber1024);
[INFO] [stdout]     |                    ^^^ use of unresolved module or unlinked crate `kem`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `kem`, use `cargo add kem` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `kem` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:299:43
[INFO] [stdout]     |
[INFO] [stdout] 299 |         let pair = kem::KeyPair::generate(kem::KeyType::Kyber1024);
[INFO] [stdout]     |                                           ^^^ use of unresolved module or unlinked crate `kem`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `kem`, use `cargo add kem` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `kem` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:165:25
[INFO] [stdout]     |
[INFO] [stdout] 165 |     let bob_kyber_key = kem::KeyPair::generate(kem::KeyType::Kyber1024);
[INFO] [stdout]     |                         ^^^ use of unresolved module or unlinked crate `kem`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `kem`, use `cargo add kem` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `kem` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:165:48
[INFO] [stdout]     |
[INFO] [stdout] 165 |     let bob_kyber_key = kem::KeyPair::generate(kem::KeyType::Kyber1024);
[INFO] [stdout]     |                                                ^^^ use of unresolved module or unlinked crate `kem`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `kem`, use `cargo add kem` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `kem` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:165:25
[INFO] [stdout]     |
[INFO] [stdout] 165 |     let bob_kyber_key = kem::KeyPair::generate(kem::KeyType::Kyber1024);
[INFO] [stdout]     |                         ^^^ use of unresolved module or unlinked crate `kem`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `kem`, use `cargo add kem` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `kem` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:165:48
[INFO] [stdout]     |
[INFO] [stdout] 165 |     let bob_kyber_key = kem::KeyPair::generate(kem::KeyType::Kyber1024);
[INFO] [stdout]     |                                                ^^^ use of unresolved module or unlinked crate `kem`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `kem`, use `cargo add kem` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `kem` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:165:25
[INFO] [stdout]     |
[INFO] [stdout] 165 |     let bob_kyber_key = kem::KeyPair::generate(kem::KeyType::Kyber1024);
[INFO] [stdout]     |                         ^^^ use of unresolved module or unlinked crate `kem`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `kem`, use `cargo add kem` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `kem` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:165:48
[INFO] [stdout]     |
[INFO] [stdout] 165 |     let bob_kyber_key = kem::KeyPair::generate(kem::KeyType::Kyber1024);
[INFO] [stdout]     |                                                ^^^ use of unresolved module or unlinked crate `kem`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `kem`, use `cargo add kem` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `kem` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:299:20
[INFO] [stdout]     |
[INFO] [stdout] 299 |         let pair = kem::KeyPair::generate(kem::KeyType::Kyber1024);
[INFO] [stdout]     |                    ^^^ use of unresolved module or unlinked crate `kem`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `kem`, use `cargo add kem` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `kem` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:299:43
[INFO] [stdout]     |
[INFO] [stdout] 299 |         let pair = kem::KeyPair::generate(kem::KeyType::Kyber1024);
[INFO] [stdout]     |                                           ^^^ use of unresolved module or unlinked crate `kem`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `kem`, use `cargo add kem` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:21:50
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn test_in_memory_protocol_store() -> Result<InMemSignalProtocolStore, SignalProtocolError> {
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn test_in_memory_protocol_store<InMemSignalProtocolStore>() -> Result<InMemSignalProtocolStore, SignalProtocolError> {
[INFO] [stdout]    |                                     ++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 |     store: &mut InMemSignalProtocolStore,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:32:22
[INFO] [stdout]    |
[INFO] [stdout] 32 |     remote_address: &ProtocolAddress,
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 | ) -> Result<CiphertextMessage, SignalProtocolError> {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub async fn encrypt<CiphertextMessage>(
[INFO] [stdout]    |                     +++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:46:17
[INFO] [stdout]    |
[INFO] [stdout] 46 |     store: &mut InMemSignalProtocolStore,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:47:22
[INFO] [stdout]    |
[INFO] [stdout] 47 |     remote_address: &ProtocolAddress,
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:48:11
[INFO] [stdout]    |
[INFO] [stdout] 48 |     msg: &CiphertextMessage,
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `ProtocolStore` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:66:21
[INFO] [stdout]    |
[INFO] [stdout] 66 |     store: &mut dyn ProtocolStore,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PreKeyBundle` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:68:13
[INFO] [stdout]    |
[INFO] [stdout] 68 | ) -> Result<PreKeyBundle, SignalProtocolError> {
[INFO] [stdout]    |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub async fn create_pre_key_bundle<R: Rng + CryptoRng, PreKeyBundle>(
[INFO] [stdout]    |                                                      ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SessionRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:119:44
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub fn initialize_sessions_v3() -> Result<(SessionRecord, SessionRecord), SignalProtocolError> {
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub fn initialize_sessions_v3<SessionRecord>() -> Result<(SessionRecord, SessionRecord), SignalProtocolError> {
[INFO] [stdout]     |                              +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SessionRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:119:59
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub fn initialize_sessions_v3() -> Result<(SessionRecord, SessionRecord), SignalProtocolError> {
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub fn initialize_sessions_v3<SessionRecord>() -> Result<(SessionRecord, SessionRecord), SignalProtocolError> {
[INFO] [stdout]     |                              +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SessionRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:155:44
[INFO] [stdout]     |
[INFO] [stdout] 155 | pub fn initialize_sessions_v4() -> Result<(SessionRecord, SessionRecord), SignalProtocolError> {
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 155 | pub fn initialize_sessions_v4<SessionRecord>() -> Result<(SessionRecord, SessionRecord), SignalProtocolError> {
[INFO] [stdout]     |                              +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SessionRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:155:59
[INFO] [stdout]     |
[INFO] [stdout] 155 | pub fn initialize_sessions_v4() -> Result<(SessionRecord, SessionRecord), SignalProtocolError> {
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 155 | pub fn initialize_sessions_v4<SessionRecord>() -> Result<(SessionRecord, SessionRecord), SignalProtocolError> {
[INFO] [stdout]     |                              +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:215:23
[INFO] [stdout]     |
[INFO] [stdout] 215 |     pub(crate) store: InMemSignalProtocolStore,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:235:31
[INFO] [stdout]     |
[INFO] [stdout] 235 |     pub fn from_store(store: &InMemSignalProtocolStore) -> Self {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DeviceId` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:310:59
[INFO] [stdout]     |
[INFO] [stdout] 310 |     pub fn make_bundle_with_latest_keys(&self, device_id: DeviceId) -> PreKeyBundle {
[INFO] [stdout]     |                                                           ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PreKeyBundle` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:310:72
[INFO] [stdout]     |
[INFO] [stdout] 310 |     pub fn make_bundle_with_latest_keys(&self, device_id: DeviceId) -> PreKeyBundle {
[INFO] [stdout]     |                                                                        ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:404:41
[INFO] [stdout]     |
[INFO] [stdout] 404 |     fn session_version(&self, address: &ProtocolAddress) -> Result<u32, SignalProtocolError>;
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:408:41
[INFO] [stdout]     |
[INFO] [stdout] 408 |     fn session_version(&self, address: &ProtocolAddress) -> Result<u32, SignalProtocolError> {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:413:28
[INFO] [stdout]     |
[INFO] [stdout] 413 | impl HasSessionVersion for InMemSignalProtocolStore {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:414:41
[INFO] [stdout]     |
[INFO] [stdout] 414 |     fn session_version(&self, address: &ProtocolAddress) -> Result<u32, SignalProtocolError> {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InMemSenderKeyStore` in this scope
[INFO] [stdout]   --> rust/protocol/tests/groups.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 |     store: InMemSenderKeyStore,
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Context` in this scope
[INFO] [stdout]   --> rust/protocol/tests/groups.rs:44:23
[INFO] [stdout]    |
[INFO] [stdout] 44 |     expected_context: Context,
[INFO] [stdout]    |                       ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  8 + use std::task::Context;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Context` in this scope
[INFO] [stdout]   --> rust/protocol/tests/groups.rs:48:34
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn new(expected_context: Context) -> Self {
[INFO] [stdout]    |                                  ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  8 + use std::task::Context;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `SenderKeyStore` in this scope
[INFO] [stdout]   --> rust/protocol/tests/groups.rs:57:6
[INFO] [stdout]    |
[INFO] [stdout] 57 | impl SenderKeyStore for ContextUsingSenderKeyStore {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]   --> rust/protocol/tests/groups.rs:60:18
[INFO] [stdout]    |
[INFO] [stdout] 60 |         sender: &ProtocolAddress,
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SenderKeyRecord` in this scope
[INFO] [stdout]   --> rust/protocol/tests/groups.rs:62:18
[INFO] [stdout]    |
[INFO] [stdout] 62 |         record: &SenderKeyRecord,
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Context` in this scope
[INFO] [stdout]   --> rust/protocol/tests/groups.rs:63:14
[INFO] [stdout]    |
[INFO] [stdout] 63 |         ctx: Context,
[INFO] [stdout]    |              ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  8 + use std::task::Context;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]   --> rust/protocol/tests/groups.rs:73:18
[INFO] [stdout]    |
[INFO] [stdout] 73 |         sender: &ProtocolAddress,
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Context` in this scope
[INFO] [stdout]   --> rust/protocol/tests/groups.rs:75:14
[INFO] [stdout]    |
[INFO] [stdout] 75 |         ctx: Context,
[INFO] [stdout]    |              ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  8 + use std::task::Context;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SenderKeyRecord` in this scope
[INFO] [stdout]   --> rust/protocol/tests/groups.rs:76:24
[INFO] [stdout]    |
[INFO] [stdout] 76 |     ) -> Result<Option<SenderKeyRecord>, SignalProtocolError> {
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 57 | impl<SenderKeyRecord> SenderKeyStore for ContextUsingSenderKeyStore {
[INFO] [stdout]    |     +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DeviceId` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:118:24
[INFO] [stdout]     |
[INFO] [stdout] 118 |         let device_id: DeviceId = 1.into();
[INFO] [stdout]     |                        ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DeviceId` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:228:30
[INFO] [stdout]     |
[INFO] [stdout] 228 |         let alice_device_id: DeviceId = 23.into();
[INFO] [stdout]     |                              ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DeviceId` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:229:28
[INFO] [stdout]     |
[INFO] [stdout] 229 |         let bob_device_id: DeviceId = 42.into();
[INFO] [stdout]     |                            ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IdentityKeyPair` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:23:24
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let identity_key = IdentityKeyPair::generate(&mut csprng);
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^ use of undeclared type `IdentityKeyPair`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     InMemSignalProtocolStore::new(identity_key, registration_id as u32)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `InMemSignalProtocolStore`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeyBundle` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:83:26
[INFO] [stdout]    |
[INFO] [stdout] 83 |     let pre_key_bundle = PreKeyBundle::new(
[INFO] [stdout]    |                          ^^^^^^^^^^^^ use of undeclared type `PreKeyBundle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeyRecord` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:96:14
[INFO] [stdout]    |
[INFO] [stdout] 96 |             &PreKeyRecord::new(pre_key_id.into(), &pre_key_pair),
[INFO] [stdout]    |              ^^^^^^^^^^^^ use of undeclared type `PreKeyRecord`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SignedPreKeyRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:106:14
[INFO] [stdout]     |
[INFO] [stdout] 106 |             &SignedPreKeyRecord::new(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^ use of undeclared type `SignedPreKeyRecord`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IdentityKeyPair` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:121:26
[INFO] [stdout]     |
[INFO] [stdout] 121 |     let alice_identity = IdentityKeyPair::generate(&mut csprng);
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^ use of undeclared type `IdentityKeyPair`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IdentityKeyPair` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:122:24
[INFO] [stdout]     |
[INFO] [stdout] 122 |     let bob_identity = IdentityKeyPair::generate(&mut csprng);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^ use of undeclared type `IdentityKeyPair`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `AliceSignalProtocolParameters` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:129:24
[INFO] [stdout]     |
[INFO] [stdout] 129 |     let alice_params = AliceSignalProtocolParameters::new(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `AliceSignalProtocolParameters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `BobSignalProtocolParameters` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:139:22
[INFO] [stdout]     |
[INFO] [stdout] 139 |     let bob_params = BobSignalProtocolParameters::new(
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `BobSignalProtocolParameters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IdentityKeyPair` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:157:26
[INFO] [stdout]     |
[INFO] [stdout] 157 |     let alice_identity = IdentityKeyPair::generate(&mut csprng);
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^ use of undeclared type `IdentityKeyPair`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IdentityKeyPair` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:158:24
[INFO] [stdout]     |
[INFO] [stdout] 158 |     let bob_identity = IdentityKeyPair::generate(&mut csprng);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^ use of undeclared type `IdentityKeyPair`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `AliceSignalProtocolParameters` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:167:24
[INFO] [stdout]     |
[INFO] [stdout] 167 |     let alice_params = AliceSignalProtocolParameters::new(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `AliceSignalProtocolParameters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `BobSignalProtocolParameters` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:185:22
[INFO] [stdout]     |
[INFO] [stdout] 185 |     let bob_params = BobSignalProtocolParameters::new(
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `BobSignalProtocolParameters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IdentityKeyPair` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:222:28
[INFO] [stdout]     |
[INFO] [stdout] 222 |         let identity_key = IdentityKeyPair::generate(&mut rng);
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^ use of undeclared type `IdentityKeyPair`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:226:21
[INFO] [stdout]     |
[INFO] [stdout] 226 |         let store = InMemSignalProtocolStore::new(identity_key, registration_id as u32)
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `InMemSignalProtocolStore`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeyRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:256:39
[INFO] [stdout]     |
[INFO] [stdout] 256 |             .save_pre_key(id.into(), &PreKeyRecord::new(id.into(), &pair), None)
[INFO] [stdout]     |                                       ^^^^^^^^^^^^ use of undeclared type `PreKeyRecord`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SignedPreKeyRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:278:22
[INFO] [stdout]     |
[INFO] [stdout] 278 |         let record = SignedPreKeyRecord::new(id.into(), 42, &pair, &signature);
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^ use of undeclared type `SignedPreKeyRecord`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `KyberPreKeyRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:302:22
[INFO] [stdout]     |
[INFO] [stdout] 302 |         let record = KyberPreKeyRecord::new(id.into(), 43, &pair, &signature);
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^ use of undeclared type `KyberPreKeyRecord`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeyBundle` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:351:26
[INFO] [stdout]     |
[INFO] [stdout] 351 |         let mut bundle = PreKeyBundle::new(
[INFO] [stdout]     |                          ^^^^^^^^^^^^ use of undeclared type `PreKeyBundle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]   --> rust/protocol/tests/groups.rs:22:26
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let sender_address = ProtocolAddress::new("+14159999111".to_owned(), 1.into());
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `InMemSenderKeyStore` in this scope
[INFO] [stdout]   --> rust/protocol/tests/groups.rs:50:20
[INFO] [stdout]    |
[INFO] [stdout] 50 |             store: InMemSenderKeyStore::new(),
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^ use of undeclared type `InMemSenderKeyStore`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]   --> rust/protocol/tests/groups.rs:89:30
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let sender_address = ProtocolAddress::new("+14159999111".to_owned(), 1.into());
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:119:30
[INFO] [stdout]     |
[INFO] [stdout] 119 |         let sender_address = ProtocolAddress::new("+14159999111".to_owned(), device_id);
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SenderKeyDistributionMessage` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:135:13
[INFO] [stdout]     |
[INFO] [stdout] 135 |             SenderKeyDistributionMessage::try_from(sent_distribution_message.serialized())?;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SenderKeyDistributionMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:168:30
[INFO] [stdout]     |
[INFO] [stdout] 168 |         let sender_address = ProtocolAddress::new("+14159999111".to_owned(), 1.into());
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SenderKeyDistributionMessage` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:184:13
[INFO] [stdout]     |
[INFO] [stdout] 184 |             SenderKeyDistributionMessage::try_from(sent_distribution_message.serialized())?;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SenderKeyDistributionMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:237:34
[INFO] [stdout]     |
[INFO] [stdout] 237 |         let alice_uuid_address = ProtocolAddress::new(alice_uuid.clone(), alice_device_id);
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:238:32
[INFO] [stdout]     |
[INFO] [stdout] 238 |         let bob_uuid_address = ProtocolAddress::new(bob_uuid.clone(), bob_device_id);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:239:34
[INFO] [stdout]     |
[INFO] [stdout] 239 |         let carol_uuid_address = ProtocolAddress::new(carol_uuid.clone(), 1.into());
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SenderKeyDistributionMessage` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:282:13
[INFO] [stdout]     |
[INFO] [stdout] 282 |             SenderKeyDistributionMessage::try_from(sent_distribution_message.serialized())?;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SenderKeyDistributionMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ServerCertificate` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:302:27
[INFO] [stdout]     |
[INFO] [stdout] 302 |         let server_cert = ServerCertificate::new(
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^ use of undeclared type `ServerCertificate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SenderCertificate` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:311:27
[INFO] [stdout]     |
[INFO] [stdout] 311 |         let sender_cert = SenderCertificate::new(
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^ use of undeclared type `SenderCertificate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `UnidentifiedSenderMessageContent` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:332:26
[INFO] [stdout]     |
[INFO] [stdout] 332 |         let alice_usmc = UnidentifiedSenderMessageContent::new(
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `UnidentifiedSenderMessageContent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:333:13
[INFO] [stdout]     |
[INFO] [stdout] 333 |             CiphertextMessageType::SenderKey,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ContentHint` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:336:13
[INFO] [stdout]     |
[INFO] [stdout] 336 |             ContentHint::Implicit,
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `ContentHint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ContentHint` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:362:46
[INFO] [stdout]     |
[INFO] [stdout] 362 |         assert_eq!(bob_usmc.content_hint()?, ContentHint::Implicit);
[INFO] [stdout]     |                                              ^^^^^^^^^^^ use of undeclared type `ContentHint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:408:30
[INFO] [stdout]     |
[INFO] [stdout] 408 |         let sender_address = ProtocolAddress::new("+14159999111".to_owned(), 1.into());
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SenderKeyDistributionMessage` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:424:13
[INFO] [stdout]     |
[INFO] [stdout] 424 |             SenderKeyDistributionMessage::try_from(sent_distribution_message.serialized())?;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SenderKeyDistributionMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:470:30
[INFO] [stdout]     |
[INFO] [stdout] 470 |         let sender_address = ProtocolAddress::new("+14159999111".to_owned(), 1.into());
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SenderKeyDistributionMessage` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:486:13
[INFO] [stdout]     |
[INFO] [stdout] 486 |             SenderKeyDistributionMessage::try_from(sent_distribution_message.serialized())?;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SenderKeyDistributionMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:582:30
[INFO] [stdout]     |
[INFO] [stdout] 582 |         let sender_address = ProtocolAddress::new("+14159999111".to_owned(), 1.into());
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SenderKeyDistributionMessage` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:598:13
[INFO] [stdout]     |
[INFO] [stdout] 598 |             SenderKeyDistributionMessage::try_from(sent_distribution_message.serialized())?;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SenderKeyDistributionMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:654:30
[INFO] [stdout]     |
[INFO] [stdout] 654 |         let sender_address = ProtocolAddress::new("+14159999111".to_owned(), 1.into());
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SenderKeyDistributionMessage` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:670:13
[INFO] [stdout]     |
[INFO] [stdout] 670 |             SenderKeyDistributionMessage::try_from(sent_distribution_message.serialized())?;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SenderKeyDistributionMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:733:30
[INFO] [stdout]     |
[INFO] [stdout] 733 |         let sender_address = ProtocolAddress::new("+14159999111".to_owned(), 1.into());
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SenderKeyDistributionMessage` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:749:13
[INFO] [stdout]     |
[INFO] [stdout] 749 |             SenderKeyDistributionMessage::try_from(sent_distribution_message.serialized())?;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SenderKeyDistributionMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:801:30
[INFO] [stdout]     |
[INFO] [stdout] 801 |         let sender_address = ProtocolAddress::new("+14159999111".to_owned(), 1.into());
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SenderKeyDistributionMessage` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:817:13
[INFO] [stdout]     |
[INFO] [stdout] 817 |             SenderKeyDistributionMessage::try_from(sent_distribution_message.serialized())?;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SenderKeyDistributionMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `message_encrypt` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     message_encrypt(
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `message_decrypt` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     message_decrypt(
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `initialize_alice_session_record` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:137:25
[INFO] [stdout]     |
[INFO] [stdout] 137 |     let alice_session = initialize_alice_session_record(&alice_params, &mut csprng)?;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `initialize_bob_session_record` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:150:23
[INFO] [stdout]     |
[INFO] [stdout] 150 |     let bob_session = initialize_bob_session_record(&bob_params)?;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `initialize_alice_session_record` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:176:25
[INFO] [stdout]     |
[INFO] [stdout] 176 |     let alice_session = initialize_alice_session_record(&alice_params, &mut csprng)?;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `initialize_bob_session_record` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:196:23
[INFO] [stdout]     |
[INFO] [stdout] 196 |     let bob_session = initialize_bob_session_record(&bob_params)?;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `group_encrypt` in this scope
[INFO] [stdout]   --> rust/protocol/tests/groups.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |     assert!(group_encrypt(
[INFO] [stdout]    |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_sender_key_distribution_message` in this scope
[INFO] [stdout]   --> rust/protocol/tests/groups.rs:98:42
[INFO] [stdout]    |
[INFO] [stdout] 98 |         let _sent_distribution_message = create_sender_key_distribution_message(
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_sender_key_distribution_message` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:125:41
[INFO] [stdout]     |
[INFO] [stdout] 125 |         let sent_distribution_message = create_sender_key_distribution_message(
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `group_encrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:137:32
[INFO] [stdout]     |
[INFO] [stdout] 137 |         let alice_ciphertext = group_encrypt(
[INFO] [stdout]     |                                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `group_decrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:147:29
[INFO] [stdout]     |
[INFO] [stdout] 147 |         let bob_plaintext = group_decrypt(
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_sender_key_distribution_message` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:174:41
[INFO] [stdout]     |
[INFO] [stdout] 174 |         let sent_distribution_message = create_sender_key_distribution_message(
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `group_encrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:186:32
[INFO] [stdout]     |
[INFO] [stdout] 186 |         let alice_ciphertext = group_encrypt(
[INFO] [stdout]     |                                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_sender_key_distribution_message` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:196:9
[INFO] [stdout]     |
[INFO] [stdout] 196 |         process_sender_key_distribution_message(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `group_decrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:204:29
[INFO] [stdout]     |
[INFO] [stdout] 204 |         let bob_plaintext = group_decrypt(
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_prekey_bundle` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:252:9
[INFO] [stdout]     |
[INFO] [stdout] 252 |         process_prekey_bundle(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 252 -         process_prekey_bundle(
[INFO] [stdout] 252 +         bob_pre_key_bundle(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_prekey_bundle` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:262:9
[INFO] [stdout]     |
[INFO] [stdout] 262 |         process_prekey_bundle(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 262 -         process_prekey_bundle(
[INFO] [stdout] 262 +         bob_pre_key_bundle(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_sender_key_distribution_message` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:272:41
[INFO] [stdout]     |
[INFO] [stdout] 272 |         let sent_distribution_message = create_sender_key_distribution_message(
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_sender_key_distribution_message` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:284:9
[INFO] [stdout]     |
[INFO] [stdout] 284 |         process_sender_key_distribution_message(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_sender_key_distribution_message` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:291:9
[INFO] [stdout]     |
[INFO] [stdout] 291 |         process_sender_key_distribution_message(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `group_encrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:322:29
[INFO] [stdout]     |
[INFO] [stdout] 322 |         let alice_message = group_encrypt(
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sealed_sender_multi_recipient_encrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:341:27
[INFO] [stdout]     |
[INFO] [stdout] 341 |         let alice_ctext = sealed_sender_multi_recipient_encrypt(
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sealed_sender_multi_recipient_fan_out` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:354:32
[INFO] [stdout]     |
[INFO] [stdout] 354 |             <[_; 2]>::try_from(sealed_sender_multi_recipient_fan_out(&alice_ctext)?).unwrap();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sealed_sender_decrypt_to_usmc` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:357:13
[INFO] [stdout]     |
[INFO] [stdout] 357 |             sealed_sender_decrypt_to_usmc(&bob_ctext, &mut bob_store.identity_store, None).await?;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `group_decrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:365:29
[INFO] [stdout]     |
[INFO] [stdout] 365 |         let bob_plaintext = group_decrypt(
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sealed_sender_decrypt_to_usmc` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:379:13
[INFO] [stdout]     |
[INFO] [stdout] 379 |             sealed_sender_decrypt_to_usmc(&carol_ctext, &mut carol_store.identity_store, None)
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `group_decrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:384:31
[INFO] [stdout]     |
[INFO] [stdout] 384 |         let carol_plaintext = group_decrypt(
[INFO] [stdout]     |                               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_sender_key_distribution_message` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:414:41
[INFO] [stdout]     |
[INFO] [stdout] 414 |         let sent_distribution_message = create_sender_key_distribution_message(
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `group_encrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:431:32
[INFO] [stdout]     |
[INFO] [stdout] 431 |         let alice_ciphertext = group_encrypt(
[INFO] [stdout]     |                                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_sender_key_distribution_message` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:441:9
[INFO] [stdout]     |
[INFO] [stdout] 441 |         process_sender_key_distribution_message(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `group_decrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:449:29
[INFO] [stdout]     |
[INFO] [stdout] 449 |         let bob_plaintext = group_decrypt(
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_sender_key_distribution_message` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:476:41
[INFO] [stdout]     |
[INFO] [stdout] 476 |         let sent_distribution_message = create_sender_key_distribution_message(
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_sender_key_distribution_message` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:488:9
[INFO] [stdout]     |
[INFO] [stdout] 488 |         process_sender_key_distribution_message(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `group_encrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:496:33
[INFO] [stdout]     |
[INFO] [stdout] 496 |         let alice_ciphertext1 = group_encrypt(
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `group_encrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:505:33
[INFO] [stdout]     |
[INFO] [stdout] 505 |         let alice_ciphertext2 = group_encrypt(
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `group_encrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:514:33
[INFO] [stdout]     |
[INFO] [stdout] 514 |         let alice_ciphertext3 = group_encrypt(
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `group_decrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:524:30
[INFO] [stdout]     |
[INFO] [stdout] 524 |         let bob_plaintext1 = group_decrypt(
[INFO] [stdout]     |                              ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `group_decrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:537:13
[INFO] [stdout]     |
[INFO] [stdout] 537 |             group_decrypt(
[INFO] [stdout]     |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `group_decrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:547:30
[INFO] [stdout]     |
[INFO] [stdout] 547 |         let bob_plaintext3 = group_decrypt(
[INFO] [stdout]     |                              ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `group_decrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:559:30
[INFO] [stdout]     |
[INFO] [stdout] 559 |         let bob_plaintext2 = group_decrypt(
[INFO] [stdout]     |                              ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_sender_key_distribution_message` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:588:41
[INFO] [stdout]     |
[INFO] [stdout] 588 |         let sent_distribution_message = create_sender_key_distribution_message(
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `group_encrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:601:13
[INFO] [stdout]     |
[INFO] [stdout] 601 |             group_encrypt(
[INFO] [stdout]     |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_sender_key_distribution_message` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:613:9
[INFO] [stdout]     |
[INFO] [stdout] 613 |         process_sender_key_distribution_message(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `group_encrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:621:32
[INFO] [stdout]     |
[INFO] [stdout] 621 |         let alice_ciphertext = group_encrypt(
[INFO] [stdout]     |                                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `group_decrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:631:29
[INFO] [stdout]     |
[INFO] [stdout] 631 |         let bob_plaintext = group_decrypt(
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_sender_key_distribution_message` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:660:41
[INFO] [stdout]     |
[INFO] [stdout] 660 |         let sent_distribution_message = create_sender_key_distribution_message(
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_sender_key_distribution_message` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:672:9
[INFO] [stdout]     |
[INFO] [stdout] 672 |         process_sender_key_distribution_message(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `group_encrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:684:17
[INFO] [stdout]     |
[INFO] [stdout] 684 |                 group_encrypt(
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `group_decrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:702:17
[INFO] [stdout]     |
[INFO] [stdout] 702 |                 group_decrypt(
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_sender_key_distribution_message` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:739:41
[INFO] [stdout]     |
[INFO] [stdout] 739 |         let sent_distribution_message = create_sender_key_distribution_message(
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_sender_key_distribution_message` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:751:9
[INFO] [stdout]     |
[INFO] [stdout] 751 |         process_sender_key_distribution_message(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `group_encrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:760:13
[INFO] [stdout]     |
[INFO] [stdout] 760 |             group_encrypt(
[INFO] [stdout]     |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `group_encrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:771:32
[INFO] [stdout]     |
[INFO] [stdout] 771 |         let alice_ciphertext = group_encrypt(
[INFO] [stdout]     |                                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `group_decrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:781:17
[INFO] [stdout]     |
[INFO] [stdout] 781 |         assert!(group_decrypt(
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_sender_key_distribution_message` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:807:41
[INFO] [stdout]     |
[INFO] [stdout] 807 |         let sent_distribution_message = create_sender_key_distribution_message(
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_sender_key_distribution_message` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:819:9
[INFO] [stdout]     |
[INFO] [stdout] 819 |         process_sender_key_distribution_message(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `group_encrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:831:17
[INFO] [stdout]     |
[INFO] [stdout] 831 |                 group_encrypt(
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `group_decrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:847:17
[INFO] [stdout]     |
[INFO] [stdout] 847 |                 group_decrypt(&ciphertexts[1000], &mut bob_store, &sender_address, None,).await?
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `group_decrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:854:17
[INFO] [stdout]     |
[INFO] [stdout] 854 |                 group_decrypt(
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `group_decrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/groups.rs:866:13
[INFO] [stdout]     |
[INFO] [stdout] 866 |             group_decrypt(&ciphertexts[0], &mut bob_store, &sender_address, None)
[INFO] [stdout]     |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lib-messaging-protocol` (test "groups") due to 146 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: cannot find module or crate `kem` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:299:20
[INFO] [stdout]     |
[INFO] [stdout] 299 |         let pair = kem::KeyPair::generate(kem::KeyType::Kyber1024);
[INFO] [stdout]     |                    ^^^ use of unresolved module or unlinked crate `kem`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `kem`, use `cargo add kem` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `kem` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:299:20
[INFO] [stdout]     |
[INFO] [stdout] 299 |         let pair = kem::KeyPair::generate(kem::KeyType::Kyber1024);
[INFO] [stdout]     |                    ^^^ use of unresolved module or unlinked crate `kem`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `kem`, use `cargo add kem` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `kem` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:299:43
[INFO] [stdout]     |
[INFO] [stdout] 299 |         let pair = kem::KeyPair::generate(kem::KeyType::Kyber1024);
[INFO] [stdout]     |                                           ^^^ use of unresolved module or unlinked crate `kem`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `kem`, use `cargo add kem` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `kem` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:299:43
[INFO] [stdout]     |
[INFO] [stdout] 299 |         let pair = kem::KeyPair::generate(kem::KeyType::Kyber1024);
[INFO] [stdout]     |                                           ^^^ use of unresolved module or unlinked crate `kem`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `kem`, use `cargo add kem` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `kem` in this scope
[INFO] [stdout]    --> rust/protocol/tests/ratchet.rs:196:34
[INFO] [stdout]     |
[INFO] [stdout] 196 |     let bob_kyber_pre_key_pair = kem::KeyPair::generate(kem::KeyType::Kyber1024);
[INFO] [stdout]     |                                  ^^^ use of unresolved module or unlinked crate `kem`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `kem`, use `cargo add kem` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `kem` in this scope
[INFO] [stdout]    --> rust/protocol/tests/ratchet.rs:196:57
[INFO] [stdout]     |
[INFO] [stdout] 196 |     let bob_kyber_pre_key_pair = kem::KeyPair::generate(kem::KeyType::Kyber1024);
[INFO] [stdout]     |                                                         ^^^ use of unresolved module or unlinked crate `kem`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `kem`, use `cargo add kem` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:21:50
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn test_in_memory_protocol_store() -> Result<InMemSignalProtocolStore, SignalProtocolError> {
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn test_in_memory_protocol_store<InMemSignalProtocolStore>() -> Result<InMemSignalProtocolStore, SignalProtocolError> {
[INFO] [stdout]    |                                     ++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 |     store: &mut InMemSignalProtocolStore,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:32:22
[INFO] [stdout]    |
[INFO] [stdout] 32 |     remote_address: &ProtocolAddress,
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 | ) -> Result<CiphertextMessage, SignalProtocolError> {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub async fn encrypt<CiphertextMessage>(
[INFO] [stdout]    |                     +++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:46:17
[INFO] [stdout]    |
[INFO] [stdout] 46 |     store: &mut InMemSignalProtocolStore,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:47:22
[INFO] [stdout]    |
[INFO] [stdout] 47 |     remote_address: &ProtocolAddress,
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:48:11
[INFO] [stdout]    |
[INFO] [stdout] 48 |     msg: &CiphertextMessage,
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `ProtocolStore` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:66:21
[INFO] [stdout]    |
[INFO] [stdout] 66 |     store: &mut dyn ProtocolStore,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PreKeyBundle` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:68:13
[INFO] [stdout]    |
[INFO] [stdout] 68 | ) -> Result<PreKeyBundle, SignalProtocolError> {
[INFO] [stdout]    |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub async fn create_pre_key_bundle<R: Rng + CryptoRng, PreKeyBundle>(
[INFO] [stdout]    |                                                      ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SessionRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:119:44
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub fn initialize_sessions_v3() -> Result<(SessionRecord, SessionRecord), SignalProtocolError> {
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub fn initialize_sessions_v3<SessionRecord>() -> Result<(SessionRecord, SessionRecord), SignalProtocolError> {
[INFO] [stdout]     |                              +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SessionRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:119:59
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub fn initialize_sessions_v3() -> Result<(SessionRecord, SessionRecord), SignalProtocolError> {
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub fn initialize_sessions_v3<SessionRecord>() -> Result<(SessionRecord, SessionRecord), SignalProtocolError> {
[INFO] [stdout]     |                              +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SessionRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:155:44
[INFO] [stdout]     |
[INFO] [stdout] 155 | pub fn initialize_sessions_v4() -> Result<(SessionRecord, SessionRecord), SignalProtocolError> {
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 155 | pub fn initialize_sessions_v4<SessionRecord>() -> Result<(SessionRecord, SessionRecord), SignalProtocolError> {
[INFO] [stdout]     |                              +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SessionRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:155:59
[INFO] [stdout]     |
[INFO] [stdout] 155 | pub fn initialize_sessions_v4() -> Result<(SessionRecord, SessionRecord), SignalProtocolError> {
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 155 | pub fn initialize_sessions_v4<SessionRecord>() -> Result<(SessionRecord, SessionRecord), SignalProtocolError> {
[INFO] [stdout]     |                              +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:215:23
[INFO] [stdout]     |
[INFO] [stdout] 215 |     pub(crate) store: InMemSignalProtocolStore,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:235:31
[INFO] [stdout]     |
[INFO] [stdout] 235 |     pub fn from_store(store: &InMemSignalProtocolStore) -> Self {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DeviceId` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:310:59
[INFO] [stdout]     |
[INFO] [stdout] 310 |     pub fn make_bundle_with_latest_keys(&self, device_id: DeviceId) -> PreKeyBundle {
[INFO] [stdout]     |                                                           ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PreKeyBundle` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:310:72
[INFO] [stdout]     |
[INFO] [stdout] 310 |     pub fn make_bundle_with_latest_keys(&self, device_id: DeviceId) -> PreKeyBundle {
[INFO] [stdout]     |                                                                        ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:404:41
[INFO] [stdout]     |
[INFO] [stdout] 404 |     fn session_version(&self, address: &ProtocolAddress) -> Result<u32, SignalProtocolError>;
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:408:41
[INFO] [stdout]     |
[INFO] [stdout] 408 |     fn session_version(&self, address: &ProtocolAddress) -> Result<u32, SignalProtocolError> {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:413:28
[INFO] [stdout]     |
[INFO] [stdout] 413 | impl HasSessionVersion for InMemSignalProtocolStore {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:414:41
[INFO] [stdout]     |
[INFO] [stdout] 414 |     fn session_version(&self, address: &ProtocolAddress) -> Result<u32, SignalProtocolError> {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IdentityKeyPair` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:23:24
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let identity_key = IdentityKeyPair::generate(&mut csprng);
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^ use of undeclared type `IdentityKeyPair`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     InMemSignalProtocolStore::new(identity_key, registration_id as u32)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `InMemSignalProtocolStore`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeyBundle` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:83:26
[INFO] [stdout]    |
[INFO] [stdout] 83 |     let pre_key_bundle = PreKeyBundle::new(
[INFO] [stdout]    |                          ^^^^^^^^^^^^ use of undeclared type `PreKeyBundle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeyRecord` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:96:14
[INFO] [stdout]    |
[INFO] [stdout] 96 |             &PreKeyRecord::new(pre_key_id.into(), &pre_key_pair),
[INFO] [stdout]    |              ^^^^^^^^^^^^ use of undeclared type `PreKeyRecord`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SignedPreKeyRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:106:14
[INFO] [stdout]     |
[INFO] [stdout] 106 |             &SignedPreKeyRecord::new(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^ use of undeclared type `SignedPreKeyRecord`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IdentityKeyPair` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:121:26
[INFO] [stdout]     |
[INFO] [stdout] 121 |     let alice_identity = IdentityKeyPair::generate(&mut csprng);
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^ use of undeclared type `IdentityKeyPair`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IdentityKeyPair` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:122:24
[INFO] [stdout]     |
[INFO] [stdout] 122 |     let bob_identity = IdentityKeyPair::generate(&mut csprng);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^ use of undeclared type `IdentityKeyPair`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `AliceSignalProtocolParameters` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:129:24
[INFO] [stdout]     |
[INFO] [stdout] 129 |     let alice_params = AliceSignalProtocolParameters::new(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `AliceSignalProtocolParameters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `BobSignalProtocolParameters` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:139:22
[INFO] [stdout]     |
[INFO] [stdout] 139 |     let bob_params = BobSignalProtocolParameters::new(
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `BobSignalProtocolParameters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IdentityKeyPair` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:157:26
[INFO] [stdout]     |
[INFO] [stdout] 157 |     let alice_identity = IdentityKeyPair::generate(&mut csprng);
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^ use of undeclared type `IdentityKeyPair`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IdentityKeyPair` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:158:24
[INFO] [stdout]     |
[INFO] [stdout] 158 |     let bob_identity = IdentityKeyPair::generate(&mut csprng);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^ use of undeclared type `IdentityKeyPair`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `AliceSignalProtocolParameters` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:167:24
[INFO] [stdout]     |
[INFO] [stdout] 167 |     let alice_params = AliceSignalProtocolParameters::new(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `AliceSignalProtocolParameters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `BobSignalProtocolParameters` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:185:22
[INFO] [stdout]     |
[INFO] [stdout] 185 |     let bob_params = BobSignalProtocolParameters::new(
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `BobSignalProtocolParameters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IdentityKeyPair` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:222:28
[INFO] [stdout]     |
[INFO] [stdout] 222 |         let identity_key = IdentityKeyPair::generate(&mut rng);
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^ use of undeclared type `IdentityKeyPair`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:226:21
[INFO] [stdout]     |
[INFO] [stdout] 226 |         let store = InMemSignalProtocolStore::new(identity_key, registration_id as u32)
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `InMemSignalProtocolStore`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeyRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:256:39
[INFO] [stdout]     |
[INFO] [stdout] 256 |             .save_pre_key(id.into(), &PreKeyRecord::new(id.into(), &pair), None)
[INFO] [stdout]     |                                       ^^^^^^^^^^^^ use of undeclared type `PreKeyRecord`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SignedPreKeyRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:278:22
[INFO] [stdout]     |
[INFO] [stdout] 278 |         let record = SignedPreKeyRecord::new(id.into(), 42, &pair, &signature);
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^ use of undeclared type `SignedPreKeyRecord`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `KyberPreKeyRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:302:22
[INFO] [stdout]     |
[INFO] [stdout] 302 |         let record = KyberPreKeyRecord::new(id.into(), 43, &pair, &signature);
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^ use of undeclared type `KyberPreKeyRecord`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeyBundle` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:351:26
[INFO] [stdout]     |
[INFO] [stdout] 351 |         let mut bundle = PreKeyBundle::new(
[INFO] [stdout]     |                          ^^^^^^^^^^^^ use of undeclared type `PreKeyBundle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IdentityKey` in this scope
[INFO] [stdout]   --> rust/protocol/tests/ratchet.rs:46:35
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let bob_identity_key_public = IdentityKey::decode(&bob_identity_public)?;
[INFO] [stdout]    |                                   ^^^^^^^^^^^ use of undeclared type `IdentityKey`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IdentityKeyPair` in this scope
[INFO] [stdout]   --> rust/protocol/tests/ratchet.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |         IdentityKeyPair::new(bob_identity_key_public, bob_identity_key_private);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ use of undeclared type `IdentityKeyPair`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `BobSignalProtocolParameters` in this scope
[INFO] [stdout]   --> rust/protocol/tests/ratchet.rs:61:26
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let bob_parameters = BobSignalProtocolParameters::new(
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `BobSignalProtocolParameters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IdentityKey` in this scope
[INFO] [stdout]   --> rust/protocol/tests/ratchet.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |         IdentityKey::decode(&alice_identity_public)?,
[INFO] [stdout]    |         ^^^^^^^^^^^ use of undeclared type `IdentityKey`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IdentityKey` in this scope
[INFO] [stdout]    --> rust/protocol/tests/ratchet.rs:132:37
[INFO] [stdout]     |
[INFO] [stdout] 132 |     let alice_identity_key_public = IdentityKey::decode(&alice_identity_public)?;
[INFO] [stdout]     |                                     ^^^^^^^^^^^ use of undeclared type `IdentityKey`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IdentityKeyPair` in this scope
[INFO] [stdout]    --> rust/protocol/tests/ratchet.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |         IdentityKeyPair::new(alice_identity_key_public, alice_identity_key_private);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ use of undeclared type `IdentityKeyPair`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `AliceSignalProtocolParameters` in this scope
[INFO] [stdout]    --> rust/protocol/tests/ratchet.rs:145:28
[INFO] [stdout]     |
[INFO] [stdout] 145 |     let alice_parameters = AliceSignalProtocolParameters::new(
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `AliceSignalProtocolParameters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IdentityKey` in this scope
[INFO] [stdout]    --> rust/protocol/tests/ratchet.rs:148:9
[INFO] [stdout]     |
[INFO] [stdout] 148 |         IdentityKey::decode(&bob_identity_public)?,
[INFO] [stdout]     |         ^^^^^^^^^^^ use of undeclared type `IdentityKey`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IdentityKeyPair` in this scope
[INFO] [stdout]    --> rust/protocol/tests/ratchet.rs:189:35
[INFO] [stdout]     |
[INFO] [stdout] 189 |     let alice_identity_key_pair = IdentityKeyPair::generate(&mut csprng);
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^ use of undeclared type `IdentityKeyPair`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IdentityKeyPair` in this scope
[INFO] [stdout]    --> rust/protocol/tests/ratchet.rs:193:33
[INFO] [stdout]     |
[INFO] [stdout] 193 |     let bob_identity_key_pair = IdentityKeyPair::generate(&mut csprng);
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^ use of undeclared type `IdentityKeyPair`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `AliceSignalProtocolParameters` in this scope
[INFO] [stdout]    --> rust/protocol/tests/ratchet.rs:198:28
[INFO] [stdout]     |
[INFO] [stdout] 198 |     let alice_parameters = AliceSignalProtocolParameters::new(
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `AliceSignalProtocolParameters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `BobSignalProtocolParameters` in this scope
[INFO] [stdout]    --> rust/protocol/tests/ratchet.rs:221:26
[INFO] [stdout]     |
[INFO] [stdout] 221 |     let bob_parameters = BobSignalProtocolParameters::new(
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `BobSignalProtocolParameters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `message_encrypt` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     message_encrypt(
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `message_decrypt` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     message_decrypt(
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `initialize_alice_session_record` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:137:25
[INFO] [stdout]     |
[INFO] [stdout] 137 |     let alice_session = initialize_alice_session_record(&alice_params, &mut csprng)?;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `initialize_bob_session_record` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:150:23
[INFO] [stdout]     |
[INFO] [stdout] 150 |     let bob_session = initialize_bob_session_record(&bob_params)?;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `initialize_alice_session_record` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:176:25
[INFO] [stdout]     |
[INFO] [stdout] 176 |     let alice_session = initialize_alice_session_record(&alice_params, &mut csprng)?;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `initialize_bob_session_record` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:196:23
[INFO] [stdout]     |
[INFO] [stdout] 196 |     let bob_session = initialize_bob_session_record(&bob_params)?;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `initialize_bob_session_record` in this scope
[INFO] [stdout]   --> rust/protocol/tests/ratchet.rs:72:22
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let bob_record = initialize_bob_session_record(&bob_parameters)?;
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `initialize_alice_session_record` in this scope
[INFO] [stdout]    --> rust/protocol/tests/ratchet.rs:154:24
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let alice_record = initialize_alice_session_record(&alice_parameters, &mut csprng)?;
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `initialize_alice_session_record` in this scope
[INFO] [stdout]    --> rust/protocol/tests/ratchet.rs:207:24
[INFO] [stdout]     |
[INFO] [stdout] 207 |     let alice_record = initialize_alice_session_record(&alice_parameters, &mut csprng)?;
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `initialize_bob_session_record` in this scope
[INFO] [stdout]    --> rust/protocol/tests/ratchet.rs:231:22
[INFO] [stdout]     |
[INFO] [stdout] 231 |     let bob_record = initialize_bob_session_record(&bob_parameters)?;
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lib-messaging-protocol` (test "ratchet") due to 68 previous errors
[INFO] [stdout] error[E0425]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:21:50
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn test_in_memory_protocol_store() -> Result<InMemSignalProtocolStore, SignalProtocolError> {
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn test_in_memory_protocol_store<InMemSignalProtocolStore>() -> Result<InMemSignalProtocolStore, SignalProtocolError> {
[INFO] [stdout]    |                                     ++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 |     store: &mut InMemSignalProtocolStore,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:32:22
[INFO] [stdout]    |
[INFO] [stdout] 32 |     remote_address: &ProtocolAddress,
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 | ) -> Result<CiphertextMessage, SignalProtocolError> {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub async fn encrypt<CiphertextMessage>(
[INFO] [stdout]    |                     +++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:46:17
[INFO] [stdout]    |
[INFO] [stdout] 46 |     store: &mut InMemSignalProtocolStore,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:47:22
[INFO] [stdout]    |
[INFO] [stdout] 47 |     remote_address: &ProtocolAddress,
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:48:11
[INFO] [stdout]    |
[INFO] [stdout] 48 |     msg: &CiphertextMessage,
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `ProtocolStore` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:66:21
[INFO] [stdout]    |
[INFO] [stdout] 66 |     store: &mut dyn ProtocolStore,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PreKeyBundle` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:68:13
[INFO] [stdout]    |
[INFO] [stdout] 68 | ) -> Result<PreKeyBundle, SignalProtocolError> {
[INFO] [stdout]    |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub async fn create_pre_key_bundle<R: Rng + CryptoRng, PreKeyBundle>(
[INFO] [stdout]    |                                                      ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SessionRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:119:44
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub fn initialize_sessions_v3() -> Result<(SessionRecord, SessionRecord), SignalProtocolError> {
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub fn initialize_sessions_v3<SessionRecord>() -> Result<(SessionRecord, SessionRecord), SignalProtocolError> {
[INFO] [stdout]     |                              +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SessionRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:119:59
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub fn initialize_sessions_v3() -> Result<(SessionRecord, SessionRecord), SignalProtocolError> {
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub fn initialize_sessions_v3<SessionRecord>() -> Result<(SessionRecord, SessionRecord), SignalProtocolError> {
[INFO] [stdout]     |                              +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SessionRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:155:44
[INFO] [stdout]     |
[INFO] [stdout] 155 | pub fn initialize_sessions_v4() -> Result<(SessionRecord, SessionRecord), SignalProtocolError> {
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 155 | pub fn initialize_sessions_v4<SessionRecord>() -> Result<(SessionRecord, SessionRecord), SignalProtocolError> {
[INFO] [stdout]     |                              +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SessionRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:155:59
[INFO] [stdout]     |
[INFO] [stdout] 155 | pub fn initialize_sessions_v4() -> Result<(SessionRecord, SessionRecord), SignalProtocolError> {
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 155 | pub fn initialize_sessions_v4<SessionRecord>() -> Result<(SessionRecord, SessionRecord), SignalProtocolError> {
[INFO] [stdout]     |                              +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:215:23
[INFO] [stdout]     |
[INFO] [stdout] 215 |     pub(crate) store: InMemSignalProtocolStore,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:235:31
[INFO] [stdout]     |
[INFO] [stdout] 235 |     pub fn from_store(store: &InMemSignalProtocolStore) -> Self {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DeviceId` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:310:59
[INFO] [stdout]     |
[INFO] [stdout] 310 |     pub fn make_bundle_with_latest_keys(&self, device_id: DeviceId) -> PreKeyBundle {
[INFO] [stdout]     |                                                           ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PreKeyBundle` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:310:72
[INFO] [stdout]     |
[INFO] [stdout] 310 |     pub fn make_bundle_with_latest_keys(&self, device_id: DeviceId) -> PreKeyBundle {
[INFO] [stdout]     |                                                                        ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:404:41
[INFO] [stdout]     |
[INFO] [stdout] 404 |     fn session_version(&self, address: &ProtocolAddress) -> Result<u32, SignalProtocolError>;
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:408:41
[INFO] [stdout]     |
[INFO] [stdout] 408 |     fn session_version(&self, address: &ProtocolAddress) -> Result<u32, SignalProtocolError> {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:413:28
[INFO] [stdout]     |
[INFO] [stdout] 413 | impl HasSessionVersion for InMemSignalProtocolStore {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:414:41
[INFO] [stdout]     |
[INFO] [stdout] 414 |     fn session_version(&self, address: &ProtocolAddress) -> Result<u32, SignalProtocolError> {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DeviceId` in this scope
[INFO] [stdout]   --> rust/protocol/tests/sealed_sender.rs:91:20
[INFO] [stdout]    |
[INFO] [stdout] 91 |     let device_id: DeviceId = 42.into();
[INFO] [stdout]    |                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DeviceId` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:140:30
[INFO] [stdout]     |
[INFO] [stdout] 140 |         let alice_device_id: DeviceId = 23.into();
[INFO] [stdout]     |                              ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DeviceId` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:141:28
[INFO] [stdout]     |
[INFO] [stdout] 141 |         let bob_device_id: DeviceId = 42.into();
[INFO] [stdout]     |                            ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DeviceId` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:311:30
[INFO] [stdout]     |
[INFO] [stdout] 311 |         let alice_device_id: DeviceId = 23.into();
[INFO] [stdout]     |                              ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DeviceId` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:312:28
[INFO] [stdout]     |
[INFO] [stdout] 312 |         let bob_device_id: DeviceId = 42.into();
[INFO] [stdout]     |                            ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DeviceId` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:321:24
[INFO] [stdout]     |
[INFO] [stdout] 321 |         let device_id: DeviceId = 1.into();
[INFO] [stdout]     |                        ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DeviceId` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:437:30
[INFO] [stdout]     |
[INFO] [stdout] 437 |         let alice_device_id: DeviceId = 23.into();
[INFO] [stdout]     |                              ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DeviceId` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:438:28
[INFO] [stdout]     |
[INFO] [stdout] 438 |         let bob_device_id: DeviceId = 42.into();
[INFO] [stdout]     |                            ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DeviceId` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:674:30
[INFO] [stdout]     |
[INFO] [stdout] 674 |         let alice_device_id: DeviceId = 23.into();
[INFO] [stdout]     |                              ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DeviceId` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:675:28
[INFO] [stdout]     |
[INFO] [stdout] 675 |         let bob_device_id: DeviceId = 42.into();
[INFO] [stdout]     |                            ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DeviceId` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:875:30
[INFO] [stdout]     |
[INFO] [stdout] 875 |         let alice_device_id: DeviceId = 23.into();
[INFO] [stdout]     |                              ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DeviceId` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:876:28
[INFO] [stdout]     |
[INFO] [stdout] 876 |         let bob_device_id: DeviceId = 42.into();
[INFO] [stdout]     |                            ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IdentityKeyPair` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:23:24
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let identity_key = IdentityKeyPair::generate(&mut csprng);
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^ use of undeclared type `IdentityKeyPair`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     InMemSignalProtocolStore::new(identity_key, registration_id as u32)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `InMemSignalProtocolStore`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeyBundle` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:83:26
[INFO] [stdout]    |
[INFO] [stdout] 83 |     let pre_key_bundle = PreKeyBundle::new(
[INFO] [stdout]    |                          ^^^^^^^^^^^^ use of undeclared type `PreKeyBundle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeyRecord` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:96:14
[INFO] [stdout]    |
[INFO] [stdout] 96 |             &PreKeyRecord::new(pre_key_id.into(), &pre_key_pair),
[INFO] [stdout]    |              ^^^^^^^^^^^^ use of undeclared type `PreKeyRecord`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SignedPreKeyRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:106:14
[INFO] [stdout]     |
[INFO] [stdout] 106 |             &SignedPreKeyRecord::new(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^ use of undeclared type `SignedPreKeyRecord`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IdentityKeyPair` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:121:26
[INFO] [stdout]     |
[INFO] [stdout] 121 |     let alice_identity = IdentityKeyPair::generate(&mut csprng);
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^ use of undeclared type `IdentityKeyPair`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IdentityKeyPair` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:122:24
[INFO] [stdout]     |
[INFO] [stdout] 122 |     let bob_identity = IdentityKeyPair::generate(&mut csprng);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^ use of undeclared type `IdentityKeyPair`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `AliceSignalProtocolParameters` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:129:24
[INFO] [stdout]     |
[INFO] [stdout] 129 |     let alice_params = AliceSignalProtocolParameters::new(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `AliceSignalProtocolParameters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `BobSignalProtocolParameters` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:139:22
[INFO] [stdout]     |
[INFO] [stdout] 139 |     let bob_params = BobSignalProtocolParameters::new(
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `BobSignalProtocolParameters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IdentityKeyPair` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:157:26
[INFO] [stdout]     |
[INFO] [stdout] 157 |     let alice_identity = IdentityKeyPair::generate(&mut csprng);
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^ use of undeclared type `IdentityKeyPair`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IdentityKeyPair` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:158:24
[INFO] [stdout]     |
[INFO] [stdout] 158 |     let bob_identity = IdentityKeyPair::generate(&mut csprng);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^ use of undeclared type `IdentityKeyPair`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `AliceSignalProtocolParameters` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:167:24
[INFO] [stdout]     |
[INFO] [stdout] 167 |     let alice_params = AliceSignalProtocolParameters::new(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `AliceSignalProtocolParameters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `BobSignalProtocolParameters` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:185:22
[INFO] [stdout]     |
[INFO] [stdout] 185 |     let bob_params = BobSignalProtocolParameters::new(
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `BobSignalProtocolParameters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IdentityKeyPair` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:222:28
[INFO] [stdout]     |
[INFO] [stdout] 222 |         let identity_key = IdentityKeyPair::generate(&mut rng);
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^ use of undeclared type `IdentityKeyPair`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:226:21
[INFO] [stdout]     |
[INFO] [stdout] 226 |         let store = InMemSignalProtocolStore::new(identity_key, registration_id as u32)
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `InMemSignalProtocolStore`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeyRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:256:39
[INFO] [stdout]     |
[INFO] [stdout] 256 |             .save_pre_key(id.into(), &PreKeyRecord::new(id.into(), &pair), None)
[INFO] [stdout]     |                                       ^^^^^^^^^^^^ use of undeclared type `PreKeyRecord`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SignedPreKeyRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:278:22
[INFO] [stdout]     |
[INFO] [stdout] 278 |         let record = SignedPreKeyRecord::new(id.into(), 42, &pair, &signature);
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^ use of undeclared type `SignedPreKeyRecord`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `KyberPreKeyRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:302:22
[INFO] [stdout]     |
[INFO] [stdout] 302 |         let record = KyberPreKeyRecord::new(id.into(), 43, &pair, &signature);
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^ use of undeclared type `KyberPreKeyRecord`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeyBundle` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:351:26
[INFO] [stdout]     |
[INFO] [stdout] 351 |         let mut bundle = PreKeyBundle::new(
[INFO] [stdout]     |                          ^^^^^^^^^^^^ use of undeclared type `PreKeyBundle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ServerCertificate` in this scope
[INFO] [stdout]   --> rust/protocol/tests/sealed_sender.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |         ServerCertificate::new(1, server_key.public_key, &trust_root.private_key, &mut rng)?;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ use of undeclared type `ServerCertificate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ServerCertificate` in this scope
[INFO] [stdout]   --> rust/protocol/tests/sealed_sender.rs:26:21
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let recovered = ServerCertificate::deserialize(&serialized)?;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^ use of undeclared type `ServerCertificate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ServerCertificate` in this scope
[INFO] [stdout]   --> rust/protocol/tests/sealed_sender.rs:35:20
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let cert = ServerCertificate::deserialize(&cert_data);
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^ use of undeclared type `ServerCertificate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ServerCertificate` in this scope
[INFO] [stdout]   --> rust/protocol/tests/sealed_sender.rs:65:23
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let server_cert = ServerCertificate::new(
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^ use of undeclared type `ServerCertificate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ServerCertificate` in this scope
[INFO] [stdout]   --> rust/protocol/tests/sealed_sender.rs:74:21
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let recovered = ServerCertificate::deserialize(&serialized)?;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^ use of undeclared type `ServerCertificate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ServerCertificate` in this scope
[INFO] [stdout]   --> rust/protocol/tests/sealed_sender.rs:89:9
[INFO] [stdout]    |
[INFO] [stdout] 89 |         ServerCertificate::new(1, server_key.public_key, &trust_root.private_key, &mut rng)?;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ use of undeclared type `ServerCertificate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SenderCertificate` in this scope
[INFO] [stdout]   --> rust/protocol/tests/sealed_sender.rs:94:23
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let sender_cert = SenderCertificate::new(
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^ use of undeclared type `SenderCertificate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SenderCertificate` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:113:20
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let cert = SenderCertificate::deserialize(&sender_cert_data);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^ use of undeclared type `SenderCertificate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:149:32
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let bob_uuid_address = ProtocolAddress::new(bob_uuid.clone(), bob_device_id);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ServerCertificate` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:172:13
[INFO] [stdout]     |
[INFO] [stdout] 172 |             ServerCertificate::new(1, server_key.public_key, &trust_root.private_key, &mut rng)?;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ use of undeclared type `ServerCertificate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SenderCertificate` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:176:27
[INFO] [stdout]     |
[INFO] [stdout] 176 |         let sender_cert = SenderCertificate::new(
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^ use of undeclared type `SenderCertificate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:322:34
[INFO] [stdout]     |
[INFO] [stdout] 322 |         let alice_uuid_address = ProtocolAddress::new(alice_uuid.clone(), device_id);
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:323:32
[INFO] [stdout]     |
[INFO] [stdout] 323 |         let bob_uuid_address = ProtocolAddress::new(bob_uuid.clone(), bob_device_id);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ServerCertificate` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:346:13
[INFO] [stdout]     |
[INFO] [stdout] 346 |             ServerCertificate::new(1, server_key.public_key, &trust_root.private_key, &mut rng)?;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ use of undeclared type `ServerCertificate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SenderCertificate` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:350:27
[INFO] [stdout]     |
[INFO] [stdout] 350 |         let sender_cert = SenderCertificate::new(
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^ use of undeclared type `SenderCertificate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `UnidentifiedSenderMessageContent` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:387:26
[INFO] [stdout]     |
[INFO] [stdout] 387 |         let alice_usmc = UnidentifiedSenderMessageContent::new(
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `UnidentifiedSenderMessageContent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:388:13
[INFO] [stdout]     |
[INFO] [stdout] 388 |             CiphertextMessageType::SenderKey,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ContentHint` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:391:13
[INFO] [stdout]     |
[INFO] [stdout] 391 |             ContentHint::Default,
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `ContentHint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:410:13
[INFO] [stdout]     |
[INFO] [stdout] 410 |             CiphertextMessageType::SenderKey,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:446:32
[INFO] [stdout]     |
[INFO] [stdout] 446 |         let bob_uuid_address = ProtocolAddress::new(bob_uuid.clone(), bob_device_id);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ServerCertificate` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:469:13
[INFO] [stdout]     |
[INFO] [stdout] 469 |             ServerCertificate::new(1, server_key.public_key, &trust_root.private_key, &mut rng)?;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ use of undeclared type `ServerCertificate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SenderCertificate` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:473:27
[INFO] [stdout]     |
[INFO] [stdout] 473 |         let sender_cert = SenderCertificate::new(
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^ use of undeclared type `SenderCertificate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `UnidentifiedSenderMessageContent` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:494:26
[INFO] [stdout]     |
[INFO] [stdout] 494 |         let alice_usmc = UnidentifiedSenderMessageContent::new(
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `UnidentifiedSenderMessageContent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ContentHint` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:498:13
[INFO] [stdout]     |
[INFO] [stdout] 498 |             ContentHint::Default,
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `ContentHint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `UnidentifiedSenderMessageContent` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:549:26
[INFO] [stdout]     |
[INFO] [stdout] 549 |         let alice_usmc = UnidentifiedSenderMessageContent::new(
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `UnidentifiedSenderMessageContent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ContentHint` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:553:13
[INFO] [stdout]     |
[INFO] [stdout] 553 |             ContentHint::Default,
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `ContentHint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `UnidentifiedSenderMessageContent` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:610:26
[INFO] [stdout]     |
[INFO] [stdout] 610 |         let alice_usmc = UnidentifiedSenderMessageContent::new(
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `UnidentifiedSenderMessageContent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ContentHint` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:614:13
[INFO] [stdout]     |
[INFO] [stdout] 614 |             ContentHint::Default,
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `ContentHint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:682:32
[INFO] [stdout]     |
[INFO] [stdout] 682 |         let bob_uuid_address = ProtocolAddress::new(bob_uuid.clone(), bob_device_id);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ServerCertificate` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:705:13
[INFO] [stdout]     |
[INFO] [stdout] 705 |             ServerCertificate::new(1, server_key.public_key, &trust_root.private_key, &mut rng)?;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ use of undeclared type `ServerCertificate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SenderCertificate` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:709:27
[INFO] [stdout]     |
[INFO] [stdout] 709 |         let sender_cert = SenderCertificate::new(
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^ use of undeclared type `SenderCertificate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `UnidentifiedSenderMessageContent` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:730:26
[INFO] [stdout]     |
[INFO] [stdout] 730 |         let alice_usmc = UnidentifiedSenderMessageContent::new(
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `UnidentifiedSenderMessageContent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ContentHint` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:734:13
[INFO] [stdout]     |
[INFO] [stdout] 734 |             ContentHint::Default,
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `ContentHint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:787:32
[INFO] [stdout]     |
[INFO] [stdout] 787 |         let bob_uuid_address = ProtocolAddress::new(bob_uuid.clone(), bob_device_id.into());
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:791:13
[INFO] [stdout]     |
[INFO] [stdout] 791 |             InMemSignalProtocolStore::new(IdentityKeyPair::generate(&mut rng), 0x4000)?;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `InMemSignalProtocolStore`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IdentityKeyPair` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:791:43
[INFO] [stdout]     |
[INFO] [stdout] 791 |             InMemSignalProtocolStore::new(IdentityKeyPair::generate(&mut rng), 0x4000)?;
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^ use of undeclared type `IdentityKeyPair`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ServerCertificate` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:811:13
[INFO] [stdout]     |
[INFO] [stdout] 811 |             ServerCertificate::new(1, server_key.public_key, &trust_root.private_key, &mut rng)?;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ use of undeclared type `ServerCertificate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SenderCertificate` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:815:27
[INFO] [stdout]     |
[INFO] [stdout] 815 |         let sender_cert = SenderCertificate::new(
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^ use of undeclared type `SenderCertificate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `UnidentifiedSenderMessageContent` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:836:26
[INFO] [stdout]     |
[INFO] [stdout] 836 |         let alice_usmc = UnidentifiedSenderMessageContent::new(
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `UnidentifiedSenderMessageContent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ContentHint` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:840:13
[INFO] [stdout]     |
[INFO] [stdout] 840 |             ContentHint::Default,
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `ContentHint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:883:34
[INFO] [stdout]     |
[INFO] [stdout] 883 |         let alice_uuid_address = ProtocolAddress::new(alice_uuid.clone(), 1.into());
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:884:32
[INFO] [stdout]     |
[INFO] [stdout] 884 |         let bob_uuid_address = ProtocolAddress::new(bob_uuid.clone(), bob_device_id);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:939:13
[INFO] [stdout]     |
[INFO] [stdout] 939 |             CiphertextMessage::PreKeySignalMessage(ref m) => m.message().sender_ratchet_key(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ServerCertificate` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:950:13
[INFO] [stdout]     |
[INFO] [stdout] 950 |             ServerCertificate::new(1, server_key.public_key, &trust_root.private_key, &mut rng)?;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ use of undeclared type `ServerCertificate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SenderCertificate` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:954:27
[INFO] [stdout]     |
[INFO] [stdout] 954 |         let sender_cert = SenderCertificate::new(
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^ use of undeclared type `SenderCertificate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DecryptionErrorMessage` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:965:29
[INFO] [stdout]     |
[INFO] [stdout] 965 |         let error_message = DecryptionErrorMessage::for_original(
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `DecryptionErrorMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PlaintextContent` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:971:37
[INFO] [stdout]     |
[INFO] [stdout] 971 |         let error_message_content = PlaintextContent::from(error_message);
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^ use of undeclared type `PlaintextContent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `UnidentifiedSenderMessageContent` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:972:34
[INFO] [stdout]     |
[INFO] [stdout] 972 |         let error_message_usmc = UnidentifiedSenderMessageContent::new(
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `UnidentifiedSenderMessageContent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:973:13
[INFO] [stdout]     |
[INFO] [stdout] 973 |             CiphertextMessageType::Plaintext,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ContentHint` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:976:13
[INFO] [stdout]     |
[INFO] [stdout] 976 |             ContentHint::Default,
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `ContentHint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:995:13
[INFO] [stdout]     |
[INFO] [stdout] 995 |             CiphertextMessageType::Plaintext,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PlaintextContent` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:998:29
[INFO] [stdout]     |
[INFO] [stdout] 998 |         let bob_plaintext = PlaintextContent::try_from(bob_usmc.contents()?)?;
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^ use of undeclared type `PlaintextContent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `message_encrypt` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     message_encrypt(
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `message_decrypt` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     message_decrypt(
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `initialize_alice_session_record` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:137:25
[INFO] [stdout]     |
[INFO] [stdout] 137 |     let alice_session = initialize_alice_session_record(&alice_params, &mut csprng)?;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `initialize_bob_session_record` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:150:23
[INFO] [stdout]     |
[INFO] [stdout] 150 |     let bob_session = initialize_bob_session_record(&bob_params)?;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `initialize_alice_session_record` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:176:25
[INFO] [stdout]     |
[INFO] [stdout] 176 |     let alice_session = initialize_alice_session_record(&alice_params, &mut csprng)?;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `initialize_bob_session_record` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:196:23
[INFO] [stdout]     |
[INFO] [stdout] 196 |     let bob_session = initialize_bob_session_record(&bob_params)?;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_prekey_bundle` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:158:9
[INFO] [stdout]     |
[INFO] [stdout] 158 |         process_prekey_bundle(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 158 -         process_prekey_bundle(
[INFO] [stdout] 158 +         bob_pre_key_bundle(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sealed_sender_encrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:188:27
[INFO] [stdout]     |
[INFO] [stdout] 188 |         let alice_ctext = sealed_sender_encrypt(
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sealed_sender_decrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:199:25
[INFO] [stdout]     |
[INFO] [stdout] 199 |         let bob_ptext = sealed_sender_decrypt(
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sealed_sender_encrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:222:27
[INFO] [stdout]     |
[INFO] [stdout] 222 |         let alice_ctext = sealed_sender_encrypt(
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sealed_sender_decrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:233:25
[INFO] [stdout]     |
[INFO] [stdout] 233 |         let bob_ptext = sealed_sender_decrypt(
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sealed_sender_encrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:261:27
[INFO] [stdout]     |
[INFO] [stdout] 261 |         let alice_ctext = sealed_sender_encrypt(
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sealed_sender_decrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:274:25
[INFO] [stdout]     |
[INFO] [stdout] 274 |         let bob_ptext = sealed_sender_decrypt(
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_prekey_bundle` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:332:9
[INFO] [stdout]     |
[INFO] [stdout] 332 |         process_prekey_bundle(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 332 -         process_prekey_bundle(
[INFO] [stdout] 332 +         bob_pre_key_bundle(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_sender_key_distribution_message` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:361:36
[INFO] [stdout]     |
[INFO] [stdout] 361 |         let distribution_message = create_sender_key_distribution_message(
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_sender_key_distribution_message` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:370:9
[INFO] [stdout]     |
[INFO] [stdout] 370 |         process_sender_key_distribution_message(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `group_encrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:378:29
[INFO] [stdout]     |
[INFO] [stdout] 378 |         let alice_message = group_encrypt(
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sealed_sender_encrypt_from_usmc` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:395:27
[INFO] [stdout]     |
[INFO] [stdout] 395 |         let alice_ctext = sealed_sender_encrypt_from_usmc(
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sealed_sender_decrypt_to_usmc` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:405:13
[INFO] [stdout]     |
[INFO] [stdout] 405 |             sealed_sender_decrypt_to_usmc(&alice_ctext, &mut bob_store.identity_store, None)
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `group_decrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:413:29
[INFO] [stdout]     |
[INFO] [stdout] 413 |         let bob_plaintext = group_decrypt(
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_prekey_bundle` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:455:9
[INFO] [stdout]     |
[INFO] [stdout] 455 |         process_prekey_bundle(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 455 -         process_prekey_bundle(
[INFO] [stdout] 455 +         bob_pre_key_bundle(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `message_encrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:485:29
[INFO] [stdout]     |
[INFO] [stdout] 485 |         let alice_message = message_encrypt(
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sealed_sender_multi_recipient_encrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:503:27
[INFO] [stdout]     |
[INFO] [stdout] 503 |         let alice_ctext = sealed_sender_multi_recipient_encrypt(
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sealed_sender_multi_recipient_fan_out` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:515:46
[INFO] [stdout]     |
[INFO] [stdout] 515 |         let [bob_ctext] = <[_; 1]>::try_from(sealed_sender_multi_recipient_fan_out(&alice_ctext)?)
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sealed_sender_decrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:518:25
[INFO] [stdout]     |
[INFO] [stdout] 518 |         let bob_ptext = sealed_sender_decrypt(
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `message_encrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:540:29
[INFO] [stdout]     |
[INFO] [stdout] 540 |         let alice_message = message_encrypt(
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sealed_sender_multi_recipient_encrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:558:27
[INFO] [stdout]     |
[INFO] [stdout] 558 |         let alice_ctext = sealed_sender_multi_recipient_encrypt(
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sealed_sender_multi_recipient_fan_out` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:570:46
[INFO] [stdout]     |
[INFO] [stdout] 570 |         let [bob_ctext] = <[_; 1]>::try_from(sealed_sender_multi_recipient_fan_out(&alice_ctext)?)
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sealed_sender_decrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:573:25
[INFO] [stdout]     |
[INFO] [stdout] 573 |         let bob_ptext = sealed_sender_decrypt(
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `message_encrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:601:29
[INFO] [stdout]     |
[INFO] [stdout] 601 |         let alice_message = message_encrypt(
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sealed_sender_multi_recipient_encrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:619:27
[INFO] [stdout]     |
[INFO] [stdout] 619 |         let alice_ctext = sealed_sender_multi_recipient_encrypt(
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sealed_sender_multi_recipient_fan_out` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:633:46
[INFO] [stdout]     |
[INFO] [stdout] 633 |         let [bob_ctext] = <[_; 1]>::try_from(sealed_sender_multi_recipient_fan_out(&alice_ctext)?)
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sealed_sender_decrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:636:25
[INFO] [stdout]     |
[INFO] [stdout] 636 |         let bob_ptext = sealed_sender_decrypt(
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_prekey_bundle` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:691:9
[INFO] [stdout]     |
[INFO] [stdout] 691 |         process_prekey_bundle(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 691 -         process_prekey_bundle(
[INFO] [stdout] 691 +         bob_pre_key_bundle(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `message_encrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:721:29
[INFO] [stdout]     |
[INFO] [stdout] 721 |         let alice_message = message_encrypt(
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sealed_sender_multi_recipient_encrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:745:15
[INFO] [stdout]     |
[INFO] [stdout] 745 |         match sealed_sender_multi_recipient_encrypt(
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_prekey_bundle` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:797:9
[INFO] [stdout]     |
[INFO] [stdout] 797 |         process_prekey_bundle(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 797 -         process_prekey_bundle(
[INFO] [stdout] 797 +         bob_pre_key_bundle(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `message_encrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:827:29
[INFO] [stdout]     |
[INFO] [stdout] 827 |         let alice_message = message_encrypt(
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sealed_sender_multi_recipient_encrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:845:15
[INFO] [stdout]     |
[INFO] [stdout] 845 |         match sealed_sender_multi_recipient_encrypt(
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_prekey_bundle` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:893:9
[INFO] [stdout]     |
[INFO] [stdout] 893 |         process_prekey_bundle(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 893 -         process_prekey_bundle(
[INFO] [stdout] 893 +         alice_pre_key_bundle(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `message_encrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:905:33
[INFO] [stdout]     |
[INFO] [stdout] 905 |         let bob_first_message = message_encrypt(
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `message_decrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:914:9
[INFO] [stdout]     |
[INFO] [stdout] 914 |         message_decrypt(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `message_encrypt` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:929:27
[INFO] [stdout]     |
[INFO] [stdout] 929 |         let bob_message = message_encrypt(
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sealed_sender_encrypt_from_usmc` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:980:27
[INFO] [stdout]     |
[INFO] [stdout] 980 |         let alice_ctext = sealed_sender_encrypt_from_usmc(
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sealed_sender_decrypt_to_usmc` in this scope
[INFO] [stdout]    --> rust/protocol/tests/sealed_sender.rs:990:13
[INFO] [stdout]     |
[INFO] [stdout] 990 |             sealed_sender_decrypt_to_usmc(&alice_ctext, &mut bob_store.identity_store, None)
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `extract_decryption_error_message_from_serialized_content` in this scope
[INFO] [stdout]     --> rust/protocol/tests/sealed_sender.rs:1000:13
[INFO] [stdout]      |
[INFO] [stdout] 1000 |             extract_decryption_error_message_from_serialized_content(bob_plaintext.body())
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lib-messaging-protocol` (test "sealed_sender") due to 154 previous errors
[INFO] [stdout] error[E0425]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:21:50
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn test_in_memory_protocol_store() -> Result<InMemSignalProtocolStore, SignalProtocolError> {
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn test_in_memory_protocol_store<InMemSignalProtocolStore>() -> Result<InMemSignalProtocolStore, SignalProtocolError> {
[INFO] [stdout]    |                                     ++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 |     store: &mut InMemSignalProtocolStore,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:32:22
[INFO] [stdout]    |
[INFO] [stdout] 32 |     remote_address: &ProtocolAddress,
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 | ) -> Result<CiphertextMessage, SignalProtocolError> {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub async fn encrypt<CiphertextMessage>(
[INFO] [stdout]    |                     +++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:46:17
[INFO] [stdout]    |
[INFO] [stdout] 46 |     store: &mut InMemSignalProtocolStore,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:47:22
[INFO] [stdout]    |
[INFO] [stdout] 47 |     remote_address: &ProtocolAddress,
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:48:11
[INFO] [stdout]    |
[INFO] [stdout] 48 |     msg: &CiphertextMessage,
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `ProtocolStore` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:66:21
[INFO] [stdout]    |
[INFO] [stdout] 66 |     store: &mut dyn ProtocolStore,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PreKeyBundle` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:68:13
[INFO] [stdout]    |
[INFO] [stdout] 68 | ) -> Result<PreKeyBundle, SignalProtocolError> {
[INFO] [stdout]    |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub async fn create_pre_key_bundle<R: Rng + CryptoRng, PreKeyBundle>(
[INFO] [stdout]    |                                                      ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SessionRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:119:44
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub fn initialize_sessions_v3() -> Result<(SessionRecord, SessionRecord), SignalProtocolError> {
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub fn initialize_sessions_v3<SessionRecord>() -> Result<(SessionRecord, SessionRecord), SignalProtocolError> {
[INFO] [stdout]     |                              +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SessionRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:119:59
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub fn initialize_sessions_v3() -> Result<(SessionRecord, SessionRecord), SignalProtocolError> {
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub fn initialize_sessions_v3<SessionRecord>() -> Result<(SessionRecord, SessionRecord), SignalProtocolError> {
[INFO] [stdout]     |                              +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SessionRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:155:44
[INFO] [stdout]     |
[INFO] [stdout] 155 | pub fn initialize_sessions_v4() -> Result<(SessionRecord, SessionRecord), SignalProtocolError> {
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 155 | pub fn initialize_sessions_v4<SessionRecord>() -> Result<(SessionRecord, SessionRecord), SignalProtocolError> {
[INFO] [stdout]     |                              +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SessionRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:155:59
[INFO] [stdout]     |
[INFO] [stdout] 155 | pub fn initialize_sessions_v4() -> Result<(SessionRecord, SessionRecord), SignalProtocolError> {
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 155 | pub fn initialize_sessions_v4<SessionRecord>() -> Result<(SessionRecord, SessionRecord), SignalProtocolError> {
[INFO] [stdout]     |                              +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:215:23
[INFO] [stdout]     |
[INFO] [stdout] 215 |     pub(crate) store: InMemSignalProtocolStore,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:235:31
[INFO] [stdout]     |
[INFO] [stdout] 235 |     pub fn from_store(store: &InMemSignalProtocolStore) -> Self {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DeviceId` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:310:59
[INFO] [stdout]     |
[INFO] [stdout] 310 |     pub fn make_bundle_with_latest_keys(&self, device_id: DeviceId) -> PreKeyBundle {
[INFO] [stdout]     |                                                           ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PreKeyBundle` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:310:72
[INFO] [stdout]     |
[INFO] [stdout] 310 |     pub fn make_bundle_with_latest_keys(&self, device_id: DeviceId) -> PreKeyBundle {
[INFO] [stdout]     |                                                                        ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:404:41
[INFO] [stdout]     |
[INFO] [stdout] 404 |     fn session_version(&self, address: &ProtocolAddress) -> Result<u32, SignalProtocolError>;
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:408:41
[INFO] [stdout]     |
[INFO] [stdout] 408 |     fn session_version(&self, address: &ProtocolAddress) -> Result<u32, SignalProtocolError> {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:413:28
[INFO] [stdout]     |
[INFO] [stdout] 413 | impl HasSessionVersion for InMemSignalProtocolStore {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:414:41
[INFO] [stdout]     |
[INFO] [stdout] 414 |     fn session_version(&self, address: &ProtocolAddress) -> Result<u32, SignalProtocolError> {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DeviceId` in this scope
[INFO] [stdout]   --> rust/protocol/tests/session.rs:50:32
[INFO] [stdout]    |
[INFO] [stdout] 50 |             let bob_device_id: DeviceId = 1.into();
[INFO] [stdout]    |                                ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DeviceId` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:314:30
[INFO] [stdout]     |
[INFO] [stdout] 314 |             let device_id_1: DeviceId = 1.into();
[INFO] [stdout]     |                              ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DeviceId` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:316:30
[INFO] [stdout]     |
[INFO] [stdout] 316 |             let device_id_2: DeviceId = 2.into();
[INFO] [stdout]     |                              ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SessionRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:759:23
[INFO] [stdout]     |
[INFO] [stdout] 759 |     fn run(sessions: (SessionRecord, SessionRecord)) -> TestResult {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SessionRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:759:38
[INFO] [stdout]     |
[INFO] [stdout] 759 |     fn run(sessions: (SessionRecord, SessionRecord)) -> TestResult {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SessionRecord` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1972:43
[INFO] [stdout]      |
[INFO] [stdout] 1972 | fn run_session_interaction(alice_session: SessionRecord, bob_session: SessionRecord) -> TestResult {
[INFO] [stdout]      |                                           ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SessionRecord` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1972:71
[INFO] [stdout]      |
[INFO] [stdout] 1972 | fn run_session_interaction(alice_session: SessionRecord, bob_session: SessionRecord) -> TestResult {
[INFO] [stdout]      |                                                                       ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:2070:23
[INFO] [stdout]      |
[INFO] [stdout] 2070 |     alice_store: &mut InMemSignalProtocolStore,
[INFO] [stdout]      |                       ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:2071:21
[INFO] [stdout]      |
[INFO] [stdout] 2071 |     alice_address: &ProtocolAddress,
[INFO] [stdout]      |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:2072:21
[INFO] [stdout]      |
[INFO] [stdout] 2072 |     bob_store: &mut InMemSignalProtocolStore,
[INFO] [stdout]      |                     ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:2073:19
[INFO] [stdout]      |
[INFO] [stdout] 2073 |     bob_address: &ProtocolAddress,
[INFO] [stdout]      |                   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `ProtocolStore` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:2159:23
[INFO] [stdout]      |
[INFO] [stdout] 2159 |     alice_store: &dyn ProtocolStore,
[INFO] [stdout]      |                       ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:2160:21
[INFO] [stdout]      |
[INFO] [stdout] 2160 |     alice_address: &ProtocolAddress,
[INFO] [stdout]      |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `ProtocolStore` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:2161:21
[INFO] [stdout]      |
[INFO] [stdout] 2161 |     bob_store: &dyn ProtocolStore,
[INFO] [stdout]      |                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:2162:19
[INFO] [stdout]      |
[INFO] [stdout] 2162 |     bob_address: &ProtocolAddress,
[INFO] [stdout]      |                   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryFrom`
[INFO] [stdout]   --> rust/protocol/tests/session.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | 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[E0433]: cannot find type `IdentityKeyPair` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:23:24
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let identity_key = IdentityKeyPair::generate(&mut csprng);
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^ use of undeclared type `IdentityKeyPair`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     InMemSignalProtocolStore::new(identity_key, registration_id as u32)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `InMemSignalProtocolStore`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeyBundle` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:83:26
[INFO] [stdout]    |
[INFO] [stdout] 83 |     let pre_key_bundle = PreKeyBundle::new(
[INFO] [stdout]    |                          ^^^^^^^^^^^^ use of undeclared type `PreKeyBundle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeyRecord` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:96:14
[INFO] [stdout]    |
[INFO] [stdout] 96 |             &PreKeyRecord::new(pre_key_id.into(), &pre_key_pair),
[INFO] [stdout]    |              ^^^^^^^^^^^^ use of undeclared type `PreKeyRecord`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SignedPreKeyRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:106:14
[INFO] [stdout]     |
[INFO] [stdout] 106 |             &SignedPreKeyRecord::new(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^ use of undeclared type `SignedPreKeyRecord`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IdentityKeyPair` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:121:26
[INFO] [stdout]     |
[INFO] [stdout] 121 |     let alice_identity = IdentityKeyPair::generate(&mut csprng);
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^ use of undeclared type `IdentityKeyPair`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IdentityKeyPair` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:122:24
[INFO] [stdout]     |
[INFO] [stdout] 122 |     let bob_identity = IdentityKeyPair::generate(&mut csprng);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^ use of undeclared type `IdentityKeyPair`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `AliceSignalProtocolParameters` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:129:24
[INFO] [stdout]     |
[INFO] [stdout] 129 |     let alice_params = AliceSignalProtocolParameters::new(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `AliceSignalProtocolParameters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `BobSignalProtocolParameters` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:139:22
[INFO] [stdout]     |
[INFO] [stdout] 139 |     let bob_params = BobSignalProtocolParameters::new(
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `BobSignalProtocolParameters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IdentityKeyPair` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:157:26
[INFO] [stdout]     |
[INFO] [stdout] 157 |     let alice_identity = IdentityKeyPair::generate(&mut csprng);
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^ use of undeclared type `IdentityKeyPair`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IdentityKeyPair` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:158:24
[INFO] [stdout]     |
[INFO] [stdout] 158 |     let bob_identity = IdentityKeyPair::generate(&mut csprng);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^ use of undeclared type `IdentityKeyPair`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `AliceSignalProtocolParameters` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:167:24
[INFO] [stdout]     |
[INFO] [stdout] 167 |     let alice_params = AliceSignalProtocolParameters::new(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `AliceSignalProtocolParameters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `BobSignalProtocolParameters` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:185:22
[INFO] [stdout]     |
[INFO] [stdout] 185 |     let bob_params = BobSignalProtocolParameters::new(
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `BobSignalProtocolParameters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IdentityKeyPair` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:222:28
[INFO] [stdout]     |
[INFO] [stdout] 222 |         let identity_key = IdentityKeyPair::generate(&mut rng);
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^ use of undeclared type `IdentityKeyPair`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `InMemSignalProtocolStore` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:226:21
[INFO] [stdout]     |
[INFO] [stdout] 226 |         let store = InMemSignalProtocolStore::new(identity_key, registration_id as u32)
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `InMemSignalProtocolStore`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeyRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:256:39
[INFO] [stdout]     |
[INFO] [stdout] 256 |             .save_pre_key(id.into(), &PreKeyRecord::new(id.into(), &pair), None)
[INFO] [stdout]     |                                       ^^^^^^^^^^^^ use of undeclared type `PreKeyRecord`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SignedPreKeyRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:278:22
[INFO] [stdout]     |
[INFO] [stdout] 278 |         let record = SignedPreKeyRecord::new(id.into(), 42, &pair, &signature);
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^ use of undeclared type `SignedPreKeyRecord`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `KyberPreKeyRecord` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:302:22
[INFO] [stdout]     |
[INFO] [stdout] 302 |         let record = KyberPreKeyRecord::new(id.into(), 43, &pair, &signature);
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^ use of undeclared type `KyberPreKeyRecord`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeyBundle` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:351:26
[INFO] [stdout]     |
[INFO] [stdout] 351 |         let mut bundle = PreKeyBundle::new(
[INFO] [stdout]     |                          ^^^^^^^^^^^^ use of undeclared type `PreKeyBundle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]   --> rust/protocol/tests/session.rs:52:33
[INFO] [stdout]    |
[INFO] [stdout] 52 |             let alice_address = ProtocolAddress::new("+14151111111".to_owned(), 1.into());
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]   --> rust/protocol/tests/session.rs:53:31
[INFO] [stdout]    |
[INFO] [stdout] 53 |             let bob_address = ProtocolAddress::new("+14151111112".to_owned(), bob_device_id);
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]   --> rust/protocol/tests/session.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |                 CiphertextMessageType::PreKey
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]   --> rust/protocol/tests/session.rs:91:36
[INFO] [stdout]    |
[INFO] [stdout] 91 |             let incoming_message = CiphertextMessage::PreKeySignalMessage(
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeySignalMessage` in this scope
[INFO] [stdout]   --> rust/protocol/tests/session.rs:92:17
[INFO] [stdout]    |
[INFO] [stdout] 92 |                 PreKeySignalMessage::try_from(outgoing_message.serialize())?,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^ use of undeclared type `PreKeySignalMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:128:53
[INFO] [stdout]     |
[INFO] [stdout] 128 |             assert_eq!(bob_outgoing.message_type(), CiphertextMessageType::Whisper);
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:250:33
[INFO] [stdout]     |
[INFO] [stdout] 250 |             let alice_address = ProtocolAddress::new("+14151111111".to_owned(), 1.into());
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:251:31
[INFO] [stdout]     |
[INFO] [stdout] 251 |             let bob_address = ProtocolAddress::new("+14151111112".to_owned(), 1.into());
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:315:30
[INFO] [stdout]     |
[INFO] [stdout] 315 |             let a1_address = ProtocolAddress::new("+14151111111".to_owned(), device_id_1);
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:317:30
[INFO] [stdout]     |
[INFO] [stdout] 317 |             let a2_address = ProtocolAddress::new("+14151111111".to_owned(), device_id_2);
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:363:27
[INFO] [stdout]     |
[INFO] [stdout] 363 |         let bob_address = ProtocolAddress::new("+14151111112".to_owned(), 1.into());
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:448:33
[INFO] [stdout]     |
[INFO] [stdout] 448 |             let alice_address = ProtocolAddress::new("+14151111111".to_owned(), 1.into());
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:449:31
[INFO] [stdout]     |
[INFO] [stdout] 449 |             let bob_address = ProtocolAddress::new("+14151111112".to_owned(), 1.into());
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:481:17
[INFO] [stdout]     |
[INFO] [stdout] 481 |                 CiphertextMessageType::PreKey
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:485:17
[INFO] [stdout]     |
[INFO] [stdout] 485 |                 CiphertextMessageType::PreKey
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:488:36
[INFO] [stdout]     |
[INFO] [stdout] 488 |             let incoming_message = CiphertextMessage::PreKeySignalMessage(
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeySignalMessage` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:489:17
[INFO] [stdout]     |
[INFO] [stdout] 489 |                 PreKeySignalMessage::try_from(outgoing_message1.serialize())?,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^ use of undeclared type `PreKeySignalMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:509:53
[INFO] [stdout]     |
[INFO] [stdout] 509 |             assert_eq!(bob_outgoing.message_type(), CiphertextMessageType::Whisper);
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:518:37
[INFO] [stdout]     |
[INFO] [stdout] 518 |             let incoming_message2 = CiphertextMessage::PreKeySignalMessage(
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeySignalMessage` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:519:17
[INFO] [stdout]     |
[INFO] [stdout] 519 |                 PreKeySignalMessage::try_from(outgoing_message2.serialize())?,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^ use of undeclared type `PreKeySignalMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:585:33
[INFO] [stdout]     |
[INFO] [stdout] 585 |             let alice_address = ProtocolAddress::new("+14151111111".to_owned(), 1.into());
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:586:31
[INFO] [stdout]     |
[INFO] [stdout] 586 |             let bob_address = ProtocolAddress::new("+14151111112".to_owned(), 1.into());
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:620:17
[INFO] [stdout]     |
[INFO] [stdout] 620 |                 CiphertextMessageType::PreKey
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:628:36
[INFO] [stdout]     |
[INFO] [stdout] 628 |             let incoming_message = CiphertextMessage::PreKeySignalMessage(
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeySignalMessage` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:629:17
[INFO] [stdout]     |
[INFO] [stdout] 629 |                 PreKeySignalMessage::try_from(corrupted_message.as_slice())?,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^ use of undeclared type `PreKeySignalMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:637:36
[INFO] [stdout]     |
[INFO] [stdout] 637 |             let incoming_message = CiphertextMessage::PreKeySignalMessage(
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeySignalMessage` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:638:17
[INFO] [stdout]     |
[INFO] [stdout] 638 |                 PreKeySignalMessage::try_from(outgoing_message.as_slice())?,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^ use of undeclared type `PreKeySignalMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:688:33
[INFO] [stdout]     |
[INFO] [stdout] 688 |             let alice_address = ProtocolAddress::new("+14151111111".to_owned(), 1.into());
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:689:31
[INFO] [stdout]     |
[INFO] [stdout] 689 |             let bob_address = ProtocolAddress::new("+14151111112".to_owned(), 1.into());
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:716:17
[INFO] [stdout]     |
[INFO] [stdout] 716 |                 CiphertextMessageType::PreKey
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:719:36
[INFO] [stdout]     |
[INFO] [stdout] 719 |             let incoming_message = CiphertextMessage::PreKeySignalMessage(
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeySignalMessage` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:720:17
[INFO] [stdout]     |
[INFO] [stdout] 720 |                 PreKeySignalMessage::try_from(outgoing_message.serialize())?,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^ use of undeclared type `PreKeySignalMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:763:33
[INFO] [stdout]     |
[INFO] [stdout] 763 |             let alice_address = ProtocolAddress::new("+14159999999".to_owned(), 1.into());
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:764:31
[INFO] [stdout]     |
[INFO] [stdout] 764 |             let bob_address = ProtocolAddress::new("+14158888888".to_owned(), 1.into());
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:857:33
[INFO] [stdout]     |
[INFO] [stdout] 857 |             let alice_address = ProtocolAddress::new("+14151111111".to_owned(), 1.into());
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:858:31
[INFO] [stdout]     |
[INFO] [stdout] 858 |             let bob_address = ProtocolAddress::new("+14151111112".to_owned(), 1.into());
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:891:17
[INFO] [stdout]     |
[INFO] [stdout] 891 |                 CiphertextMessageType::PreKey
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:895:17
[INFO] [stdout]     |
[INFO] [stdout] 895 |                 CiphertextMessageType::PreKey
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:905:18
[INFO] [stdout]     |
[INFO] [stdout] 905 |                 &CiphertextMessage::PreKeySignalMessage(PreKeySignalMessage::try_from(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeySignalMessage` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:905:57
[INFO] [stdout]     |
[INFO] [stdout] 905 |                 &CiphertextMessage::PreKeySignalMessage(PreKeySignalMessage::try_from(
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^^^^^^ use of undeclared type `PreKeySignalMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:918:18
[INFO] [stdout]     |
[INFO] [stdout] 918 |                 &CiphertextMessage::PreKeySignalMessage(PreKeySignalMessage::try_from(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeySignalMessage` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:918:57
[INFO] [stdout]     |
[INFO] [stdout] 918 |                 &CiphertextMessage::PreKeySignalMessage(PreKeySignalMessage::try_from(
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^^^^^^ use of undeclared type `PreKeySignalMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:945:17
[INFO] [stdout]     |
[INFO] [stdout] 945 |                 CiphertextMessageType::Whisper
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:951:18
[INFO] [stdout]     |
[INFO] [stdout] 951 |                 &CiphertextMessage::SignalMessage(SignalMessage::try_from(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SignalMessage` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:951:51
[INFO] [stdout]     |
[INFO] [stdout] 951 |                 &CiphertextMessage::SignalMessage(SignalMessage::try_from(
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^ use of undeclared type `SignalMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:967:53
[INFO] [stdout]     |
[INFO] [stdout] 967 |             assert_eq!(bob_response.message_type(), CiphertextMessageType::Whisper);
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:972:18
[INFO] [stdout]     |
[INFO] [stdout] 972 |                 &CiphertextMessage::SignalMessage(SignalMessage::try_from(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SignalMessage` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:972:51
[INFO] [stdout]     |
[INFO] [stdout] 972 |                 &CiphertextMessage::SignalMessage(SignalMessage::try_from(
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^ use of undeclared type `SignalMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1031:33
[INFO] [stdout]      |
[INFO] [stdout] 1031 |             let alice_address = ProtocolAddress::new("+14151111111".to_owned(), 1.into());
[INFO] [stdout]      |                                 ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1032:31
[INFO] [stdout]      |
[INFO] [stdout] 1032 |             let bob_address = ProtocolAddress::new("+14151111112".to_owned(), 1.into());
[INFO] [stdout]      |                               ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1065:17
[INFO] [stdout]      |
[INFO] [stdout] 1065 |                 CiphertextMessageType::PreKey
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1069:17
[INFO] [stdout]      |
[INFO] [stdout] 1069 |                 CiphertextMessageType::PreKey
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1079:18
[INFO] [stdout]      |
[INFO] [stdout] 1079 |                 &CiphertextMessage::PreKeySignalMessage(PreKeySignalMessage::try_from(
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeySignalMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1079:57
[INFO] [stdout]      |
[INFO] [stdout] 1079 |                 &CiphertextMessage::PreKeySignalMessage(PreKeySignalMessage::try_from(
[INFO] [stdout]      |                                                         ^^^^^^^^^^^^^^^^^^^ use of undeclared type `PreKeySignalMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1100:55
[INFO] [stdout]      |
[INFO] [stdout] 1100 |             assert_eq!(alice_response.message_type(), CiphertextMessageType::PreKey);
[INFO] [stdout]      |                                                       ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1105:18
[INFO] [stdout]      |
[INFO] [stdout] 1105 |                 &CiphertextMessage::PreKeySignalMessage(PreKeySignalMessage::try_from(
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeySignalMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1105:57
[INFO] [stdout]      |
[INFO] [stdout] 1105 |                 &CiphertextMessage::PreKeySignalMessage(PreKeySignalMessage::try_from(
[INFO] [stdout]      |                                                         ^^^^^^^^^^^^^^^^^^^ use of undeclared type `PreKeySignalMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1121:53
[INFO] [stdout]      |
[INFO] [stdout] 1121 |             assert_eq!(bob_response.message_type(), CiphertextMessageType::Whisper);
[INFO] [stdout]      |                                                     ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1126:18
[INFO] [stdout]      |
[INFO] [stdout] 1126 |                 &CiphertextMessage::SignalMessage(SignalMessage::try_from(
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SignalMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1126:51
[INFO] [stdout]      |
[INFO] [stdout] 1126 |                 &CiphertextMessage::SignalMessage(SignalMessage::try_from(
[INFO] [stdout]      |                                                   ^^^^^^^^^^^^^ use of undeclared type `SignalMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1185:33
[INFO] [stdout]      |
[INFO] [stdout] 1185 |             let alice_address = ProtocolAddress::new("+14151111111".to_owned(), 1.into());
[INFO] [stdout]      |                                 ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1186:31
[INFO] [stdout]      |
[INFO] [stdout] 1186 |             let bob_address = ProtocolAddress::new("+14151111112".to_owned(), 1.into());
[INFO] [stdout]      |                               ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1219:17
[INFO] [stdout]      |
[INFO] [stdout] 1219 |                 CiphertextMessageType::PreKey
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1223:17
[INFO] [stdout]      |
[INFO] [stdout] 1223 |                 CiphertextMessageType::PreKey
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1233:18
[INFO] [stdout]      |
[INFO] [stdout] 1233 |                 &CiphertextMessage::PreKeySignalMessage(PreKeySignalMessage::try_from(
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeySignalMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1233:57
[INFO] [stdout]      |
[INFO] [stdout] 1233 |                 &CiphertextMessage::PreKeySignalMessage(PreKeySignalMessage::try_from(
[INFO] [stdout]      |                                                         ^^^^^^^^^^^^^^^^^^^ use of undeclared type `PreKeySignalMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1246:18
[INFO] [stdout]      |
[INFO] [stdout] 1246 |                 &CiphertextMessage::PreKeySignalMessage(PreKeySignalMessage::try_from(
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeySignalMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1246:57
[INFO] [stdout]      |
[INFO] [stdout] 1246 |                 &CiphertextMessage::PreKeySignalMessage(PreKeySignalMessage::try_from(
[INFO] [stdout]      |                                                         ^^^^^^^^^^^^^^^^^^^ use of undeclared type `PreKeySignalMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1273:17
[INFO] [stdout]      |
[INFO] [stdout] 1273 |                 CiphertextMessageType::Whisper
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1282:53
[INFO] [stdout]      |
[INFO] [stdout] 1282 |             assert_eq!(bob_response.message_type(), CiphertextMessageType::Whisper);
[INFO] [stdout]      |                                                     ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1287:18
[INFO] [stdout]      |
[INFO] [stdout] 1287 |                 &CiphertextMessage::SignalMessage(SignalMessage::try_from(
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SignalMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1287:51
[INFO] [stdout]      |
[INFO] [stdout] 1287 |                 &CiphertextMessage::SignalMessage(SignalMessage::try_from(
[INFO] [stdout]      |                                                   ^^^^^^^^^^^^^ use of undeclared type `SignalMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1346:33
[INFO] [stdout]      |
[INFO] [stdout] 1346 |             let alice_address = ProtocolAddress::new("+14151111111".to_owned(), 1.into());
[INFO] [stdout]      |                                 ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1347:31
[INFO] [stdout]      |
[INFO] [stdout] 1347 |             let bob_address = ProtocolAddress::new("+14151111112".to_owned(), 1.into());
[INFO] [stdout]      |                               ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1381:21
[INFO] [stdout]      |
[INFO] [stdout] 1381 |                     CiphertextMessageType::PreKey
[INFO] [stdout]      |                     ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1385:21
[INFO] [stdout]      |
[INFO] [stdout] 1385 |                     CiphertextMessageType::PreKey
[INFO] [stdout]      |                     ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1401:22
[INFO] [stdout]      |
[INFO] [stdout] 1401 |                     &CiphertextMessage::PreKeySignalMessage(PreKeySignalMessage::try_from(
[INFO] [stdout]      |                      ^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeySignalMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1401:61
[INFO] [stdout]      |
[INFO] [stdout] 1401 |                     &CiphertextMessage::PreKeySignalMessage(PreKeySignalMessage::try_from(
[INFO] [stdout]      |                                                             ^^^^^^^^^^^^^^^^^^^ use of undeclared type `PreKeySignalMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1414:22
[INFO] [stdout]      |
[INFO] [stdout] 1414 |                     &CiphertextMessage::PreKeySignalMessage(PreKeySignalMessage::try_from(
[INFO] [stdout]      |                      ^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeySignalMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1414:61
[INFO] [stdout]      |
[INFO] [stdout] 1414 |                     &CiphertextMessage::PreKeySignalMessage(PreKeySignalMessage::try_from(
[INFO] [stdout]      |                                                             ^^^^^^^^^^^^^^^^^^^ use of undeclared type `PreKeySignalMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1452:21
[INFO] [stdout]      |
[INFO] [stdout] 1452 |                     CiphertextMessageType::Whisper
[INFO] [stdout]      |                     ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1456:21
[INFO] [stdout]      |
[INFO] [stdout] 1456 |                     CiphertextMessageType::Whisper
[INFO] [stdout]      |                     ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1472:22
[INFO] [stdout]      |
[INFO] [stdout] 1472 |                     &CiphertextMessage::SignalMessage(SignalMessage::try_from(
[INFO] [stdout]      |                      ^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SignalMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1472:55
[INFO] [stdout]      |
[INFO] [stdout] 1472 |                     &CiphertextMessage::SignalMessage(SignalMessage::try_from(
[INFO] [stdout]      |                                                       ^^^^^^^^^^^^^ use of undeclared type `SignalMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1485:22
[INFO] [stdout]      |
[INFO] [stdout] 1485 |                     &CiphertextMessage::SignalMessage(SignalMessage::try_from(
[INFO] [stdout]      |                      ^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SignalMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1485:55
[INFO] [stdout]      |
[INFO] [stdout] 1485 |                     &CiphertextMessage::SignalMessage(SignalMessage::try_from(
[INFO] [stdout]      |                                                       ^^^^^^^^^^^^^ use of undeclared type `SignalMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1524:17
[INFO] [stdout]      |
[INFO] [stdout] 1524 |                 CiphertextMessageType::Whisper
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1540:53
[INFO] [stdout]      |
[INFO] [stdout] 1540 |             assert_eq!(bob_response.message_type(), CiphertextMessageType::Whisper);
[INFO] [stdout]      |                                                     ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1545:18
[INFO] [stdout]      |
[INFO] [stdout] 1545 |                 &CiphertextMessage::SignalMessage(SignalMessage::try_from(
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SignalMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1545:51
[INFO] [stdout]      |
[INFO] [stdout] 1545 |                 &CiphertextMessage::SignalMessage(SignalMessage::try_from(
[INFO] [stdout]      |                                                   ^^^^^^^^^^^^^ use of undeclared type `SignalMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1600:33
[INFO] [stdout]      |
[INFO] [stdout] 1600 |             let alice_address = ProtocolAddress::new("+14151111111".to_owned(), 1.into());
[INFO] [stdout]      |                                 ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1601:31
[INFO] [stdout]      |
[INFO] [stdout] 1601 |             let bob_address = ProtocolAddress::new("+14151111112".to_owned(), 1.into());
[INFO] [stdout]      |                               ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1662:21
[INFO] [stdout]      |
[INFO] [stdout] 1662 |                     CiphertextMessageType::PreKey
[INFO] [stdout]      |                     ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1666:21
[INFO] [stdout]      |
[INFO] [stdout] 1666 |                     CiphertextMessageType::PreKey
[INFO] [stdout]      |                     ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1682:22
[INFO] [stdout]      |
[INFO] [stdout] 1682 |                     &CiphertextMessage::PreKeySignalMessage(PreKeySignalMessage::try_from(
[INFO] [stdout]      |                      ^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeySignalMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1682:61
[INFO] [stdout]      |
[INFO] [stdout] 1682 |                     &CiphertextMessage::PreKeySignalMessage(PreKeySignalMessage::try_from(
[INFO] [stdout]      |                                                             ^^^^^^^^^^^^^^^^^^^ use of undeclared type `PreKeySignalMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1695:22
[INFO] [stdout]      |
[INFO] [stdout] 1695 |                     &CiphertextMessage::PreKeySignalMessage(PreKeySignalMessage::try_from(
[INFO] [stdout]      |                      ^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeySignalMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1695:61
[INFO] [stdout]      |
[INFO] [stdout] 1695 |                     &CiphertextMessage::PreKeySignalMessage(PreKeySignalMessage::try_from(
[INFO] [stdout]      |                                                             ^^^^^^^^^^^^^^^^^^^ use of undeclared type `PreKeySignalMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1733:21
[INFO] [stdout]      |
[INFO] [stdout] 1733 |                     CiphertextMessageType::Whisper
[INFO] [stdout]      |                     ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1737:21
[INFO] [stdout]      |
[INFO] [stdout] 1737 |                     CiphertextMessageType::Whisper
[INFO] [stdout]      |                     ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1753:22
[INFO] [stdout]      |
[INFO] [stdout] 1753 |                     &CiphertextMessage::SignalMessage(SignalMessage::try_from(
[INFO] [stdout]      |                      ^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SignalMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1753:55
[INFO] [stdout]      |
[INFO] [stdout] 1753 |                     &CiphertextMessage::SignalMessage(SignalMessage::try_from(
[INFO] [stdout]      |                                                       ^^^^^^^^^^^^^ use of undeclared type `SignalMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1766:22
[INFO] [stdout]      |
[INFO] [stdout] 1766 |                     &CiphertextMessage::SignalMessage(SignalMessage::try_from(
[INFO] [stdout]      |                      ^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SignalMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1766:55
[INFO] [stdout]      |
[INFO] [stdout] 1766 |                     &CiphertextMessage::SignalMessage(SignalMessage::try_from(
[INFO] [stdout]      |                                                       ^^^^^^^^^^^^^ use of undeclared type `SignalMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1805:17
[INFO] [stdout]      |
[INFO] [stdout] 1805 |                 CiphertextMessageType::Whisper
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1821:53
[INFO] [stdout]      |
[INFO] [stdout] 1821 |             assert_eq!(bob_response.message_type(), CiphertextMessageType::Whisper);
[INFO] [stdout]      |                                                     ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1826:18
[INFO] [stdout]      |
[INFO] [stdout] 1826 |                 &CiphertextMessage::SignalMessage(SignalMessage::try_from(
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SignalMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1826:51
[INFO] [stdout]      |
[INFO] [stdout] 1826 |                 &CiphertextMessage::SignalMessage(SignalMessage::try_from(
[INFO] [stdout]      |                                                   ^^^^^^^^^^^^^ use of undeclared type `SignalMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1849:18
[INFO] [stdout]      |
[INFO] [stdout] 1849 |                 &CiphertextMessage::PreKeySignalMessage(PreKeySignalMessage::try_from(
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeySignalMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1849:57
[INFO] [stdout]      |
[INFO] [stdout] 1849 |                 &CiphertextMessage::PreKeySignalMessage(PreKeySignalMessage::try_from(
[INFO] [stdout]      |                                                         ^^^^^^^^^^^^^^^^^^^ use of undeclared type `PreKeySignalMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1872:53
[INFO] [stdout]      |
[INFO] [stdout] 1872 |             assert_eq!(bob_response.message_type(), CiphertextMessageType::Whisper);
[INFO] [stdout]      |                                                     ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1877:18
[INFO] [stdout]      |
[INFO] [stdout] 1877 |                 &CiphertextMessage::SignalMessage(SignalMessage::try_from(
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SignalMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1877:51
[INFO] [stdout]      |
[INFO] [stdout] 1877 |                 &CiphertextMessage::SignalMessage(SignalMessage::try_from(
[INFO] [stdout]      |                                                   ^^^^^^^^^^^^^ use of undeclared type `SignalMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1910:29
[INFO] [stdout]      |
[INFO] [stdout] 1910 |         let alice_address = ProtocolAddress::new("+14151111111".to_owned(), 1.into());
[INFO] [stdout]      |                             ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1911:27
[INFO] [stdout]      |
[INFO] [stdout] 1911 |         let bob_address = ProtocolAddress::new("+14151111112".to_owned(), 1.into());
[INFO] [stdout]      |                           ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1946:13
[INFO] [stdout]      |
[INFO] [stdout] 1946 |             CiphertextMessageType::PreKey
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1949:32
[INFO] [stdout]      |
[INFO] [stdout] 1949 |         let incoming_message = CiphertextMessage::PreKeySignalMessage(
[INFO] [stdout]      |                                ^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PreKeySignalMessage` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1950:13
[INFO] [stdout]      |
[INFO] [stdout] 1950 |             PreKeySignalMessage::try_from(outgoing_message.serialize())?,
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^ use of undeclared type `PreKeySignalMessage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1976:29
[INFO] [stdout]      |
[INFO] [stdout] 1976 |         let alice_address = ProtocolAddress::new("+14159999999".to_owned(), 1.into());
[INFO] [stdout]      |                             ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ProtocolAddress` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1977:27
[INFO] [stdout]      |
[INFO] [stdout] 1977 |         let bob_address = ProtocolAddress::new("+14158888888".to_owned(), 1.into());
[INFO] [stdout]      |                           ^^^^^^^^^^^^^^^ use of undeclared type `ProtocolAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:2078:46
[INFO] [stdout]      |
[INFO] [stdout] 2078 |     assert_eq!(alice_message.message_type(), CiphertextMessageType::Whisper);
[INFO] [stdout]      |                                              ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:2088:44
[INFO] [stdout]      |
[INFO] [stdout] 2088 |     assert_eq!(bob_message.message_type(), CiphertextMessageType::Whisper);
[INFO] [stdout]      |                                            ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:2098:50
[INFO] [stdout]      |
[INFO] [stdout] 2098 |         assert_eq!(alice_message.message_type(), CiphertextMessageType::Whisper);
[INFO] [stdout]      |                                                  ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:2109:48
[INFO] [stdout]      |
[INFO] [stdout] 2109 |         assert_eq!(bob_message.message_type(), CiphertextMessageType::Whisper);
[INFO] [stdout]      |                                                ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:2128:50
[INFO] [stdout]      |
[INFO] [stdout] 2128 |         assert_eq!(alice_message.message_type(), CiphertextMessageType::Whisper);
[INFO] [stdout]      |                                                  ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CiphertextMessageType` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:2139:48
[INFO] [stdout]      |
[INFO] [stdout] 2139 |         assert_eq!(bob_message.message_type(), CiphertextMessageType::Whisper);
[INFO] [stdout]      |                                                ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CiphertextMessageType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `message_encrypt` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     message_encrypt(
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `message_decrypt` in this scope
[INFO] [stdout]   --> rust/protocol/tests/support/mod.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     message_decrypt(
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `initialize_alice_session_record` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:137:25
[INFO] [stdout]     |
[INFO] [stdout] 137 |     let alice_session = initialize_alice_session_record(&alice_params, &mut csprng)?;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `initialize_bob_session_record` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:150:23
[INFO] [stdout]     |
[INFO] [stdout] 150 |     let bob_session = initialize_bob_session_record(&bob_params)?;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `initialize_alice_session_record` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:176:25
[INFO] [stdout]     |
[INFO] [stdout] 176 |     let alice_session = initialize_alice_session_record(&alice_params, &mut csprng)?;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `initialize_bob_session_record` in this scope
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:196:23
[INFO] [stdout]     |
[INFO] [stdout] 196 |     let bob_session = initialize_bob_session_record(&bob_params)?;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_prekey_bundle` in this scope
[INFO] [stdout]   --> rust/protocol/tests/session.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 63 |             process_prekey_bundle(
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 63 -             process_prekey_bundle(
[INFO] [stdout] 63 +             bob_pre_key_bundle(
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_prekey_bundle` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:150:13
[INFO] [stdout]     |
[INFO] [stdout] 150 |             process_prekey_bundle(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 150 -             process_prekey_bundle(
[INFO] [stdout] 150 +             bob_pre_key_bundle(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_prekey_bundle` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:208:21
[INFO] [stdout]     |
[INFO] [stdout] 208 |             assert!(process_prekey_bundle(
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 208 -             assert!(process_prekey_bundle(
[INFO] [stdout] 208 +             assert!(bob_pre_key_bundle(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_prekey_bundle` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:257:13
[INFO] [stdout]     |
[INFO] [stdout] 257 |             process_prekey_bundle(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 257 -             process_prekey_bundle(
[INFO] [stdout] 257 +             bob_pre_key_bundle(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_prekey_bundle` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:323:13
[INFO] [stdout]     |
[INFO] [stdout] 323 |             process_prekey_bundle(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named function `create_pre_key_bundle` defined here
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:65:1
[INFO] [stdout]     |
[INFO] [stdout]  65 | / pub async fn create_pre_key_bundle<R: Rng + CryptoRng>(
[INFO] [stdout]  66 | |     store: &mut dyn ProtocolStore,
[INFO] [stdout]  67 | |     mut csprng: &mut R,
[INFO] [stdout]  68 | | ) -> Result<PreKeyBundle, SignalProtocolError> {
[INFO] [stdout] ...   |
[INFO] [stdout] 116 | |     Ok(pre_key_bundle)
[INFO] [stdout] 117 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 323 -             process_prekey_bundle(
[INFO] [stdout] 323 +             create_pre_key_bundle(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_prekey_bundle` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:389:21
[INFO] [stdout]     |
[INFO] [stdout] 389 |             assert!(process_prekey_bundle(
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named function `create_pre_key_bundle` defined here
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:65:1
[INFO] [stdout]     |
[INFO] [stdout]  65 | / pub async fn create_pre_key_bundle<R: Rng + CryptoRng>(
[INFO] [stdout]  66 | |     store: &mut dyn ProtocolStore,
[INFO] [stdout]  67 | |     mut csprng: &mut R,
[INFO] [stdout]  68 | | ) -> Result<PreKeyBundle, SignalProtocolError> {
[INFO] [stdout] ...   |
[INFO] [stdout] 116 | |     Ok(pre_key_bundle)
[INFO] [stdout] 117 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 389 -             assert!(process_prekey_bundle(
[INFO] [stdout] 389 +             assert!(create_pre_key_bundle(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_prekey_bundle` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:402:9
[INFO] [stdout]     |
[INFO] [stdout] 402 |         process_prekey_bundle(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: similarly named function `create_pre_key_bundle` defined here
[INFO] [stdout]    --> rust/protocol/tests/support/mod.rs:65:1
[INFO] [stdout]     |
[INFO] [stdout]  65 | / pub async fn create_pre_key_bundle<R: Rng + CryptoRng>(
[INFO] [stdout]  66 | |     store: &mut dyn ProtocolStore,
[INFO] [stdout]  67 | |     mut csprng: &mut R,
[INFO] [stdout]  68 | | ) -> Result<PreKeyBundle, SignalProtocolError> {
[INFO] [stdout] ...   |
[INFO] [stdout] 116 | |     Ok(pre_key_bundle)
[INFO] [stdout] 117 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 402 -         process_prekey_bundle(
[INFO] [stdout] 402 +         create_pre_key_bundle(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_prekey_bundle` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:455:13
[INFO] [stdout]     |
[INFO] [stdout] 455 |             process_prekey_bundle(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 455 -             process_prekey_bundle(
[INFO] [stdout] 455 +             bob_pre_key_bundle(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_prekey_bundle` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:594:13
[INFO] [stdout]     |
[INFO] [stdout] 594 |             process_prekey_bundle(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 594 -             process_prekey_bundle(
[INFO] [stdout] 594 +             bob_pre_key_bundle(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_prekey_bundle` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:695:13
[INFO] [stdout]     |
[INFO] [stdout] 695 |             process_prekey_bundle(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 695 -             process_prekey_bundle(
[INFO] [stdout] 695 +             bob_pre_key_bundle(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_prekey_bundle` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:866:13
[INFO] [stdout]     |
[INFO] [stdout] 866 |             process_prekey_bundle(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 866 -             process_prekey_bundle(
[INFO] [stdout] 866 +             alice_pre_key_bundle(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_prekey_bundle` in this scope
[INFO] [stdout]    --> rust/protocol/tests/session.rs:876:13
[INFO] [stdout]     |
[INFO] [stdout] 876 |             process_prekey_bundle(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 876 -             process_prekey_bundle(
[INFO] [stdout] 876 +             alice_pre_key_bundle(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_prekey_bundle` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1040:13
[INFO] [stdout]      |
[INFO] [stdout] 1040 |             process_prekey_bundle(
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1040 -             process_prekey_bundle(
[INFO] [stdout] 1040 +             alice_pre_key_bundle(
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_prekey_bundle` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1050:13
[INFO] [stdout]      |
[INFO] [stdout] 1050 |             process_prekey_bundle(
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1050 -             process_prekey_bundle(
[INFO] [stdout] 1050 +             alice_pre_key_bundle(
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_prekey_bundle` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1194:13
[INFO] [stdout]      |
[INFO] [stdout] 1194 |             process_prekey_bundle(
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1194 -             process_prekey_bundle(
[INFO] [stdout] 1194 +             alice_pre_key_bundle(
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_prekey_bundle` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1204:13
[INFO] [stdout]      |
[INFO] [stdout] 1204 |             process_prekey_bundle(
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1204 -             process_prekey_bundle(
[INFO] [stdout] 1204 +             alice_pre_key_bundle(
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_prekey_bundle` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1354:17
[INFO] [stdout]      |
[INFO] [stdout] 1354 |                 process_prekey_bundle(
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1354 -                 process_prekey_bundle(
[INFO] [stdout] 1354 +                 alice_pre_key_bundle(
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_prekey_bundle` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1364:17
[INFO] [stdout]      |
[INFO] [stdout] 1364 |                 process_prekey_bundle(
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1364 -                 process_prekey_bundle(
[INFO] [stdout] 1364 +                 alice_pre_key_bundle(
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_prekey_bundle` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1610:13
[INFO] [stdout]      |
[INFO] [stdout] 1610 |             process_prekey_bundle(
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1610 -             process_prekey_bundle(
[INFO] [stdout] 1610 +             bob_pre_key_bundle(
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lib-messaging-protocol` (test "session") due to 213 previous errors; 1 warning emitted
[INFO] [stdout] error[E0425]: cannot find function `process_prekey_bundle` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1635:17
[INFO] [stdout]      |
[INFO] [stdout] 1635 |                 process_prekey_bundle(
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1635 -                 process_prekey_bundle(
[INFO] [stdout] 1635 +                 alice_pre_key_bundle(
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_prekey_bundle` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1645:17
[INFO] [stdout]      |
[INFO] [stdout] 1645 |                 process_prekey_bundle(
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1645 -                 process_prekey_bundle(
[INFO] [stdout] 1645 +                 alice_pre_key_bundle(
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_prekey_bundle` in this scope
[INFO] [stdout]     --> rust/protocol/tests/session.rs:1921:9
[INFO] [stdout]      |
[INFO] [stdout] 1921 |         process_prekey_bundle(
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1921 -         process_prekey_bundle(
[INFO] [stdout] 1921 +         bob_pre_key_bundle(
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `aes-gcm-siv`
[INFO] [stderr]   --> rust/protocol/Cargo.toml:14:1
[INFO] [stderr]    |
[INFO] [stderr] 14 | aes-gcm-siv = "0.10.1"
[INFO] [stderr]    | ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `aes-gcm-siv`
[INFO] [stderr] warning: unused dependency `async-trait`
[INFO] [stderr]   --> rust/protocol/Cargo.toml:16:1
[INFO] [stderr]    |
[INFO] [stderr] 16 | async-trait = "0.1.41"
[INFO] [stderr]    | ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `async-trait`
[INFO] [stderr] help: to still use for development builds, move to `dev-dependencies`
[INFO] [stderr] warning: unused dependency `hex`
[INFO] [stderr]   --> rust/protocol/Cargo.toml:29:1
[INFO] [stderr]    |
[INFO] [stderr] 29 | hex = "0.4"
[INFO] [stderr]    | ^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `hex`
[INFO] [stderr] help: to still use for development builds, move to `dev-dependencies`
[INFO] [stderr] warning: unused dependency `hkdf`
[INFO] [stderr]   --> rust/protocol/Cargo.toml:20:1
[INFO] [stderr]    |
[INFO] [stderr] 20 | hkdf = "0.11"
[INFO] [stderr]    | ^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `hkdf`
[INFO] [stderr] warning: unused dependency `itertools`
[INFO] [stderr]   --> rust/protocol/Cargo.toml:23:1
[INFO] [stderr]    |
[INFO] [stderr] 23 | itertools = "0.10.1"
[INFO] [stderr]    | ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `itertools`
[INFO] [stderr] warning: unused dependency `log`
[INFO] [stderr]   --> rust/protocol/Cargo.toml:30:1
[INFO] [stderr]    |
[INFO] [stderr] 30 | log = "0.4"
[INFO] [stderr]    | ^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `log`
[INFO] [stderr] help: to still use for development builds, move to `dev-dependencies`
[INFO] [stderr] warning: unused dependency `num_enum`
[INFO] [stderr]   --> rust/protocol/Cargo.toml:31:1
[INFO] [stderr]    |
[INFO] [stderr] 31 | num_enum = "0.5.1"
[INFO] [stderr]    | ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `num_enum`
[INFO] [stderr] warning: unused dependency `pqcrypto-kyber`
[INFO] [stderr]   --> rust/protocol/Cargo.toml:35:1
[INFO] [stderr]    |
[INFO] [stderr] 35 | pqcrypto-kyber = {version = "0.7.6", default-features = false, features = ["std"]}
[INFO] [stderr]    | ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `pqcrypto-kyber`
[INFO] [stderr] warning: unused dependency `prost`
[INFO] [stderr]   --> rust/protocol/Cargo.toml:24:1
[INFO] [stderr]    |
[INFO] [stderr] 24 | prost = "0.9"
[INFO] [stderr]    | ^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `prost`
[INFO] [stderr] warning: unused dependency `uuid`
[INFO] [stderr]   --> rust/protocol/Cargo.toml:32:1
[INFO] [stderr]    |
[INFO] [stderr] 32 | uuid = "1.1.2"
[INFO] [stderr]    | ^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `uuid`
[INFO] [stderr] help: to still use for development builds, move to `dev-dependencies`
[INFO] [stderr] warning: unused dependency `prost-build`
[INFO] [stderr]   --> rust/protocol/Cargo.toml:48:1
[INFO] [stderr]    |
[INFO] [stderr] 48 | prost-build = "0.9"
[INFO] [stderr]    | ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `prost-build`
[INFO] [stderr] warning: `lib-messaging-protocol` (manifest) generated 11 warnings
[INFO] [stderr] warning: unused dependency `aes`
[INFO] [stderr]   --> rust/crypto/Cargo.toml:13:1
[INFO] [stderr]    |
[INFO] [stderr] 13 | aes = { version = "0.7.4", features = ["ctr"] }
[INFO] [stderr]    | ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `aes`
[INFO] [stderr] warning: unused dependency `ghash`
[INFO] [stderr]   --> rust/crypto/Cargo.toml:16:1
[INFO] [stderr]    |
[INFO] [stderr] 16 | ghash = "0.4.2"
[INFO] [stderr]    | ^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `ghash`
[INFO] [stderr] warning: unused dependency `hmac`
[INFO] [stderr]   --> rust/crypto/Cargo.toml:17:1
[INFO] [stderr]    |
[INFO] [stderr] 17 | hmac = "0.11"
[INFO] [stderr]    | ^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `hmac`
[INFO] [stderr] warning: unused dependency `sha-1`
[INFO] [stderr]   --> rust/crypto/Cargo.toml:18:1
[INFO] [stderr]    |
[INFO] [stderr] 18 | sha-1 = "0.9"
[INFO] [stderr]    | ^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `sha-1`
[INFO] [stderr] warning: unused dependency `sha2`
[INFO] [stderr]   --> rust/crypto/Cargo.toml:19:1
[INFO] [stderr]    |
[INFO] [stderr] 19 | sha2 = "0.9"
[INFO] [stderr]    | ^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `sha2`
[INFO] [stderr] warning: `messaging-crypto` (manifest) generated 5 warnings
[INFO] running `"docker" "inspect" "57e0ef07319732399efec3aa3494dc617f93c4406099f58f533c6c466ce253a3"`
[INFO] running `"docker" "rm" "-f" "57e0ef07319732399efec3aa3494dc617f93c4406099f58f533c6c466ce253a3"`
[INFO] [stdout] 57e0ef07319732399efec3aa3494dc617f93c4406099f58f533c6c466ce253a3
