[INFO] fetching crate mbta-rs 0.4.0... [INFO] testing mbta-rs-0.4.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate mbta-rs 0.4.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate mbta-rs 0.4.0 [INFO] finished tweaking crates.io crate mbta-rs 0.4.0 [INFO] tweaked toml for crates.io crate mbta-rs 0.4.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mbta-rs 0.4.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 159 packages to latest compatible versions [INFO] [stderr] Adding polyline v0.9.0 (available: v0.11.0) [INFO] [stderr] Adding rstest v0.12.0 (available: v0.26.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding tiny-skia v0.6.6 (available: v0.11.4) [INFO] [stderr] Adding ureq v2.12.1 (available: v3.1.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a92781162a4ce7123607acff5e5de213531b52b0fb9d093b60ff1b53b76ec5f3 [INFO] running `Command { std: "docker" "start" "-a" "a92781162a4ce7123607acff5e5de213531b52b0fb9d093b60ff1b53b76ec5f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a92781162a4ce7123607acff5e5de213531b52b0fb9d093b60ff1b53b76ec5f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a92781162a4ce7123607acff5e5de213531b52b0fb9d093b60ff1b53b76ec5f3", kill_on_drop: false }` [INFO] [stdout] a92781162a4ce7123607acff5e5de213531b52b0fb9d093b60ff1b53b76ec5f3 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4856c36a7011a3b22e2d1c64ead34b782014b1b6a0abbb3fdf3d4a0a64bd0b3e [INFO] running `Command { std: "docker" "start" "-a" "4856c36a7011a3b22e2d1c64ead34b782014b1b6a0abbb3fdf3d4a0a64bd0b3e", kill_on_drop: false }` [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling webpki-roots v0.26.11 [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 zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling rustls-webpki v0.103.7 [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 serde v1.0.228 [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 idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling ureq v2.12.1 [INFO] [stderr] Compiling mbta-rs v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/datetime.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | use chrono::{Date, DateTime, FixedOffset}; [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/models/datetime.rs:194:44 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn serialize(date: &Date, serializer: S) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/datetime.rs:203:78 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn deserialize<'de, D: Deserializer<'de>>(deserializer: D) -> Result, D::Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/datetime.rs:263:18 [INFO] [stdout] | [INFO] [stdout] 263 | use chrono::{Date, DateTime, FixedOffset}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/datetime.rs:274:39 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn serialize(date: &Option>, serializer: S) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/datetime.rs:289:66 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn deserialize<'de, D>(deserializer: D) -> Result>, D::Error> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/datetime.rs:359:18 [INFO] [stdout] | [INFO] [stdout] 359 | use chrono::{Date, DateTime, FixedOffset}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/datetime.rs:370:34 [INFO] [stdout] | [INFO] [stdout] 370 | pub fn serialize(dates: &[Date], serializer: S) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/datetime.rs:382:63 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn deserialize<'de, D>(deserializer: D) -> Result>, D::Error> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/service.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{Date, FixedOffset}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/service.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | pub start_date: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/service.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | pub removed_dates: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/service.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | pub rating_start_date: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/service.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 38 | pub rating_end_date: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/service.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | pub end_date: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/service.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | pub added_dates: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/models/datetime.rs:205:67 [INFO] [stdout] | [INFO] [stdout] 205 | DateTime::parse_from_str(&s, DATETIME_FORMAT).map(|dt| dt.date()).map_err(serde::de::Error::custom) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/models/datetime.rs:297:34 [INFO] [stdout] | [INFO] [stdout] 297 | .map(|dt| dt.date()) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/models/datetime.rs:391:34 [INFO] [stdout] | [INFO] [stdout] 391 | .map(|dt| dt.date()) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.42s [INFO] running `Command { std: "docker" "inspect" "4856c36a7011a3b22e2d1c64ead34b782014b1b6a0abbb3fdf3d4a0a64bd0b3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4856c36a7011a3b22e2d1c64ead34b782014b1b6a0abbb3fdf3d4a0a64bd0b3e", kill_on_drop: false }` [INFO] [stdout] 4856c36a7011a3b22e2d1c64ead34b782014b1b6a0abbb3fdf3d4a0a64bd0b3e [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5ebe1a2592342f8b7241ddcd4ea156d3df201eaf45f16b9e2a6122a890d95ea [INFO] running `Command { std: "docker" "start" "-a" "e5ebe1a2592342f8b7241ddcd4ea156d3df201eaf45f16b9e2a6122a890d95ea", kill_on_drop: false }` [INFO] [stderr] Compiling num-bigint v0.1.45 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling rstest v0.12.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling inflate v0.1.1 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling flate2 v0.2.20 [INFO] [stderr] Compiling png v0.5.2 [INFO] [stderr] Compiling rustls-webpki v0.103.7 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling image v0.10.4 [INFO] [stderr] Compiling raster v0.2.0 [INFO] [stderr] Compiling ureq v2.12.1 [INFO] [stderr] Compiling mbta-rs v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/datetime.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | use chrono::{Date, DateTime, FixedOffset}; [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/models/datetime.rs:194:44 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn serialize(date: &Date, serializer: S) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/datetime.rs:203:78 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn deserialize<'de, D: Deserializer<'de>>(deserializer: D) -> Result, D::Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/datetime.rs:263:18 [INFO] [stdout] | [INFO] [stdout] 263 | use chrono::{Date, DateTime, FixedOffset}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/datetime.rs:274:39 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn serialize(date: &Option>, serializer: S) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/datetime.rs:289:66 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn deserialize<'de, D>(deserializer: D) -> Result>, D::Error> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/datetime.rs:359:18 [INFO] [stdout] | [INFO] [stdout] 359 | use chrono::{Date, DateTime, FixedOffset}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/datetime.rs:370:34 [INFO] [stdout] | [INFO] [stdout] 370 | pub fn serialize(dates: &[Date], serializer: S) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/datetime.rs:382:63 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn deserialize<'de, D>(deserializer: D) -> Result>, D::Error> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/service.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{Date, FixedOffset}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/service.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | pub start_date: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/service.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | pub removed_dates: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/service.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | pub rating_start_date: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/service.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 38 | pub rating_end_date: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/service.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | pub end_date: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/service.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | pub added_dates: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/models/datetime.rs:205:67 [INFO] [stdout] | [INFO] [stdout] 205 | DateTime::parse_from_str(&s, DATETIME_FORMAT).map(|dt| dt.date()).map_err(serde::de::Error::custom) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/models/datetime.rs:297:34 [INFO] [stdout] | [INFO] [stdout] 297 | .map(|dt| dt.date()) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/models/datetime.rs:391:34 [INFO] [stdout] | [INFO] [stdout] 391 | .map(|dt| dt.date()) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/datetime.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | use chrono::{Date, DateTime, FixedOffset}; [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/models/datetime.rs:194:44 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn serialize(date: &Date, serializer: S) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/datetime.rs:203:78 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn deserialize<'de, D: Deserializer<'de>>(deserializer: D) -> Result, D::Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/datetime.rs:212:22 [INFO] [stdout] | [INFO] [stdout] 212 | use chrono::{Date, DateTime, FixedOffset}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/datetime.rs:226:79 [INFO] [stdout] | [INFO] [stdout] 226 | fn test_serialize(mut serializer: Serializer>, #[case] input: Date, #[case] expected: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/datetime.rs:248:68 [INFO] [stdout] | [INFO] [stdout] 248 | fn test_deserialize(#[case] input: &str, #[case] expected: Date) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/datetime.rs:263:18 [INFO] [stdout] | [INFO] [stdout] 263 | use chrono::{Date, DateTime, FixedOffset}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/datetime.rs:274:39 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn serialize(date: &Option>, serializer: S) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/datetime.rs:289:66 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn deserialize<'de, D>(deserializer: D) -> Result>, D::Error> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/datetime.rs:309:22 [INFO] [stdout] | [INFO] [stdout] 309 | use chrono::{Date, DateTime, FixedOffset}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/datetime.rs:324:86 [INFO] [stdout] | [INFO] [stdout] 324 | fn test_serialize(mut serializer: Serializer>, #[case] input: Option>, #[case] expected: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/datetime.rs:344:75 [INFO] [stdout] | [INFO] [stdout] 344 | fn test_deserialize(#[case] input: &str, #[case] expected: Option>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/datetime.rs:359:18 [INFO] [stdout] | [INFO] [stdout] 359 | use chrono::{Date, DateTime, FixedOffset}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/datetime.rs:370:34 [INFO] [stdout] | [INFO] [stdout] 370 | pub fn serialize(dates: &[Date], serializer: S) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/datetime.rs:382:63 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn deserialize<'de, D>(deserializer: D) -> Result>, D::Error> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/datetime.rs:402:22 [INFO] [stdout] | [INFO] [stdout] 402 | use chrono::{Date, DateTime, FixedOffset}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/datetime.rs:417:83 [INFO] [stdout] | [INFO] [stdout] 417 | fn test_serialize(mut serializer: Serializer>, #[case] input: Vec>, #[case] expected: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/datetime.rs:437:72 [INFO] [stdout] | [INFO] [stdout] 437 | fn test_deserialize(#[case] input: &str, #[case] expected: Vec>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/service.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{Date, FixedOffset}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/service.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | pub start_date: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/service.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | pub removed_dates: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/service.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | pub rating_start_date: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/service.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 38 | pub rating_end_date: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/service.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | pub end_date: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/models/service.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | pub added_dates: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/models/datetime.rs:205:67 [INFO] [stdout] | [INFO] [stdout] 205 | DateTime::parse_from_str(&s, DATETIME_FORMAT).map(|dt| dt.date()).map_err(serde::de::Error::custom) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/models/datetime.rs:223:103 [INFO] [stdout] | [INFO] [stdout] 223 | DateTime::parse_from_str("2022-05-08T13:18:08-04:00", "%FT%T%:z").expect("invalid input").date(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/models/datetime.rs:241:103 [INFO] [stdout] | [INFO] [stdout] 241 | DateTime::parse_from_str("2022-05-08T13:18:08-04:00", "%FT%T%:z").expect("invalid input").date(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/models/datetime.rs:246:103 [INFO] [stdout] | [INFO] [stdout] 246 | DateTime::parse_from_str("2022-05-08T13:18:08-04:00", "%FT%T%:z").expect("invalid input").date(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/models/datetime.rs:297:34 [INFO] [stdout] | [INFO] [stdout] 297 | .map(|dt| dt.date()) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/models/datetime.rs:320:108 [INFO] [stdout] | [INFO] [stdout] 320 | Some(DateTime::parse_from_str("2022-05-08T13:18:08-04:00", "%FT%T%:z").expect("invalid input").date()), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/models/datetime.rs:339:108 [INFO] [stdout] | [INFO] [stdout] 339 | Some(DateTime::parse_from_str("2022-05-08T13:18:08-04:00", "%FT%T%:z").expect("invalid input").date()), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/models/datetime.rs:391:34 [INFO] [stdout] | [INFO] [stdout] 391 | .map(|dt| dt.date()) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/models/datetime.rs:413:108 [INFO] [stdout] | [INFO] [stdout] 413 | vec![DateTime::parse_from_str("2022-05-08T13:18:08-04:00", "%FT%T%:z").expect("invalid input").date()], [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/models/datetime.rs:432:108 [INFO] [stdout] | [INFO] [stdout] 432 | vec![DateTime::parse_from_str("2022-05-08T13:18:08-04:00", "%FT%T%:z").expect("invalid input").date()], [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mbta_rs::map` [INFO] [stdout] --> tests/map.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use mbta_rs::{map::*, *}; [INFO] [stdout] | ^^^ could not find `map` in `mbta_rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `staticmap` [INFO] [stdout] --> tests/map.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use staticmap::*; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `staticmap` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `staticmap`, use `cargo add staticmap` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `plot` found for struct `Resource` in the current scope [INFO] [stdout] --> tests/map.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 47 | / shape [INFO] [stdout] 48 | | .plot(&mut map, true, PlotStyle::new((route.attributes.color.clone(), 3.0), Some(("#FFFFFF".into(), 1.0)))) [INFO] [stdout] | | -^^^^ method not found in `Resource` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `plot` found for struct `Resource` in the current scope [INFO] [stdout] --> tests/map.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | stop.plot(&mut map, true, PlotStyle::new((route.attributes.color.clone(), 3.0), Some(("#FFFFFF".into(), 1.0)))) [INFO] [stdout] | ^^^^ method not found in `Resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `plot` found for struct `Resource` in the current scope [INFO] [stdout] --> tests/map.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 58 | / vehicle [INFO] [stdout] 59 | | .plot(&mut map, true, IconStyle::new(image_file("train.png"), 12.5, 12.5)) [INFO] [stdout] | | -^^^^ method not found in `Resource` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mbta-rs` (test "map") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e5ebe1a2592342f8b7241ddcd4ea156d3df201eaf45f16b9e2a6122a890d95ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5ebe1a2592342f8b7241ddcd4ea156d3df201eaf45f16b9e2a6122a890d95ea", kill_on_drop: false }` [INFO] [stdout] e5ebe1a2592342f8b7241ddcd4ea156d3df201eaf45f16b9e2a6122a890d95ea