[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 try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fincredimo%2Fsolar_time" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/incredimo/solar_time on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e41cdd9ac52622208f2b9232715076b935203f32d204b7da643b8fcfa91554f7 [INFO] running `Command { std: "docker" "start" "-a" "e41cdd9ac52622208f2b9232715076b935203f32d204b7da643b8fcfa91554f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e41cdd9ac52622208f2b9232715076b935203f32d204b7da643b8fcfa91554f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e41cdd9ac52622208f2b9232715076b935203f32d204b7da643b8fcfa91554f7", kill_on_drop: false }` [INFO] [stdout] e41cdd9ac52622208f2b9232715076b935203f32d204b7da643b8fcfa91554f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa978f324b4f6ed6c0beb507b11ba501595f2775a8c199ab0b3afc53a4285e7c [INFO] running `Command { std: "docker" "start" "-a" "fa978f324b4f6ed6c0beb507b11ba501595f2775a8c199ab0b3afc53a4285e7c", 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.20s [INFO] running `Command { std: "docker" "inspect" "fa978f324b4f6ed6c0beb507b11ba501595f2775a8c199ab0b3afc53a4285e7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa978f324b4f6ed6c0beb507b11ba501595f2775a8c199ab0b3afc53a4285e7c", kill_on_drop: false }` [INFO] [stdout] fa978f324b4f6ed6c0beb507b11ba501595f2775a8c199ab0b3afc53a4285e7c