[INFO] fetching crate azure_cosmos_mirror 0.3.0... [INFO] checking azure_cosmos_mirror-0.3.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate azure_cosmos_mirror 0.3.0 into /workspace/builds/worker-5-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate azure_cosmos_mirror 0.3.0 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded paste v1.0.8 [INFO] [stderr] Downloaded azure_core_mirror v0.3.0 [INFO] [stderr] Downloaded anyhow v1.0.62 [INFO] [stderr] Downloaded futures v0.3.23 [INFO] [stderr] Downloaded futures-channel v0.3.23 [INFO] [stderr] Downloaded cpufeatures v0.2.4 [INFO] [stderr] Downloaded futures-util v0.3.23 [INFO] [stderr] Downloaded futures-core v0.3.23 [INFO] [stderr] Downloaded time v0.3.14 [INFO] [stderr] Downloaded futures-executor v0.3.23 [INFO] [stderr] Downloaded futures-io v0.3.23 [INFO] [stderr] Downloaded futures-macro v0.3.23 [INFO] [stderr] Downloaded futures-task v0.3.23 [INFO] [stderr] Downloaded futures-sink v0.3.23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eed9242a253ab39ec803260dc7f9e48235f51ee5c83b6b72e572fb1864fe2f5b [INFO] running `Command { std: "docker" "start" "-a" "eed9242a253ab39ec803260dc7f9e48235f51ee5c83b6b72e572fb1864fe2f5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eed9242a253ab39ec803260dc7f9e48235f51ee5c83b6b72e572fb1864fe2f5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eed9242a253ab39ec803260dc7f9e48235f51ee5c83b6b72e572fb1864fe2f5b", kill_on_drop: false }` [INFO] [stdout] eed9242a253ab39ec803260dc7f9e48235f51ee5c83b6b72e572fb1864fe2f5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0c06c7853649fbbbef2b1762a872b925611e4481db520ec2b947270c57b91df [INFO] running `Command { std: "docker" "start" "-a" "f0c06c7853649fbbbef2b1762a872b925611e4481db520ec2b947270c57b91df", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [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 autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.23 [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 cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.25 [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-sink v0.3.23 [INFO] [stderr] Checking futures-io v0.3.23 [INFO] [stderr] Compiling futures-channel v0.3.23 [INFO] [stderr] Compiling futures-task v0.3.23 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling futures-util v0.3.23 [INFO] [stderr] Compiling indexmap v1.9.1 [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 num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking socket2 v0.4.4 [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 tinyvec_macros v0.1.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling native-tls v0.2.10 [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 try-lock v0.2.3 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking cache-padded v1.2.0 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking concurrent-queue v1.2.4 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.62 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking rand_core v0.6.3 [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 proc-macro-error v1.0.4 [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] Checking subtle v2.4.1 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling azure_core_mirror v0.3.0 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking lazy_static v1.4.0 [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 num_threads v0.1.6 [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 termcolor v1.1.3 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Compiling paste v1.0.8 [INFO] [stderr] Checking dyn-clone v1.0.9 [INFO] [stderr] Checking cpufeatures v0.2.4 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking textwrap v0.15.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 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] --> 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/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/user.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use azure_data_cosmos::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `azure_data_cosmos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `azure_data_cosmos`, use `cargo add azure_data_cosmos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [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[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] --> 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 unresolved module or unlinked crate `azure_data_cosmos` [INFO] [stdout] --> examples/permission.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use azure_data_cosmos::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `azure_data_cosmos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `azure_data_cosmos`, use `cargo add azure_data_cosmos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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[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] 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/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 undeclared type `AuthorizationToken` [INFO] [stdout] --> examples/user.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | let authorization_token = AuthorizationToken::primary_from_base64(&args.primary_key)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `AuthorizationToken` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use azure_cosmos_mirror::resources::permission::AuthorizationToken; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CosmosClient` [INFO] [stdout] --> examples/user.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | let client = CosmosClient::new(args.account, authorization_token); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CosmosClient` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use azure_cosmos_mirror::prelude::CosmosClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `azure_cosmos_mirror` (example "database") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 `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] [stderr] error: could not compile `azure_cosmos_mirror` (test "setup") 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 undeclared type `AuthorizationToken` [INFO] [stdout] --> examples/permission.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | let authorization_token = AuthorizationToken::primary_from_base64(&args.primary_key)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `AuthorizationToken` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use azure_cosmos_mirror::resources::permission::AuthorizationToken; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of 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 undeclared type `CosmosClient` [INFO] [stdout] --> examples/permission.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | let client = CosmosClient::new(args.account, authorization_token); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CosmosClient` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use azure_cosmos_mirror::prelude::CosmosClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConsistencyLevel` [INFO] [stdout] --> examples/permission.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | .consistency_level(ConsistencyLevel::Session( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ConsistencyLevel` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use azure_cosmos_mirror::ConsistencyLevel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConsistencyLevel` [INFO] [stdout] --> examples/permission.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | .consistency_level(ConsistencyLevel::Session( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ConsistencyLevel` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use azure_cosmos_mirror::ConsistencyLevel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConsistencyLevel` [INFO] [stdout] --> examples/permission.rs:115:28 [INFO] [stdout] | [INFO] [stdout] 115 | .consistency_level(ConsistencyLevel::Session( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ConsistencyLevel` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use azure_cosmos_mirror::ConsistencyLevel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConsistencyLevel` [INFO] [stdout] --> examples/permission.rs:128:28 [INFO] [stdout] | [INFO] [stdout] 128 | .consistency_level(ConsistencyLevel::Session( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ConsistencyLevel` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use azure_cosmos_mirror::ConsistencyLevel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConsistencyLevel` [INFO] [stdout] --> examples/permission.rs:142:28 [INFO] [stdout] | [INFO] [stdout] 142 | .consistency_level(ConsistencyLevel::Session( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ConsistencyLevel` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use azure_cosmos_mirror::ConsistencyLevel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mock_transport` [INFO] [stdout] --> tests/setup_mock.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | == Ok(mock_transport::TESTING_MODE_RECORD)) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mock_transport` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mock_transport`, use `cargo add mock_transport` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mock_transport` [INFO] [stdout] --> tests/setup_mock.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | mock_transport::new_mock_transport(transaction_name.into()), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mock_transport` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mock_transport`, use `cargo add mock_transport` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mock_transport` [INFO] [stdout] --> tests/setup_mock.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | (std::env::var(mock_transport::TESTING_MODE_KEY).as_deref() [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mock_transport` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mock_transport`, use `cargo add mock_transport` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mock_transport` [INFO] [stdout] --> tests/setup_mock.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | == Ok(mock_transport::TESTING_MODE_RECORD)) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mock_transport` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mock_transport`, use `cargo add mock_transport` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] 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` (test "user_operations") due to 11 previous errors [INFO] [stderr] error: could not compile `azure_cosmos_mirror` (example "client_builder") due to 3 previous errors [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") due to 3 previous errors [INFO] [stderr] error: could not compile `azure_cosmos_mirror` (example "create_delete_database") due to 3 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `azure_cosmos_mirror` (example "permission") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "f0c06c7853649fbbbef2b1762a872b925611e4481db520ec2b947270c57b91df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0c06c7853649fbbbef2b1762a872b925611e4481db520ec2b947270c57b91df", kill_on_drop: false }` [INFO] [stdout] f0c06c7853649fbbbef2b1762a872b925611e4481db520ec2b947270c57b91df