[INFO] fetching crate amadeus-types 0.4.3... [INFO] building amadeus-types-0.4.3 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate amadeus-types 0.4.3 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate amadeus-types 0.4.3 [INFO] finished tweaking crates.io crate amadeus-types 0.4.3 [INFO] tweaked toml for crates.io crate amadeus-types 0.4.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate amadeus-types 0.4.3 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 126 packages to latest compatible versions [INFO] [stderr] Adding chrono-tz v0.5.3 (available: v0.10.4) [INFO] [stderr] Adding hashlink v0.5.1 (available: v0.10.0) [INFO] [stderr] Adding ordered-float v2.10.1 (available: v5.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6d507aa4e22bf40f99fe4c5de730b220a4d67fbb29bcd254dba241b0e6d5dd0 [INFO] running `Command { std: "docker" "start" "-a" "d6d507aa4e22bf40f99fe4c5de730b220a4d67fbb29bcd254dba241b0e6d5dd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6d507aa4e22bf40f99fe4c5de730b220a4d67fbb29bcd254dba241b0e6d5dd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6d507aa4e22bf40f99fe4c5de730b220a4d67fbb29bcd254dba241b0e6d5dd0", kill_on_drop: false }` [INFO] [stdout] d6d507aa4e22bf40f99fe4c5de730b220a4d67fbb29bcd254dba241b0e6d5dd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b362533690557a3b9ce32cc4cc639103fdd7d1e7fa2739fb1317237c6c40385 [INFO] running `Command { std: "docker" "start" "-a" "0b362533690557a3b9ce32cc4cc639103fdd7d1e7fa2739fb1317237c6c40385", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling serde_closure v0.3.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Compiling amadeus-streaming v0.4.3 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling amadeus-core v0.4.3 [INFO] [stderr] Compiling replace_with v0.1.8 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling amadeus-types v0.4.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling widestring v0.4.3 [INFO] [stderr] Compiling recycle v0.1.0 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling hashlink v0.5.1 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling serde_closure_derive v0.3.3 [INFO] [stderr] Compiling delegate-attr v0.2.9 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling enum-ordinalize v3.1.15 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling owned_chars v0.3.2 [INFO] [stderr] Compiling educe v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v0.4.30 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling sum v0.1.7 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/time.rs:363:40 [INFO] [stdout] | [INFO] [stdout] 363 | pub fn from_chrono(date: &chrono::Date) -> Self [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/time.rs:376:44 [INFO] [stdout] | [INFO] [stdout] 376 | pub fn as_chrono(&self) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/time.rs:569:29 [INFO] [stdout] | [INFO] [stdout] 569 | chrono::DateTime::::from_utc(self.date_time.as_chrono()?, Utc) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::FixedOffset::east`: use `east_opt()` instead [INFO] [stdout] --> src/time.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 299 | FixedOffset::east(self.0.as_offset_at(&DateTime::from_chrono( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/time.rs:300:31 [INFO] [stdout] | [INFO] [stdout] 300 | &chrono::DateTime::::from_utc(*utc, Utc), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::FixedOffset::east`: use `east_opt()` instead [INFO] [stdout] --> src/time.rs:314:63 [INFO] [stdout] | [INFO] [stdout] 314 | TimezoneInner::Fixed(offset) => Display::fmt(&FixedOffset::east(offset), f), [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/time.rs:378:8 [INFO] [stdout] | [INFO] [stdout] 378 | Utc.ymd( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/time.rs:410:40 [INFO] [stdout] | [INFO] [stdout] 410 | .map(|date| Self::from_chrono(&date.date())) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value.rs:1150:20 [INFO] [stdout] | [INFO] [stdout] 1150 | pub fn as_webpage(&self) -> Result<&Webpage, DowncastError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1150 | pub fn as_webpage(&self) -> Result<&Webpage<'_>, DowncastError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Duration` is never constructed [INFO] [stdout] --> src/time.rs:609:12 [INFO] [stdout] | [INFO] [stdout] 609 | pub struct Duration { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValueRef` is never constructed [INFO] [stdout] --> src/list.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 251 | pub struct ValueRef<'a, T>(ManuallyDrop, &'a ()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.36s [INFO] running `Command { std: "docker" "inspect" "0b362533690557a3b9ce32cc4cc639103fdd7d1e7fa2739fb1317237c6c40385", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b362533690557a3b9ce32cc4cc639103fdd7d1e7fa2739fb1317237c6c40385", kill_on_drop: false }` [INFO] [stdout] 0b362533690557a3b9ce32cc4cc639103fdd7d1e7fa2739fb1317237c6c40385 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b718ac7d870d56d3ca6898cf45d1c58b9acf5ca734a79849438f859dfde1d6d [INFO] running `Command { std: "docker" "start" "-a" "2b718ac7d870d56d3ca6898cf45d1c58b9acf5ca734a79849438f859dfde1d6d", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/time.rs:363:40 [INFO] [stdout] | [INFO] [stdout] 363 | pub fn from_chrono(date: &chrono::Date) -> Self [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling amadeus-types v0.4.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/time.rs:376:44 [INFO] [stdout] | [INFO] [stdout] 376 | pub fn as_chrono(&self) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/time.rs:569:29 [INFO] [stdout] | [INFO] [stdout] 569 | chrono::DateTime::::from_utc(self.date_time.as_chrono()?, Utc) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::FixedOffset::east`: use `east_opt()` instead [INFO] [stdout] --> src/time.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 299 | FixedOffset::east(self.0.as_offset_at(&DateTime::from_chrono( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/time.rs:300:31 [INFO] [stdout] | [INFO] [stdout] 300 | &chrono::DateTime::::from_utc(*utc, Utc), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::FixedOffset::east`: use `east_opt()` instead [INFO] [stdout] --> src/time.rs:314:63 [INFO] [stdout] | [INFO] [stdout] 314 | TimezoneInner::Fixed(offset) => Display::fmt(&FixedOffset::east(offset), f), [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/time.rs:378:8 [INFO] [stdout] | [INFO] [stdout] 378 | Utc.ymd( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/time.rs:410:40 [INFO] [stdout] | [INFO] [stdout] 410 | .map(|date| Self::from_chrono(&date.date())) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value.rs:1150:20 [INFO] [stdout] | [INFO] [stdout] 1150 | pub fn as_webpage(&self) -> Result<&Webpage, DowncastError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1150 | pub fn as_webpage(&self) -> Result<&Webpage<'_>, DowncastError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Duration` is never constructed [INFO] [stdout] --> src/time.rs:609:12 [INFO] [stdout] | [INFO] [stdout] 609 | pub struct Duration { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValueRef` is never constructed [INFO] [stdout] --> src/list.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 251 | pub struct ValueRef<'a, T>(ManuallyDrop, &'a ()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/time.rs:363:40 [INFO] [stdout] | [INFO] [stdout] 363 | pub fn from_chrono(date: &chrono::Date) -> Self [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/time.rs:376:44 [INFO] [stdout] | [INFO] [stdout] 376 | pub fn as_chrono(&self) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/time.rs:569:29 [INFO] [stdout] | [INFO] [stdout] 569 | chrono::DateTime::::from_utc(self.date_time.as_chrono()?, Utc) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/time.rs:1035:33 [INFO] [stdout] | [INFO] [stdout] 1035 | let chrono_date = NaiveDate::from_ymd(y, m, d); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/time.rs:1036:38 [INFO] [stdout] | [INFO] [stdout] 1036 | let chrono_datetime = chrono_date.and_hms(0, 0, 0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/time.rs:1037:31 [INFO] [stdout] | [INFO] [stdout] 1037 | assert_eq!(chrono_datetime.timestamp() % SECONDS_PER_DAY, 0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/time.rs:1039:52 [INFO] [stdout] | [INFO] [stdout] 1039 | DateWithoutTimezone::from_days(chrono_datetime.timestamp() / SECONDS_PER_DAY) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveTime::from_hms`: use `from_hms_opt()` instead [INFO] [stdout] --> src/time.rs:1060:33 [INFO] [stdout] | [INFO] [stdout] 1060 | let chrono_time = NaiveTime::from_hms(h, mi, s); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/time.rs:1076:24 [INFO] [stdout] | [INFO] [stdout] 1076 | let dt = NaiveDate::from_ymd(y, m, d).and_hms(h, mi, s); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/time.rs:1076:42 [INFO] [stdout] | [INFO] [stdout] 1076 | let dt = NaiveDate::from_ymd(y, m, d).and_hms(h, mi, s); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::FixedOffset::east`: use `east_opt()` instead [INFO] [stdout] --> src/time.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 299 | FixedOffset::east(self.0.as_offset_at(&DateTime::from_chrono( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/time.rs:300:31 [INFO] [stdout] | [INFO] [stdout] 300 | &chrono::DateTime::::from_utc(*utc, Utc), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::FixedOffset::east`: use `east_opt()` instead [INFO] [stdout] --> src/time.rs:314:63 [INFO] [stdout] | [INFO] [stdout] 314 | TimezoneInner::Fixed(offset) => Display::fmt(&FixedOffset::east(offset), f), [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/time.rs:378:8 [INFO] [stdout] | [INFO] [stdout] 378 | Utc.ymd( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/time.rs:410:40 [INFO] [stdout] | [INFO] [stdout] 410 | .map(|date| Self::from_chrono(&date.date())) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value.rs:1150:20 [INFO] [stdout] | [INFO] [stdout] 1150 | pub fn as_webpage(&self) -> Result<&Webpage, DowncastError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1150 | pub fn as_webpage(&self) -> Result<&Webpage<'_>, DowncastError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Duration` is never constructed [INFO] [stdout] --> src/time.rs:609:12 [INFO] [stdout] | [INFO] [stdout] 609 | pub struct Duration { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValueRef` is never constructed [INFO] [stdout] --> src/list.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 251 | pub struct ValueRef<'a, T>(ManuallyDrop, &'a ()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.20s [INFO] running `Command { std: "docker" "inspect" "2b718ac7d870d56d3ca6898cf45d1c58b9acf5ca734a79849438f859dfde1d6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b718ac7d870d56d3ca6898cf45d1c58b9acf5ca734a79849438f859dfde1d6d", kill_on_drop: false }` [INFO] [stdout] 2b718ac7d870d56d3ca6898cf45d1c58b9acf5ca734a79849438f859dfde1d6d