[INFO] fetching crate baseunits-rs 0.1.0... [INFO] testing baseunits-rs-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate baseunits-rs 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate baseunits-rs 0.1.0 [INFO] finished tweaking crates.io crate baseunits-rs 0.1.0 [INFO] tweaked toml for crates.io crate baseunits-rs 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate baseunits-rs 0.1.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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 137 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.6.0) [INFO] [stderr] Adding num v0.3.1 (available: v0.4.3) [INFO] [stderr] Adding num-bigint v0.3.3 (available: v0.4.6) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.41) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded iso-4217 v0.1.0 [INFO] [stderr] Downloaded rust-fp-categories v0.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] ab703e819fa5d91000bd97d7c25f972dd99e867bc36b2891cb25451917864249 [INFO] running `Command { std: "docker" "start" "-a" "ab703e819fa5d91000bd97d7c25f972dd99e867bc36b2891cb25451917864249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab703e819fa5d91000bd97d7c25f972dd99e867bc36b2891cb25451917864249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab703e819fa5d91000bd97d7c25f972dd99e867bc36b2891cb25451917864249", kill_on_drop: false }` [INFO] [stdout] ab703e819fa5d91000bd97d7c25f972dd99e867bc36b2891cb25451917864249 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] b700feb01ff91549918e19669bb3945f5e2123e28b6fed25cd9372c330c78f71 [INFO] running `Command { std: "docker" "start" "-a" "b700feb01ff91549918e19669bb3945f5e2123e28b6fed25cd9372c330c78f71", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling rust-fp-categories v0.0.5 [INFO] [stderr] Compiling iso-4217 v0.1.0 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling baseunits-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/time/calendar_date.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Date, Datelike, DateTime, TimeZone, Utc}; [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/calendar_date.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | impl From> for CalendarDate [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/time/calendar_date.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | fn from(value: Date) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/time/calendar_year_month.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{DateTime, Datelike, Date, TimeZone, Utc, ParseError}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/time/calendar_year_month.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | impl From> for CalendarYearMonth { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/time/calendar_year_month.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | fn from(date: Date) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/time/time_point.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | impl From> for TimePoint [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/time/time_point.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | fn from(date: Date) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/time/time_point.rs:152:32 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn to_date_utc(&self) -> Date { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/time/time_point.rs:156:45 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn to_date(&self, time_zone: T) -> Date [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `once_cell` has been stable since 1.70.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(once_cell)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms_milli`: Use and_hms_milli_opt() instead [INFO] [stdout] --> src/time/calendar_date.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | let dt: DateTime = value.and_hms_milli(0, 0, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/time/calendar_date.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | .ymd( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms_milli`: Use and_hms_milli_opt() instead [INFO] [stdout] --> src/time/calendar_date.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | .and_hms_milli(0, 0, 0, 0) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/time/calendar_date.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | .date() [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `time::Duration` to `chrono::DateTime` [INFO] [stdout] --> src/time/calendar_date.rs:124:39 [INFO] [stdout] | [INFO] [stdout] 124 | let new_date_time = date_time.add(OldDuration::days(days)); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `chrono::DateTime + time::Duration` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Add` is not implemented for `chrono::DateTime` [INFO] [stdout] = help: the following other types implement trait `Add`: [INFO] [stdout] `chrono::DateTime` implements `Add` [INFO] [stdout] `chrono::DateTime` implements `Add` [INFO] [stdout] `chrono::DateTime` implements `Add` [INFO] [stdout] `chrono::DateTime` implements `Add` [INFO] [stdout] `chrono::DateTime` implements `Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `time::Duration` from `chrono::DateTime` [INFO] [stdout] --> src/time/calendar_date.rs:133:39 [INFO] [stdout] | [INFO] [stdout] 133 | let new_date_time = date_time.sub(OldDuration::days(days)); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `chrono::DateTime - time::Duration` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `chrono::DateTime` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] `chrono::DateTime` implements `Sub<&chrono::DateTime>` [INFO] [stdout] `chrono::DateTime` implements `Sub` [INFO] [stdout] `chrono::DateTime` implements `Sub` [INFO] [stdout] `chrono::DateTime` implements `Sub` [INFO] [stdout] `chrono::DateTime` implements `Sub` [INFO] [stdout] `chrono::DateTime` implements `Sub` [INFO] [stdout] `chrono::DateTime` implements `Sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `time::Duration` from `chrono::DateTime` [INFO] [stdout] --> src/time/calendar_date.rs:142:35 [INFO] [stdout] | [INFO] [stdout] 142 | let new_date_time = date_time - OldDuration::days(30 * months); [INFO] [stdout] | ^ no implementation for `chrono::DateTime - time::Duration` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `chrono::DateTime` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] `chrono::DateTime` implements `Sub<&chrono::DateTime>` [INFO] [stdout] `chrono::DateTime` implements `Sub` [INFO] [stdout] `chrono::DateTime` implements `Sub` [INFO] [stdout] `chrono::DateTime` implements `Sub` [INFO] [stdout] `chrono::DateTime` implements `Sub` [INFO] [stdout] `chrono::DateTime` implements `Sub` [INFO] [stdout] `chrono::DateTime` implements `Sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `time::Duration` to `chrono::DateTime` [INFO] [stdout] --> src/time/calendar_date.rs:151:35 [INFO] [stdout] | [INFO] [stdout] 151 | let new_date_time = date_time + OldDuration::days(30 * months); [INFO] [stdout] | ^ no implementation for `chrono::DateTime + time::Duration` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Add` is not implemented for `chrono::DateTime` [INFO] [stdout] = help: the following other types implement trait `Add`: [INFO] [stdout] `chrono::DateTime` implements `Add` [INFO] [stdout] `chrono::DateTime` implements `Add` [INFO] [stdout] `chrono::DateTime` implements `Add` [INFO] [stdout] `chrono::DateTime` implements `Add` [INFO] [stdout] `chrono::DateTime` implements `Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Utc::today`: use `Utc::now()` instead, potentially with `.date_naive()` [INFO] [stdout] --> src/time/month_of_year.rs:119:59 [INFO] [stdout] | [INFO] [stdout] 119 | if self.value == Month::February && is_leap_year(Utc::today().year()) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms_milli`: Use and_hms_milli_opt() instead [INFO] [stdout] --> src/time/time_point.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | TimePoint::new(date.and_hms_milli(0, 0, 0, 0).timestamp_millis()) [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/time_point.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | .ymd(year, month, day) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms_milli`: Use and_hms_milli_opt() instead [INFO] [stdout] --> src/time/time_point.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | .and_hms_milli(hour, minute, second, millisecond) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp_millis`: use `timestamp_millis_opt()` instead [INFO] [stdout] --> src/time/time_point.rs:149:15 [INFO] [stdout] | [INFO] [stdout] 149 | time_zone.timestamp_millis(self.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/time/time_point.rs:160:34 [INFO] [stdout] | [INFO] [stdout] 160 | self.to_date_time(time_zone).date() [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveTime::from_hms_milli`: use `from_hms_milli_opt()` instead [INFO] [stdout] --> src/time/time_point.rs:185:16 [INFO] [stdout] | [INFO] [stdout] 185 | NaiveTime::from_hms_milli( [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/time_point.rs:202:16 [INFO] [stdout] | [INFO] [stdout] 202 | NaiveDate::from_ymd(date.year(), date.month(), date.day()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rust_decimal::prelude::Zero` [INFO] [stdout] --> src/util/ratio.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rust_decimal::prelude::Zero; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `baseunits-rs` (lib) due to 4 previous errors; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b700feb01ff91549918e19669bb3945f5e2123e28b6fed25cd9372c330c78f71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b700feb01ff91549918e19669bb3945f5e2123e28b6fed25cd9372c330c78f71", kill_on_drop: false }` [INFO] [stdout] b700feb01ff91549918e19669bb3945f5e2123e28b6fed25cd9372c330c78f71