[INFO] fetching crate azure_cosmos_mirror 0.2.0... [INFO] testing azure_cosmos_mirror-0.2.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate azure_cosmos_mirror 0.2.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate azure_cosmos_mirror 0.2.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate azure_cosmos_mirror 0.2.0 [INFO] finished tweaking crates.io crate azure_cosmos_mirror 0.2.0 [INFO] tweaked toml for crates.io crate azure_cosmos_mirror 0.2.0 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate crates.io crate azure_cosmos_mirror 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4e89ae8a7514e7a8c26ec49339fcaee767877dcc714595b5fe8e64d925deab17 [INFO] running `Command { std: "docker" "start" "-a" "4e89ae8a7514e7a8c26ec49339fcaee767877dcc714595b5fe8e64d925deab17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e89ae8a7514e7a8c26ec49339fcaee767877dcc714595b5fe8e64d925deab17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e89ae8a7514e7a8c26ec49339fcaee767877dcc714595b5fe8e64d925deab17", kill_on_drop: false }` [INFO] [stdout] 4e89ae8a7514e7a8c26ec49339fcaee767877dcc714595b5fe8e64d925deab17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7550c115526e43b9228cd875e7878a6dc6261a0cf3d589e1c124cac800b8ce6d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7550c115526e43b9228cd875e7878a6dc6261a0cf3d589e1c124cac800b8ce6d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.29 [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 ring v0.16.20 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling ct-logs v0.8.0 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling rustls v0.20.2 [INFO] [stderr] Compiling webpki-roots v0.22.1 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-rustls v0.23.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling h2 v0.3.9 [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.16 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling reqwest v0.11.8 [INFO] [stderr] Compiling oauth2 v4.0.0-alpha.3 [INFO] [stderr] Compiling azure_core_mirror v0.2.0 [INFO] [stderr] Compiling azure_cosmos_mirror v0.2.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] note: `CloudLocation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/clients/cosmos_client.rs:288:10 [INFO] [stdout] | [INFO] [stdout] 288 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `CreatePermissionBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/requests/create_permission_builder.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `ListUsersBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/requests/list_users_builder.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `ListUsersBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/requests/list_users_builder.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `ListUsersBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/requests/list_users_builder.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `ListUsersBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/requests/list_users_builder.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `ListUsersBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/requests/list_users_builder.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `QueryDocumentsBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/requests/query_documents_builder.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `ReplaceCollectionBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/requests/replace_collection_builder.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `ReplacePermissionBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/requests/replace_permission_builder.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/responses/list_triggers_response.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/responses/list_user_defined_functions_response.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 51s [INFO] running `Command { std: "docker" "inspect" "7550c115526e43b9228cd875e7878a6dc6261a0cf3d589e1c124cac800b8ce6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7550c115526e43b9228cd875e7878a6dc6261a0cf3d589e1c124cac800b8ce6d", kill_on_drop: false }` [INFO] [stdout] 7550c115526e43b9228cd875e7878a6dc6261a0cf3d589e1c124cac800b8ce6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 48c699a0bf5880a561d251ac704daceb7425b977435648c192de09db8cb8954d [INFO] running `Command { std: "docker" "start" "-a" "48c699a0bf5880a561d251ac704daceb7425b977435648c192de09db8cb8954d", kill_on_drop: false }` [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex v1.5.4 [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] note: `CloudLocation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/clients/cosmos_client.rs:288:10 [INFO] [stdout] | [INFO] [stdout] 288 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `CreatePermissionBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/requests/create_permission_builder.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `ListUsersBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/requests/list_users_builder.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `ListUsersBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/requests/list_users_builder.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `ListUsersBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/requests/list_users_builder.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `ListUsersBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/requests/list_users_builder.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `ListUsersBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/requests/list_users_builder.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `QueryDocumentsBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/requests/query_documents_builder.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `ReplaceCollectionBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/requests/replace_collection_builder.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `ReplacePermissionBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/requests/replace_permission_builder.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/responses/list_triggers_response.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/responses/list_user_defined_functions_response.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling azure_cosmos_mirror v0.2.0 (/opt/rustwide/workdir) [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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 2 | use azure_core::prelude::*; [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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 2 | use azure_core::prelude::*; [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_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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 9 | use azure_core::prelude::*; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 2 | use azure_core::prelude::*; [INFO] [stdout] | ~~~~~~~~~~ [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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 2 | use azure_core::prelude::*; [INFO] [stdout] | ~~~~~~~~~~ [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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 2 | use azure_core::prelude::*; [INFO] [stdout] | ~~~~~~~~~~ [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: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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use azure_core::responses::QueryDocumentsResponse; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `azure_cosmos::responses::QueryDocumentsResponse` [INFO] [stdout] --> examples/query_document_00.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use azure_cosmos::responses::QueryDocumentsResponse; [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[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 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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 2 | use azure_core::prelude::*; [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[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 `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 `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] 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[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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use azure_core::responses::GetDocumentResponse; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `azure_cosmos::responses::GetDocumentResponse` [INFO] [stdout] --> examples/document_entries_00.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use azure_cosmos::responses::GetDocumentResponse; [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/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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 9 | use azure_core::prelude::*; [INFO] [stdout] | ~~~~~~~~~~ [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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 2 | use azure_core::prelude::*; [INFO] [stdout] | ~~~~~~~~~~ [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] 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/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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use azure_core::prelude::*; [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: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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 7 | use azure_core::resources::collection::*; [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: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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 8 | use azure_core::responses::GetDocumentResponse; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `azure_cosmos::prelude::*`, `azure_cosmos::resources::collection::*`, `azure_cosmos::responses::GetDocumentResponse` [INFO] [stdout] --> examples/document_00.rs:6:5 [INFO] [stdout] | [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[E0599]: no method named `next` found for struct `Pin>` in the current scope [INFO] [stdout] --> examples/remove_all_documents.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | while let Some(res) = stream.next().await { [INFO] [stdout] | ^^^^ method not found in `Pin>` [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: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::stream::StreamExt` [INFO] [stdout] --> examples/remove_all_documents.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [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] [stderr] error: could not compile `azure_cosmos_mirror` due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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[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] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/azure_core_mirror-0.2.0/src/lib.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub enum Consistency { [INFO] [stdout] | -------------------- similarly named enum `Consistency` defined here [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 104 | let session_token: Consistency = (&response).into(); [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] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/azure_core_mirror-0.2.0/src/lib.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub enum Consistency { [INFO] [stdout] | -------------------- similarly named enum `Consistency` defined here [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 149 | .consistency_level(Consistency::from(&response)) [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: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[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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 2 | use azure_core::prelude::*; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [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 `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] For more information about this error, try `rustc --explain E0433`. [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 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[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 `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] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `next` found for struct `Pin>` in the current scope [INFO] [stdout] --> examples/document_entries_00.rs:115:38 [INFO] [stdout] | [INFO] [stdout] 115 | while let Some(res) = stream.next().await { [INFO] [stdout] | ^^^^ method not found in `Pin>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::stream::StreamExt` [INFO] [stdout] --> examples/document_entries_00.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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 16 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "48c699a0bf5880a561d251ac704daceb7425b977435648c192de09db8cb8954d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48c699a0bf5880a561d251ac704daceb7425b977435648c192de09db8cb8954d", kill_on_drop: false }` [INFO] [stdout] 48c699a0bf5880a561d251ac704daceb7425b977435648c192de09db8cb8954d