Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Test all endpoints (#10) #37

Test all endpoints (#10)

Test all endpoints (#10) #37

Triggered via push April 4, 2024 10:38
Status Success
Total duration 1m 1s
Artifacts

rust.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 warnings
an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true: src/data_model/time.rs#L10
warning: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true --> src/data_model/time.rs:10:1 | 10 | impl Into<Duration> for Milliseconds { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: `impl From<Local> for Foreign` is allowed by the orphan rules, for more information see https://doc.rust-lang.org/reference/items/implementations.html#trait-implementation-coherence = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#from_over_into = note: `#[warn(clippy::from_over_into)]` on by default help: replace the `Into` implementation with `From<data_model::time::Milliseconds>` | 10 ~ impl From<Milliseconds> for Duration { 11 ~ fn from(val: Milliseconds) -> Self { 12 ~ Duration::try_milliseconds(val.0).unwrap() |
an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true: src/data_model/time.rs#L10
warning: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true --> src/data_model/time.rs:10:1 | 10 | impl Into<Duration> for Milliseconds { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: `impl From<Local> for Foreign` is allowed by the orphan rules, for more information see https://doc.rust-lang.org/reference/items/implementations.html#trait-implementation-coherence = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#from_over_into = note: `#[warn(clippy::from_over_into)]` on by default help: replace the `Into` implementation with `From<data_model::time::Milliseconds>` | 10 ~ impl From<Milliseconds> for Duration { 11 ~ fn from(val: Milliseconds) -> Self { 12 ~ Duration::try_milliseconds(val.0).unwrap() |
associated function `new` is never used: src/data_model/time.rs#L35
warning: associated function `new` is never used --> src/data_model/time.rs:35:12 | 34 | impl Timespan { | ------------- associated function in this implementation 35 | pub fn new(start: DateTimeUtc, end: DateTimeUtc) -> Self { | ^^^ | = note: `#[warn(dead_code)]` on by default
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/