[INFO] fetching crate weather_helpers 0.1.3... [INFO] building weather_helpers-0.1.3 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate weather_helpers 0.1.3 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate weather_helpers 0.1.3 [INFO] finished tweaking crates.io crate weather_helpers 0.1.3 [INFO] tweaked toml for crates.io crate weather_helpers 0.1.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate weather_helpers 0.1.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 94 packages to latest compatible versions [INFO] [stderr] Adding fastly v0.9.12 (available: v0.11.6) [INFO] [stderr] Adding time v0.3.23 (available: v0.3.44) [INFO] [stderr] Adding time-core v0.1.1 (available: v0.1.6) [INFO] [stderr] Adding time-macros v0.2.10 (available: v0.2.24) [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] adcf68a3ac5767e6921ea04293d9dbfa2624b35ded34f1acebe3a8a7eb2f7774 [INFO] running `Command { std: "docker" "start" "-a" "adcf68a3ac5767e6921ea04293d9dbfa2624b35ded34f1acebe3a8a7eb2f7774", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "adcf68a3ac5767e6921ea04293d9dbfa2624b35ded34f1acebe3a8a7eb2f7774", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adcf68a3ac5767e6921ea04293d9dbfa2624b35ded34f1acebe3a8a7eb2f7774", kill_on_drop: false }` [INFO] [stdout] adcf68a3ac5767e6921ea04293d9dbfa2624b35ded34f1acebe3a8a7eb2f7774 [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] 377f47456ba9b401de8e1491de9195a378f332dc30cc331aba050791010e557b [INFO] running `Command { std: "docker" "start" "-a" "377f47456ba9b401de8e1491de9195a378f332dc30cc331aba050791010e557b", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling fastly-shared v0.9.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling time-core v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling fastly-sys v0.9.12 [INFO] [stderr] Compiling fastly-macros v0.9.12 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.69 [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 icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling time v0.3.23 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling fastly v0.9.12 [INFO] [stderr] Compiling weather_helpers v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/lib.rs:1:61 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Datelike, Local, NaiveDateTime, Utc, Date, TimeZone}; [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/lib.rs:64:41 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn get_season(location: Geo, local: Date) -> Season { [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/lib.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | let spring_start = Local.ymd(local.year(), 3, 20); [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/lib.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | let summer_start = Local.ymd(local.year(), 6, 21); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/lib.rs:56:32 [INFO] [stdout] | [INFO] [stdout] 56 | let naive = NaiveDateTime::from_timestamp(datetime.parse::().unwrap(), 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/lib.rs:67:30 [INFO] [stdout] | [INFO] [stdout] 67 | let autumn_start = Local.ymd(local.year(), 9, 22); [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/lib.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | let winter_start = Local.ymd(local.year(), 12, 21); [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/lib.rs:57:45 [INFO] [stdout] | [INFO] [stdout] 57 | let datetime: DateTime = DateTime::from_utc(naive, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.40s [INFO] running `Command { std: "docker" "inspect" "377f47456ba9b401de8e1491de9195a378f332dc30cc331aba050791010e557b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "377f47456ba9b401de8e1491de9195a378f332dc30cc331aba050791010e557b", kill_on_drop: false }` [INFO] [stdout] 377f47456ba9b401de8e1491de9195a378f332dc30cc331aba050791010e557b [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] 94f071161d665a97d5bc84d75457c179c4186c9bd02be2cc3ba9ba1d3d43f9d9 [INFO] running `Command { std: "docker" "start" "-a" "94f071161d665a97d5bc84d75457c179c4186c9bd02be2cc3ba9ba1d3d43f9d9", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/lib.rs:1:61 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Datelike, Local, NaiveDateTime, Utc, Date, TimeZone}; [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/lib.rs:64:41 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn get_season(location: Geo, local: Date) -> Season { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling weather_helpers v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/lib.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | let spring_start = Local.ymd(local.year(), 3, 20); [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/lib.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | let summer_start = Local.ymd(local.year(), 6, 21); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/lib.rs:56:32 [INFO] [stdout] | [INFO] [stdout] 56 | let naive = NaiveDateTime::from_timestamp(datetime.parse::().unwrap(), 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/lib.rs:67:30 [INFO] [stdout] | [INFO] [stdout] 67 | let autumn_start = Local.ymd(local.year(), 9, 22); [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/lib.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | let winter_start = Local.ymd(local.year(), 12, 21); [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/lib.rs:57:45 [INFO] [stdout] | [INFO] [stdout] 57 | let datetime: DateTime = DateTime::from_utc(naive, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/lib.rs:1:61 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Datelike, Local, NaiveDateTime, Utc, Date, TimeZone}; [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/lib.rs:64:41 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn get_season(location: Geo, local: Date) -> Season { [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/lib.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | let spring_start = Local.ymd(local.year(), 3, 20); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/lib.rs:56:32 [INFO] [stdout] | [INFO] [stdout] 56 | let naive = NaiveDateTime::from_timestamp(datetime.parse::().unwrap(), 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/lib.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | let summer_start = Local.ymd(local.year(), 6, 21); [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/lib.rs:67:30 [INFO] [stdout] | [INFO] [stdout] 67 | let autumn_start = Local.ymd(local.year(), 9, 22); [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/lib.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | let winter_start = Local.ymd(local.year(), 12, 21); [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/lib.rs:57:45 [INFO] [stdout] | [INFO] [stdout] 57 | let datetime: DateTime = DateTime::from_utc(naive, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "94f071161d665a97d5bc84d75457c179c4186c9bd02be2cc3ba9ba1d3d43f9d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94f071161d665a97d5bc84d75457c179c4186c9bd02be2cc3ba9ba1d3d43f9d9", kill_on_drop: false }` [INFO] [stdout] 94f071161d665a97d5bc84d75457c179c4186c9bd02be2cc3ba9ba1d3d43f9d9