[INFO] cloning repository https://github.com/hassanin/rust-azure-cost [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hassanin/rust-azure-cost" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhassanin%2Frust-azure-cost", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhassanin%2Frust-azure-cost'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1ed82be1b13c37e63bbb0855066982086d63cede [INFO] testing hassanin/rust-azure-cost against 1.79.0 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhassanin%2Frust-azure-cost" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hassanin/rust-azure-cost on toolchain 1.79.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hassanin/rust-azure-cost [INFO] finished tweaking git repo https://github.com/hassanin/rust-azure-cost [INFO] tweaked toml for git repo https://github.com/hassanin/rust-azure-cost written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hassanin/rust-azure-cost already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded body v0.1.1 [INFO] [stderr] Downloaded serde_path_to_error v0.1.13 [INFO] [stderr] Downloaded openai-rust v0.5.0 [INFO] [stderr] Downloaded fix-hidden-lifetime-bug-proc_macros v0.2.5 [INFO] [stderr] Downloaded fix-hidden-lifetime-bug v0.2.5 [INFO] [stderr] Downloaded azure_identity v0.13.0 [INFO] [stderr] Downloaded azure_core v0.13.0 [INFO] [stderr] Downloaded azure_mgmt_costmanagement v0.13.0 [INFO] [stderr] Downloaded oauth2 v4.4.1 [INFO] [stderr] Downloaded rustls v0.21.3 [INFO] [stderr] Downloaded serde v1.0.167 [INFO] [stderr] Downloaded serde_derive v1.0.167 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a67df7d837864f4ffe8a5fb2166fbf0eb59aa3ff564d7cdf72d29120e76de956 [INFO] running `Command { std: "docker" "start" "-a" "a67df7d837864f4ffe8a5fb2166fbf0eb59aa3ff564d7cdf72d29120e76de956", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a67df7d837864f4ffe8a5fb2166fbf0eb59aa3ff564d7cdf72d29120e76de956", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a67df7d837864f4ffe8a5fb2166fbf0eb59aa3ff564d7cdf72d29120e76de956", kill_on_drop: false }` [INFO] [stdout] a67df7d837864f4ffe8a5fb2166fbf0eb59aa3ff564d7cdf72d29120e76de956 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a2fc1e2728b34febf27b6453bc4a8bd997baa287faff9737563258278dc9bbd [INFO] running `Command { std: "docker" "start" "-a" "9a2fc1e2728b34febf27b6453bc4a8bd997baa287faff9737563258278dc9bbd", kill_on_drop: false }` [INFO] [stderr] Compiling pin-project-lite v0.2.10 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.167 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling syn v2.0.23 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling rustls v0.21.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.100 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling ryu v1.0.14 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling semver v1.0.17 [INFO] [stderr] Compiling thiserror v1.0.43 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling rustls-pemfile v1.0.3 [INFO] [stderr] Compiling concurrent-queue v2.2.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling async-trait v0.1.71 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling parking v2.1.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling paste v1.0.13 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling azure_core v0.13.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling time-macros v0.2.9 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling uuid v1.4.0 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling dyn-clone v1.0.11 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling async-lock v2.7.0 [INFO] [stderr] Compiling body v0.1.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling serde_derive v1.0.167 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.43 [INFO] [stderr] Compiling pin-project-internal v1.1.2 [INFO] [stderr] Compiling clap_derive v4.3.2 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling rustls-webpki v0.101.1 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling pin-project v1.1.2 [INFO] [stderr] Compiling fix-hidden-lifetime-bug-proc_macros v0.2.5 [INFO] [stderr] Compiling clap v4.3.11 [INFO] [stderr] Compiling fix-hidden-lifetime-bug v0.2.5 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling h2 v0.3.20 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling time v0.3.22 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Compiling serde_path_to_error v0.1.13 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-rustls v0.24.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.18 [INFO] [stderr] Compiling oauth2 v4.4.1 [INFO] [stderr] Compiling openai-rust v0.5.0 [INFO] [stderr] Compiling azure_identity v0.13.0 [INFO] [stderr] Compiling azure_mgmt_costmanagement v0.13.0 [INFO] [stderr] Compiling cost-analyzer-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `azure_core::auth::TokenCredential` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use azure_core::auth::TokenCredential; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `azure_identity::DefaultAzureCredential` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use azure_identity::DefaultAzureCredential; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `url::Url` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use url::Url; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::OsStr` [INFO] [stdout] --> src/my_cli/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ffi::OsStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::OsString` [INFO] [stdout] --> src/my_cli/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ffi::OsString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/my_cli/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cost_management_example` is never used [INFO] [stdout] --> src/azure/cost_managment_example.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | pub async fn cost_management_example() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | handle_cli(args2).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = handle_cli(args2).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "9a2fc1e2728b34febf27b6453bc4a8bd997baa287faff9737563258278dc9bbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a2fc1e2728b34febf27b6453bc4a8bd997baa287faff9737563258278dc9bbd", kill_on_drop: false }` [INFO] [stdout] 9a2fc1e2728b34febf27b6453bc4a8bd997baa287faff9737563258278dc9bbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5498d60b240a24e66d6330b945de3fcef4e91fa42dcb962705dcac3cf38797a [INFO] running `Command { std: "docker" "start" "-a" "f5498d60b240a24e66d6330b945de3fcef4e91fa42dcb962705dcac3cf38797a", kill_on_drop: false }` [INFO] [stderr] Compiling cost-analyzer-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `azure_core::auth::TokenCredential` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use azure_core::auth::TokenCredential; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `azure_identity::DefaultAzureCredential` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use azure_identity::DefaultAzureCredential; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `url::Url` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use url::Url; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::OsStr` [INFO] [stdout] --> src/my_cli/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ffi::OsStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::OsString` [INFO] [stdout] --> src/my_cli/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ffi::OsString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/my_cli/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cost_management_example` is never used [INFO] [stdout] --> src/azure/cost_managment_example.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | pub async fn cost_management_example() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | handle_cli(args2).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = handle_cli(args2).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.48s [INFO] running `Command { std: "docker" "inspect" "f5498d60b240a24e66d6330b945de3fcef4e91fa42dcb962705dcac3cf38797a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5498d60b240a24e66d6330b945de3fcef4e91fa42dcb962705dcac3cf38797a", kill_on_drop: false }` [INFO] [stdout] f5498d60b240a24e66d6330b945de3fcef4e91fa42dcb962705dcac3cf38797a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8915654d6dc2a58eaee1a350b129bab413e8399266ead465314498de364e3665 [INFO] running `Command { std: "docker" "start" "-a" "8915654d6dc2a58eaee1a350b129bab413e8399266ead465314498de364e3665", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `azure_core::auth::TokenCredential` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use azure_core::auth::TokenCredential; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `azure_identity::DefaultAzureCredential` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use azure_identity::DefaultAzureCredential; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `url::Url` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use url::Url; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ffi::OsStr` [INFO] [stderr] --> src/my_cli/mod.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::ffi::OsStr; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ffi::OsString` [INFO] [stderr] --> src/my_cli/mod.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::ffi::OsString; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::PathBuf` [INFO] [stderr] --> src/my_cli/mod.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::path::PathBuf; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `cost_management_example` is never used [INFO] [stderr] --> src/azure/cost_managment_example.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | pub async fn cost_management_example() -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | handle_cli(args2).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 21 | let _ = handle_cli(args2).await; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `cost-analyzer-rust` (bin "cost-analyzer-rust" test) generated 8 warnings (run `cargo fix --bin "cost-analyzer-rust" --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cost_analyzer_rust-8e8b4a42d0127af8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8915654d6dc2a58eaee1a350b129bab413e8399266ead465314498de364e3665", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8915654d6dc2a58eaee1a350b129bab413e8399266ead465314498de364e3665", kill_on_drop: false }` [INFO] [stdout] 8915654d6dc2a58eaee1a350b129bab413e8399266ead465314498de364e3665 [INFO] testing hassanin/rust-azure-cost against beta-2024-06-22 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhassanin%2Frust-azure-cost" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hassanin/rust-azure-cost on toolchain beta-2024-06-22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-06-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hassanin/rust-azure-cost [INFO] finished tweaking git repo https://github.com/hassanin/rust-azure-cost [INFO] tweaked toml for git repo https://github.com/hassanin/rust-azure-cost written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hassanin/rust-azure-cost already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-06-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-06-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12e0731b7f7cb08ec1bfb0660f879ad8945f0223b4ed99f00660c4115bfc766e [INFO] running `Command { std: "docker" "start" "-a" "12e0731b7f7cb08ec1bfb0660f879ad8945f0223b4ed99f00660c4115bfc766e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12e0731b7f7cb08ec1bfb0660f879ad8945f0223b4ed99f00660c4115bfc766e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12e0731b7f7cb08ec1bfb0660f879ad8945f0223b4ed99f00660c4115bfc766e", kill_on_drop: false }` [INFO] [stdout] 12e0731b7f7cb08ec1bfb0660f879ad8945f0223b4ed99f00660c4115bfc766e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-06-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8de4f547816c19fe897aa79c6508c00171ce30d922415a43e37988b8a9ca572 [INFO] running `Command { std: "docker" "start" "-a" "d8de4f547816c19fe897aa79c6508c00171ce30d922415a43e37988b8a9ca572", kill_on_drop: false }` [INFO] [stderr] Compiling pin-project-lite v0.2.10 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling serde v1.0.167 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling syn v2.0.23 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling rustls v0.21.3 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling ryu v1.0.14 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling serde_json v1.0.100 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling thiserror v1.0.43 [INFO] [stderr] Compiling semver v1.0.17 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.3 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling concurrent-queue v2.2.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling parking v2.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling async-trait v0.1.71 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling paste v1.0.13 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling azure_core v0.13.0 [INFO] [stderr] Compiling time-macros v0.2.9 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling uuid v1.4.0 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling dyn-clone v1.0.11 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling async-lock v2.7.0 [INFO] [stderr] Compiling body v0.1.1 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling serde_derive v1.0.167 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.43 [INFO] [stderr] Compiling pin-project-internal v1.1.2 [INFO] [stderr] Compiling clap_derive v4.3.2 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling rustls-webpki v0.101.1 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling pin-project v1.1.2 [INFO] [stderr] Compiling clap v4.3.11 [INFO] [stderr] Compiling fix-hidden-lifetime-bug-proc_macros v0.2.5 [INFO] [stderr] Compiling fix-hidden-lifetime-bug v0.2.5 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling h2 v0.3.20 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling time v0.3.22 [INFO] [stderr] Compiling serde_path_to_error v0.1.13 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stdout] error[E0282]: type annotations needed for `Box<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.22/src/format_description/parse/mod.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let items = format_items [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | Ok(items.into()) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `items` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 83 | let items: Box<_> = format_items [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `time` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "d8de4f547816c19fe897aa79c6508c00171ce30d922415a43e37988b8a9ca572", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8de4f547816c19fe897aa79c6508c00171ce30d922415a43e37988b8a9ca572", kill_on_drop: false }` [INFO] [stdout] d8de4f547816c19fe897aa79c6508c00171ce30d922415a43e37988b8a9ca572