[INFO] cloning repository https://github.com/findelabs/elastic-cloud-billing-exporter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/findelabs/elastic-cloud-billing-exporter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffindelabs%2Felastic-cloud-billing-exporter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffindelabs%2Felastic-cloud-billing-exporter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9d50460c0d2b77ba8b1d8ef6b651414efff2849d [INFO] testing findelabs/elastic-cloud-billing-exporter against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffindelabs%2Felastic-cloud-billing-exporter" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/findelabs/elastic-cloud-billing-exporter on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/findelabs/elastic-cloud-billing-exporter [INFO] finished tweaking git repo https://github.com/findelabs/elastic-cloud-billing-exporter [INFO] tweaked toml for git repo https://github.com/findelabs/elastic-cloud-billing-exporter written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/findelabs/elastic-cloud-billing-exporter 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" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1afa21edec36857a45f78ae25fb4f3feb1daedbb4faae0d2479f4646a031d15 [INFO] running `Command { std: "docker" "start" "-a" "e1afa21edec36857a45f78ae25fb4f3feb1daedbb4faae0d2479f4646a031d15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1afa21edec36857a45f78ae25fb4f3feb1daedbb4faae0d2479f4646a031d15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1afa21edec36857a45f78ae25fb4f3feb1daedbb4faae0d2479f4646a031d15", kill_on_drop: false }` [INFO] [stdout] e1afa21edec36857a45f78ae25fb4f3feb1daedbb4faae0d2479f4646a031d15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cd5400a8afd4f2ee4c6760d54c7ce7a7775b1f640c2b656572137ec009ad4da [INFO] running `Command { std: "docker" "start" "-a" "1cd5400a8afd4f2ee4c6760d54c7ce7a7775b1f640c2b656572137ec009ad4da", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling cc v1.2.21 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling metrics v0.18.1 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling quanta v0.9.3 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling atomic-shim v0.2.0 [INFO] [stderr] Compiling sketches-ddsketch v0.1.3 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling jiff v0.2.11 [INFO] [stderr] Compiling clap_builder v4.5.37 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling metrics-macros v0.5.1 [INFO] [stderr] Compiling metrics-util v0.12.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling opentelemetry v0.22.0 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling clap v4.5.37 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling opentelemetry_sdk v0.22.1 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tracing-opentelemetry v0.23.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling axum-extra v0.10.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling metrics-exporter-prometheus v0.9.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling elastic-cloud-billing-exporter v0.0.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/state.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | let start = Utc.ymd(now.year(), now.month(), now.day()).and_hms(0, 0, 0); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/state.rs:86:65 [INFO] [stdout] | [INFO] [stdout] 86 | let start = Utc.ymd(now.year(), now.month(), now.day()).and_hms(0, 0, 0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/state.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | let start = Utc.ymd(now.year(), now.month(), 1).and_hms(0, 0, 0); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/state.rs:100:57 [INFO] [stdout] | [INFO] [stdout] 100 | let start = Utc.ymd(now.year(), now.month(), 1).and_hms(0, 0, 0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestMethod` is never constructed [INFO] [stdout] --> src/handlers.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct RequestMethod(pub hyper::Method); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequestMethod` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_metrics_recorder` is never used [INFO] [stdout] --> src/metrics.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn setup_metrics_recorder() -> PrometheusHandle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "1cd5400a8afd4f2ee4c6760d54c7ce7a7775b1f640c2b656572137ec009ad4da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cd5400a8afd4f2ee4c6760d54c7ce7a7775b1f640c2b656572137ec009ad4da", kill_on_drop: false }` [INFO] [stdout] 1cd5400a8afd4f2ee4c6760d54c7ce7a7775b1f640c2b656572137ec009ad4da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6879421738184a2263ad9244f20152d212db0359c54a45d853ba9c4f684bc74 [INFO] running `Command { std: "docker" "start" "-a" "c6879421738184a2263ad9244f20152d212db0359c54a45d853ba9c4f684bc74", kill_on_drop: false }` [INFO] [stderr] Compiling elastic-cloud-billing-exporter v0.0.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/state.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | let start = Utc.ymd(now.year(), now.month(), now.day()).and_hms(0, 0, 0); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/state.rs:86:65 [INFO] [stdout] | [INFO] [stdout] 86 | let start = Utc.ymd(now.year(), now.month(), now.day()).and_hms(0, 0, 0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/state.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | let start = Utc.ymd(now.year(), now.month(), 1).and_hms(0, 0, 0); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/state.rs:100:57 [INFO] [stdout] | [INFO] [stdout] 100 | let start = Utc.ymd(now.year(), now.month(), 1).and_hms(0, 0, 0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestMethod` is never constructed [INFO] [stdout] --> src/handlers.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct RequestMethod(pub hyper::Method); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequestMethod` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_metrics_recorder` is never used [INFO] [stdout] --> src/metrics.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn setup_metrics_recorder() -> PrometheusHandle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.05s [INFO] running `Command { std: "docker" "inspect" "c6879421738184a2263ad9244f20152d212db0359c54a45d853ba9c4f684bc74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6879421738184a2263ad9244f20152d212db0359c54a45d853ba9c4f684bc74", kill_on_drop: false }` [INFO] [stdout] c6879421738184a2263ad9244f20152d212db0359c54a45d853ba9c4f684bc74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7fa96e1b5efed746ff96b262b183de51103f7fa729541fe512d7904a301d7815 [INFO] running `Command { std: "docker" "start" "-a" "7fa96e1b5efed746ff96b262b183de51103f7fa729541fe512d7904a301d7815", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stderr] --> src/state.rs:86:25 [INFO] [stderr] | [INFO] [stderr] 86 | let start = Utc.ymd(now.year(), now.month(), now.day()).and_hms(0, 0, 0); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stderr] --> src/state.rs:86:65 [INFO] [stderr] | [INFO] [stderr] 86 | let start = Utc.ymd(now.year(), now.month(), now.day()).and_hms(0, 0, 0); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stderr] --> src/state.rs:100:25 [INFO] [stderr] | [INFO] [stderr] 100 | let start = Utc.ymd(now.year(), now.month(), 1).and_hms(0, 0, 0); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stderr] --> src/state.rs:100:57 [INFO] [stderr] | [INFO] [stderr] 100 | let start = Utc.ymd(now.year(), now.month(), 1).and_hms(0, 0, 0); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RequestMethod` is never constructed [INFO] [stderr] --> src/handlers.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct RequestMethod(pub hyper::Method); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RequestMethod` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `setup_metrics_recorder` is never used [INFO] [stderr] --> src/metrics.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn setup_metrics_recorder() -> PrometheusHandle { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `elastic-cloud-billing-exporter` (bin "elastic-cloud-billing-exporter" test) generated 6 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/elastic_cloud_billing_exporter-baa1d34da3d6ebe6) [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" "7fa96e1b5efed746ff96b262b183de51103f7fa729541fe512d7904a301d7815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fa96e1b5efed746ff96b262b183de51103f7fa729541fe512d7904a301d7815", kill_on_drop: false }` [INFO] [stdout] 7fa96e1b5efed746ff96b262b183de51103f7fa729541fe512d7904a301d7815