[INFO] fetching crate rust-ephemeris 0.1.0-beta... [INFO] checking rust-ephemeris-0.1.0-beta against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate rust-ephemeris 0.1.0-beta into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate rust-ephemeris 0.1.0-beta [INFO] finished tweaking crates.io crate rust-ephemeris 0.1.0-beta [INFO] tweaked toml for crates.io crate rust-ephemeris 0.1.0-beta written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-ephemeris 0.1.0-beta on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85b420028c66839fee207283773b8575dfa04c26bea2bc181c570952213281e6 [INFO] running `Command { std: "docker" "start" "-a" "85b420028c66839fee207283773b8575dfa04c26bea2bc181c570952213281e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85b420028c66839fee207283773b8575dfa04c26bea2bc181c570952213281e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85b420028c66839fee207283773b8575dfa04c26bea2bc181c570952213281e6", kill_on_drop: false }` [INFO] [stdout] 85b420028c66839fee207283773b8575dfa04c26bea2bc181c570952213281e6 [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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bd9c345f68c6b8d07da1bd59e97c8fe8bb002b77ec4cbf030c6a577c9643681 [INFO] running `Command { std: "docker" "start" "-a" "7bd9c345f68c6b8d07da1bd59e97c8fe8bb002b77ec4cbf030c6a577c9643681", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking rust-ephemeris v0.1.0-beta (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/internal/math_utils.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | let parts: Vec<&str> = deg.split(|c| (c == '°' || c == '\'' || c == '\"')).collect(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - let parts: Vec<&str> = deg.split(|c| (c == '°' || c == '\'' || c == '\"')).collect(); [INFO] [stdout] 44 + let parts: Vec<&str> = deg.split(|c| c == '°' || c == '\'' || c == '\"').collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/internal/math_utils.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | let parts: Vec<&str> = deg.split(|c| (c == '°' || c == '\'' || c == '\"')).collect(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - let parts: Vec<&str> = deg.split(|c| (c == '°' || c == '\'' || c == '\"')).collect(); [INFO] [stdout] 44 + let parts: Vec<&str> = deg.split(|c| c == '°' || c == '\'' || c == '\"').collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `moon_lon_t` is never used [INFO] [stdout] --> src/internal/ephemeris.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn moon_lon_t(w: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mqc2` is never used [INFO] [stdout] --> src/internal/ephemeris.rs:391:4 [INFO] [stdout] | [INFO] [stdout] 391 | fn mqc2(ho: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/internal/ephemeris.rs:481:5 [INFO] [stdout] | [INFO] [stdout] 478 | pub enum PlutoParam { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 481 | PP, [INFO] [stdout] | ^^ [INFO] [stdout] 482 | PQ, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 485 | Ppi, [INFO] [stdout] | ^^^ [INFO] [stdout] 486 | PII, [INFO] [stdout] | ^^^ [INFO] [stdout] 487 | Pp, [INFO] [stdout] | ^^ [INFO] [stdout] 488 | Pth, [INFO] [stdout] | ^^^ [INFO] [stdout] 489 | PZ, [INFO] [stdout] | ^^ [INFO] [stdout] 490 | Pz, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlutoParam` 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: variants `IAU1976` and `IAU2000` are never constructed [INFO] [stdout] --> src/internal/ephemeris.rs:495:5 [INFO] [stdout] | [INFO] [stdout] 494 | pub enum PlutoModel { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 495 | IAU1976, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 496 | IAU2000, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlutoModel` 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: constant `CS_R_EAR_A` is never used [INFO] [stdout] --> src/internal/constants.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | pub const CS_R_EAR_A: f64 = 0.99834 * CS_R_EAR; // 平均半径 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CS_BA2` is never used [INFO] [stdout] --> src/internal/constants.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | pub const CS_BA2: f64 = CS_BA * CS_BA; // 地球极赤半径比的平方 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CS_SIN_P` is never used [INFO] [stdout] --> src/internal/constants.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | pub const CS_SIN_P: f64 = CS_R_EAR / CS_AU; // sin(太阳视差) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CS_PI` is never used [INFO] [stdout] --> src/internal/constants.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | pub const CS_PI: f64 = 0.0000426352097959108; // 太阳视差 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `year` is never read [INFO] [stdout] --> src/internal/lunnar.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct YearCalender { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 9 | pub year: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `YearCalender` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `moon_lon_t` is never used [INFO] [stdout] --> src/internal/ephemeris.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn moon_lon_t(w: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mqc2` is never used [INFO] [stdout] --> src/internal/ephemeris.rs:391:4 [INFO] [stdout] | [INFO] [stdout] 391 | fn mqc2(ho: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/internal/ephemeris.rs:481:5 [INFO] [stdout] | [INFO] [stdout] 478 | pub enum PlutoParam { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 481 | PP, [INFO] [stdout] | ^^ [INFO] [stdout] 482 | PQ, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 485 | Ppi, [INFO] [stdout] | ^^^ [INFO] [stdout] 486 | PII, [INFO] [stdout] | ^^^ [INFO] [stdout] 487 | Pp, [INFO] [stdout] | ^^ [INFO] [stdout] 488 | Pth, [INFO] [stdout] | ^^^ [INFO] [stdout] 489 | PZ, [INFO] [stdout] | ^^ [INFO] [stdout] 490 | Pz, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlutoParam` 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: variants `IAU1976` and `IAU2000` are never constructed [INFO] [stdout] --> src/internal/ephemeris.rs:495:5 [INFO] [stdout] | [INFO] [stdout] 494 | pub enum PlutoModel { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 495 | IAU1976, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 496 | IAU2000, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlutoModel` 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: constant `CS_R_EAR_A` is never used [INFO] [stdout] --> src/internal/constants.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | pub const CS_R_EAR_A: f64 = 0.99834 * CS_R_EAR; // 平均半径 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CS_BA2` is never used [INFO] [stdout] --> src/internal/constants.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | pub const CS_BA2: f64 = CS_BA * CS_BA; // 地球极赤半径比的平方 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CS_SIN_P` is never used [INFO] [stdout] --> src/internal/constants.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | pub const CS_SIN_P: f64 = CS_R_EAR / CS_AU; // sin(太阳视差) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CS_PI` is never used [INFO] [stdout] --> src/internal/constants.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | pub const CS_PI: f64 = 0.0000426352097959108; // 太阳视差 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.41s [INFO] running `Command { std: "docker" "inspect" "7bd9c345f68c6b8d07da1bd59e97c8fe8bb002b77ec4cbf030c6a577c9643681", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bd9c345f68c6b8d07da1bd59e97c8fe8bb002b77ec4cbf030c6a577c9643681", kill_on_drop: false }` [INFO] [stdout] 7bd9c345f68c6b8d07da1bd59e97c8fe8bb002b77ec4cbf030c6a577c9643681