[INFO] fetching crate azure_cosmos_mirror 0.1.0... [INFO] testing azure_cosmos_mirror-0.1.0 against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] extracting crate azure_cosmos_mirror 0.1.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate azure_cosmos_mirror 0.1.0 on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate azure_cosmos_mirror 0.1.0 [INFO] finished tweaking crates.io crate azure_cosmos_mirror 0.1.0 [INFO] tweaked toml for crates.io crate azure_cosmos_mirror 0.1.0 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate crates.io crate azure_cosmos_mirror 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d849a14f2521e4159c784c4cbae75af42181c0874ccdc53edf8a147cfd8aaa6a [INFO] running `Command { std: "docker" "start" "-a" "d849a14f2521e4159c784c4cbae75af42181c0874ccdc53edf8a147cfd8aaa6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d849a14f2521e4159c784c4cbae75af42181c0874ccdc53edf8a147cfd8aaa6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d849a14f2521e4159c784c4cbae75af42181c0874ccdc53edf8a147cfd8aaa6a", kill_on_drop: false }` [INFO] [stdout] d849a14f2521e4159c784c4cbae75af42181c0874ccdc53edf8a147cfd8aaa6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce4d5b98ada5afc0eff80a451714100ddb8c9ab898669bb0f107073bf9fbcda5 [INFO] running `Command { std: "docker" "start" "-a" "ce4d5b98ada5afc0eff80a451714100ddb8c9ab898669bb0f107073bf9fbcda5", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling RustyXML v0.3.0 [INFO] [stderr] Compiling tinyvec v1.4.0 [INFO] [stderr] Compiling tracing-core v0.1.20 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling object v0.26.2 [INFO] [stderr] Compiling tracing v0.1.28 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling ct-logs v0.8.0 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling h2 v0.3.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde-xml-rs v0.4.1 [INFO] [stderr] Compiling hyper v0.14.13 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling oauth2 v4.0.0-alpha.3 [INFO] [stderr] Compiling azure_core_mirror v0.1.0 [INFO] [stderr] Compiling azure_cosmos_mirror v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `account` [INFO] [stdout] --> src/clients/cosmos_client.rs:296:14 [INFO] [stdout] | [INFO] [stdout] 296 | Custom { account: String, uri: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `expiry_seconds` [INFO] [stdout] --> src/requests/create_permission_builder.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | expiry_seconds: ExpirySeconds, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `user_agent` [INFO] [stdout] --> src/requests/list_users_builder.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | user_agent: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `activity_id` [INFO] [stdout] --> src/requests/list_users_builder.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | activity_id: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `consistency_level` [INFO] [stdout] --> src/requests/list_users_builder.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | consistency_level: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `continuation` [INFO] [stdout] --> src/requests/list_users_builder.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | continuation: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_item_count` [INFO] [stdout] --> src/requests/list_users_builder.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | max_item_count: MaxItemCount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `parallelize_cross_partition_query` [INFO] [stdout] --> src/requests/query_documents_builder.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | parallelize_cross_partition_query: ParallelizeCrossPartition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `partition_key` [INFO] [stdout] --> src/requests/replace_collection_builder.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | partition_key: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `expiry_seconds` [INFO] [stdout] --> src/requests/replace_permission_builder.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | expiry_seconds: ExpirySeconds, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `count` [INFO] [stdout] --> src/responses/list_triggers_response.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | count: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `count` [INFO] [stdout] --> src/responses/list_user_defined_functions_response.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | count: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "ce4d5b98ada5afc0eff80a451714100ddb8c9ab898669bb0f107073bf9fbcda5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce4d5b98ada5afc0eff80a451714100ddb8c9ab898669bb0f107073bf9fbcda5", kill_on_drop: false }` [INFO] [stdout] ce4d5b98ada5afc0eff80a451714100ddb8c9ab898669bb0f107073bf9fbcda5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78883262a9cd65bde86d3fc2e38da0d9dbc8c75cfa5839d710284bda973d2eb3 [INFO] running `Command { std: "docker" "start" "-a" "78883262a9cd65bde86d3fc2e38da0d9dbc8c75cfa5839d710284bda973d2eb3", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stdout] warning: field is never read: `account` [INFO] [stdout] --> src/clients/cosmos_client.rs:296:14 [INFO] [stdout] | [INFO] [stdout] 296 | Custom { account: String, uri: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `expiry_seconds` [INFO] [stdout] --> src/requests/create_permission_builder.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | expiry_seconds: ExpirySeconds, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `user_agent` [INFO] [stdout] --> src/requests/list_users_builder.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | user_agent: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `activity_id` [INFO] [stdout] --> src/requests/list_users_builder.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | activity_id: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `consistency_level` [INFO] [stdout] --> src/requests/list_users_builder.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | consistency_level: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `continuation` [INFO] [stdout] --> src/requests/list_users_builder.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | continuation: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_item_count` [INFO] [stdout] --> src/requests/list_users_builder.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | max_item_count: MaxItemCount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `parallelize_cross_partition_query` [INFO] [stdout] --> src/requests/query_documents_builder.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | parallelize_cross_partition_query: ParallelizeCrossPartition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `partition_key` [INFO] [stdout] --> src/requests/replace_collection_builder.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | partition_key: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `expiry_seconds` [INFO] [stdout] --> src/requests/replace_permission_builder.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | expiry_seconds: ExpirySeconds, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `count` [INFO] [stdout] --> src/responses/list_triggers_response.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | count: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `count` [INFO] [stdout] --> src/responses/list_user_defined_functions_response.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | count: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling azure_cosmos_mirror v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `azure_cosmos` [INFO] [stdout] --> examples/collection.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use azure_cosmos::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `azure_cosmos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `azure_cosmos` [INFO] [stdout] --> examples/readme.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use azure_cosmos::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `azure_cosmos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `azure_cosmos` [INFO] [stdout] --> examples/permission_00.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use azure_cosmos::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `azure_cosmos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `azure_cosmos` [INFO] [stdout] --> examples/stored_proc_00.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use azure_cosmos::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `azure_cosmos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `azure_cosmos` [INFO] [stdout] --> examples/attachments_00.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use azure_cosmos::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `azure_cosmos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `azure_core` [INFO] [stdout] --> examples/permission_00.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use azure_core::HttpClient; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `azure_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `azure_core` [INFO] [stdout] --> examples/collection.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use azure_core::HttpClient; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `azure_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken` [INFO] [stdout] --> examples/permission_00.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | let authorization_token = AuthorizationToken::primary_from_base64(&master_key)?; [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/collection.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | let authorization_token = AuthorizationToken::primary_from_base64(&master_key)?; [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 `CosmosClient` [INFO] [stdout] --> examples/permission_00.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | let client = CosmosClient::new(http_client, account.clone(), authorization_token); [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 `ConsistencyLevel` [INFO] [stdout] --> examples/permission_00.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 88 | .consistency_level(ConsistencyLevel::Session( [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/permission_00.rs:100:28 [INFO] [stdout] | [INFO] [stdout] 100 | .consistency_level(ConsistencyLevel::Session( [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 `CosmosClient` [INFO] [stdout] --> examples/collection.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | let client = CosmosClient::new(http_client, account.clone(), authorization_token); [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: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConsistencyLevel` [INFO] [stdout] --> examples/permission_00.rs:114:28 [INFO] [stdout] | [INFO] [stdout] 114 | .consistency_level(ConsistencyLevel::Session( [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] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConsistencyLevel` [INFO] [stdout] --> examples/permission_00.rs:126:28 [INFO] [stdout] | [INFO] [stdout] 126 | .consistency_level(ConsistencyLevel::Session( [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/permission_00.rs:138:28 [INFO] [stdout] | [INFO] [stdout] 138 | .consistency_level(ConsistencyLevel::Session( [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[E0432]: unresolved import `azure_core` [INFO] [stdout] --> examples/readme.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use azure_core::HttpClient; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `azure_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken` [INFO] [stdout] --> examples/readme.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | let authorization_token = AuthorizationToken::primary_from_base64(&master_key)?; [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 `CosmosClient` [INFO] [stdout] --> examples/readme.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | let client = CosmosClient::new(http_client, account.clone(), authorization_token); [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 `Document` [INFO] [stdout] --> examples/readme.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 62 | let document_to_insert = Document::new(MySampleStruct { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azure_cosmos_mirror::resources::Document; [INFO] [stdout] | [INFO] [stdout] 1 | use ring::pkcs8::Document; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConsistencyLevel` [INFO] [stdout] --> examples/readme.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | let session_token = ConsistencyLevel::Session(session_token.unwrap()); [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/readme.rs:129:25 [INFO] [stdout] | [INFO] [stdout] 129 | let session_token = ConsistencyLevel::Session(query_documents_response.session_token); [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: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `azure_core` [INFO] [stdout] --> examples/document_entries_00.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use azure_core::prelude::*; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `azure_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `azure_cosmos` [INFO] [stdout] --> examples/document_entries_00.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use azure_cosmos::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `azure_cosmos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `azure_cosmos` [INFO] [stdout] --> examples/document_entries_00.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use azure_cosmos::responses::GetDocumentResponse; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `azure_cosmos` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `azure_cosmos_mirror` due to 5 previous errors [INFO] [stdout] error[E0432]: unresolved imports `azure_core::prelude::*`, `azure_cosmos::prelude::*`, `azure_cosmos::responses::GetDocumentResponse` [INFO] [stdout] --> examples/document_entries_00.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use azure_core::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use azure_cosmos::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use azure_cosmos::responses::GetDocumentResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `azure_cosmos` [INFO] [stdout] --> examples/database_00.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use azure_cosmos::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `azure_cosmos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `azure_core` [INFO] [stdout] --> examples/stored_proc_00.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use azure_core::HttpClient; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `azure_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `azure_core` [INFO] [stdout] --> examples/attachments_00.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use azure_core::HttpClient; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `azure_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken` [INFO] [stdout] --> examples/stored_proc_00.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | let authorization_token = AuthorizationToken::primary_from_base64(&master_key)?; [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 `CosmosClient` [INFO] [stdout] --> examples/stored_proc_00.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | let client = CosmosClient::new(http_client, account.clone(), authorization_token); [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 crate or module `azure_cosmos` [INFO] [stdout] --> examples/get_database.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use azure_cosmos::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `azure_cosmos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken` [INFO] [stdout] --> examples/attachments_00.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | let authorization_token = AuthorizationToken::primary_from_base64(&master_key)?; [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 `CosmosClient` [INFO] [stdout] --> examples/attachments_00.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | let client = CosmosClient::new(http_client, account, authorization_token); [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 `Document` [INFO] [stdout] --> examples/attachments_00.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | let doc = Document::new(MySampleStruct { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azure_cosmos_mirror::resources::Document; [INFO] [stdout] | [INFO] [stdout] 1 | use ring::pkcs8::Document; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PartitionKeys` [INFO] [stdout] --> examples/attachments_00.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | let mut partition_keys = PartitionKeys::new(); [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::PartitionKeys; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `azure_cosmos` [INFO] [stdout] --> tests/setup.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use azure_cosmos::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `azure_cosmos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConsistencyLevel` in this scope [INFO] [stdout] --> examples/attachments_00.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | let session_token: ConsistencyLevel = resp.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use azure_cosmos_mirror::ConsistencyLevel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConsistencyLevel` in this scope [INFO] [stdout] --> examples/attachments_00.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | let session_token: ConsistencyLevel = resp.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use azure_cosmos_mirror::ConsistencyLevel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `azure_cosmos` [INFO] [stdout] --> examples/user_00.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use azure_cosmos::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `azure_cosmos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `azure_cosmos` [INFO] [stdout] --> examples/trigger_00.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use azure_cosmos::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `azure_cosmos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `azure_core` [INFO] [stdout] --> examples/get_database.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use azure_core::HttpClient; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `azure_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `azure_core` [INFO] [stdout] --> examples/document_00.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use azure_core::prelude::*; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `azure_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `azure_cosmos` [INFO] [stdout] --> examples/query_document_00.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use azure_cosmos::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `azure_cosmos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `azure_cosmos` [INFO] [stdout] --> examples/database_01.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use azure_cosmos::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `azure_cosmos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken` [INFO] [stdout] --> examples/get_database.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | let authorization_token = AuthorizationToken::primary_from_base64(&master_key)?; [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 `CosmosClient` [INFO] [stdout] --> examples/get_database.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let client = CosmosClient::new(http_client, account.clone(), authorization_token); [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 `AuthorizationToken` [INFO] [stdout] --> examples/get_database.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | let authorization_token = AuthorizationToken::primary_from_base64(&master_key)?; [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 `CosmosClient` [INFO] [stdout] --> examples/get_database.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | let client = CosmosClient::new(http_client, account, authorization_token); [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 crate or module `azure_cosmos` [INFO] [stdout] --> examples/stored_proc_01.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use azure_cosmos::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `azure_cosmos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `azure_core` [INFO] [stdout] --> tests/setup.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use azure_core::HttpClient; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `azure_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `azure_core` [INFO] [stdout] --> examples/user_00.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use azure_core::HttpClient; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `azure_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `azure_cosmos` [INFO] [stdout] --> examples/trigger_00.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use azure_cosmos::resources::trigger::{TriggerOperation, TriggerType}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `azure_cosmos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `azure_core`, `azure_cosmos::resources::trigger::TriggerOperation`, `azure_cosmos::resources::trigger::TriggerType` [INFO] [stdout] --> examples/trigger_00.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use azure_core::HttpClient; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `azure_core` [INFO] [stdout] 2 | use azure_cosmos::prelude::*; [INFO] [stdout] 3 | use azure_cosmos::resources::trigger::{TriggerOperation, TriggerType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `azure_cosmos` [INFO] [stdout] --> examples/document_00.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use azure_cosmos::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `azure_cosmos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `azure_cosmos` [INFO] [stdout] --> examples/document_00.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use azure_cosmos::resources::collection::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `azure_cosmos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `azure_cosmos` [INFO] [stdout] --> examples/document_00.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use azure_cosmos::responses::GetDocumentResponse; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `azure_cosmos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `azure_core::prelude::*`, `azure_core`, `azure_cosmos::prelude::*`, `azure_cosmos::resources::collection::*`, `azure_cosmos::responses::GetDocumentResponse` [INFO] [stdout] --> examples/document_00.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use azure_core::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use azure_core::HttpClient; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `azure_core` [INFO] [stdout] 6 | use azure_cosmos::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | use azure_cosmos::resources::collection::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use azure_cosmos::responses::GetDocumentResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `azure_cosmos` [INFO] [stdout] --> examples/create_delete_database.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use azure_cosmos::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `azure_cosmos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CosmosClient` in this scope [INFO] [stdout] --> tests/setup.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn initialize() -> 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[E0412]: cannot find type `CosmosError` in this scope [INFO] [stdout] --> tests/setup.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn initialize() -> Result { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use azure_cosmos_mirror::CosmosError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `azure_core`, `azure_cosmos::prelude::*` [INFO] [stdout] --> examples/create_delete_database.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use azure_core::HttpClient; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `azure_core` [INFO] [stdout] 2 | use azure_cosmos::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `collection` [INFO] [stdout] --> examples/create_delete_database.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use collection::*; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `collection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken` [INFO] [stdout] --> tests/setup.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | let authorization_token = AuthorizationToken::primary_from_base64(&key)?; [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 `CosmosClient` [INFO] [stdout] --> tests/setup.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | let client = CosmosClient::new(http_client, account, authorization_token); [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 `AuthorizationToken` [INFO] [stdout] --> examples/user_00.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | let authorization_token = AuthorizationToken::primary_from_base64(&master_key)?; [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 `CosmosClient` [INFO] [stdout] --> examples/user_00.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | let client = CosmosClient::new(http_client, account.clone(), authorization_token); [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: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [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] error[E0433]: failed to resolve: use of undeclared crate or module `azure_cosmos` [INFO] [stdout] --> examples/query_document_00.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use azure_cosmos::responses::QueryDocumentsResponse; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `azure_cosmos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `azure_core`, `azure_cosmos::responses::QueryDocumentsResponse` [INFO] [stdout] --> examples/query_document_00.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use azure_core::HttpClient; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `azure_core` [INFO] [stdout] 2 | use azure_cosmos::prelude::*; [INFO] [stdout] 3 | use azure_cosmos::responses::QueryDocumentsResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `azure_cosmos` [INFO] [stdout] --> examples/user_permission_token.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use azure_cosmos::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `azure_cosmos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TriggerType` [INFO] [stdout] --> examples/trigger_00.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 65 | .execute("something", TriggerType::Post, TriggerOperation::All) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `TriggerType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TriggerOperation` [INFO] [stdout] --> examples/trigger_00.rs:65:50 [INFO] [stdout] | [INFO] [stdout] 65 | .execute("something", TriggerType::Post, TriggerOperation::All) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TriggerOperation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TriggerType` [INFO] [stdout] --> examples/trigger_00.rs:72:32 [INFO] [stdout] | [INFO] [stdout] 72 | .execute(TRIGGER_BODY, TriggerType::Post, TriggerOperation::All) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `TriggerType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TriggerOperation` [INFO] [stdout] --> examples/trigger_00.rs:72:51 [INFO] [stdout] | [INFO] [stdout] 72 | .execute(TRIGGER_BODY, TriggerType::Post, TriggerOperation::All) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TriggerOperation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken` [INFO] [stdout] --> examples/trigger_00.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 54 | let authorization_token = AuthorizationToken::primary_from_base64(&master_key)?; [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 `CosmosClient` [INFO] [stdout] --> examples/trigger_00.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | let client = CosmosClient::new(http_client, account.clone(), authorization_token); [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[E0412]: cannot find type `ConsistencyLevel` in this scope [INFO] [stdout] --> examples/trigger_00.rs:76:40 [INFO] [stdout] | [INFO] [stdout] 76 | 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_00.rs:89:35 [INFO] [stdout] | [INFO] [stdout] 89 | last_session_token = Some(ConsistencyLevel::Session(ret.session_token)); [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: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KeyKind` [INFO] [stdout] --> examples/document_00.rs:86:23 [INFO] [stdout] | [INFO] [stdout] 86 | kind: KeyKind::Hash, [INFO] [stdout] | ^^^^^^^ use of undeclared type `KeyKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KeyKind` [INFO] [stdout] --> examples/create_delete_database.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | kind: KeyKind::Hash, [INFO] [stdout] | ^^^^^^^ use of undeclared type `KeyKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataType` [INFO] [stdout] --> examples/create_delete_database.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | data_type: DataType::String, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `DataType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataType` [INFO] [stdout] --> examples/document_00.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | data_type: DataType::String, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `DataType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IndexingMode` [INFO] [stdout] --> examples/create_delete_database.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 63 | indexing_mode: IndexingMode::Consistent, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `IndexingMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IndexingMode` [INFO] [stdout] --> examples/document_00.rs:98:32 [INFO] [stdout] | [INFO] [stdout] 98 | indexing_mode: IndexingMode::Consistent, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `IndexingMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `permission` [INFO] [stdout] --> examples/create_delete_database.rs:28:43 [INFO] [stdout] | [INFO] [stdout] 28 | let authorization_token = permission::AuthorizationToken::primary_from_base64(&master_key)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `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] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CosmosClient` [INFO] [stdout] --> examples/create_delete_database.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | let client = CosmosClient::new(http_client, account, authorization_token); [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[E0422]: cannot find struct, variant or union type `IncludedPathIndex` in this scope [INFO] [stdout] --> examples/create_delete_database.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | 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[E0422]: cannot find struct, variant or union type `IncludedPath` in this scope [INFO] [stdout] --> examples/create_delete_database.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | let ip = 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] --> examples/create_delete_database.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | let ip = 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 `Offer` [INFO] [stdout] --> examples/create_delete_database.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | .offer(Offer::Throughput(400)) [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::collection::Offer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GetDocumentResponse` [INFO] [stdout] --> examples/document_00.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 176 | if let GetDocumentResponse::Found(document) = get_document_response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `GetDocumentResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken` [INFO] [stdout] --> examples/document_00.rs:41:31 [INFO] [stdout] | [INFO] [stdout] 41 | let authorization_token = AuthorizationToken::primary_from_base64(&master_key)?; [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 `CosmosClient` [INFO] [stdout] --> examples/document_00.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | let client = CosmosClient::new(http_client, account, authorization_token); [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[E0422]: cannot find struct, variant or union type `IncludedPathIndex` in this scope [INFO] [stdout] --> examples/document_00.rs:85:27 [INFO] [stdout] | [INFO] [stdout] 85 | 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: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [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] error[E0422]: cannot find struct, variant or union type `IncludedPath` in this scope [INFO] [stdout] --> examples/document_00.rs:91:22 [INFO] [stdout] | [INFO] [stdout] 91 | let ip = 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] --> examples/document_00.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | let ip = 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 `Offer` [INFO] [stdout] --> examples/document_00.rs:114:24 [INFO] [stdout] | [INFO] [stdout] 114 | .offer(Offer::Throughput(400)) [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::collection::Offer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Document` [INFO] [stdout] --> examples/document_00.rs:126:15 [INFO] [stdout] | [INFO] [stdout] 126 | let doc = Document::new(MySampleStruct { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azure_cosmos_mirror::resources::Document; [INFO] [stdout] | [INFO] [stdout] 1 | use ring::pkcs8::Document; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IfMatchCondition` [INFO] [stdout] --> examples/document_00.rs:187:33 [INFO] [stdout] | [INFO] [stdout] 187 | .if_match_condition(IfMatchCondition::Match(&document.etag)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use azure_core_mirror::prelude::IfMatchCondition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken` [INFO] [stdout] --> examples/query_document_00.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | let authorization_token = AuthorizationToken::primary_from_base64(&master_key)?; [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 `CosmosClient` [INFO] [stdout] --> examples/query_document_00.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | let client = CosmosClient::new(http_client, account.clone(), authorization_token); [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 `Query` [INFO] [stdout] --> examples/query_document_00.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | let query_obj = Query::new(&query); [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::document::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryDocumentsResponse` in this scope [INFO] [stdout] --> examples/query_document_00.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | let respo: QueryDocumentsResponse = client [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::responses::QueryDocumentsResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryDocumentsResponse` in this scope [INFO] [stdout] --> examples/query_document_00.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | let respo: QueryDocumentsResponse = client [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::responses::QueryDocumentsResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `azure_cosmos` [INFO] [stdout] --> examples/key_ranges_00.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use azure_cosmos::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `azure_cosmos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `azure_cosmos` [INFO] [stdout] --> examples/document_entries_01.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use azure_cosmos::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `azure_cosmos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `azure_cosmos` [INFO] [stdout] --> examples/user_defined_function_00.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use azure_cosmos::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `azure_cosmos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `azure_core` [INFO] [stdout] --> examples/user_permission_token.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use azure_core::HttpClient; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `azure_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `azure_cosmos` [INFO] [stdout] --> examples/remove_all_documents.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use azure_cosmos::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `azure_cosmos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken` [INFO] [stdout] --> examples/user_permission_token.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | let authorization_token = AuthorizationToken::primary_from_base64(&master_key)?; [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 `CosmosClient` [INFO] [stdout] --> examples/user_permission_token.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | let client = CosmosClient::new(http_client, account.clone(), authorization_token); [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[E0412]: cannot find type `AuthorizationToken` in this scope [INFO] [stdout] --> examples/user_permission_token.rs:69:34 [INFO] [stdout] | [INFO] [stdout] 69 | 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 `Document` [INFO] [stdout] --> examples/user_permission_token.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | let document = Document::new(serde_json::from_str::(data)?); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azure_cosmos_mirror::resources::Document; [INFO] [stdout] | [INFO] [stdout] 1 | use ring::pkcs8::Document; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AuthorizationToken` in this scope [INFO] [stdout] --> examples/user_permission_token.rs:142:34 [INFO] [stdout] | [INFO] [stdout] 142 | 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[E0432]: unresolved import `azure_core` [INFO] [stdout] --> examples/remove_all_documents.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use azure_core::HttpClient; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `azure_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `azure_core` [INFO] [stdout] --> examples/document_entries_01.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use azure_core::HttpClient; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `azure_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `azure_core` [INFO] [stdout] --> examples/user_defined_function_00.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use azure_core::HttpClient; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `azure_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken` [INFO] [stdout] --> examples/remove_all_documents.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | let authorization_token = AuthorizationToken::primary_from_base64(&master_key)?; [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 `CosmosClient` [INFO] [stdout] --> examples/remove_all_documents.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | let client = CosmosClient::new(http_client, account.clone(), authorization_token); [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[E0412]: cannot find type `PartitionKeys` in this scope [INFO] [stdout] --> examples/remove_all_documents.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | let partition_key: PartitionKeys = match &doc_as_obj[&partition_key_name] { [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::PartitionKeys; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [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 an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `azure_core` [INFO] [stdout] --> examples/key_ranges_00.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use azure_core::HttpClient; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `azure_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken` [INFO] [stdout] --> examples/user_defined_function_00.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | let authorization_token = AuthorizationToken::primary_from_base64(&master_key)?; [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 `CosmosClient` [INFO] [stdout] --> examples/user_defined_function_00.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | let client = CosmosClient::new(http_client, account.clone(), authorization_token); [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] 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] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken` [INFO] [stdout] --> examples/document_entries_01.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | let authorization_token = AuthorizationToken::primary_from_base64(&master_key)?; [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 `CosmosClient` [INFO] [stdout] --> examples/document_entries_01.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | let client = CosmosClient::new(http_client, account, authorization_token); [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 `Document` [INFO] [stdout] --> examples/document_entries_01.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | let mut doc = Document::new(MySampleStruct { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azure_cosmos_mirror::resources::Document; [INFO] [stdout] | [INFO] [stdout] 1 | use ring::pkcs8::Document; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PartitionKeys` [INFO] [stdout] --> examples/document_entries_01.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | let partition_keys = PartitionKeys::from([&doc.document.id]); [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::PartitionKeys; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [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] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken` [INFO] [stdout] --> examples/key_ranges_00.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | let authorization_token = AuthorizationToken::primary_from_base64(&master_key)?; [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[E0432]: unresolved import `azure_core` [INFO] [stdout] --> examples/database_00.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use azure_core::HttpClient; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `azure_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CosmosClient` [INFO] [stdout] --> examples/key_ranges_00.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | let client = CosmosClient::new(http_client, account.clone(), authorization_token); [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: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `azure_core` [INFO] [stdout] --> examples/database_01.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use azure_core::HttpClient; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `azure_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken` [INFO] [stdout] --> examples/database_01.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | let authorization_token = AuthorizationToken::primary_from_base64(&master_key)?; [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 `CosmosClient` [INFO] [stdout] --> examples/database_01.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let client = CosmosClient::new(http_client, account, authorization_token); [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 crate or module `permission` [INFO] [stdout] --> examples/database_00.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | let authorization_token = permission::AuthorizationToken::primary_from_base64(&master_key)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `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] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CosmosClient` [INFO] [stdout] --> examples/database_00.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | let client = CosmosClient::new(http_client, account, authorization_token); [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 `Document` [INFO] [stdout] --> examples/database_00.rs:56:32 [INFO] [stdout] | [INFO] [stdout] 56 | let document = Document::new(v); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azure_cosmos_mirror::resources::Document; [INFO] [stdout] | [INFO] [stdout] 1 | use ring::pkcs8::Document; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `azure_core` [INFO] [stdout] --> examples/stored_proc_01.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use azure_core::HttpClient; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `azure_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorizationToken` [INFO] [stdout] --> examples/stored_proc_01.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | let authorization_token = AuthorizationToken::primary_from_base64(&master_key)?; [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 `CosmosClient` [INFO] [stdout] --> examples/stored_proc_01.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | let client = CosmosClient::new(http_client, account.clone(), authorization_token); [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 `GetDocumentResponse` [INFO] [stdout] --> examples/document_entries_00.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | GetDocumentResponse::Found(_) => true, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `GetDocumentResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GetDocumentResponse` [INFO] [stdout] --> examples/document_entries_00.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | GetDocumentResponse::Found(ref resp) => resp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `GetDocumentResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GetDocumentResponse` [INFO] [stdout] --> examples/document_entries_00.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | GetDocumentResponse::NotFound(_) => panic!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `GetDocumentResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GetDocumentResponse` [INFO] [stdout] --> examples/document_entries_00.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | GetDocumentResponse::NotFound(_) => true, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `GetDocumentResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `permission` [INFO] [stdout] --> examples/document_entries_00.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | let authorization_token = permission::AuthorizationToken::primary_from_base64(&master_key)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `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] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `HttpClient` in this scope [INFO] [stdout] --> examples/document_entries_00.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | let http_client: Arc> = Arc::new(Box::new(reqwest::Client::new())); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use azure_core_mirror::HttpClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CosmosClient` [INFO] [stdout] --> examples/document_entries_00.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | let client = CosmosClient::new(http_client, account, authorization_token); [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 `Document` [INFO] [stdout] --> examples/document_entries_00.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | let doc = Document::new(MySampleStruct { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use azure_cosmos_mirror::resources::Document; [INFO] [stdout] | [INFO] [stdout] 1 | use ring::pkcs8::Document; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConsistencyLevel` in this scope [INFO] [stdout] --> examples/document_entries_00.rs:104:24 [INFO] [stdout] | [INFO] [stdout] 104 | let session_token: ConsistencyLevel = (&response).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use azure_cosmos_mirror::ConsistencyLevel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PartitionKeys` [INFO] [stdout] --> examples/document_entries_00.rs:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | let partition_keys = PartitionKeys::from([&id]); [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::PartitionKeys; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConsistencyLevel` [INFO] [stdout] --> examples/document_entries_00.rs:149:28 [INFO] [stdout] | [INFO] [stdout] 149 | .consistency_level(ConsistencyLevel::from(&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::ConsistencyLevel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IfMatchCondition` [INFO] [stdout] --> examples/document_entries_00.rs:150:29 [INFO] [stdout] | [INFO] [stdout] 150 | .if_match_condition(IfMatchCondition::Match(&doc.etag)) // use optimistic concurrency check [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use azure_core_mirror::prelude::IfMatchCondition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PartitionKeys` [INFO] [stdout] --> examples/document_entries_00.rs:163:26 [INFO] [stdout] | [INFO] [stdout] 163 | let partition_keys = PartitionKeys::from([&id]); [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::PartitionKeys; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PartitionKeys` [INFO] [stdout] --> examples/document_entries_00.rs:181:30 [INFO] [stdout] | [INFO] [stdout] 181 | let partition_keys = PartitionKeys::from([&id]); [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::PartitionKeys; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] warning: field is never read: `account` [INFO] [stdout] --> src/clients/cosmos_client.rs:296:14 [INFO] [stdout] | [INFO] [stdout] 296 | Custom { account: String, uri: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `expiry_seconds` [INFO] [stdout] --> src/requests/create_permission_builder.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | expiry_seconds: ExpirySeconds, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `user_agent` [INFO] [stdout] --> src/requests/list_users_builder.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | user_agent: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `activity_id` [INFO] [stdout] --> src/requests/list_users_builder.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | activity_id: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `consistency_level` [INFO] [stdout] --> src/requests/list_users_builder.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | consistency_level: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `continuation` [INFO] [stdout] --> src/requests/list_users_builder.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | continuation: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_item_count` [INFO] [stdout] --> src/requests/list_users_builder.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | max_item_count: MaxItemCount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `parallelize_cross_partition_query` [INFO] [stdout] --> src/requests/query_documents_builder.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | parallelize_cross_partition_query: ParallelizeCrossPartition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `partition_key` [INFO] [stdout] --> src/requests/replace_collection_builder.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | partition_key: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `expiry_seconds` [INFO] [stdout] --> src/requests/replace_permission_builder.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | expiry_seconds: ExpirySeconds, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `count` [INFO] [stdout] --> src/responses/list_triggers_response.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | count: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `count` [INFO] [stdout] --> src/responses/list_user_defined_functions_response.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | count: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "78883262a9cd65bde86d3fc2e38da0d9dbc8c75cfa5839d710284bda973d2eb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78883262a9cd65bde86d3fc2e38da0d9dbc8c75cfa5839d710284bda973d2eb3", kill_on_drop: false }` [INFO] [stdout] 78883262a9cd65bde86d3fc2e38da0d9dbc8c75cfa5839d710284bda973d2eb3