Skip to content

Use nightly currently #4

Use nightly currently

Use nightly currently #4

Triggered via push April 3, 2024 13:03
Status Success
Total duration 24s
Artifacts

rust.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 warnings
an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true: src/u256.rs#L848
warning: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true --> src/u256.rs:848:1 | 848 | impl Into<u8> for U256 { | ^^^^^^^^^^^^^^^^^^^^^^ | = 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 help: replace the `Into` implementation with `From<u256::U256>` | 848 ~ impl From<U256> for u8 { 849 | #[inline] 850 ~ fn from(val: U256) -> Self { 851 ~ val.0[3] as u8 |
an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true: src/u256.rs#L841
warning: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true --> src/u256.rs:841:1 | 841 | impl Into<u16> for U256 { | ^^^^^^^^^^^^^^^^^^^^^^^ | = 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 help: replace the `Into` implementation with `From<u256::U256>` | 841 ~ impl From<U256> for u16 { 842 | #[inline] 843 ~ fn from(val: U256) -> Self { 844 ~ val.0[3] as u16 |
an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true: src/u256.rs#L834
warning: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true --> src/u256.rs:834:1 | 834 | impl Into<u32> for U256 { | ^^^^^^^^^^^^^^^^^^^^^^^ | = 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 help: replace the `Into` implementation with `From<u256::U256>` | 834 ~ impl From<U256> for u32 { 835 | #[inline] 836 ~ fn from(val: U256) -> Self { 837 ~ val.0[3] as u32 |
an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true: src/u256.rs#L827
warning: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true --> src/u256.rs:827:1 | 827 | impl Into<u64> for U256 { | ^^^^^^^^^^^^^^^^^^^^^^^ | = 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<u256::U256>` | 827 ~ impl From<U256> for u64 { 828 | #[inline] 829 ~ fn from(val: U256) -> Self { 830 ~ val.0[3] |
method `then_or` is never used: src/lib.rs#L5
warning: method `then_or` is never used --> src/lib.rs:5:8 | 4 | trait ThenOr { | ------ method in this trait 5 | fn then_or<T, B, Result>(self, fn1: T, fn2: B) -> Result | ^^^^^^^ | = 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. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
clippy
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/.
clippy
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/