[INFO] fetching crate geodate 0.3.0... [INFO] checking geodate-0.3.0 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] extracting crate geodate 0.3.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate geodate 0.3.0 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate geodate 0.3.0 [INFO] finished tweaking crates.io crate geodate 0.3.0 [INFO] tweaked toml for crates.io crate geodate 0.3.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4deb855a80c3f54e5c671cee2f5734689c00aa2de296ed70863a1f87637dea56 [INFO] running `"docker" "start" "-a" "4deb855a80c3f54e5c671cee2f5734689c00aa2de296ed70863a1f87637dea56"` [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking geodate v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/delta_time.rs:26:14 [INFO] [stderr] | [INFO] [stderr] 26 | 1620 ... 1673 => terms[0], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/delta_time.rs:27:14 [INFO] [stderr] | [INFO] [stderr] 27 | 1673 ... 1730 => terms[1], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/delta_time.rs:28:14 [INFO] [stderr] | [INFO] [stderr] 28 | 1730 ... 1798 => terms[2], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/delta_time.rs:29:14 [INFO] [stderr] | [INFO] [stderr] 29 | 1798 ... 1844 => terms[3], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/delta_time.rs:30:14 [INFO] [stderr] | [INFO] [stderr] 30 | 1844 ... 1878 => terms[4], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/delta_time.rs:31:14 [INFO] [stderr] | [INFO] [stderr] 31 | 1878 ... 1905 => terms[5], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/delta_time.rs:32:14 [INFO] [stderr] | [INFO] [stderr] 32 | 1905 ... 1946 => terms[6], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/delta_time.rs:33:14 [INFO] [stderr] | [INFO] [stderr] 33 | 1946 ... 1990 => terms[7], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/delta_time.rs:34:14 [INFO] [stderr] | [INFO] [stderr] 34 | 1990 ... 2013 => terms[8], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> src/julian.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | ((jd - 2440587.5) * 86400.0).round() as i64 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> src/delta_time.rs:25:41 [INFO] [stderr] | [INFO] [stderr] 25 | let (k, a0, a1, a2, a3, a4) = match year.round() as i64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> src/delta_time.rs:46:17 [INFO] [stderr] | [INFO] [stderr] 46 | timestamp - delta_time(unix_to_year(timestamp)).floor() as i64 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> src/earth_orbit.rs:90:21 [INFO] [stderr] | [INFO] [stderr] 90 | let delta = (365.25 * 86400.0) as i64; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> src/earth_orbit.rs:100:21 [INFO] [stderr] | [INFO] [stderr] 100 | let delta = (365.25 * 86400.0) as i64; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> src/geodate.rs:130:10 [INFO] [stderr] | [INFO] [stderr] 130 | y += ((zero - epoch_zero) as f64 / 86400.0 / 365.25).round() as i64; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/delta_time.rs:26:14 [INFO] [stderr] | [INFO] [stderr] 26 | 1620 ... 1673 => terms[0], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/delta_time.rs:27:14 [INFO] [stderr] | [INFO] [stderr] 27 | 1673 ... 1730 => terms[1], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/delta_time.rs:28:14 [INFO] [stderr] | [INFO] [stderr] 28 | 1730 ... 1798 => terms[2], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/delta_time.rs:29:14 [INFO] [stderr] | [INFO] [stderr] 29 | 1798 ... 1844 => terms[3], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/delta_time.rs:30:14 [INFO] [stderr] | [INFO] [stderr] 30 | 1844 ... 1878 => terms[4], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/delta_time.rs:31:14 [INFO] [stderr] | [INFO] [stderr] 31 | 1878 ... 1905 => terms[5], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> src/moon_transit.rs:204:25 [INFO] [stderr] | [INFO] [stderr] 204 | let cor = match sm_arg.round() as i64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/delta_time.rs:32:14 [INFO] [stderr] | [INFO] [stderr] 32 | 1905 ... 1946 => terms[6], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/delta_time.rs:33:14 [INFO] [stderr] | [INFO] [stderr] 33 | 1946 ... 1990 => terms[7], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/delta_time.rs:34:14 [INFO] [stderr] | [INFO] [stderr] 34 | 1990 ... 2013 => terms[8], [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors; 9 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `geodate`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> src/julian.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | ((jd - 2440587.5) * 86400.0).round() as i64 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> src/delta_time.rs:25:41 [INFO] [stderr] | [INFO] [stderr] 25 | let (k, a0, a1, a2, a3, a4) = match year.round() as i64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> src/delta_time.rs:46:17 [INFO] [stderr] | [INFO] [stderr] 46 | timestamp - delta_time(unix_to_year(timestamp)).floor() as i64 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> src/earth_orbit.rs:90:21 [INFO] [stderr] | [INFO] [stderr] 90 | let delta = (365.25 * 86400.0) as i64; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> src/earth_orbit.rs:100:21 [INFO] [stderr] | [INFO] [stderr] 100 | let delta = (365.25 * 86400.0) as i64; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> src/geodate.rs:130:10 [INFO] [stderr] | [INFO] [stderr] 130 | y += ((zero - epoch_zero) as f64 / 86400.0 / 365.25).round() as i64; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> src/moon_transit.rs:204:25 [INFO] [stderr] | [INFO] [stderr] 204 | let cor = match sm_arg.round() as i64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors; 9 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `geodate`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "4deb855a80c3f54e5c671cee2f5734689c00aa2de296ed70863a1f87637dea56"` [INFO] running `"docker" "rm" "-f" "4deb855a80c3f54e5c671cee2f5734689c00aa2de296ed70863a1f87637dea56"` [INFO] [stdout] 4deb855a80c3f54e5c671cee2f5734689c00aa2de296ed70863a1f87637dea56