[INFO] fetching crate azure_cosmos_mirror 0.3.0... [INFO] checking azure_cosmos_mirror-0.3.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate azure_cosmos_mirror 0.3.0 into /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate azure_cosmos_mirror 0.3.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d5437297c99579de38afe19a2ebda42748a306e9b8da63477f69266bc96f095 [INFO] running `Command { std: "docker" "start" "-a" "4d5437297c99579de38afe19a2ebda42748a306e9b8da63477f69266bc96f095", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d5437297c99579de38afe19a2ebda42748a306e9b8da63477f69266bc96f095", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d5437297c99579de38afe19a2ebda42748a306e9b8da63477f69266bc96f095", kill_on_drop: false }` [INFO] [stdout] 4d5437297c99579de38afe19a2ebda42748a306e9b8da63477f69266bc96f095 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b086655264eef9a2b8d4edbb6f76e32adfca6394408783ed16f0d3d927819c40 [INFO] running `Command { std: "docker" "start" "-a" "b086655264eef9a2b8d4edbb6f76e32adfca6394408783ed16f0d3d927819c40", 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] Checking 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] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Checking futures-io v0.3.23 [INFO] [stderr] Compiling futures-task v0.3.23 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Checking futures-sink v0.3.23 [INFO] [stderr] Compiling futures-channel v0.3.23 [INFO] [stderr] Compiling futures-util v0.3.23 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling semver v1.0.13 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking cache-padded v1.2.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking concurrent-queue v1.2.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling anyhow v1.0.62 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking async-channel v1.7.1 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Compiling azure_core_mirror v0.3.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Checking infer v0.2.3 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking uuid v1.1.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking dyn-clone v1.0.9 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Compiling paste v1.0.8 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Checking cpufeatures v0.2.4 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [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 clap_derive v3.2.17 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking thiserror v1.0.32 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Checking clap v3.2.17 [INFO] [stderr] Checking futures-executor v0.3.23 [INFO] [stderr] Checking futures v0.3.23 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking stop-token v0.7.0 [INFO] [stderr] Checking h2 v0.3.14 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking serde_qs v0.8.5 [INFO] [stderr] Checking time v0.3.14 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking 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] --> tests/setup.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/permission_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 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/client_builder.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[E0412]: cannot find type `CosmosClient` in this scope [INFO] [stdout] --> tests/setup.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn initialize() -> azure_core::Result { [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.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | let client = CosmosClient::new(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] --> tests/setup.rs:16:52 [INFO] [stdout] | [INFO] [stdout] 16 | fn get_authorization_token() -> azure_core::Result { [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.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | AuthorizationToken::primary_from_base64(&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 `AuthorizationToken` [INFO] [stdout] --> examples/client_builder.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/client_builder.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | let _database = CosmosClient::builder(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/document.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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] 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 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/document.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 54 | 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/document.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | 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 `GetDocumentResponse` [INFO] [stdout] --> examples/document.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | if let GetDocumentResponse::Found(document) = get_document_response { [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/attachments.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` (test "setup") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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[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) -> azure_core::Result { [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[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[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 `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 undeclared type `AuthorizationToken` [INFO] [stdout] --> examples/attachments.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | 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/attachments.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | 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/attachments.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | let session_token: ConsistencyLevel = resp.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 `ConsistencyLevel` in this scope [INFO] [stdout] --> examples/attachments.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | let session_token: ConsistencyLevel = resp.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] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `azure_cosmos_mirror` (example "client_builder") due to 3 previous errors [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] [stderr] error: could not compile `azure_cosmos_mirror` (test "permission_operations") due to 12 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `azure_data_cosmos` [INFO] [stdout] --> examples/document.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | 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] [stderr] error: could not compile `azure_cosmos_mirror` (example "document") due to 5 previous errors [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) -> azure_core::Result { [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 `azure_data_cosmos` [INFO] [stdout] --> examples/attachments.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | 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 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] [stderr] error: could not compile `azure_cosmos_mirror` (example "attachments") due to 6 previous errors [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) -> azure_core::Result { [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[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] [stderr] error: could not compile `azure_cosmos_mirror` (test "database_operations") due to 11 previous errors [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] [stderr] error: could not compile `azure_cosmos_mirror` (test "setup_mock") due to 11 previous errors [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] [stderr] error: could not compile `azure_cosmos_mirror` (example "user_permission_token") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "b086655264eef9a2b8d4edbb6f76e32adfca6394408783ed16f0d3d927819c40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b086655264eef9a2b8d4edbb6f76e32adfca6394408783ed16f0d3d927819c40", kill_on_drop: false }` [INFO] [stdout] b086655264eef9a2b8d4edbb6f76e32adfca6394408783ed16f0d3d927819c40