[INFO] fetching crate azure_cosmos_mirror 0.3.0... [INFO] checking azure_cosmos_mirror-0.3.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate azure_cosmos_mirror 0.3.0 into /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate azure_cosmos_mirror 0.3.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92c696d93b50c3151a0aa4e676c19d79b03c36e415f800f048bc44a1f1a7006e [INFO] running `Command { std: "docker" "start" "-a" "92c696d93b50c3151a0aa4e676c19d79b03c36e415f800f048bc44a1f1a7006e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92c696d93b50c3151a0aa4e676c19d79b03c36e415f800f048bc44a1f1a7006e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92c696d93b50c3151a0aa4e676c19d79b03c36e415f800f048bc44a1f1a7006e", kill_on_drop: false }` [INFO] [stdout] 92c696d93b50c3151a0aa4e676c19d79b03c36e415f800f048bc44a1f1a7006e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13ed35fe7f0bdf5d3ae51d542ca54f2c65e714662c9a8c2f8733e1235445420b [INFO] running `Command { std: "docker" "start" "-a" "13ed35fe7f0bdf5d3ae51d542ca54f2c65e714662c9a8c2f8733e1235445420b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling futures-core v0.3.23 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Checking futures-sink v0.3.23 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling futures-task v0.3.23 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling futures-channel v0.3.23 [INFO] [stderr] Checking futures-io v0.3.23 [INFO] [stderr] Compiling futures-util v0.3.23 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling semver v1.0.13 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking cache-padded v1.2.0 [INFO] [stderr] Compiling anyhow v1.0.62 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Checking concurrent-queue v1.2.4 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking async-channel v1.7.1 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking infer v0.2.3 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Compiling paste v1.0.8 [INFO] [stderr] Checking dyn-clone v1.0.9 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking cpufeatures v0.2.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [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 rand_core v0.6.3 [INFO] [stderr] Compiling azure_core_mirror v0.3.0 [INFO] [stderr] Checking uuid v1.1.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [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 pin-project v1.0.12 [INFO] [stderr] Checking thiserror v1.0.32 [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 url v2.2.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [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] --> examples/collection.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/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] --> 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] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `azure_data_cosmos` [INFO] [stdout] --> examples/database.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/collection.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | 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/collection.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | 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/create_delete_database.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 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] [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/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/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/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] [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 `permission` [INFO] [stdout] --> examples/create_delete_database.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | 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] 32 - permission::AuthorizationToken::primary_from_base64(&args.primary_key)?; [INFO] [stdout] 32 + 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/create_delete_database.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | 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/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] [stderr] error: could not compile `azure_cosmos_mirror` (example "document") due to 5 previous errors [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] [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] [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 unresolved module or unlinked crate `permission` [INFO] [stdout] --> examples/database.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | 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] 23 - permission::AuthorizationToken::primary_from_base64(&args.primary_key)?; [INFO] [stdout] 23 + 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/database.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | 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/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] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `azure_data_cosmos` [INFO] [stdout] --> examples/user_defined_function.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_defined_function.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] 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_defined_function.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | 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 `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[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 `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 `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] [stderr] error: could not compile `azure_cosmos_mirror` (example "database") due to 3 previous errors [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[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] 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/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 = 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 "collection") due to 3 previous errors [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 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] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `azure_cosmos_mirror` (example "create_delete_database") due to 3 previous errors [INFO] [stderr] error: could not compile `azure_cosmos_mirror` (example "user_defined_function") due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `azure_data_cosmos` [INFO] [stdout] --> examples/query_document.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | 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] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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: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 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/query_document.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | 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] 17 + 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/query_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] 17 + use azure_cosmos_mirror::prelude::CosmosClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Query` [INFO] [stdout] --> examples/query_document.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | let query_obj = Query::new(args.query); [INFO] [stdout] | ^^^^^ use of undeclared type `Query` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 + use azure_cosmos_mirror::resources::document::Query; [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` (test "collection_operations") due to 18 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 "client_builder") due to 3 previous errors [INFO] [stderr] error: could not compile `azure_cosmos_mirror` (test "user_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] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `azure_cosmos_mirror` (example "user_permission_token") due to 5 previous errors [INFO] [stderr] error: could not compile `azure_cosmos_mirror` (example "query_document") due to 4 previous errors [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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 "trigger") due to 7 previous errors [INFO] [stderr] error: could not compile `azure_cosmos_mirror` (example "stored_proc") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "13ed35fe7f0bdf5d3ae51d542ca54f2c65e714662c9a8c2f8733e1235445420b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13ed35fe7f0bdf5d3ae51d542ca54f2c65e714662c9a8c2f8733e1235445420b", kill_on_drop: false }` [INFO] [stdout] 13ed35fe7f0bdf5d3ae51d542ca54f2c65e714662c9a8c2f8733e1235445420b