Skip to content

Add a basic CI

Add a basic CI #3

Triggered via push November 17, 2023 14:18
Status Failure
Total duration 1m 8s
Artifacts

ci_no_std.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 29 warnings
unused import: `num_traits::Float`: src/lib.rs#L49
error: unused import: `num_traits::Float` --> src/lib.rs:49:5 | 49 | use num_traits::Float; | ^^^^^^^^^^^^^^^^^
unused import: `num_traits::Float`: src/tle.rs#L10
error: unused import: `num_traits::Float` --> src/tle.rs:10:5 | 10 | use num_traits::Float; | ^^^^^^^^^^^^^^^^^
unused import: `num_traits::Float`: src/third_body.rs#L2
error: unused import: `num_traits::Float` --> src/third_body.rs:2:5 | 2 | use num_traits::Float; | ^^^^^^^^^^^^^^^^^
unused import: `num_traits::Float`: src/near_earth.rs#L6
error: unused import: `num_traits::Float` --> src/near_earth.rs:6:5 | 6 | use num_traits::Float; | ^^^^^^^^^^^^^^^^^
unused import: `num_traits::Float`: src/model.rs#L2
error: unused import: `num_traits::Float` --> src/model.rs:2:5 | 2 | use num_traits::Float; | ^^^^^^^^^^^^^^^^^
unused import: `num_traits::Euclid`: src/model.rs#L5
error: unused import: `num_traits::Euclid` --> src/model.rs:5:5 | 5 | use num_traits::Euclid; | ^^^^^^^^^^^^^^^^^^
unused import: `num_traits::Euclid`: src/deep_space.rs#L11
error: unused import: `num_traits::Euclid` --> src/deep_space.rs:11:5 | 11 | use num_traits::Euclid; | ^^^^^^^^^^^^^^^^^^
unused import: `num_traits::Float`: src/deep_space.rs#L8
error: unused import: `num_traits::Float` --> src/deep_space.rs:8:5 | 8 | use num_traits::Float; | ^^^^^^^^^^^^^^^^^ | = note: `-D unused-imports` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_imports)]`
mismatched types: src/model.rs#L112
error[E0308]: mismatched types --> src/model.rs:112:17 | 92 | pub fn afspc_epoch_to_sidereal_time(epoch: f64) -> f64 { | --- expected `f64` because of return type ... 112 | &(2.0 * core::f64::consts::PI) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `f64`, found `&f64` | help: consider removing the borrow | 112 - &(2.0 * core::f64::consts::PI) 112 + (2.0 * core::f64::consts::PI) |
mismatched types: src/model.rs#L80
error[E0308]: mismatched types --> src/model.rs:80:17 | 61 | pub fn iau_epoch_to_sidereal_time(epoch: f64) -> f64 { | --- expected `f64` because of return type ... 80 | &(2.0 * core::f64::consts::PI) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `f64`, found `&f64` | help: consider removing the borrow | 80 - &(2.0 * core::f64::consts::PI) 80 + (2.0 * core::f64::consts::PI) |
mismatched types: src/deep_space.rs#L754
error[E0308]: mismatched types --> src/deep_space.rs:754:37 | 754 | ... &(2.0 * core::f64::consts::PI) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `f64`, found `&f64` | help: consider removing the borrow | 754 - &(2.0 * core::f64::consts::PI) 754 + (2.0 * core::f64::consts::PI) |
clippy_check
Clippy had exited with the 101 exit code
test: src/deep_space.rs#L754
mismatched types
test: src/model.rs#L80
mismatched types
test: src/model.rs#L112
mismatched types
test
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
format_check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
format_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
format_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
format_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
format_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy_check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test: src/deep_space.rs#L8
unused import: `num_traits::Float`
test: src/deep_space.rs#L11
unused import: `num_traits::Euclid`
test: src/model.rs#L5
unused import: `num_traits::Euclid`
test: src/model.rs#L2
unused import: `num_traits::Float`
test: src/near_earth.rs#L6
unused import: `num_traits::Float`
test: src/third_body.rs#L2
unused import: `num_traits::Float`
test: src/tle.rs#L10
unused import: `num_traits::Float`
test: src/lib.rs#L49
unused import: `num_traits::Float`
test
`sgp4` (lib) generated 8 warnings