[INFO] fetching crate salah 0.4.2... [INFO] checking salah-0.4.2 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate salah 0.4.2 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate salah 0.4.2 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate salah 0.4.2 [INFO] finished tweaking crates.io crate salah 0.4.2 [INFO] tweaked toml for crates.io crate salah 0.4.2 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab4c91aeaf2e9ce18e3a29ce10b0d5f874418e3261b769625ce50a53e506ad4a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ab4c91aeaf2e9ce18e3a29ce10b0d5f874418e3261b769625ce50a53e506ad4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab4c91aeaf2e9ce18e3a29ce10b0d5f874418e3261b769625ce50a53e506ad4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab4c91aeaf2e9ce18e3a29ce10b0d5f874418e3261b769625ce50a53e506ad4a", kill_on_drop: false }` [INFO] [stdout] ab4c91aeaf2e9ce18e3a29ce10b0d5f874418e3261b769625ce50a53e506ad4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4a2f1e0d894c9ab15bf744ec2b7b7422e46cd094d8795db039d734fa50b662c5 [INFO] running `Command { std: "docker" "start" "-a" "4a2f1e0d894c9ab15bf744ec2b7b7422e46cd094d8795db039d734fa50b662c5", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking salah v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Timelike` [INFO] [stdout] --> src/astronomy/ops.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{DateTime, Duration, Timelike, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/astronomy/ops.rs:332:12 [INFO] [stdout] | [INFO] [stdout] 332 | 0.0...90.0 => a + (b - a) / 91.0 * dyy, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/astronomy/ops.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | 91.0...136.0 => b + (c - b) / 46.0 * (dyy - 91.0), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/astronomy/ops.rs:334:14 [INFO] [stdout] | [INFO] [stdout] 334 | 137.0...182.0 => c + (d - c) / 46.0 * (dyy - 137.0), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/astronomy/ops.rs:335:14 [INFO] [stdout] | [INFO] [stdout] 335 | 183.0...228.0 => d + (c - d) / 46.0 * (dyy - 183.0), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/astronomy/ops.rs:336:14 [INFO] [stdout] | [INFO] [stdout] 336 | 229.0...274.0 => c + (b - c) / 46.0 * (dyy - 229.0), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/astronomy/ops.rs:361:12 [INFO] [stdout] | [INFO] [stdout] 361 | 0.0...90.0 => a + (b - a) / 91.0 * dyy, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/astronomy/ops.rs:362:13 [INFO] [stdout] | [INFO] [stdout] 362 | 91.0...136.0 => b + (c - b) / 46.0 * (dyy - 91.0), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/astronomy/ops.rs:363:14 [INFO] [stdout] | [INFO] [stdout] 363 | 137.0...182.0 => c + (d - c) / 46.0 * (dyy - 137.0), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/astronomy/ops.rs:364:14 [INFO] [stdout] | [INFO] [stdout] 364 | 183.0...228.0 => d + (c - d) / 46.0 * (dyy - 183.0), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/astronomy/ops.rs:365:14 [INFO] [stdout] | [INFO] [stdout] 365 | 229.0...274.0 => c + (b - c) / 46.0 * (dyy - 229.0), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Local`, `NaiveDateTime`, `Timelike` [INFO] [stdout] --> src/astronomy/solar.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{DateTime, Datelike, Local, NaiveDateTime, TimeZone, Timelike, Utc}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Utc` [INFO] [stdout] --> src/astronomy/unit.rs:11:64 [INFO] [stdout] | [INFO] [stdout] 11 | use chrono::{DateTime, Datelike, Duration, TimeZone, Timelike, Utc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeAdjustment` [INFO] [stdout] --> src/models/method.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use super::adjustments::{Adjustment, TimeAdjustment}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Adjustment` [INFO] [stdout] --> src/models/parameters.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use super::adjustments::{Adjustment, TimeAdjustment}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/models/prayer.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{DateTime, Datelike, Utc, Weekday}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Local`, `NaiveDateTime`, `TimeZone`, `Timelike` [INFO] [stdout] --> src/schedule.rs:12:50 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::{Date, DateTime, Datelike, Duration, Local, NaiveDateTime, TimeZone, Timelike, Utc}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Configuration` [INFO] [stdout] --> src/schedule.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::models::parameters::{Configuration, Parameters}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking num v0.1.42 [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | 0.0...90.0 => a + (b - a) / 91.0 * dyy, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:332:15 [INFO] [stdout] | [INFO] [stdout] 332 | 0.0...90.0 => a + (b - a) / 91.0 * dyy, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | 91.0...136.0 => b + (c - b) / 46.0 * (dyy - 91.0), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:333:16 [INFO] [stdout] | [INFO] [stdout] 333 | 91.0...136.0 => b + (c - b) / 46.0 * (dyy - 91.0), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | 137.0...182.0 => c + (d - c) / 46.0 * (dyy - 137.0), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:334:17 [INFO] [stdout] | [INFO] [stdout] 334 | 137.0...182.0 => c + (d - c) / 46.0 * (dyy - 137.0), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | 183.0...228.0 => d + (c - d) / 46.0 * (dyy - 183.0), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:335:17 [INFO] [stdout] | [INFO] [stdout] 335 | 183.0...228.0 => d + (c - d) / 46.0 * (dyy - 183.0), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | 229.0...274.0 => c + (b - c) / 46.0 * (dyy - 229.0), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:336:17 [INFO] [stdout] | [INFO] [stdout] 336 | 229.0...274.0 => c + (b - c) / 46.0 * (dyy - 229.0), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:361:9 [INFO] [stdout] | [INFO] [stdout] 361 | 0.0...90.0 => a + (b - a) / 91.0 * dyy, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:361:15 [INFO] [stdout] | [INFO] [stdout] 361 | 0.0...90.0 => a + (b - a) / 91.0 * dyy, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | 91.0...136.0 => b + (c - b) / 46.0 * (dyy - 91.0), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:362:16 [INFO] [stdout] | [INFO] [stdout] 362 | 91.0...136.0 => b + (c - b) / 46.0 * (dyy - 91.0), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | 137.0...182.0 => c + (d - c) / 46.0 * (dyy - 137.0), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:363:17 [INFO] [stdout] | [INFO] [stdout] 363 | 137.0...182.0 => c + (d - c) / 46.0 * (dyy - 137.0), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364 | 183.0...228.0 => d + (c - d) / 46.0 * (dyy - 183.0), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:364:17 [INFO] [stdout] | [INFO] [stdout] 364 | 183.0...228.0 => d + (c - d) / 46.0 * (dyy - 183.0), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | 229.0...274.0 => c + (b - c) / 46.0 * (dyy - 229.0), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:365:17 [INFO] [stdout] | [INFO] [stdout] 365 | 229.0...274.0 => c + (b - c) / 46.0 * (dyy - 229.0), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `days_since_solstice` is never read [INFO] [stdout] --> src/astronomy/ops.rs:380:9 [INFO] [stdout] | [INFO] [stdout] 380 | let mut days_since_solstice = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | 0.0...90.0 => a + (b - a) / 91.0 * dyy, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Qiblah` [INFO] [stdout] --> src/astronomy/qiblah.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Qiblah(f64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/astronomy/qiblah.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(location_coordinates: Coordinates) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/astronomy/ops.rs:396:12 [INFO] [stdout] | [INFO] [stdout] 396 | if days_since_solstice < 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking spectral v0.6.0 [INFO] [stdout] warning: unused import: `Timelike` [INFO] [stdout] --> src/astronomy/ops.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{DateTime, Duration, Timelike, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/astronomy/ops.rs:332:12 [INFO] [stdout] | [INFO] [stdout] 332 | 0.0...90.0 => a + (b - a) / 91.0 * dyy, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/astronomy/ops.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | 91.0...136.0 => b + (c - b) / 46.0 * (dyy - 91.0), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/astronomy/ops.rs:334:14 [INFO] [stdout] | [INFO] [stdout] 334 | 137.0...182.0 => c + (d - c) / 46.0 * (dyy - 137.0), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/astronomy/ops.rs:335:14 [INFO] [stdout] | [INFO] [stdout] 335 | 183.0...228.0 => d + (c - d) / 46.0 * (dyy - 183.0), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/astronomy/ops.rs:336:14 [INFO] [stdout] | [INFO] [stdout] 336 | 229.0...274.0 => c + (b - c) / 46.0 * (dyy - 229.0), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/astronomy/ops.rs:361:12 [INFO] [stdout] | [INFO] [stdout] 361 | 0.0...90.0 => a + (b - a) / 91.0 * dyy, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/astronomy/ops.rs:362:13 [INFO] [stdout] | [INFO] [stdout] 362 | 91.0...136.0 => b + (c - b) / 46.0 * (dyy - 91.0), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/astronomy/ops.rs:363:14 [INFO] [stdout] | [INFO] [stdout] 363 | 137.0...182.0 => c + (d - c) / 46.0 * (dyy - 137.0), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/astronomy/ops.rs:364:14 [INFO] [stdout] | [INFO] [stdout] 364 | 183.0...228.0 => d + (c - d) / 46.0 * (dyy - 183.0), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/astronomy/ops.rs:365:14 [INFO] [stdout] | [INFO] [stdout] 365 | 229.0...274.0 => c + (b - c) / 46.0 * (dyy - 229.0), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Local`, `NaiveDateTime`, `Timelike` [INFO] [stdout] --> src/astronomy/solar.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{DateTime, Datelike, Local, NaiveDateTime, TimeZone, Timelike, Utc}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `NaiveDateTime`, `Timelike` [INFO] [stdout] --> src/astronomy/solar.rs:231:18 [INFO] [stdout] | [INFO] [stdout] 231 | use chrono::{DateTime, Datelike, Local, NaiveDateTime, TimeZone, Timelike, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeAdjustment` [INFO] [stdout] --> src/models/method.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use super::adjustments::{Adjustment, TimeAdjustment}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Adjustment` [INFO] [stdout] --> src/models/parameters.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use super::adjustments::{Adjustment, TimeAdjustment}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/models/prayer.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{DateTime, Datelike, Utc, Weekday}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Local`, `NaiveDateTime`, `Timelike` [INFO] [stdout] --> src/schedule.rs:12:50 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::{Date, DateTime, Datelike, Duration, Local, NaiveDateTime, TimeZone, Timelike, Utc}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | 0.0...90.0 => a + (b - a) / 91.0 * dyy, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:332:15 [INFO] [stdout] | [INFO] [stdout] 332 | 0.0...90.0 => a + (b - a) / 91.0 * dyy, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | 91.0...136.0 => b + (c - b) / 46.0 * (dyy - 91.0), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:333:16 [INFO] [stdout] | [INFO] [stdout] 333 | 91.0...136.0 => b + (c - b) / 46.0 * (dyy - 91.0), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | 137.0...182.0 => c + (d - c) / 46.0 * (dyy - 137.0), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:334:17 [INFO] [stdout] | [INFO] [stdout] 334 | 137.0...182.0 => c + (d - c) / 46.0 * (dyy - 137.0), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | 183.0...228.0 => d + (c - d) / 46.0 * (dyy - 183.0), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:335:17 [INFO] [stdout] | [INFO] [stdout] 335 | 183.0...228.0 => d + (c - d) / 46.0 * (dyy - 183.0), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | 229.0...274.0 => c + (b - c) / 46.0 * (dyy - 229.0), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:336:17 [INFO] [stdout] | [INFO] [stdout] 336 | 229.0...274.0 => c + (b - c) / 46.0 * (dyy - 229.0), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:361:9 [INFO] [stdout] | [INFO] [stdout] 361 | 0.0...90.0 => a + (b - a) / 91.0 * dyy, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:361:15 [INFO] [stdout] | [INFO] [stdout] 361 | 0.0...90.0 => a + (b - a) / 91.0 * dyy, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | 91.0...136.0 => b + (c - b) / 46.0 * (dyy - 91.0), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:362:16 [INFO] [stdout] | [INFO] [stdout] 362 | 91.0...136.0 => b + (c - b) / 46.0 * (dyy - 91.0), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | 137.0...182.0 => c + (d - c) / 46.0 * (dyy - 137.0), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:363:17 [INFO] [stdout] | [INFO] [stdout] 363 | 137.0...182.0 => c + (d - c) / 46.0 * (dyy - 137.0), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364 | 183.0...228.0 => d + (c - d) / 46.0 * (dyy - 183.0), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:364:17 [INFO] [stdout] | [INFO] [stdout] 364 | 183.0...228.0 => d + (c - d) / 46.0 * (dyy - 183.0), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | 229.0...274.0 => c + (b - c) / 46.0 * (dyy - 229.0), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:365:17 [INFO] [stdout] | [INFO] [stdout] 365 | 229.0...274.0 => c + (b - c) / 46.0 * (dyy - 229.0), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `days_since_solstice` is never read [INFO] [stdout] --> src/astronomy/ops.rs:380:9 [INFO] [stdout] | [INFO] [stdout] 380 | let mut days_since_solstice = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transit_time` [INFO] [stdout] --> src/astronomy/solar.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | let transit_time = ops::corrected_transit( [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transit_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/schedule.rs:489:17 [INFO] [stdout] | [INFO] [stdout] 489 | Err(err) => assert!(false), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/schedule.rs:544:17 [INFO] [stdout] | [INFO] [stdout] 544 | Err(err) => assert!(false), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/astronomy/ops.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | 0.0...90.0 => a + (b - a) / 91.0 * dyy, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/astronomy/ops.rs:396:12 [INFO] [stdout] | [INFO] [stdout] 396 | if days_since_solstice < 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.97s [INFO] running `Command { std: "docker" "inspect" "4a2f1e0d894c9ab15bf744ec2b7b7422e46cd094d8795db039d734fa50b662c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a2f1e0d894c9ab15bf744ec2b7b7422e46cd094d8795db039d734fa50b662c5", kill_on_drop: false }` [INFO] [stdout] 4a2f1e0d894c9ab15bf744ec2b7b7422e46cd094d8795db039d734fa50b662c5