[INFO] fetching crate azure_cosmos_mirror 0.3.0... [INFO] checking azure_cosmos_mirror-0.3.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate azure_cosmos_mirror 0.3.0 into /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate azure_cosmos_mirror 0.3.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uuid v1.1.2 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.82 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.82 [INFO] [stderr] Downloaded unicode-ident v1.0.3 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.82 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.82 [INFO] [stderr] Downloaded thiserror-impl v1.0.32 [INFO] [stderr] Downloaded async-trait v0.1.57 [INFO] [stderr] Downloaded anyhow v1.0.62 [INFO] [stderr] Downloaded futures-io v0.3.23 [INFO] [stderr] Downloaded futures-channel v0.3.23 [INFO] [stderr] Downloaded futures v0.3.23 [INFO] [stderr] Downloaded h2 v0.3.14 [INFO] [stderr] Downloaded tracing v0.1.36 [INFO] [stderr] Downloaded time v0.3.14 [INFO] [stderr] Downloaded serde v1.0.144 [INFO] [stderr] Downloaded clap v3.2.17 [INFO] [stderr] Downloaded serde_json v1.0.85 [INFO] [stderr] Downloaded futures-util v0.3.23 [INFO] [stderr] Downloaded syn v1.0.99 [INFO] [stderr] Downloaded js-sys v0.3.59 [INFO] [stderr] Downloaded wasm-bindgen v0.2.82 [INFO] [stderr] Downloaded bumpalo v3.11.0 [INFO] [stderr] Downloaded tracing-core v0.1.29 [INFO] [stderr] Downloaded time-macros v0.2.4 [INFO] [stderr] Downloaded once_cell v1.13.1 [INFO] [stderr] Downloaded futures-macro v0.3.23 [INFO] [stderr] Downloaded futures-task v0.3.23 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.32 [INFO] [stderr] Downloaded cpufeatures v0.2.4 [INFO] [stderr] Downloaded futures-core v0.3.23 [INFO] [stderr] Downloaded stop-token v0.7.0 [INFO] [stderr] Downloaded thiserror v1.0.32 [INFO] [stderr] Downloaded itoa v1.0.3 [INFO] [stderr] Downloaded serde_derive v1.0.144 [INFO] [stderr] Downloaded semver v1.0.13 [INFO] [stderr] Downloaded azure_core_mirror v0.3.0 [INFO] [stderr] Downloaded futures-sink v0.3.23 [INFO] [stderr] Downloaded dyn-clone v1.0.9 [INFO] [stderr] Downloaded web-sys v0.3.59 [INFO] [stderr] Downloaded tokio v1.20.1 [INFO] [stderr] Downloaded paste v1.0.8 [INFO] [stderr] Downloaded clap_derive v3.2.17 [INFO] [stderr] Downloaded os_str_bytes v6.3.0 [INFO] [stderr] Downloaded futures-executor v0.3.23 [INFO] [stderr] Downloaded libc v0.2.132 [INFO] [stderr] Downloaded proc-macro2 v1.0.43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] edc1a3904547bf6670453aa4732347e18dfc4098778ed03ac3201fc6523408a0 [INFO] running `Command { std: "docker" "start" "-a" "edc1a3904547bf6670453aa4732347e18dfc4098778ed03ac3201fc6523408a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edc1a3904547bf6670453aa4732347e18dfc4098778ed03ac3201fc6523408a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edc1a3904547bf6670453aa4732347e18dfc4098778ed03ac3201fc6523408a0", kill_on_drop: false }` [INFO] [stdout] edc1a3904547bf6670453aa4732347e18dfc4098778ed03ac3201fc6523408a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1e31755c0a801dd97c23d05c51bf60fd5910d92c2177b266a3f50c57fe83885 [INFO] running `Command { std: "docker" "start" "-a" "f1e31755c0a801dd97c23d05c51bf60fd5910d92c2177b266a3f50c57fe83885", 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] Checking cfg-if v1.0.0 [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 itoa v1.0.3 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.144 [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 serde v1.0.144 [INFO] [stderr] Compiling futures-task v0.3.23 [INFO] [stderr] Compiling futures-channel v0.3.23 [INFO] [stderr] Checking futures-sink 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] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.41 [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 tracing v0.1.36 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling semver v1.0.13 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking cache-padded v1.2.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking concurrent-queue v1.2.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling anyhow v1.0.62 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking async-channel v1.7.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [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 base64 v0.13.0 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling azure_core_mirror v0.3.0 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking infer v0.2.3 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking mime v0.3.16 [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] Compiling paste v1.0.8 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking cpufeatures v0.2.4 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Checking regex-syntax v0.6.27 [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 textwrap v0.15.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking humantime v2.1.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] --> examples/stored_proc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use azure_data_cosmos::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `azure_data_cosmos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `azure_data_cosmos`, use `cargo add azure_data_cosmos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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] [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] 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/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/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] --> 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/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] --> 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 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 undeclared type `AuthorizationToken` [INFO] [stdout] --> examples/stored_proc.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | let authorization_token = AuthorizationToken::primary_from_base64(&args.primary_key)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `AuthorizationToken` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use azure_cosmos_mirror::resources::permission::AuthorizationToken; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CosmosClient` [INFO] [stdout] --> examples/stored_proc.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | let collection = CosmosClient::new(args.account.clone(), authorization_token) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CosmosClient` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use azure_cosmos_mirror::prelude::CosmosClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `azure_data_cosmos` [INFO] [stdout] --> examples/readme.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use azure_data_cosmos::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `azure_data_cosmos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `azure_data_cosmos`, use `cargo add azure_data_cosmos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken` [INFO] [stdout] --> examples/readme.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | let authorization_token = AuthorizationToken::primary_from_base64(&args.primary_key)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `AuthorizationToken` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use azure_cosmos_mirror::resources::permission::AuthorizationToken; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CosmosClient` [INFO] [stdout] --> examples/readme.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | let client = CosmosClient::new(args.account, authorization_token); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CosmosClient` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use azure_cosmos_mirror::prelude::CosmosClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConsistencyLevel` [INFO] [stdout] --> examples/readme.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | let session_token = ConsistencyLevel::Session(session_token.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ConsistencyLevel` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use azure_cosmos_mirror::ConsistencyLevel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConsistencyLevel` [INFO] [stdout] --> examples/readme.rs:130:25 [INFO] [stdout] | [INFO] [stdout] 130 | let session_token = ConsistencyLevel::Session(query_documents_response.session_token); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ConsistencyLevel` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use azure_cosmos_mirror::ConsistencyLevel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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] For more information about this error, try `rustc --explain E0433`. [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] [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 `azure_data_cosmos` [INFO] [stdout] --> examples/readme.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 35 | impl azure_data_cosmos::CosmosEntity for MySampleStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `azure_data_cosmos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `azure_data_cosmos`, use `cargo add azure_data_cosmos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `azure_cosmos_mirror` (example "readme") due to 6 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` (test "permission_operations") due to 12 previous errors [INFO] [stderr] error: could not compile `azure_cosmos_mirror` (example "stored_proc") due to 3 previous errors [INFO] [stderr] error: could not compile `azure_cosmos_mirror` (test "setup_mock") due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "f1e31755c0a801dd97c23d05c51bf60fd5910d92c2177b266a3f50c57fe83885", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1e31755c0a801dd97c23d05c51bf60fd5910d92c2177b266a3f50c57fe83885", kill_on_drop: false }` [INFO] [stdout] f1e31755c0a801dd97c23d05c51bf60fd5910d92c2177b266a3f50c57fe83885