[INFO] fetching crate astral 0.3.1... [INFO] testing astral-0.3.1 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate astral 0.3.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate astral 0.3.1 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28f650de6d9223184881ebbf61246a77991c72ae9e5fd2c7374dada567f0a8c7 [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" "28f650de6d9223184881ebbf61246a77991c72ae9e5fd2c7374dada567f0a8c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28f650de6d9223184881ebbf61246a77991c72ae9e5fd2c7374dada567f0a8c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28f650de6d9223184881ebbf61246a77991c72ae9e5fd2c7374dada567f0a8c7", kill_on_drop: false }` [INFO] [stdout] 28f650de6d9223184881ebbf61246a77991c72ae9e5fd2c7374dada567f0a8c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe45fb89ab9da411e72810ed8ae13195ab101411956332f22e01bbfb15576c38 [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" "fe45fb89ab9da411e72810ed8ae13195ab101411956332f22e01bbfb15576c38", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde v1.0.130 [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 assert_approx_eq v1.1.0 [INFO] [stderr] Compiling astro v2.0.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 chrono v0.4.19 [INFO] [stderr] Compiling bstr v0.2.17 [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 26.24s [INFO] running `Command { std: "docker" "inspect" "fe45fb89ab9da411e72810ed8ae13195ab101411956332f22e01bbfb15576c38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe45fb89ab9da411e72810ed8ae13195ab101411956332f22e01bbfb15576c38", kill_on_drop: false }` [INFO] [stdout] fe45fb89ab9da411e72810ed8ae13195ab101411956332f22e01bbfb15576c38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27876e93e9fb289d4cd308de163a363da5e1fc2b792411ba84e8de5609a0705e [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" "27876e93e9fb289d4cd308de163a363da5e1fc2b792411ba84e8de5609a0705e", kill_on_drop: false }` [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] [stderr] Compiling astral v0.3.1 (/opt/rustwide/workdir) [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] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.68s [INFO] running `Command { std: "docker" "inspect" "27876e93e9fb289d4cd308de163a363da5e1fc2b792411ba84e8de5609a0705e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27876e93e9fb289d4cd308de163a363da5e1fc2b792411ba84e8de5609a0705e", kill_on_drop: false }` [INFO] [stdout] 27876e93e9fb289d4cd308de163a363da5e1fc2b792411ba84e8de5609a0705e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", 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] a5c8818a0a41ae14414f5cf612a05a334bcd5a90f81edea30d7498a2d297ea3b [INFO] running `Command { std: "docker" "start" "-a" "a5c8818a0a41ae14414f5cf612a05a334bcd5a90f81edea30d7498a2d297ea3b", kill_on_drop: false }` [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)]` 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.05s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/astral-c52f8c3cc07207a0) [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::get_celestial_position_planet_test ... ok [INFO] [stderr] Doc-tests astral [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] 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.12s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a5c8818a0a41ae14414f5cf612a05a334bcd5a90f81edea30d7498a2d297ea3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5c8818a0a41ae14414f5cf612a05a334bcd5a90f81edea30d7498a2d297ea3b", kill_on_drop: false }` [INFO] [stdout] a5c8818a0a41ae14414f5cf612a05a334bcd5a90f81edea30d7498a2d297ea3b