[INFO] cloning repository https://github.com/incredimo/solar_time [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/incredimo/solar_time" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fincredimo%2Fsolar_time", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fincredimo%2Fsolar_time'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b22c00f41150ba19172b51c125ba6e6df7396c2f [INFO] checking incredimo/solar_time against master#db0e836148accac8a22532e3596ac612b63c2d8e for pr-139272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fincredimo%2Fsolar_time" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/incredimo/solar_time on toolchain db0e836148accac8a22532e3596ac612b63c2d8e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db0e836148accac8a22532e3596ac612b63c2d8e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/incredimo/solar_time [INFO] finished tweaking git repo https://github.com/incredimo/solar_time [INFO] tweaked toml for git repo https://github.com/incredimo/solar_time written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/incredimo/solar_time 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" "+db0e836148accac8a22532e3596ac612b63c2d8e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+db0e836148accac8a22532e3596ac612b63c2d8e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9b9f1744d67cd6dd4946f4a62918c3d2c1a2099f2bcb754c650a1fee9e09f40 [INFO] running `Command { std: "docker" "start" "-a" "f9b9f1744d67cd6dd4946f4a62918c3d2c1a2099f2bcb754c650a1fee9e09f40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9b9f1744d67cd6dd4946f4a62918c3d2c1a2099f2bcb754c650a1fee9e09f40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9b9f1744d67cd6dd4946f4a62918c3d2c1a2099f2bcb754c650a1fee9e09f40", kill_on_drop: false }` [INFO] [stdout] f9b9f1744d67cd6dd4946f4a62918c3d2c1a2099f2bcb754c650a1fee9e09f40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+db0e836148accac8a22532e3596ac612b63c2d8e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92a89ba51d2ab7a25bd99d9c3df615ecd803edd03a2450a8681d85c765a043d3 [INFO] running `Command { std: "docker" "start" "-a" "92a89ba51d2ab7a25bd99d9c3df615ecd803edd03a2450a8681d85c765a043d3", kill_on_drop: false }` [INFO] [stderr] Checking solar_time v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `latitude` [INFO] [stdout] --> src/lib.rs:179:33 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn calculate_solar_time(latitude: f64, longitude: f64, date: &Date, local_time_ms: i64) -> i64 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_latitude` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/lib.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | let c = 2.0 * PI * (day_of_year - 1.0) / 365.0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `latitude` [INFO] [stdout] --> src/lib.rs:179:33 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn calculate_solar_time(latitude: f64, longitude: f64, date: &Date, local_time_ms: i64) -> i64 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_latitude` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/lib.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | let c = 2.0 * PI * (day_of_year - 1.0) / 365.0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Date`, `Time`, and `Timestamp` [INFO] [stdout] --> src/main.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use solar_time::{Date, Time, Timestamp}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Date`, `Time`, and `Timestamp` [INFO] [stdout] --> src/main.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use solar_time::{Date, Time, Timestamp}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mean_longitude` [INFO] [stdout] --> src/main.rs:331:26 [INFO] [stdout] | [INFO] [stdout] 331 | fn calc_moon_corrections(mean_longitude: Sexagesimal, true_longitude: Sexagesimal, ahargana: f64) -> Sexagesimal { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mean_longitude` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mean_longitude` [INFO] [stdout] --> src/main.rs:331:26 [INFO] [stdout] | [INFO] [stdout] 331 | fn calc_moon_corrections(mean_longitude: Sexagesimal, true_longitude: Sexagesimal, ahargana: f64) -> Sexagesimal { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mean_longitude` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `normalize_latitude` is never used [INFO] [stdout] --> src/main.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 111 | impl Sexagesimal { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 163 | fn normalize_latitude(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SOLAR_YEAR` is never used [INFO] [stdout] --> src/main.rs:206:7 [INFO] [stdout] | [INFO] [stdout] 206 | const SOLAR_YEAR: Sexagesimal = Sexagesimal { degrees: 365, minutes: 15, seconds: 31.5 }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYNODIC_MONTH` is never used [INFO] [stdout] --> src/main.rs:208:7 [INFO] [stdout] | [INFO] [stdout] 208 | const SYNODIC_MONTH: Sexagesimal = Sexagesimal { degrees: 29, minutes: 31, seconds: 50.0 }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SIDEREAL_MONTH` is never used [INFO] [stdout] --> src/main.rs:209:7 [INFO] [stdout] | [INFO] [stdout] 209 | const SIDEREAL_MONTH: Sexagesimal = Sexagesimal { degrees: 27, minutes: 19, seconds: 18.0 }; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ANOMALISTIC_MONTH` is never used [INFO] [stdout] --> src/main.rs:210:7 [INFO] [stdout] | [INFO] [stdout] 210 | const ANOMALISTIC_MONTH: Sexagesimal = Sexagesimal { degrees: 27, minutes: 33, seconds: 16.5 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NODICAL_MONTH` is never used [INFO] [stdout] --> src/main.rs:211:7 [INFO] [stdout] | [INFO] [stdout] 211 | const NODICAL_MONTH: Sexagesimal = Sexagesimal { degrees: 27, minutes: 12, seconds: 43.8 }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Graha` is never constructed [INFO] [stdout] --> src/main.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 225 | struct Graha { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_moon_corrections` is never used [INFO] [stdout] --> src/main.rs:331:4 [INFO] [stdout] | [INFO] [stdout] 331 | fn calc_moon_corrections(mean_longitude: Sexagesimal, true_longitude: Sexagesimal, ahargana: f64) -> Sexagesimal { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_nakshatra` is never used [INFO] [stdout] --> src/main.rs:343:4 [INFO] [stdout] | [INFO] [stdout] 343 | fn get_nakshatra(longitude: Sexagesimal) -> (&'static str, Sexagesimal) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_tithi` is never used [INFO] [stdout] --> src/main.rs:356:4 [INFO] [stdout] | [INFO] [stdout] 356 | fn calc_tithi(sun_longitude: Sexagesimal, moon_longitude: Sexagesimal) -> (u8, Sexagesimal) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_yoga` is never used [INFO] [stdout] --> src/main.rs:363:4 [INFO] [stdout] | [INFO] [stdout] 363 | fn calc_yoga(sun_longitude: Sexagesimal, moon_longitude: Sexagesimal) -> (u8, Sexagesimal) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_karana` is never used [INFO] [stdout] --> src/main.rs:370:4 [INFO] [stdout] | [INFO] [stdout] 370 | fn calc_karana(tithi: u8, tithi_remainder: Sexagesimal) -> (&'static str, Sexagesimal) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `normalize_latitude` is never used [INFO] [stdout] --> src/main.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 111 | impl Sexagesimal { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 163 | fn normalize_latitude(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SOLAR_YEAR` is never used [INFO] [stdout] --> src/main.rs:206:7 [INFO] [stdout] | [INFO] [stdout] 206 | const SOLAR_YEAR: Sexagesimal = Sexagesimal { degrees: 365, minutes: 15, seconds: 31.5 }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYNODIC_MONTH` is never used [INFO] [stdout] --> src/main.rs:208:7 [INFO] [stdout] | [INFO] [stdout] 208 | const SYNODIC_MONTH: Sexagesimal = Sexagesimal { degrees: 29, minutes: 31, seconds: 50.0 }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SIDEREAL_MONTH` is never used [INFO] [stdout] --> src/main.rs:209:7 [INFO] [stdout] | [INFO] [stdout] 209 | const SIDEREAL_MONTH: Sexagesimal = Sexagesimal { degrees: 27, minutes: 19, seconds: 18.0 }; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ANOMALISTIC_MONTH` is never used [INFO] [stdout] --> src/main.rs:210:7 [INFO] [stdout] | [INFO] [stdout] 210 | const ANOMALISTIC_MONTH: Sexagesimal = Sexagesimal { degrees: 27, minutes: 33, seconds: 16.5 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NODICAL_MONTH` is never used [INFO] [stdout] --> src/main.rs:211:7 [INFO] [stdout] | [INFO] [stdout] 211 | const NODICAL_MONTH: Sexagesimal = Sexagesimal { degrees: 27, minutes: 12, seconds: 43.8 }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Graha` is never constructed [INFO] [stdout] --> src/main.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 225 | struct Graha { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_moon_corrections` is never used [INFO] [stdout] --> src/main.rs:331:4 [INFO] [stdout] | [INFO] [stdout] 331 | fn calc_moon_corrections(mean_longitude: Sexagesimal, true_longitude: Sexagesimal, ahargana: f64) -> Sexagesimal { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_nakshatra` is never used [INFO] [stdout] --> src/main.rs:343:4 [INFO] [stdout] | [INFO] [stdout] 343 | fn get_nakshatra(longitude: Sexagesimal) -> (&'static str, Sexagesimal) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_tithi` is never used [INFO] [stdout] --> src/main.rs:356:4 [INFO] [stdout] | [INFO] [stdout] 356 | fn calc_tithi(sun_longitude: Sexagesimal, moon_longitude: Sexagesimal) -> (u8, Sexagesimal) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_yoga` is never used [INFO] [stdout] --> src/main.rs:363:4 [INFO] [stdout] | [INFO] [stdout] 363 | fn calc_yoga(sun_longitude: Sexagesimal, moon_longitude: Sexagesimal) -> (u8, Sexagesimal) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_karana` is never used [INFO] [stdout] --> src/main.rs:370:4 [INFO] [stdout] | [INFO] [stdout] 370 | fn calc_karana(tithi: u8, tithi_remainder: Sexagesimal) -> (&'static str, Sexagesimal) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "92a89ba51d2ab7a25bd99d9c3df615ecd803edd03a2450a8681d85c765a043d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92a89ba51d2ab7a25bd99d9c3df615ecd803edd03a2450a8681d85c765a043d3", kill_on_drop: false }` [INFO] [stdout] 92a89ba51d2ab7a25bd99d9c3df615ecd803edd03a2450a8681d85c765a043d3