[INFO] fetching crate astral 0.3.1... [INFO] testing astral-0.3.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate astral 0.3.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate astral 0.3.1 [INFO] finished tweaking crates.io crate astral 0.3.1 [INFO] tweaked toml for crates.io crate astral 0.3.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate astral 0.3.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 42 packages to latest compatible versions [INFO] [stderr] Adding vsop87 v2.1.0 (available: v3.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded assert_approx_eq v1.1.0 [INFO] [stderr] Downloaded astro v2.0.0 [INFO] [stderr] Downloaded vsop87 v2.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f438077061c139898602e6220ac81660033adabf49511fd4cbdc5a8e531be3c [INFO] running `Command { std: "docker" "start" "-a" "7f438077061c139898602e6220ac81660033adabf49511fd4cbdc5a8e531be3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f438077061c139898602e6220ac81660033adabf49511fd4cbdc5a8e531be3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f438077061c139898602e6220ac81660033adabf49511fd4cbdc5a8e531be3c", kill_on_drop: false }` [INFO] [stdout] 7f438077061c139898602e6220ac81660033adabf49511fd4cbdc5a8e531be3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b103633ec511ac7f9de493b78b79ea35f6bbc12d5450b1183ded33376bcee0af [INFO] running `Command { std: "docker" "start" "-a" "b103633ec511ac7f9de493b78b79ea35f6bbc12d5450b1183ded33376bcee0af", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling astro v2.0.0 [INFO] [stderr] Compiling assert_approx_eq v1.1.0 [INFO] [stderr] Compiling vsop87 v2.1.0 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling astral v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/moon.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | 0...03 => "new", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/moon.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | 02...20 => "waxing crescent", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/moon.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | 20...30 => "first quarter", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/moon.rs:68:11 [INFO] [stdout] | [INFO] [stdout] 68 | 30...47 => "waxing gibbous", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/moon.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | 47...53 => "full", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/moon.rs:70:11 [INFO] [stdout] | [INFO] [stdout] 70 | 53...70 => "waning gibbous", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/moon.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | 70...85 => "last quarter", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/moon.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | 85...99 => "waning crescent", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/util.rs:64:37 [INFO] [stdout] | [INFO] [stdout] 64 | ra = if ra >= 0.0 { ra } else { (2.0 * PI + ra) }; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 64 - ra = if ra >= 0.0 { ra } else { (2.0 * PI + ra) }; [INFO] [stdout] 64 + ra = if ra >= 0.0 { ra } else { 2.0 * PI + ra }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/util.rs:76:37 [INFO] [stdout] | [INFO] [stdout] 76 | ra = if ra >= 0.0 { ra } else { (2.0 * PI + ra) }; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - ra = if ra >= 0.0 { ra } else { (2.0 * PI + ra) }; [INFO] [stdout] 76 + ra = if ra >= 0.0 { ra } else { 2.0 * PI + ra }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `use_extern_macros` has been stable since 1.30.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(use_extern_macros)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/util.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | return NaiveDateTime::from_timestamp(millis, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/moon.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 66 | 02...20 => "waxing crescent", [INFO] [stdout] | ------- this range overlaps on `20_i32`... [INFO] [stdout] 67 | 20...30 => "first quarter", [INFO] [stdout] | ^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] = note: `#[warn(overlapping_range_endpoints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/moon.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | 20...30 => "first quarter", [INFO] [stdout] | ------- this range overlaps on `30_i32`... [INFO] [stdout] 68 | 30...47 => "waxing gibbous", [INFO] [stdout] | ^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/moon.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 68 | 30...47 => "waxing gibbous", [INFO] [stdout] | ------- this range overlaps on `47_i32`... [INFO] [stdout] 69 | 47...53 => "full", [INFO] [stdout] | ^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/moon.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | 47...53 => "full", [INFO] [stdout] | ------- this range overlaps on `53_i32`... [INFO] [stdout] 70 | 53...70 => "waning gibbous", [INFO] [stdout] | ^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/moon.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 70 | 53...70 => "waning gibbous", [INFO] [stdout] | ------- this range overlaps on `70_i32`... [INFO] [stdout] 71 | 70...85 => "last quarter", [INFO] [stdout] | ^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/moon.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 71 | 70...85 => "last quarter", [INFO] [stdout] | ------- this range overlaps on `85_i32`... [INFO] [stdout] 72 | 85...99 => "waning crescent", [INFO] [stdout] | ^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.60s [INFO] running `Command { std: "docker" "inspect" "b103633ec511ac7f9de493b78b79ea35f6bbc12d5450b1183ded33376bcee0af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b103633ec511ac7f9de493b78b79ea35f6bbc12d5450b1183ded33376bcee0af", kill_on_drop: false }` [INFO] [stdout] b103633ec511ac7f9de493b78b79ea35f6bbc12d5450b1183ded33376bcee0af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce7be9fd4415524ee068f662e2e305e4ad0ad2efa4d1c58cb49b1b545683db64 [INFO] running `Command { std: "docker" "start" "-a" "ce7be9fd4415524ee068f662e2e305e4ad0ad2efa4d1c58cb49b1b545683db64", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/moon.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | 0...03 => "new", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/moon.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | 02...20 => "waxing crescent", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/moon.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | 20...30 => "first quarter", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/moon.rs:68:11 [INFO] [stdout] | [INFO] [stdout] 68 | 30...47 => "waxing gibbous", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/moon.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | 47...53 => "full", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/moon.rs:70:11 [INFO] [stdout] | [INFO] [stdout] 70 | 53...70 => "waning gibbous", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/moon.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | 70...85 => "last quarter", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/moon.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | 85...99 => "waning crescent", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/util.rs:64:37 [INFO] [stdout] | [INFO] [stdout] 64 | ra = if ra >= 0.0 { ra } else { (2.0 * PI + ra) }; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 64 - ra = if ra >= 0.0 { ra } else { (2.0 * PI + ra) }; [INFO] [stdout] 64 + ra = if ra >= 0.0 { ra } else { 2.0 * PI + ra }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/util.rs:76:37 [INFO] [stdout] | [INFO] [stdout] 76 | ra = if ra >= 0.0 { ra } else { (2.0 * PI + ra) }; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - ra = if ra >= 0.0 { ra } else { (2.0 * PI + ra) }; [INFO] [stdout] 76 + ra = if ra >= 0.0 { ra } else { 2.0 * PI + ra }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `use_extern_macros` has been stable since 1.30.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(use_extern_macros)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/util.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | return NaiveDateTime::from_timestamp(millis, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/moon.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 66 | 02...20 => "waxing crescent", [INFO] [stdout] | ------- this range overlaps on `20_i32`... [INFO] [stdout] 67 | 20...30 => "first quarter", [INFO] [stdout] | ^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] = note: `#[warn(overlapping_range_endpoints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/moon.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | 20...30 => "first quarter", [INFO] [stdout] | ------- this range overlaps on `30_i32`... [INFO] [stdout] 68 | 30...47 => "waxing gibbous", [INFO] [stdout] | ^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/moon.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 68 | 30...47 => "waxing gibbous", [INFO] [stdout] | ------- this range overlaps on `47_i32`... [INFO] [stdout] 69 | 47...53 => "full", [INFO] [stdout] | ^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/moon.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | 47...53 => "full", [INFO] [stdout] | ------- this range overlaps on `53_i32`... [INFO] [stdout] 70 | 53...70 => "waning gibbous", [INFO] [stdout] | ^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/moon.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 70 | 53...70 => "waning gibbous", [INFO] [stdout] | ------- this range overlaps on `70_i32`... [INFO] [stdout] 71 | 70...85 => "last quarter", [INFO] [stdout] | ^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/moon.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 71 | 70...85 => "last quarter", [INFO] [stdout] | ------- this range overlaps on `85_i32`... [INFO] [stdout] 72 | 85...99 => "waning crescent", [INFO] [stdout] | ^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling astral v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/moon.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | 0...03 => "new", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/moon.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | 02...20 => "waxing crescent", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/moon.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | 20...30 => "first quarter", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/moon.rs:68:11 [INFO] [stdout] | [INFO] [stdout] 68 | 30...47 => "waxing gibbous", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/moon.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | 47...53 => "full", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/moon.rs:70:11 [INFO] [stdout] | [INFO] [stdout] 70 | 53...70 => "waning gibbous", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/moon.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | 70...85 => "last quarter", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/moon.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | 85...99 => "waning crescent", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/util.rs:64:37 [INFO] [stdout] | [INFO] [stdout] 64 | ra = if ra >= 0.0 { ra } else { (2.0 * PI + ra) }; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 64 - ra = if ra >= 0.0 { ra } else { (2.0 * PI + ra) }; [INFO] [stdout] 64 + ra = if ra >= 0.0 { ra } else { 2.0 * PI + ra }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/util.rs:76:37 [INFO] [stdout] | [INFO] [stdout] 76 | ra = if ra >= 0.0 { ra } else { (2.0 * PI + ra) }; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - ra = if ra >= 0.0 { ra } else { (2.0 * PI + ra) }; [INFO] [stdout] 76 + ra = if ra >= 0.0 { ra } else { 2.0 * PI + ra }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `use_extern_macros` has been stable since 1.30.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(use_extern_macros)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/util.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | return NaiveDateTime::from_timestamp(millis, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/moon.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 66 | 02...20 => "waxing crescent", [INFO] [stdout] | ------- this range overlaps on `20_i32`... [INFO] [stdout] 67 | 20...30 => "first quarter", [INFO] [stdout] | ^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] = note: `#[warn(overlapping_range_endpoints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/moon.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | 20...30 => "first quarter", [INFO] [stdout] | ------- this range overlaps on `30_i32`... [INFO] [stdout] 68 | 30...47 => "waxing gibbous", [INFO] [stdout] | ^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/moon.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 68 | 30...47 => "waxing gibbous", [INFO] [stdout] | ------- this range overlaps on `47_i32`... [INFO] [stdout] 69 | 47...53 => "full", [INFO] [stdout] | ^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/moon.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | 47...53 => "full", [INFO] [stdout] | ------- this range overlaps on `53_i32`... [INFO] [stdout] 70 | 53...70 => "waning gibbous", [INFO] [stdout] | ^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/moon.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 70 | 53...70 => "waning gibbous", [INFO] [stdout] | ------- this range overlaps on `70_i32`... [INFO] [stdout] 71 | 70...85 => "last quarter", [INFO] [stdout] | ^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/moon.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 71 | 70...85 => "last quarter", [INFO] [stdout] | ------- this range overlaps on `85_i32`... [INFO] [stdout] 72 | 85...99 => "waning crescent", [INFO] [stdout] | ^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.00s [INFO] running `Command { std: "docker" "inspect" "ce7be9fd4415524ee068f662e2e305e4ad0ad2efa4d1c58cb49b1b545683db64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce7be9fd4415524ee068f662e2e305e4ad0ad2efa4d1c58cb49b1b545683db64", kill_on_drop: false }` [INFO] [stdout] ce7be9fd4415524ee068f662e2e305e4ad0ad2efa4d1c58cb49b1b545683db64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6a79acdfaee1b23ff132fe819a341044e40b5f121866e03a4e2c565617fbecb7 [INFO] running `Command { std: "docker" "start" "-a" "6a79acdfaee1b23ff132fe819a341044e40b5f121866e03a4e2c565617fbecb7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/moon.rs:65:10 [INFO] [stderr] | [INFO] [stderr] 65 | 0...03 => "new", [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/moon.rs:66:11 [INFO] [stderr] | [INFO] [stderr] 66 | 02...20 => "waxing crescent", [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/moon.rs:67:11 [INFO] [stderr] | [INFO] [stderr] 67 | 20...30 => "first quarter", [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/moon.rs:68:11 [INFO] [stderr] | [INFO] [stderr] 68 | 30...47 => "waxing gibbous", [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/moon.rs:69:11 [INFO] [stderr] | [INFO] [stderr] 69 | 47...53 => "full", [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/moon.rs:70:11 [INFO] [stderr] | [INFO] [stderr] 70 | 53...70 => "waning gibbous", [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/moon.rs:71:11 [INFO] [stderr] | [INFO] [stderr] 71 | 70...85 => "last quarter", [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/moon.rs:72:11 [INFO] [stderr] | [INFO] [stderr] 72 | 85...99 => "waning crescent", [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/util.rs:64:37 [INFO] [stderr] | [INFO] [stderr] 64 | ra = if ra >= 0.0 { ra } else { (2.0 * PI + ra) }; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 64 - ra = if ra >= 0.0 { ra } else { (2.0 * PI + ra) }; [INFO] [stderr] 64 + ra = if ra >= 0.0 { ra } else { 2.0 * PI + ra }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/util.rs:76:37 [INFO] [stderr] | [INFO] [stderr] 76 | ra = if ra >= 0.0 { ra } else { (2.0 * PI + ra) }; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 76 - ra = if ra >= 0.0 { ra } else { (2.0 * PI + ra) }; [INFO] [stderr] 76 + ra = if ra >= 0.0 { ra } else { 2.0 * PI + ra }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: the feature `use_extern_macros` has been stable since 1.30.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | #![feature(use_extern_macros)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stderr] --> src/util.rs:94:27 [INFO] [stderr] | [INFO] [stderr] 94 | return NaiveDateTime::from_timestamp(millis, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: multiple patterns overlap on their endpoints [INFO] [stderr] --> src/moon.rs:67:9 [INFO] [stderr] | [INFO] [stderr] 66 | 02...20 => "waxing crescent", [INFO] [stderr] | ------- this range overlaps on `20_i32`... [INFO] [stderr] 67 | 20...30 => "first quarter", [INFO] [stderr] | ^^^^^^^ ... with this range [INFO] [stderr] | [INFO] [stderr] = note: you likely meant to write mutually exclusive ranges [INFO] [stderr] = note: `#[warn(overlapping_range_endpoints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: multiple patterns overlap on their endpoints [INFO] [stderr] --> src/moon.rs:68:9 [INFO] [stderr] | [INFO] [stderr] 67 | 20...30 => "first quarter", [INFO] [stderr] | ------- this range overlaps on `30_i32`... [INFO] [stderr] 68 | 30...47 => "waxing gibbous", [INFO] [stderr] | ^^^^^^^ ... with this range [INFO] [stderr] | [INFO] [stderr] = note: you likely meant to write mutually exclusive ranges [INFO] [stderr] [INFO] [stderr] warning: multiple patterns overlap on their endpoints [INFO] [stderr] --> src/moon.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 68 | 30...47 => "waxing gibbous", [INFO] [stderr] | ------- this range overlaps on `47_i32`... [INFO] [stderr] 69 | 47...53 => "full", [INFO] [stderr] | ^^^^^^^ ... with this range [INFO] [stderr] | [INFO] [stderr] = note: you likely meant to write mutually exclusive ranges [INFO] [stderr] [INFO] [stderr] warning: multiple patterns overlap on their endpoints [INFO] [stderr] --> src/moon.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 69 | 47...53 => "full", [INFO] [stderr] | ------- this range overlaps on `53_i32`... [INFO] [stderr] 70 | 53...70 => "waning gibbous", [INFO] [stderr] | ^^^^^^^ ... with this range [INFO] [stderr] | [INFO] [stderr] = note: you likely meant to write mutually exclusive ranges [INFO] [stderr] [INFO] [stderr] warning: multiple patterns overlap on their endpoints [INFO] [stderr] --> src/moon.rs:71:9 [INFO] [stderr] | [INFO] [stderr] 70 | 53...70 => "waning gibbous", [INFO] [stderr] | ------- this range overlaps on `70_i32`... [INFO] [stderr] 71 | 70...85 => "last quarter", [INFO] [stderr] | ^^^^^^^ ... with this range [INFO] [stderr] | [INFO] [stderr] = note: you likely meant to write mutually exclusive ranges [INFO] [stderr] [INFO] [stderr] warning: multiple patterns overlap on their endpoints [INFO] [stderr] --> src/moon.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 71 | 70...85 => "last quarter", [INFO] [stderr] | ------- this range overlaps on `85_i32`... [INFO] [stderr] 72 | 85...99 => "waning crescent", [INFO] [stderr] | ^^^^^^^ ... with this range [INFO] [stderr] | [INFO] [stderr] = note: you likely meant to write mutually exclusive ranges [INFO] [stderr] [INFO] [stderr] warning: `astral` (lib) generated 19 warnings (run `cargo fix --lib -p astral` to apply 10 suggestions) [INFO] [stderr] warning: `astral` (lib test) generated 18 warnings (18 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/astral-7fc51e5ec7eeafbc) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::get_celestial_position_planet_test ... ok [INFO] [stdout] test tests::get_celestial_position_star_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests astral [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/moon.rs:65:10 [INFO] [stderr] | [INFO] [stderr] 65 | 0...03 => "new", [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/moon.rs:66:11 [INFO] [stderr] | [INFO] [stderr] 66 | 02...20 => "waxing crescent", [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/moon.rs:67:11 [INFO] [stderr] | [INFO] [stderr] 67 | 20...30 => "first quarter", [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/moon.rs:68:11 [INFO] [stderr] | [INFO] [stderr] 68 | 30...47 => "waxing gibbous", [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/moon.rs:69:11 [INFO] [stderr] | [INFO] [stderr] 69 | 47...53 => "full", [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/moon.rs:70:11 [INFO] [stderr] | [INFO] [stderr] 70 | 53...70 => "waning gibbous", [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/moon.rs:71:11 [INFO] [stderr] | [INFO] [stderr] 71 | 70...85 => "last quarter", [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/moon.rs:72:11 [INFO] [stderr] | [INFO] [stderr] 72 | 85...99 => "waning crescent", [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/util.rs:64:37 [INFO] [stderr] | [INFO] [stderr] 64 | ra = if ra >= 0.0 { ra } else { (2.0 * PI + ra) }; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 64 - ra = if ra >= 0.0 { ra } else { (2.0 * PI + ra) }; [INFO] [stderr] 64 + ra = if ra >= 0.0 { ra } else { 2.0 * PI + ra }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/util.rs:76:37 [INFO] [stderr] | [INFO] [stderr] 76 | ra = if ra >= 0.0 { ra } else { (2.0 * PI + ra) }; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 76 - ra = if ra >= 0.0 { ra } else { (2.0 * PI + ra) }; [INFO] [stderr] 76 + ra = if ra >= 0.0 { ra } else { 2.0 * PI + ra }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 10 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/star.rs - star::get_celestial_position (line 25) ... ok [INFO] [stdout] test src/planet.rs - planet::get_celestial_position (line 13) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6a79acdfaee1b23ff132fe819a341044e40b5f121866e03a4e2c565617fbecb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a79acdfaee1b23ff132fe819a341044e40b5f121866e03a4e2c565617fbecb7", kill_on_drop: false }` [INFO] [stdout] 6a79acdfaee1b23ff132fe819a341044e40b5f121866e03a4e2c565617fbecb7