[INFO] fetching crate mbta-rs 0.4.0... [INFO] testing mbta-rs-0.4.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate mbta-rs 0.4.0 into /workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mbta-rs 0.4.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 158 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.25.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] [stderr] Adding tiny-skia v0.6.6 (available: v0.11.4) [INFO] [stderr] Adding ureq v2.12.1 (available: v3.0.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded polyline v0.9.0 [INFO] [stderr] Downloaded raster v0.2.0 [INFO] [stderr] Downloaded colors-transform v0.2.11 [INFO] [stderr] Downloaded image v0.10.4 [INFO] [stderr] Downloaded attohttpc v0.27.0 [INFO] [stderr] Downloaded tiny-skia v0.6.6 [INFO] [stderr] Downloaded staticmap v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3746cfb15bb8ee0be0c7e9c0cd4b2499dec31e5e8b3b14de9cb3014c841524be [INFO] running `Command { std: "docker" "start" "-a" "3746cfb15bb8ee0be0c7e9c0cd4b2499dec31e5e8b3b14de9cb3014c841524be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3746cfb15bb8ee0be0c7e9c0cd4b2499dec31e5e8b3b14de9cb3014c841524be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3746cfb15bb8ee0be0c7e9c0cd4b2499dec31e5e8b3b14de9cb3014c841524be", kill_on_drop: false }` [INFO] [stdout] 3746cfb15bb8ee0be0c7e9c0cd4b2499dec31e5e8b3b14de9cb3014c841524be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1d1e5041d87f6971fb6777efb86487995af1a2e895a6a0d1c064014fc45fc557 [INFO] running `Command { std: "docker" "start" "-a" "1d1e5041d87f6971fb6777efb86487995af1a2e895a6a0d1c064014fc45fc557", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling webpki-roots v1.0.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [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 rustls-webpki v0.103.3 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [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 32.75s [INFO] running `Command { std: "docker" "inspect" "1d1e5041d87f6971fb6777efb86487995af1a2e895a6a0d1c064014fc45fc557", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d1e5041d87f6971fb6777efb86487995af1a2e895a6a0d1c064014fc45fc557", kill_on_drop: false }` [INFO] [stdout] 1d1e5041d87f6971fb6777efb86487995af1a2e895a6a0d1c064014fc45fc557 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0da874c66165add4c0bd9afad9d7c4be11b0f87304e2521bb1aa11331bde002a [INFO] running `Command { std: "docker" "start" "-a" "0da874c66165add4c0bd9afad9d7c4be11b0f87304e2521bb1aa11331bde002a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.1.45 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling inflate v0.1.1 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rstest v0.12.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling flate2 v0.2.20 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling png v0.5.2 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling rustls v0.23.28 [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" "0da874c66165add4c0bd9afad9d7c4be11b0f87304e2521bb1aa11331bde002a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0da874c66165add4c0bd9afad9d7c4be11b0f87304e2521bb1aa11331bde002a", kill_on_drop: false }` [INFO] [stdout] 0da874c66165add4c0bd9afad9d7c4be11b0f87304e2521bb1aa11331bde002a