[INFO] fetching crate azure_cosmos_mirror 0.3.0...
[INFO] testing azure_cosmos_mirror-0.3.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate azure_cosmos_mirror 0.3.0 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate azure_cosmos_mirror 0.3.0
[INFO] finished tweaking crates.io crate azure_cosmos_mirror 0.3.0
[INFO] tweaked toml for crates.io crate azure_cosmos_mirror 0.3.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate azure_cosmos_mirror 0.3.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate azure_cosmos_mirror 0.3.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 653fa4c4f4d5626d36b002dfb3a6e6130b4720d9f45254bbcb1cf93d483c968e
[INFO] running `Command { std: "docker" "start" "-a" "653fa4c4f4d5626d36b002dfb3a6e6130b4720d9f45254bbcb1cf93d483c968e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "653fa4c4f4d5626d36b002dfb3a6e6130b4720d9f45254bbcb1cf93d483c968e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "653fa4c4f4d5626d36b002dfb3a6e6130b4720d9f45254bbcb1cf93d483c968e", kill_on_drop: false }`
[INFO] [stdout] 653fa4c4f4d5626d36b002dfb3a6e6130b4720d9f45254bbcb1cf93d483c968e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 942b2f8567186be48fed165ae61d95b8173ec14041dbdf8703a9c96e37e6ecb6
[INFO] running `Command { std: "docker" "start" "-a" "942b2f8567186be48fed165ae61d95b8173ec14041dbdf8703a9c96e37e6ecb6", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling futures-core v0.3.23
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling once_cell v1.13.1
[INFO] [stderr]    Compiling serde_derive v1.0.144
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling itoa v1.0.3
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling futures-sink v0.3.23
[INFO] [stderr]    Compiling serde v1.0.144
[INFO] [stderr]    Compiling futures-io v0.3.23
[INFO] [stderr]    Compiling futures-task v0.3.23
[INFO] [stderr]    Compiling futures-channel v0.3.23
[INFO] [stderr]    Compiling bytes v1.2.1
[INFO] [stderr]    Compiling futures-util v0.3.23
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling tracing-core v0.1.29
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling openssl v0.10.41
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling tokio v1.20.1
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling http v0.2.8
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling mio v0.8.4
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling semver v1.0.13
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]    Compiling tracing v0.1.36
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling unicode-bidi v0.3.8
[INFO] [stderr]    Compiling ryu v1.0.11
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling openssl-sys v0.9.75
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling anyhow v1.0.62
[INFO] [stderr]    Compiling serde_json v1.0.85
[INFO] [stderr]    Compiling cache-padded v1.2.0
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling concurrent-queue v1.2.4
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling parking v2.0.0
[INFO] [stderr]    Compiling http-types v2.12.0
[INFO] [stderr]    Compiling async-trait v0.1.57
[INFO] [stderr]    Compiling waker-fn v1.1.0
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling fastrand v1.8.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling azure_core_mirror v0.3.0
[INFO] [stderr]    Compiling async-channel v1.7.1
[INFO] [stderr]    Compiling num_threads v0.1.6
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling ipnet v2.5.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.21
[INFO] [stderr]    Compiling infer v0.2.3
[INFO] [stderr]    Compiling time-macros v0.2.4
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling futures-lite v1.12.0
[INFO] [stderr]    Compiling uuid v1.1.2
[INFO] [stderr]    Compiling dyn-clone v1.0.9
[INFO] [stderr]    Compiling paste v1.0.8
[INFO] [stderr]    Compiling cpufeatures v0.2.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.2
[INFO] [stderr]    Compiling digest v0.10.3
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.2
[INFO] [stderr]    Compiling futures-macro v0.3.23
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.32
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]    Compiling tokio-util v0.7.3
[INFO] [stderr]    Compiling pin-project v1.0.12
[INFO] [stderr]    Compiling thiserror v1.0.32
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling h2 v0.3.14
[INFO] [stderr]    Compiling futures-executor v0.3.23
[INFO] [stderr]    Compiling futures v0.3.23
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_qs v0.8.5
[INFO] [stderr]    Compiling time v0.3.14
[INFO] [stderr]    Compiling hyper v0.14.20
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.11
[INFO] [stderr]    Compiling azure_cosmos_mirror v0.3.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.84s
[INFO] running `Command { std: "docker" "inspect" "942b2f8567186be48fed165ae61d95b8173ec14041dbdf8703a9c96e37e6ecb6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "942b2f8567186be48fed165ae61d95b8173ec14041dbdf8703a9c96e37e6ecb6", kill_on_drop: false }`
[INFO] [stdout] 942b2f8567186be48fed165ae61d95b8173ec14041dbdf8703a9c96e37e6ecb6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d11a63d14e6287bd53a92615cba067fb29493acf0fefa3ce9566c4d6b2fc90a1
[INFO] running `Command { std: "docker" "start" "-a" "d11a63d14e6287bd53a92615cba067fb29493acf0fefa3ce9566c4d6b2fc90a1", kill_on_drop: false }`
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling tokio v1.20.1
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling tokio-macros v1.8.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling regex-syntax v0.6.27
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling os_str_bytes v6.3.0
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling textwrap v0.15.0
[INFO] [stderr]    Compiling mio v0.8.4
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling clap_lex v0.2.4
[INFO] [stderr]    Compiling clap_derive v3.2.17
[INFO] [stderr]    Compiling regex v1.6.0
[INFO] [stderr]    Compiling env_logger v0.9.0
[INFO] [stderr]    Compiling clap v3.2.17
[INFO] [stderr]    Compiling tokio-util v0.7.3
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling stop-token v0.7.0
[INFO] [stderr]    Compiling h2 v0.3.14
[INFO] [stderr]    Compiling hyper v0.14.20
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.11
[INFO] [stderr]    Compiling azure_core_mirror v0.3.0
[INFO] [stderr]    Compiling azure_cosmos_mirror v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]  --> examples/trigger.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use azure_data_cosmos::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `azure_data_cosmos`, use `cargo add azure_data_cosmos` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]  --> examples/trigger.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use azure_data_cosmos::resources::trigger::{TriggerOperation, TriggerType};
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `azure_data_cosmos`, use `cargo add azure_data_cosmos` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `azure_data_cosmos::resources::trigger::TriggerOperation`, `azure_data_cosmos::resources::trigger::TriggerType`
[INFO] [stdout]  --> examples/trigger.rs:2:45
[INFO] [stdout]   |
[INFO] [stdout] 2 | use azure_data_cosmos::resources::trigger::{TriggerOperation, TriggerType};
[INFO] [stdout]   |                                             ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]  --> examples/remove_all_documents.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use azure_data_cosmos::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `azure_data_cosmos`, use `cargo add azure_data_cosmos` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]  --> examples/permission.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use azure_data_cosmos::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `azure_data_cosmos`, use `cargo add azure_data_cosmos` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]  --> tests/setup_mock.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use azure_data_cosmos::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `azure_data_cosmos`, use `cargo add azure_data_cosmos` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]  --> examples/document_entries.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use azure_data_cosmos::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `azure_data_cosmos`, use `cargo add azure_data_cosmos` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]  --> examples/readme.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use azure_data_cosmos::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `azure_data_cosmos`, use `cargo add azure_data_cosmos` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]  --> examples/key_ranges.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use azure_data_cosmos::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `azure_data_cosmos`, use `cargo add azure_data_cosmos` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]  --> tests/collection_operations.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use azure_data_cosmos::resources::collection::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `azure_data_cosmos`, use `cargo add azure_data_cosmos` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]  --> tests/setup_mock.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use azure_data_cosmos::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `azure_data_cosmos`, use `cargo add azure_data_cosmos` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]  --> examples/get_database.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use azure_data_cosmos::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `azure_data_cosmos`, use `cargo add azure_data_cosmos` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]  --> examples/user_permission_token.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use azure_data_cosmos::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `azure_data_cosmos`, use `cargo add azure_data_cosmos` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken`
[INFO] [stdout]   --> examples/remove_all_documents.rs:27:31
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let authorization_token = AuthorizationToken::primary_from_base64(&args.primary_key)?;
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^ use of undeclared type `AuthorizationToken`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::resources::permission::AuthorizationToken;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CosmosClient`
[INFO] [stdout]   --> examples/remove_all_documents.rs:30:18
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let client = CosmosClient::new(args.account, authorization_token);
[INFO] [stdout]    |                  ^^^^^^^^^^^^ use of undeclared type `CosmosClient`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::prelude::CosmosClient;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken`
[INFO] [stdout]   --> examples/readme.rs:58:31
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let authorization_token = AuthorizationToken::primary_from_base64(&args.primary_key)?;
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^ use of undeclared type `AuthorizationToken`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::resources::permission::AuthorizationToken;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CosmosClient`
[INFO] [stdout]   --> examples/readme.rs:61:18
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let client = CosmosClient::new(args.account, authorization_token);
[INFO] [stdout]    |                  ^^^^^^^^^^^^ use of undeclared type `CosmosClient`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::prelude::CosmosClient;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConsistencyLevel`
[INFO] [stdout]   --> examples/readme.rs:92:25
[INFO] [stdout]    |
[INFO] [stdout] 92 |     let session_token = ConsistencyLevel::Session(session_token.unwrap());
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^ use of undeclared type `ConsistencyLevel`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::ConsistencyLevel;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConsistencyLevel`
[INFO] [stdout]    --> examples/readme.rs:130:25
[INFO] [stdout]     |
[INFO] [stdout] 130 |     let session_token = ConsistencyLevel::Session(query_documents_response.session_token);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^ use of undeclared type `ConsistencyLevel`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout]   1 + use azure_cosmos_mirror::ConsistencyLevel;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]  --> examples/stored_proc.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use azure_data_cosmos::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `azure_data_cosmos`, use `cargo add azure_data_cosmos` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken`
[INFO] [stdout]   --> examples/permission.rs:28:31
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let authorization_token = AuthorizationToken::primary_from_base64(&args.primary_key)?;
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^ use of undeclared type `AuthorizationToken`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::resources::permission::AuthorizationToken;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CosmosClient`
[INFO] [stdout]   --> examples/permission.rs:30:18
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let client = CosmosClient::new(args.account, authorization_token);
[INFO] [stdout]    |                  ^^^^^^^^^^^^ use of undeclared type `CosmosClient`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::prelude::CosmosClient;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConsistencyLevel`
[INFO] [stdout]   --> examples/permission.rs:87:28
[INFO] [stdout]    |
[INFO] [stdout] 87 |         .consistency_level(ConsistencyLevel::Session(
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^ use of undeclared type `ConsistencyLevel`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::ConsistencyLevel;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConsistencyLevel`
[INFO] [stdout]    --> examples/permission.rs:101:28
[INFO] [stdout]     |
[INFO] [stdout] 101 |         .consistency_level(ConsistencyLevel::Session(
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^ use of undeclared type `ConsistencyLevel`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout]   1 + use azure_cosmos_mirror::ConsistencyLevel;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConsistencyLevel`
[INFO] [stdout]    --> examples/permission.rs:115:28
[INFO] [stdout]     |
[INFO] [stdout] 115 |         .consistency_level(ConsistencyLevel::Session(
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^ use of undeclared type `ConsistencyLevel`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout]   1 + use azure_cosmos_mirror::ConsistencyLevel;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConsistencyLevel`
[INFO] [stdout]    --> examples/permission.rs:128:28
[INFO] [stdout]     |
[INFO] [stdout] 128 |         .consistency_level(ConsistencyLevel::Session(
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^ use of undeclared type `ConsistencyLevel`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout]   1 + use azure_cosmos_mirror::ConsistencyLevel;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConsistencyLevel`
[INFO] [stdout]    --> examples/permission.rs:142:28
[INFO] [stdout]     |
[INFO] [stdout] 142 |         .consistency_level(ConsistencyLevel::Session(
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^ use of undeclared type `ConsistencyLevel`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout]   1 + use azure_cosmos_mirror::ConsistencyLevel;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]  --> tests/setup_mock.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use azure_data_cosmos::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `azure_data_cosmos`, use `cargo add azure_data_cosmos` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]  --> tests/trigger_operations.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use azure_data_cosmos::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `azure_data_cosmos`, use `cargo add azure_data_cosmos` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken`
[INFO] [stdout]   --> examples/user_permission_token.rs:27:31
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let authorization_token = AuthorizationToken::primary_from_base64(&args.primary_key)?;
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^ use of undeclared type `AuthorizationToken`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::resources::permission::AuthorizationToken;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CosmosClient`
[INFO] [stdout]   --> examples/user_permission_token.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let client = CosmosClient::new(args.account, authorization_token);
[INFO] [stdout]    |                  ^^^^^^^^^^^^ use of undeclared type `CosmosClient`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::prelude::CosmosClient;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AuthorizationToken` in this scope
[INFO] [stdout]   --> examples/user_permission_token.rs:70:34
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let new_authorization_token: AuthorizationToken = create_permission_response
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::resources::permission::AuthorizationToken;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AuthorizationToken` in this scope
[INFO] [stdout]    --> examples/user_permission_token.rs:138:34
[INFO] [stdout]     |
[INFO] [stdout] 138 |     let new_authorization_token: AuthorizationToken = create_permission_response
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout]   1 + use azure_cosmos_mirror::resources::permission::AuthorizationToken;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `permission`
[INFO] [stdout]   --> examples/document_entries.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |         permission::AuthorizationToken::primary_from_base64(&args.primary_key)?;
[INFO] [stdout]    |         ^^^^^^^^^^ use of unresolved module or unlinked crate `permission`
[INFO] [stdout]    |
[INFO] [stdout] help: to make use of source file examples/permission.rs, use `mod permission` in this file to declare the module
[INFO] [stdout]    |
[INFO] [stdout]  1 + mod permission;
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::resources::permission::AuthorizationToken;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `AuthorizationToken`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 46 -         permission::AuthorizationToken::primary_from_base64(&args.primary_key)?;
[INFO] [stdout] 46 +         AuthorizationToken::primary_from_base64(&args.primary_key)?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CosmosClient`
[INFO] [stdout]   --> examples/document_entries.rs:48:18
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let client = CosmosClient::new(args.account, authorization_token)
[INFO] [stdout]    |                  ^^^^^^^^^^^^ use of undeclared type `CosmosClient`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::prelude::CosmosClient;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ConsistencyLevel` in this scope
[INFO] [stdout]   --> examples/document_entries.rs:96:24
[INFO] [stdout]    |
[INFO] [stdout] 96 |     let session_token: ConsistencyLevel = (&response).into();
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::ConsistencyLevel;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GetDocumentResponse` in this scope
[INFO] [stdout]    --> examples/document_entries.rs:117:19
[INFO] [stdout]     |
[INFO] [stdout] 117 |     let response: GetDocumentResponse<MySampleStruct> = client
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout]   1 + use azure_cosmos_mirror::prelude::GetDocumentResponse;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GetDocumentResponse`
[INFO] [stdout]    --> examples/document_entries.rs:123:32
[INFO] [stdout]     |
[INFO] [stdout] 123 |     assert!(matches!(response, GetDocumentResponse::Found(_)));
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^ use of undeclared type `GetDocumentResponse`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout]   1 + use azure_cosmos_mirror::prelude::GetDocumentResponse;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GetDocumentResponse`
[INFO] [stdout]    --> examples/document_entries.rs:127:9
[INFO] [stdout]     |
[INFO] [stdout] 127 |         GetDocumentResponse::Found(ref resp) => resp.clone(),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^ use of undeclared type `GetDocumentResponse`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout]   1 + use azure_cosmos_mirror::prelude::GetDocumentResponse;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GetDocumentResponse`
[INFO] [stdout]    --> examples/document_entries.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |         GetDocumentResponse::NotFound(_) => panic!(),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^ use of undeclared type `GetDocumentResponse`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout]   1 + use azure_cosmos_mirror::prelude::GetDocumentResponse;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConsistencyLevel`
[INFO] [stdout]    --> examples/document_entries.rs:136:28
[INFO] [stdout]     |
[INFO] [stdout] 136 |         .consistency_level(ConsistencyLevel::from(&response))
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^ use of undeclared type `ConsistencyLevel`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout]   1 + use azure_cosmos_mirror::ConsistencyLevel;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GetDocumentResponse` in this scope
[INFO] [stdout]    --> examples/document_entries.rs:150:19
[INFO] [stdout]     |
[INFO] [stdout] 150 |     let response: GetDocumentResponse<MySampleStruct> = client
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout]   1 + use azure_cosmos_mirror::prelude::GetDocumentResponse;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GetDocumentResponse`
[INFO] [stdout]    --> examples/document_entries.rs:157:32
[INFO] [stdout]     |
[INFO] [stdout] 157 |     assert!(matches!(response, GetDocumentResponse::NotFound(_)));
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^ use of undeclared type `GetDocumentResponse`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout]   1 + use azure_cosmos_mirror::prelude::GetDocumentResponse;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]  --> examples/user.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use azure_data_cosmos::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `azure_data_cosmos`, use `cargo add azure_data_cosmos` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `azure_cosmos_mirror` (example "remove_all_documents") due to 3 previous errors
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]  --> tests/setup_mock.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use azure_data_cosmos::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `azure_data_cosmos`, use `cargo add azure_data_cosmos` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> examples/permission.rs:56:38
[INFO] [stdout]    |
[INFO] [stdout] 56 |       let create_permission_response = permission
[INFO] [stdout]    |  ______________________________________^
[INFO] [stdout] 57 | |         .create_permission(permission_mode)
[INFO] [stdout] 58 | |         .consistency_level(&create_user_response)
[INFO] [stdout] 59 | |         .expiry_seconds(18000u64)
[INFO] [stdout] 60 | |         .into_future()
[INFO] [stdout] 61 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> examples/permission.rs:72:39
[INFO] [stdout]    |
[INFO] [stdout] 72 |       let create_permission2_response = permission
[INFO] [stdout]    |  _______________________________________^
[INFO] [stdout] 73 | |         .create_permission(permission_mode)
[INFO] [stdout] 74 | |         .consistency_level(&create_user_response)
[INFO] [stdout] 75 | |         .into_future()
[INFO] [stdout] 76 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> examples/permission.rs:85:37
[INFO] [stdout]    |
[INFO] [stdout] 85 |       let list_permissions_response = user
[INFO] [stdout]    |  _____________________________________^
[INFO] [stdout] 86 | |         .list_permissions()
[INFO] [stdout] 87 | |         .consistency_level(ConsistencyLevel::Session(
[INFO] [stdout] 88 | |             create_permission2_response.session_token,
[INFO] [stdout] ...  |
[INFO] [stdout] 91 | |         .next()
[INFO] [stdout] 92 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> examples/permission.rs:99:35
[INFO] [stdout]     |
[INFO] [stdout]  99 |       let get_permission_response = permission
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 100 | |         .get_permission()
[INFO] [stdout] 101 | |         .consistency_level(ConsistencyLevel::Session(
[INFO] [stdout] 102 | |             list_permissions_response.session_token,
[INFO] [stdout] 103 | |         ))
[INFO] [stdout] 104 | |         .into_future()
[INFO] [stdout] 105 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> examples/permission.rs:112:39
[INFO] [stdout]     |
[INFO] [stdout] 112 |       let replace_permission_response = permission
[INFO] [stdout]     |  _______________________________________^
[INFO] [stdout] 113 | |         .replace_permission(permission_mode)
[INFO] [stdout] 114 | |         .expiry_seconds(600u64)
[INFO] [stdout] 115 | |         .consistency_level(ConsistencyLevel::Session(
[INFO] [stdout] ...   |
[INFO] [stdout] 118 | |         .into_future()
[INFO] [stdout] 119 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> examples/permission.rs:126:38
[INFO] [stdout]     |
[INFO] [stdout] 126 |       let delete_permission_response = permission
[INFO] [stdout]     |  ______________________________________^
[INFO] [stdout] 127 | |         .delete_permission()
[INFO] [stdout] 128 | |         .consistency_level(ConsistencyLevel::Session(
[INFO] [stdout] 129 | |             replace_permission_response.session_token,
[INFO] [stdout] 130 | |         ))
[INFO] [stdout] 131 | |         .into_future()
[INFO] [stdout] 132 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken`
[INFO] [stdout]   --> examples/get_database.rs:25:31
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let authorization_token = AuthorizationToken::primary_from_base64(&args.primary_key)?;
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^ use of undeclared type `AuthorizationToken`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::resources::permission::AuthorizationToken;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CosmosClient`
[INFO] [stdout]   --> examples/get_database.rs:27:18
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let client = CosmosClient::new(args.account, authorization_token);
[INFO] [stdout]    |                  ^^^^^^^^^^^^ use of undeclared type `CosmosClient`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::prelude::CosmosClient;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]   --> examples/readme.rs:35:6
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl azure_data_cosmos::CosmosEntity for MySampleStruct {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `azure_data_cosmos`, use `cargo add azure_data_cosmos` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken`
[INFO] [stdout]   --> examples/key_ranges.rs:21:31
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let authorization_token = AuthorizationToken::primary_from_base64(&args.primary_key)?;
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^ use of undeclared type `AuthorizationToken`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::resources::permission::AuthorizationToken;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CosmosClient`
[INFO] [stdout]   --> examples/key_ranges.rs:23:18
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let client = CosmosClient::new(args.account, authorization_token)
[INFO] [stdout]    |                  ^^^^^^^^^^^^ use of undeclared type `CosmosClient`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::prelude::CosmosClient;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `azure_cosmos_mirror` (example "readme") due to 6 previous errors
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]   --> examples/document_entries.rs:32:6
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl azure_data_cosmos::CosmosEntity for MySampleStruct {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `azure_data_cosmos`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `azure_data_cosmos`, use `cargo add azure_data_cosmos` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken`
[INFO] [stdout]   --> examples/user.rs:24:31
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let authorization_token = AuthorizationToken::primary_from_base64(&args.primary_key)?;
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^ use of undeclared type `AuthorizationToken`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::resources::permission::AuthorizationToken;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CosmosClient`
[INFO] [stdout]   --> examples/user.rs:26:18
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let client = CosmosClient::new(args.account, authorization_token);
[INFO] [stdout]    |                  ^^^^^^^^^^^^ use of undeclared type `CosmosClient`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::prelude::CosmosClient;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> examples/user_permission_token.rs:41:35
[INFO] [stdout]    |
[INFO] [stdout] 41 |       let list_documents_response = collection
[INFO] [stdout]    |  ___________________________________^
[INFO] [stdout] 42 | |         .list_documents()
[INFO] [stdout] 43 | |         .into_stream::<serde_json::Value>()
[INFO] [stdout] 44 | |         .next()
[INFO] [stdout] 45 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `azure_cosmos_mirror` (example "document_entries") due to 12 previous errors
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> examples/user_permission_token.rs:57:38
[INFO] [stdout]    |
[INFO] [stdout] 57 |       let create_permission_response = permission
[INFO] [stdout]    |  ______________________________________^
[INFO] [stdout] 58 | |         .create_permission(permission_mode)
[INFO] [stdout] 59 | |         .expiry_seconds(18000u64) // 5 hours, max!
[INFO] [stdout] 60 | |         .into_future()
[INFO] [stdout] 61 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `azure_cosmos_mirror` (example "permission") due to 14 previous errors
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> examples/user_permission_token.rs:82:35
[INFO] [stdout]    |
[INFO] [stdout] 82 |       let list_documents_response = client
[INFO] [stdout]    |  ___________________________________^
[INFO] [stdout] 83 | |         .database_client(args.database_name.clone())
[INFO] [stdout] 84 | |         .collection_client(args.collection_name.clone())
[INFO] [stdout] 85 | |         .list_documents()
[INFO] [stdout] 86 | |         .into_stream::<serde_json::Value>()
[INFO] [stdout] 87 | |         .next()
[INFO] [stdout] 88 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> examples/user_permission_token.rs:127:38
[INFO] [stdout]     |
[INFO] [stdout] 127 |       let create_permission_response = permission
[INFO] [stdout]     |  ______________________________________^
[INFO] [stdout] 128 | |         .create_permission(permission_mode)
[INFO] [stdout] 129 | |         .expiry_seconds(18000u64)
[INFO] [stdout] 130 | |         .into_future()
[INFO] [stdout] 131 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken`
[INFO] [stdout]   --> examples/trigger.rs:55:31
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let authorization_token = AuthorizationToken::primary_from_base64(&args.primary_key)?;
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^ use of undeclared type `AuthorizationToken`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::resources::permission::AuthorizationToken;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CosmosClient`
[INFO] [stdout]   --> examples/trigger.rs:57:18
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let client = CosmosClient::new(args.account, authorization_token);
[INFO] [stdout]    |                  ^^^^^^^^^^^^ use of undeclared type `CosmosClient`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::prelude::CosmosClient;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ConsistencyLevel` in this scope
[INFO] [stdout]   --> examples/trigger.rs:75:40
[INFO] [stdout]    |
[INFO] [stdout] 75 |     let mut last_session_token: Option<ConsistencyLevel> = None;
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::ConsistencyLevel;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConsistencyLevel`
[INFO] [stdout]   --> examples/trigger.rs:88:35
[INFO] [stdout]    |
[INFO] [stdout] 88 |         last_session_token = Some(ConsistencyLevel::Session(ret.session_token));
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^ use of undeclared type `ConsistencyLevel`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::ConsistencyLevel;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `azure_cosmos_mirror` (example "user_permission_token") due to 9 previous errors
[INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> examples/user.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let users = database.list_users().into_stream().next().await.unwrap()?;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `azure_cosmos_mirror` (example "key_ranges") due to 3 previous errors
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken`
[INFO] [stdout]   --> examples/stored_proc.rs:34:31
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let authorization_token = AuthorizationToken::primary_from_base64(&args.primary_key)?;
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^ use of undeclared type `AuthorizationToken`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  3 + use azure_cosmos_mirror::resources::permission::AuthorizationToken;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CosmosClient`
[INFO] [stdout]   --> examples/stored_proc.rs:36:22
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let collection = CosmosClient::new(args.account.clone(), authorization_token)
[INFO] [stdout]    |                      ^^^^^^^^^^^^ use of undeclared type `CosmosClient`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  3 + use azure_cosmos_mirror::prelude::CosmosClient;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CosmosClient` in this scope
[INFO] [stdout]  --> tests/setup_mock.rs:3:78
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn initialize(transaction_name: impl Into<String>) -> azure_core::Result<CosmosClient> {
[INFO] [stdout]   |                                                                              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use azure_cosmos_mirror::prelude::CosmosClient;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `azure_cosmos_mirror` (example "user") due to 4 previous errors
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CosmosClient`
[INFO] [stdout]   --> tests/setup_mock.rs:15:18
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let client = CosmosClient::builder(account_name, authorization_token)
[INFO] [stdout]    |                  ^^^^^^^^^^^^ use of undeclared type `CosmosClient`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::prelude::CosmosClient;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AuthorizationToken` in this scope
[INFO] [stdout]   --> tests/setup_mock.rs:26:33
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn get_authorization_token() -> AuthorizationToken {
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::resources::permission::AuthorizationToken;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken`
[INFO] [stdout]   --> tests/setup_mock.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         AuthorizationToken::primary_from_base64(&key).ok()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ use of undeclared type `AuthorizationToken`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::resources::permission::AuthorizationToken;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken`
[INFO] [stdout]   --> tests/setup_mock.rs:36:24
[INFO] [stdout]    |
[INFO] [stdout] 36 |     .unwrap_or_else(|| AuthorizationToken::new_resource(String::from("MOCK_RESOURCE")))
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^ use of undeclared type `AuthorizationToken`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::resources::permission::AuthorizationToken;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]  --> tests/setup_mock.rs:6:39
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let account_name = (std::env::var(mock_transport::TESTING_MODE_KEY).as_deref()
[INFO] [stdout]   |                                       ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `mock_transport`, use `cargo add mock_transport` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]  --> tests/setup_mock.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 |         == Ok(mock_transport::TESTING_MODE_RECORD))
[INFO] [stdout]   |               ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `mock_transport`, use `cargo add mock_transport` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]   --> tests/setup_mock.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |         mock_transport::new_mock_transport(transaction_name.into()),
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mock_transport`, use `cargo add mock_transport` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]   --> tests/setup_mock.rs:27:20
[INFO] [stdout]    |
[INFO] [stdout] 27 |     (std::env::var(mock_transport::TESTING_MODE_KEY).as_deref()
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mock_transport`, use `cargo add mock_transport` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]   --> tests/setup_mock.rs:28:15
[INFO] [stdout]    |
[INFO] [stdout] 28 |         == Ok(mock_transport::TESTING_MODE_RECORD))
[INFO] [stdout]    |               ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mock_transport`, use `cargo add mock_transport` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/database_operations.rs:12:21
[INFO] [stdout]    |
[INFO] [stdout] 12 |       let databases = client
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 13 | |         .list_databases()
[INFO] [stdout] 14 | |         .into_stream()
[INFO] [stdout] 15 | |         .next()
[INFO] [stdout] 16 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/database_operations.rs:23:21
[INFO] [stdout]    |
[INFO] [stdout] 23 |       let databases = client
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 24 | |         .list_databases()
[INFO] [stdout] 25 | |         .into_stream()
[INFO] [stdout] 26 | |         .next()
[INFO] [stdout] 27 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/database_operations.rs:48:21
[INFO] [stdout]    |
[INFO] [stdout] 48 |       let databases = client
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 49 | |         .list_databases()
[INFO] [stdout] 50 | |         .into_stream()
[INFO] [stdout] 51 | |         .next()
[INFO] [stdout] 52 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `azure_cosmos_mirror` (example "get_database") due to 3 previous errors
[INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `azure_cosmos_mirror` (test "database_operations") due to 14 previous errors
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> examples/trigger.rs:83:19
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let ret = ret.unwrap();
[INFO] [stdout]    |                   ^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CosmosClient` in this scope
[INFO] [stdout]  --> tests/setup_mock.rs:3:78
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn initialize(transaction_name: impl Into<String>) -> azure_core::Result<CosmosClient> {
[INFO] [stdout]   |                                                                              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use azure_cosmos_mirror::prelude::CosmosClient;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CosmosClient`
[INFO] [stdout]   --> tests/setup_mock.rs:15:18
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let client = CosmosClient::builder(account_name, authorization_token)
[INFO] [stdout]    |                  ^^^^^^^^^^^^ use of undeclared type `CosmosClient`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::prelude::CosmosClient;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AuthorizationToken` in this scope
[INFO] [stdout]   --> tests/setup_mock.rs:26:33
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn get_authorization_token() -> AuthorizationToken {
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::resources::permission::AuthorizationToken;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken`
[INFO] [stdout]   --> tests/setup_mock.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         AuthorizationToken::primary_from_base64(&key).ok()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ use of undeclared type `AuthorizationToken`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::resources::permission::AuthorizationToken;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken`
[INFO] [stdout]   --> tests/setup_mock.rs:36:24
[INFO] [stdout]    |
[INFO] [stdout] 36 |     .unwrap_or_else(|| AuthorizationToken::new_resource(String::from("MOCK_RESOURCE")))
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^ use of undeclared type `AuthorizationToken`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::resources::permission::AuthorizationToken;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `IncludedPathIndex` in this scope
[INFO] [stdout]   --> tests/collection_operations.rs:58:19
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let indexes = IncludedPathIndex {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::resources::collection::IncludedPathIndex;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KeyKind`
[INFO] [stdout]   --> tests/collection_operations.rs:59:15
[INFO] [stdout]    |
[INFO] [stdout] 59 |         kind: KeyKind::Hash,
[INFO] [stdout]    |               ^^^^^^^ use of undeclared type `KeyKind`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::resources::collection::KeyKind;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataType`
[INFO] [stdout]   --> tests/collection_operations.rs:60:20
[INFO] [stdout]    |
[INFO] [stdout] 60 |         data_type: DataType::String,
[INFO] [stdout]    |                    ^^^^^^^^ use of undeclared type `DataType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::resources::collection::DataType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `IncludedPath` in this scope
[INFO] [stdout]   --> tests/collection_operations.rs:64:24
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let include_path = IncludedPath {
[INFO] [stdout]    |                        ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::resources::collection::IncludedPath;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `IndexingPolicy` in this scope
[INFO] [stdout]   --> tests/collection_operations.rs:69:35
[INFO] [stdout]    |
[INFO] [stdout] 69 |     let mut new_indexing_policy = IndexingPolicy {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::resources::collection::IndexingPolicy;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IndexingMode`
[INFO] [stdout]   --> tests/collection_operations.rs:71:24
[INFO] [stdout]    |
[INFO] [stdout] 71 |         indexing_mode: IndexingMode::Consistent,
[INFO] [stdout]    |                        ^^^^^^^^^^^^ use of undeclared type `IndexingMode`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::resources::collection::IndexingMode;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]  --> tests/setup_mock.rs:6:39
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let account_name = (std::env::var(mock_transport::TESTING_MODE_KEY).as_deref()
[INFO] [stdout]   |                                       ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `mock_transport`, use `cargo add mock_transport` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]  --> tests/setup_mock.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 |         == Ok(mock_transport::TESTING_MODE_RECORD))
[INFO] [stdout]   |               ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `mock_transport`, use `cargo add mock_transport` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]   --> tests/setup_mock.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |         mock_transport::new_mock_transport(transaction_name.into()),
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mock_transport`, use `cargo add mock_transport` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]   --> tests/setup_mock.rs:27:20
[INFO] [stdout]    |
[INFO] [stdout] 27 |     (std::env::var(mock_transport::TESTING_MODE_KEY).as_deref()
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mock_transport`, use `cargo add mock_transport` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]   --> tests/setup_mock.rs:28:15
[INFO] [stdout]    |
[INFO] [stdout] 28 |         == Ok(mock_transport::TESTING_MODE_RECORD))
[INFO] [stdout]    |               ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mock_transport`, use `cargo add mock_transport` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CosmosClient` in this scope
[INFO] [stdout]  --> tests/setup_mock.rs:3:78
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn initialize(transaction_name: impl Into<String>) -> azure_core::Result<CosmosClient> {
[INFO] [stdout]   |                                                                              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use azure_cosmos_mirror::prelude::CosmosClient;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CosmosClient`
[INFO] [stdout]   --> tests/setup_mock.rs:15:18
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let client = CosmosClient::builder(account_name, authorization_token)
[INFO] [stdout]    |                  ^^^^^^^^^^^^ use of undeclared type `CosmosClient`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::prelude::CosmosClient;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AuthorizationToken` in this scope
[INFO] [stdout]   --> tests/setup_mock.rs:26:33
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn get_authorization_token() -> AuthorizationToken {
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::resources::permission::AuthorizationToken;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken`
[INFO] [stdout]   --> tests/setup_mock.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         AuthorizationToken::primary_from_base64(&key).ok()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ use of undeclared type `AuthorizationToken`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::resources::permission::AuthorizationToken;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken`
[INFO] [stdout]   --> tests/setup_mock.rs:36:24
[INFO] [stdout]    |
[INFO] [stdout] 36 |     .unwrap_or_else(|| AuthorizationToken::new_resource(String::from("MOCK_RESOURCE")))
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^ use of undeclared type `AuthorizationToken`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::resources::permission::AuthorizationToken;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]  --> tests/setup_mock.rs:6:39
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let account_name = (std::env::var(mock_transport::TESTING_MODE_KEY).as_deref()
[INFO] [stdout]   |                                       ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `mock_transport`, use `cargo add mock_transport` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> examples/stored_proc.rs:42:43
[INFO] [stdout]    |
[INFO] [stdout] 42 |       let list_stored_procedures_response = collection
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 43 | |         .list_stored_procedures()
[INFO] [stdout] 44 | |         .into_stream()
[INFO] [stdout] 45 | |         .next()
[INFO] [stdout] 46 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]  --> tests/setup_mock.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 |         == Ok(mock_transport::TESTING_MODE_RECORD))
[INFO] [stdout]   |               ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `mock_transport`, use `cargo add mock_transport` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]   --> tests/setup_mock.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |         mock_transport::new_mock_transport(transaction_name.into()),
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mock_transport`, use `cargo add mock_transport` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/collection_operations.rs:46:23
[INFO] [stdout]    |
[INFO] [stdout] 46 |       let collections = database
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 47 | |         .list_collections()
[INFO] [stdout] 48 | |         .into_stream()
[INFO] [stdout] 49 | |         .next()
[INFO] [stdout] 50 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]   --> tests/setup_mock.rs:27:20
[INFO] [stdout]    |
[INFO] [stdout] 27 |     (std::env::var(mock_transport::TESTING_MODE_KEY).as_deref()
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mock_transport`, use `cargo add mock_transport` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]   --> tests/setup_mock.rs:28:15
[INFO] [stdout]    |
[INFO] [stdout] 28 |         == Ok(mock_transport::TESTING_MODE_RECORD))
[INFO] [stdout]    |               ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mock_transport`, use `cargo add mock_transport` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0422, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CosmosClient` in this scope
[INFO] [stdout]  --> tests/setup_mock.rs:3:78
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn initialize(transaction_name: impl Into<String>) -> azure_core::Result<CosmosClient> {
[INFO] [stdout]   |                                                                              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use azure_cosmos_mirror::prelude::CosmosClient;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CosmosClient`
[INFO] [stdout]   --> tests/setup_mock.rs:15:18
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let client = CosmosClient::builder(account_name, authorization_token)
[INFO] [stdout]    |                  ^^^^^^^^^^^^ use of undeclared type `CosmosClient`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::prelude::CosmosClient;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AuthorizationToken` in this scope
[INFO] [stdout]   --> tests/setup_mock.rs:26:33
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn get_authorization_token() -> AuthorizationToken {
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::resources::permission::AuthorizationToken;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `azure_cosmos_mirror` (test "collection_operations") due to 19 previous errors
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken`
[INFO] [stdout]   --> tests/setup_mock.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         AuthorizationToken::primary_from_base64(&key).ok()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ use of undeclared type `AuthorizationToken`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::resources::permission::AuthorizationToken;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken`
[INFO] [stdout]   --> tests/setup_mock.rs:36:24
[INFO] [stdout]    |
[INFO] [stdout] 36 |     .unwrap_or_else(|| AuthorizationToken::new_resource(String::from("MOCK_RESOURCE")))
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^ use of undeclared type `AuthorizationToken`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::resources::permission::AuthorizationToken;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `trigger`
[INFO] [stdout]   --> tests/trigger_operations.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |             trigger::TriggerType::Post,
[INFO] [stdout]    |             ^^^^^^^ use of unresolved module or unlinked crate `trigger`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `trigger`, use `cargo add trigger` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::resources::trigger::TriggerType;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `TriggerType`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 61 -             trigger::TriggerType::Post,
[INFO] [stdout] 61 +             TriggerType::Post,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `trigger`
[INFO] [stdout]   --> tests/trigger_operations.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |             trigger::TriggerOperation::All,
[INFO] [stdout]    |             ^^^^^^^ use of unresolved module or unlinked crate `trigger`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `trigger`, use `cargo add trigger` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::resources::trigger::TriggerOperation;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `TriggerOperation`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 62 -             trigger::TriggerOperation::All,
[INFO] [stdout] 62 +             TriggerOperation::All,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `trigger`
[INFO] [stdout]   --> tests/trigger_operations.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |             trigger::TriggerType::Post,
[INFO] [stdout]    |             ^^^^^^^ use of unresolved module or unlinked crate `trigger`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `trigger`, use `cargo add trigger` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::resources::trigger::TriggerType;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `TriggerType`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 70 -             trigger::TriggerType::Post,
[INFO] [stdout] 70 +             TriggerType::Post,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `trigger`
[INFO] [stdout]   --> tests/trigger_operations.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |             trigger::TriggerOperation::All,
[INFO] [stdout]    |             ^^^^^^^ use of unresolved module or unlinked crate `trigger`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `trigger`, use `cargo add trigger` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::resources::trigger::TriggerOperation;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `TriggerOperation`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 71 -             trigger::TriggerOperation::All,
[INFO] [stdout] 71 +             TriggerOperation::All,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ConsistencyLevel` in this scope
[INFO] [stdout]   --> tests/trigger_operations.rs:77:40
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let mut last_session_token: Option<ConsistencyLevel> = None;
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::ConsistencyLevel;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConsistencyLevel`
[INFO] [stdout]   --> tests/trigger_operations.rs:86:35
[INFO] [stdout]    |
[INFO] [stdout] 86 |         last_session_token = Some(ConsistencyLevel::Session(ret.session_token));
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^ use of undeclared type `ConsistencyLevel`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use azure_cosmos_mirror::ConsistencyLevel;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]  --> tests/setup_mock.rs:6:39
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let account_name = (std::env::var(mock_transport::TESTING_MODE_KEY).as_deref()
[INFO] [stdout]   |                                       ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `mock_transport`, use `cargo add mock_transport` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]  --> tests/setup_mock.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 |         == Ok(mock_transport::TESTING_MODE_RECORD))
[INFO] [stdout]   |               ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `mock_transport`, use `cargo add mock_transport` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]   --> tests/setup_mock.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |         mock_transport::new_mock_transport(transaction_name.into()),
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mock_transport`, use `cargo add mock_transport` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]   --> tests/setup_mock.rs:27:20
[INFO] [stdout]    |
[INFO] [stdout] 27 |     (std::env::var(mock_transport::TESTING_MODE_KEY).as_deref()
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mock_transport`, use `cargo add mock_transport` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]   --> tests/setup_mock.rs:28:15
[INFO] [stdout]    |
[INFO] [stdout] 28 |         == Ok(mock_transport::TESTING_MODE_RECORD))
[INFO] [stdout]    |               ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mock_transport`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mock_transport`, use `cargo add mock_transport` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `azure_cosmos_mirror` (test "setup_mock") due to 11 previous errors
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `azure_cosmos_mirror` (test "trigger_operations") due to 18 previous errors
[INFO] [stdout] Some errors have detailed explanations: E0282, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `azure_cosmos_mirror` (example "stored_proc") due to 4 previous errors
[INFO] [stderr] error: could not compile `azure_cosmos_mirror` (example "trigger") due to 8 previous errors
[INFO] running `Command { std: "docker" "inspect" "d11a63d14e6287bd53a92615cba067fb29493acf0fefa3ce9566c4d6b2fc90a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d11a63d14e6287bd53a92615cba067fb29493acf0fefa3ce9566c4d6b2fc90a1", kill_on_drop: false }`
[INFO] [stdout] d11a63d14e6287bd53a92615cba067fb29493acf0fefa3ce9566c4d6b2fc90a1
