[INFO] fetching crate astral 0.3.1... [INFO] testing astral-0.3.1 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate astral 0.3.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate astral 0.3.1 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", 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] ae64efe9e6621da91623a095a4da504edeb741bf0a631217d4d4fc69ba4ae26b [INFO] running `Command { std: "docker" "start" "-a" "ae64efe9e6621da91623a095a4da504edeb741bf0a631217d4d4fc69ba4ae26b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae64efe9e6621da91623a095a4da504edeb741bf0a631217d4d4fc69ba4ae26b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae64efe9e6621da91623a095a4da504edeb741bf0a631217d4d4fc69ba4ae26b", kill_on_drop: false }` [INFO] [stdout] ae64efe9e6621da91623a095a4da504edeb741bf0a631217d4d4fc69ba4ae26b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6f8f7f9f401b106503d2a640aa3c2a647e2269bfb1f7c5d5e1d065ed60763b9 [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" "f6f8f7f9f401b106503d2a640aa3c2a647e2269bfb1f7c5d5e1d065ed60763b9", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling itoa v0.4.8 [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 num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling csv v1.1.6 [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)]` 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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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: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)]` 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: 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: `#[warn(overlapping_range_endpoints)]` on by default [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: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] [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: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.89s [INFO] running `Command { std: "docker" "inspect" "f6f8f7f9f401b106503d2a640aa3c2a647e2269bfb1f7c5d5e1d065ed60763b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6f8f7f9f401b106503d2a640aa3c2a647e2269bfb1f7c5d5e1d065ed60763b9", kill_on_drop: false }` [INFO] [stdout] f6f8f7f9f401b106503d2a640aa3c2a647e2269bfb1f7c5d5e1d065ed60763b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78d81463ce2b2a7a1ec569df67616d7e1f495d482dee91e450bb89f131c5cbb9 [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" "78d81463ce2b2a7a1ec569df67616d7e1f495d482dee91e450bb89f131c5cbb9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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)]` 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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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: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)]` 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: 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: `#[warn(overlapping_range_endpoints)]` on by default [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: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] [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: 18 warnings emitted [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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: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)]` 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: 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: `#[warn(overlapping_range_endpoints)]` on by default [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: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] [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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.22s [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "78d81463ce2b2a7a1ec569df67616d7e1f495d482dee91e450bb89f131c5cbb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78d81463ce2b2a7a1ec569df67616d7e1f495d482dee91e450bb89f131c5cbb9", kill_on_drop: false }` [INFO] [stdout] 78d81463ce2b2a7a1ec569df67616d7e1f495d482dee91e450bb89f131c5cbb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 12501c4217d529cae8935c2676624f4e41f3bda6e03364a208fde3281c3c8863 [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" "12501c4217d529cae8935c2676624f4e41f3bda6e03364a208fde3281c3c8863", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stdout] running 2 tests [INFO] [stderr] --> src/lib.rs:6:1 [INFO] [stdout] test tests::get_celestial_position_planet_test ... ok [INFO] [stderr] | [INFO] [stdout] test tests::get_celestial_position_star_test ... ok [INFO] [stderr] 6 | #[macro_use] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] = note: `#[warn(unused_imports)]` 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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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: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)]` 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: 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: `#[warn(overlapping_range_endpoints)]` on by default [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: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: 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: `astral` (lib) generated 18 warnings [INFO] [stderr] warning: `astral` (lib test) generated 17 warnings (17 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/astral-c52f8c3cc07207a0) [INFO] [stderr] Doc-tests astral [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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] --> /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/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)]` 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] --> /opt/rustwide/workdir/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 1.24s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "12501c4217d529cae8935c2676624f4e41f3bda6e03364a208fde3281c3c8863", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12501c4217d529cae8935c2676624f4e41f3bda6e03364a208fde3281c3c8863", kill_on_drop: false }` [INFO] [stdout] 12501c4217d529cae8935c2676624f4e41f3bda6e03364a208fde3281c3c8863