[INFO] fetching crate prayers 0.2.2... [INFO] testing prayers-0.2.2 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate prayers 0.2.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate prayers 0.2.2 [INFO] finished tweaking crates.io crate prayers 0.2.2 [INFO] tweaked toml for crates.io crate prayers 0.2.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate prayers 0.2.2 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 32 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7f7472d6ac5a814dc66a2988ba0f49074a9edcc3190d088e9d3fdd72c5a102d [INFO] running `Command { std: "docker" "start" "-a" "c7f7472d6ac5a814dc66a2988ba0f49074a9edcc3190d088e9d3fdd72c5a102d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7f7472d6ac5a814dc66a2988ba0f49074a9edcc3190d088e9d3fdd72c5a102d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7f7472d6ac5a814dc66a2988ba0f49074a9edcc3190d088e9d3fdd72c5a102d", kill_on_drop: false }` [INFO] [stdout] c7f7472d6ac5a814dc66a2988ba0f49074a9edcc3190d088e9d3fdd72c5a102d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d439adb2bcda94d517bd7c1d48357cff931f8f8ee8f9a6e6af6fda38aeecbe4 [INFO] running `Command { std: "docker" "start" "-a" "1d439adb2bcda94d517bd7c1d48357cff931f8f8ee8f9a6e6af6fda38aeecbe4", kill_on_drop: false }` [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling prayers v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/lib.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | pub use chrono::{Date, DateTime, Datelike, TimeZone, Timelike, 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/astronomy.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{Date, Datelike, Utc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/astronomy.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_julian_day(date: &Date) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/prayer.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{Date, Utc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/prayer.rs:253:32 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn get_times(&self, date: Date, coords: Coordinates) -> PrayerTimes { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.93s [INFO] running `Command { std: "docker" "inspect" "1d439adb2bcda94d517bd7c1d48357cff931f8f8ee8f9a6e6af6fda38aeecbe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d439adb2bcda94d517bd7c1d48357cff931f8f8ee8f9a6e6af6fda38aeecbe4", kill_on_drop: false }` [INFO] [stdout] 1d439adb2bcda94d517bd7c1d48357cff931f8f8ee8f9a6e6af6fda38aeecbe4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f4b2302d9b984efcb0c0940d4a8ebb13fe9867e375e3373a9ece1404e1ec104 [INFO] running `Command { std: "docker" "start" "-a" "1f4b2302d9b984efcb0c0940d4a8ebb13fe9867e375e3373a9ece1404e1ec104", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/lib.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | pub use chrono::{Date, DateTime, Datelike, TimeZone, Timelike, 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/astronomy.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{Date, Datelike, Utc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/astronomy.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_julian_day(date: &Date) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/prayer.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{Date, Utc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/prayer.rs:253:32 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn get_times(&self, date: Date, coords: Coordinates) -> PrayerTimes { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling prayers v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/lib.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | pub use chrono::{Date, DateTime, Datelike, TimeZone, Timelike, 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/astronomy.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{Date, Datelike, Utc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/astronomy.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_julian_day(date: &Date) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/prayer.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{Date, Utc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/prayer.rs:253:32 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn get_times(&self, date: Date, coords: Coordinates) -> PrayerTimes { [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:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | let a_date = Utc.ymd(2021, 4, 12); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.57s [INFO] running `Command { std: "docker" "inspect" "1f4b2302d9b984efcb0c0940d4a8ebb13fe9867e375e3373a9ece1404e1ec104", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f4b2302d9b984efcb0c0940d4a8ebb13fe9867e375e3373a9ece1404e1ec104", kill_on_drop: false }` [INFO] [stdout] 1f4b2302d9b984efcb0c0940d4a8ebb13fe9867e375e3373a9ece1404e1ec104 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 34f446f478898818e7cf544ba3d5e72237ee07eba59d4e8a72171d4a0560325b [INFO] running `Command { std: "docker" "start" "-a" "34f446f478898818e7cf544ba3d5e72237ee07eba59d4e8a72171d4a0560325b", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stderr] --> src/lib.rs:6:18 [INFO] [stderr] | [INFO] [stderr] 6 | pub use chrono::{Date, DateTime, Datelike, TimeZone, Timelike, Utc}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stderr] --> src/astronomy.rs:2:14 [INFO] [stderr] | [INFO] [stderr] 2 | use chrono::{Date, Datelike, Utc}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stderr] --> src/astronomy.rs:16:30 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn get_julian_day(date: &Date) -> f64 { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stderr] --> src/prayer.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | use chrono::{Date, Utc}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stderr] --> src/prayer.rs:253:32 [INFO] [stderr] | [INFO] [stderr] 253 | pub fn get_times(&self, date: Date, coords: Coordinates) -> PrayerTimes { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stderr] --> src/lib.rs:21:20 [INFO] [stderr] | [INFO] [stderr] 21 | let a_date = Utc.ymd(2021, 4, 12); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `prayers` (lib) generated 5 warnings [INFO] [stderr] warning: `prayers` (lib test) generated 6 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/prayers-4eb3d88f2087ca47) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::compute_prayer_times ... ok [INFO] [stderr] Doc-tests prayers [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/prayer.rs - prayer::CalculationMethods::Custom (line 110) ... ok [INFO] [stdout] test src/prayer.rs - prayer::PrayerManager (line 186) ... ok [INFO] [stdout] test src/prayer.rs - prayer::CalculationMethods::Makkah (line 92) ... ok [INFO] [stdout] test src/prayer.rs - prayer::PrayerManager::get_times (line 244) ... ok [INFO] [stdout] test src/astronomy.rs - astronomy::Coordinates (line 7) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.62s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "34f446f478898818e7cf544ba3d5e72237ee07eba59d4e8a72171d4a0560325b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34f446f478898818e7cf544ba3d5e72237ee07eba59d4e8a72171d4a0560325b", kill_on_drop: false }` [INFO] [stdout] 34f446f478898818e7cf544ba3d5e72237ee07eba59d4e8a72171d4a0560325b