[INFO] fetching crate astro 2.0.0... [INFO] checking astro-2.0.0 against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] extracting crate astro 2.0.0 into /workspace/builds/worker-107/source [INFO] validating manifest of crates.io crate astro 2.0.0 on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate astro 2.0.0 [INFO] finished tweaking crates.io crate astro 2.0.0 [INFO] tweaked toml for crates.io crate astro 2.0.0 written to /workspace/builds/worker-107/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/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" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9eaaf961f45713ba7407229040ca25b81e7f5c68d433ccd3f9f026761bc621d9 [INFO] running `Command { std: "docker" "start" "-a" "9eaaf961f45713ba7407229040ca25b81e7f5c68d433ccd3f9f026761bc621d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9eaaf961f45713ba7407229040ca25b81e7f5c68d433ccd3f9f026761bc621d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9eaaf961f45713ba7407229040ca25b81e7f5c68d433ccd3f9f026761bc621d9", kill_on_drop: false }` [INFO] [stdout] 9eaaf961f45713ba7407229040ca25b81e7f5c68d433ccd3f9f026761bc621d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/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" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1813eae64ef15054931402a93f202293d66e4089ddc1b0a7af70a1b9b17d85a0 [INFO] running `Command { std: "docker" "start" "-a" "1813eae64ef15054931402a93f202293d66e4089ddc1b0a7af70a1b9b17d85a0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking astro v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/ecliptic.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn mn_oblq_laskar(JD: f64) -> (f64) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - pub fn mn_oblq_laskar(JD: f64) -> (f64) { [INFO] [stdout] 45 + pub fn mn_oblq_laskar(JD: f64) -> f64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/ecliptic.rs:82:32 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn mn_oblq_IAU(JD: f64) -> (f64) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 82 - pub fn mn_oblq_IAU(JD: f64) -> (f64) { [INFO] [stdout] 82 + pub fn mn_oblq_IAU(JD: f64) -> f64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/lunar.rs:955:5 [INFO] [stdout] | [INFO] [stdout] 955 | / ( [INFO] [stdout] 956 | | 2451565.1619 [INFO] [stdout] | |________^ [INFO] [stdout] ... [INFO] [stdout] 985 | ) [INFO] [stdout] | __________^ [INFO] [stdout] 986 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 955 ~ 2451565.1619 [INFO] [stdout] 956 | + 27.212220817 * k [INFO] [stdout] 957 | + T * T * ( [INFO] [stdout] 958 | 0.0002762 [INFO] [stdout] 959 | + T * (0.000000021 - T*0.000000000088) [INFO] [stdout] 960 | ) [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/ecliptic.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn mn_oblq_laskar(JD: f64) -> (f64) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - pub fn mn_oblq_laskar(JD: f64) -> (f64) { [INFO] [stdout] 45 + pub fn mn_oblq_laskar(JD: f64) -> f64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/ecliptic.rs:82:32 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn mn_oblq_IAU(JD: f64) -> (f64) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 82 - pub fn mn_oblq_IAU(JD: f64) -> (f64) { [INFO] [stdout] 82 + pub fn mn_oblq_IAU(JD: f64) -> f64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/lunar.rs:955:5 [INFO] [stdout] | [INFO] [stdout] 955 | / ( [INFO] [stdout] 956 | | 2451565.1619 [INFO] [stdout] | |________^ [INFO] [stdout] ... [INFO] [stdout] 985 | ) [INFO] [stdout] | __________^ [INFO] [stdout] 986 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 955 ~ 2451565.1619 [INFO] [stdout] 956 | + 27.212220817 * k [INFO] [stdout] 957 | + T * T * ( [INFO] [stdout] 958 | 0.0002762 [INFO] [stdout] 959 | + T * (0.000000021 - T*0.000000000088) [INFO] [stdout] 960 | ) [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/time.rs:130:55 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn is_leap_year(year: i16, cal_type: &CalType) -> (bool) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 130 - pub fn is_leap_year(year: i16, cal_type: &CalType) -> (bool) { [INFO] [stdout] 130 + pub fn is_leap_year(year: i16, cal_type: &CalType) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/time.rs:130:55 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn is_leap_year(year: i16, cal_type: &CalType) -> (bool) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 130 - pub fn is_leap_year(year: i16, cal_type: &CalType) -> (bool) { [INFO] [stdout] 130 + pub fn is_leap_year(year: i16, cal_type: &CalType) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/lunar.rs:1117:11 [INFO] [stdout] | [INFO] [stdout] 1117 | - 0.00002 * ((M1 - M).cos() - (M1 + M).cos() - (2.0 * F).cos()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the arithmetic operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1117 | let _ = - 0.00002 * ((M1 - M).cos() - (M1 + M).cos() - (2.0 * F).cos()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/lunar.rs:1117:11 [INFO] [stdout] | [INFO] [stdout] 1117 | - 0.00002 * ((M1 - M).cos() - (M1 + M).cos() - (2.0 * F).cos()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the arithmetic operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1117 | let _ = - 0.00002 * ((M1 - M).cos() - (M1 + M).cos() - (2.0 * F).cos()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> tests/elliptic.rs:70:40 [INFO] [stdout] | [INFO] [stdout] 70 | assert_eq!(util::round_upto_digits((T - ascen), 4), 92.2998); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 70 - assert_eq!(util::round_upto_digits((T - ascen), 4), 92.2998); [INFO] [stdout] 70 + assert_eq!(util::round_upto_digits(T - ascen, 4), 92.2998); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> tests/elliptic.rs:76:40 [INFO] [stdout] | [INFO] [stdout] 76 | assert_eq!(util::round_upto_digits((T - descend), 4), -28.9105); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - assert_eq!(util::round_upto_digits((T - descend), 4), -28.9105); [INFO] [stdout] 76 + assert_eq!(util::round_upto_digits(T - descend, 4), -28.9105); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/planet.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/time.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> tests/parabolic.rs:70:40 [INFO] [stdout] | [INFO] [stdout] 70 | assert_eq!(util::round_upto_digits((T - ascen), 2), 4354.65); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 70 - assert_eq!(util::round_upto_digits((T - ascen), 2), 4354.65); [INFO] [stdout] 70 + assert_eq!(util::round_upto_digits(T - ascen, 2), 4354.65); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> tests/parabolic.rs:76:40 [INFO] [stdout] | [INFO] [stdout] 76 | assert_eq!(util::round_upto_digits((T - descend), 4), -28.3454); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - assert_eq!(util::round_upto_digits((T - descend), 4), -28.3454); [INFO] [stdout] 76 + assert_eq!(util::round_upto_digits(T - descend, 4), -28.3454); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.27s [INFO] running `Command { std: "docker" "inspect" "1813eae64ef15054931402a93f202293d66e4089ddc1b0a7af70a1b9b17d85a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1813eae64ef15054931402a93f202293d66e4089ddc1b0a7af70a1b9b17d85a0", kill_on_drop: false }` [INFO] [stdout] 1813eae64ef15054931402a93f202293d66e4089ddc1b0a7af70a1b9b17d85a0