[INFO] cloning repository https://github.com/incredimo/vsop [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/incredimo/vsop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fincredimo%2Fvsop", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fincredimo%2Fvsop'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c04a5234376bf47ca2438b301d5ed67b74fcc896 [INFO] building incredimo/vsop against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fincredimo%2Fvsop" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/incredimo/vsop on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/incredimo/vsop [INFO] finished tweaking git repo https://github.com/incredimo/vsop [INFO] tweaked toml for git repo https://github.com/incredimo/vsop written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/incredimo/vsop already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] edbb06024c5c1501dda1a014f53a296b39da2e317c16257b7d35919dbd17eb5d [INFO] running `Command { std: "docker" "start" "-a" "edbb06024c5c1501dda1a014f53a296b39da2e317c16257b7d35919dbd17eb5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edbb06024c5c1501dda1a014f53a296b39da2e317c16257b7d35919dbd17eb5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edbb06024c5c1501dda1a014f53a296b39da2e317c16257b7d35919dbd17eb5d", kill_on_drop: false }` [INFO] [stdout] edbb06024c5c1501dda1a014f53a296b39da2e317c16257b7d35919dbd17eb5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b69b2f18698f276c4d83181c7898b790cd7d38da57764d6d8877045c57f5d9a4 [INFO] running `Command { std: "docker" "start" "-a" "b69b2f18698f276c4d83181c7898b790cd7d38da57764d6d8877045c57f5d9a4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.99 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling wasm-bindgen v0.2.99 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling encode_unicode v1.0.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling syn v2.0.91 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling chrono-tz-build v0.4.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.99 [INFO] [stderr] Compiling chrono-tz v0.10.0 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.99 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.99 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling prettytable-rs v0.10.0 [INFO] [stderr] Compiling astro v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `jd` [INFO] [stdout] --> src/vsop.rs:110:36 [INFO] [stdout] | [INFO] [stdout] 110 | fn calculate_geographic_correction(jd: f64, position: &GeoPosition) -> f64 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_jd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eps_rad` [INFO] [stdout] --> src/lib.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let eps_rad = eps * DEG_TO_RAD; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eps_rad` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let mut m = normalize_radians(l - pi); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/lib.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | let t = (jd - J2000) / 36525.0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:344:5 [INFO] [stdout] | [INFO] [stdout] 344 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:401:5 [INFO] [stdout] | [INFO] [stdout] 401 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:445:5 [INFO] [stdout] | [INFO] [stdout] 445 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tithi` [INFO] [stdout] --> src/lib.rs:476:10 [INFO] [stdout] | [INFO] [stdout] 476 | let (tithi, _) = compute_tithi(jd); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tithi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dig_bala` is never read [INFO] [stdout] --> src/lib.rs:1125:17 [INFO] [stdout] | [INFO] [stdout] 1125 | let mut dig_bala = 0.0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sign` [INFO] [stdout] --> src/lib.rs:1219:9 [INFO] [stdout] | [INFO] [stdout] 1219 | let sign = (planet.sidereal_long_deg / 30.0).floor() as i32 % 12; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1880:9 [INFO] [stdout] | [INFO] [stdout] 1880 | let mut temp_friends = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1881:9 [INFO] [stdout] | [INFO] [stdout] 1881 | let mut temp_enemies = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sign` [INFO] [stdout] --> src/lib.rs:1989:9 [INFO] [stdout] | [INFO] [stdout] 1989 | let sign = (planet.sidereal_long_deg / 30.0).floor() as i32 % 12; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asc` [INFO] [stdout] --> src/lib.rs:2180:56 [INFO] [stdout] | [INFO] [stdout] 2180 | pub fn calculate_all_yogas(planets: &[PlanetPosition], asc: f64) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_asc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RAD_TO_DEG` is never used [INFO] [stdout] --> src/vsop.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const RAD_TO_DEG: f64 = 180.0 / PI; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GeoPosition` is never constructed [INFO] [stdout] --> src/vsop.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct GeoPosition { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeoPosition` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/vsop.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl GeoPosition { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(latitude: f64, longitude: f64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_julian_day` is never used [INFO] [stdout] --> src/vsop.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn calculate_julian_day( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_datetime` is never used [INFO] [stdout] --> src/vsop.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn create_datetime( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_geographic_correction` is never used [INFO] [stdout] --> src/vsop.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn calculate_geographic_correction(jd: f64, position: &GeoPosition) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `julian_day_to_datetime` is never used [INFO] [stdout] --> src/vsop.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn julian_day_to_datetime(jd: f64) -> DateTime { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `date_to_jd` is never used [INFO] [stdout] --> src/vsop.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn date_to_jd(year: i32, month: u32, day: u32, hour: u32, minute: u32, second: u32) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/main.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{DateTime, TimeZone, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TableFormat` [INFO] [stdout] --> src/main.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use prettytable::{format::{self, TableFormat}, Cell, Row, Table}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 28s [INFO] running `Command { std: "docker" "inspect" "b69b2f18698f276c4d83181c7898b790cd7d38da57764d6d8877045c57f5d9a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b69b2f18698f276c4d83181c7898b790cd7d38da57764d6d8877045c57f5d9a4", kill_on_drop: false }` [INFO] [stdout] b69b2f18698f276c4d83181c7898b790cd7d38da57764d6d8877045c57f5d9a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc55979577ac11fe7b8b8125340e34510f8014e1be7762d155edd0ca75a0faf8 [INFO] running `Command { std: "docker" "start" "-a" "cc55979577ac11fe7b8b8125340e34510f8014e1be7762d155edd0ca75a0faf8", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `jd` [INFO] [stdout] --> src/vsop.rs:110:36 [INFO] [stdout] | [INFO] [stdout] 110 | fn calculate_geographic_correction(jd: f64, position: &GeoPosition) -> f64 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_jd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eps_rad` [INFO] [stdout] --> src/lib.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let eps_rad = eps * DEG_TO_RAD; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eps_rad` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let mut m = normalize_radians(l - pi); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/lib.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | let t = (jd - J2000) / 36525.0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:344:5 [INFO] [stdout] | [INFO] [stdout] 344 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:401:5 [INFO] [stdout] | [INFO] [stdout] 401 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:445:5 [INFO] [stdout] | [INFO] [stdout] 445 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tithi` [INFO] [stdout] --> src/lib.rs:476:10 [INFO] [stdout] | [INFO] [stdout] 476 | let (tithi, _) = compute_tithi(jd); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tithi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dig_bala` is never read [INFO] [stdout] --> src/lib.rs:1125:17 [INFO] [stdout] | [INFO] [stdout] 1125 | let mut dig_bala = 0.0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sign` [INFO] [stdout] --> src/lib.rs:1219:9 [INFO] [stdout] | [INFO] [stdout] 1219 | let sign = (planet.sidereal_long_deg / 30.0).floor() as i32 % 12; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1880:9 [INFO] [stdout] | [INFO] [stdout] 1880 | let mut temp_friends = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1881:9 [INFO] [stdout] | [INFO] [stdout] 1881 | let mut temp_enemies = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sign` [INFO] [stdout] --> src/lib.rs:1989:9 [INFO] [stdout] | [INFO] [stdout] 1989 | let sign = (planet.sidereal_long_deg / 30.0).floor() as i32 % 12; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asc` [INFO] [stdout] --> src/lib.rs:2180:56 [INFO] [stdout] | [INFO] [stdout] 2180 | pub fn calculate_all_yogas(planets: &[PlanetPosition], asc: f64) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_asc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RAD_TO_DEG` is never used [INFO] [stdout] --> src/vsop.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const RAD_TO_DEG: f64 = 180.0 / PI; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GeoPosition` is never constructed [INFO] [stdout] --> src/vsop.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct GeoPosition { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeoPosition` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/vsop.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl GeoPosition { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(latitude: f64, longitude: f64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_julian_day` is never used [INFO] [stdout] --> src/vsop.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn calculate_julian_day( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_datetime` is never used [INFO] [stdout] --> src/vsop.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn create_datetime( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_geographic_correction` is never used [INFO] [stdout] --> src/vsop.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn calculate_geographic_correction(jd: f64, position: &GeoPosition) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `julian_day_to_datetime` is never used [INFO] [stdout] --> src/vsop.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn julian_day_to_datetime(jd: f64) -> DateTime { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `date_to_jd` is never used [INFO] [stdout] --> src/vsop.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn date_to_jd(year: i32, month: u32, day: u32, hour: u32, minute: u32, second: u32) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling astro v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/main.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{DateTime, TimeZone, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TableFormat` [INFO] [stdout] --> src/main.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use prettytable::{format::{self, TableFormat}, Cell, Row, Table}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jd` [INFO] [stdout] --> src/vsop.rs:110:36 [INFO] [stdout] | [INFO] [stdout] 110 | fn calculate_geographic_correction(jd: f64, position: &GeoPosition) -> f64 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_jd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eps_rad` [INFO] [stdout] --> src/lib.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let eps_rad = eps * DEG_TO_RAD; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eps_rad` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let mut m = normalize_radians(l - pi); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/lib.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | let t = (jd - J2000) / 36525.0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:344:5 [INFO] [stdout] | [INFO] [stdout] 344 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:401:5 [INFO] [stdout] | [INFO] [stdout] 401 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:445:5 [INFO] [stdout] | [INFO] [stdout] 445 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tithi` [INFO] [stdout] --> src/lib.rs:476:10 [INFO] [stdout] | [INFO] [stdout] 476 | let (tithi, _) = compute_tithi(jd); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tithi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dig_bala` is never read [INFO] [stdout] --> src/lib.rs:1125:17 [INFO] [stdout] | [INFO] [stdout] 1125 | let mut dig_bala = 0.0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sign` [INFO] [stdout] --> src/lib.rs:1219:9 [INFO] [stdout] | [INFO] [stdout] 1219 | let sign = (planet.sidereal_long_deg / 30.0).floor() as i32 % 12; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1880:9 [INFO] [stdout] | [INFO] [stdout] 1880 | let mut temp_friends = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:1881:9 [INFO] [stdout] | [INFO] [stdout] 1881 | let mut temp_enemies = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sign` [INFO] [stdout] --> src/lib.rs:1989:9 [INFO] [stdout] | [INFO] [stdout] 1989 | let sign = (planet.sidereal_long_deg / 30.0).floor() as i32 % 12; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asc` [INFO] [stdout] --> src/lib.rs:2180:56 [INFO] [stdout] | [INFO] [stdout] 2180 | pub fn calculate_all_yogas(planets: &[PlanetPosition], asc: f64) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_asc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RAD_TO_DEG` is never used [INFO] [stdout] --> src/vsop.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const RAD_TO_DEG: f64 = 180.0 / PI; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GeoPosition` is never constructed [INFO] [stdout] --> src/vsop.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct GeoPosition { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeoPosition` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/vsop.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl GeoPosition { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(latitude: f64, longitude: f64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_julian_day` is never used [INFO] [stdout] --> src/vsop.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn calculate_julian_day( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_datetime` is never used [INFO] [stdout] --> src/vsop.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn create_datetime( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_geographic_correction` is never used [INFO] [stdout] --> src/vsop.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn calculate_geographic_correction(jd: f64, position: &GeoPosition) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `julian_day_to_datetime` is never used [INFO] [stdout] --> src/vsop.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn julian_day_to_datetime(jd: f64) -> DateTime { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `date_to_jd` is never used [INFO] [stdout] --> src/vsop.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn date_to_jd(year: i32, month: u32, day: u32, hour: u32, minute: u32, second: u32) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 43.40s [INFO] running `Command { std: "docker" "inspect" "cc55979577ac11fe7b8b8125340e34510f8014e1be7762d155edd0ca75a0faf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc55979577ac11fe7b8b8125340e34510f8014e1be7762d155edd0ca75a0faf8", kill_on_drop: false }` [INFO] [stdout] cc55979577ac11fe7b8b8125340e34510f8014e1be7762d155edd0ca75a0faf8