[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] checking incredimo/vsop against try#654bc80249a2b2ba8bd16392b5829d87ed96c92d for pr-136458 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fincredimo%2Fvsop" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/incredimo/vsop on toolchain 654bc80249a2b2ba8bd16392b5829d87ed96c92d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+654bc80249a2b2ba8bd16392b5829d87ed96c92d" "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-5-tc2/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" "+654bc80249a2b2ba8bd16392b5829d87ed96c92d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+654bc80249a2b2ba8bd16392b5829d87ed96c92d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d46a020bea7d31d1603d1abd04e5609001b3ceae80067645c548c9a4787b0f16 [INFO] running `Command { std: "docker" "start" "-a" "d46a020bea7d31d1603d1abd04e5609001b3ceae80067645c548c9a4787b0f16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d46a020bea7d31d1603d1abd04e5609001b3ceae80067645c548c9a4787b0f16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d46a020bea7d31d1603d1abd04e5609001b3ceae80067645c548c9a4787b0f16", kill_on_drop: false }` [INFO] [stdout] d46a020bea7d31d1603d1abd04e5609001b3ceae80067645c548c9a4787b0f16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+654bc80249a2b2ba8bd16392b5829d87ed96c92d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73d1a1bd1c708da32604bb844eb4817612d2a65bbb7fd5347e5919e8a3a0b931 [INFO] running `Command { std: "docker" "start" "-a" "73d1a1bd1c708da32604bb844eb4817612d2a65bbb7fd5347e5919e8a3a0b931", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.99 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling wasm-bindgen v0.2.99 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking encode_unicode v1.0.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.91 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking 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 chrono-tz v0.10.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.99 [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] Checking chrono v0.4.39 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking prettytable-rs v0.10.0 [INFO] [stderr] Checking 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: `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 `Clone` and `Debug`, 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 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] [stderr] error: could not compile `astro` (lib test); 22 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/654bc80249a2b2ba8bd16392b5829d87ed96c92d/bin/rustc --crate-name astro --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=927abd2ed663880d -C extra-filename=-b2db751b375c9502 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern chrono=/opt/rustwide/target/debug/deps/libchrono-1c885e14c31c8d54.rmeta --extern chrono_tz=/opt/rustwide/target/debug/deps/libchrono_tz-9ff31717b2abe6de.rmeta --extern colored=/opt/rustwide/target/debug/deps/libcolored-c276aa623c008b82.rmeta --extern prettytable=/opt/rustwide/target/debug/deps/libprettytable-3a32ccec09346e97.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-f83feb50bf316cd8.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-c243574d2eff4052.rmeta --extern wasm_bindgen=/opt/rustwide/target/debug/deps/libwasm_bindgen-e0fada89299e8b44.rmeta --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 `Clone` and `Debug`, 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] running `Command { std: "docker" "inspect" "73d1a1bd1c708da32604bb844eb4817612d2a65bbb7fd5347e5919e8a3a0b931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73d1a1bd1c708da32604bb844eb4817612d2a65bbb7fd5347e5919e8a3a0b931", kill_on_drop: false }` [INFO] [stdout] 73d1a1bd1c708da32604bb844eb4817612d2a65bbb7fd5347e5919e8a3a0b931