Skip to content

Merge branch 'master' into dependabot/cargo/uint-0.10.0

32cea86
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

Bump uint from 0.9.5 to 0.10.0 #4384

Merge branch 'master' into dependabot/cargo/uint-0.10.0
32cea86
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy-all-features failed Sep 3, 2025 in 0s

clippy-all-features

2 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 2
Warning 0
Note 0
Help 0

Versions

  • rustc 1.85.0 (4d91de4e4 2025-02-17)
  • cargo 1.85.0 (d73d2caf9 2024-12-31)
  • clippy 0.1.85 (4d91de4e48 2025-02-17)

Annotations

Check failure on line 44 in crates/relayer-types/src/applications/transfer/amount.rs

See this annotation in the file changed.

@github-actions github-actions / clippy-all-features

type mismatch in function arguments

error[E0631]: type mismatch in function arguments
   --> crates/relayer-types/src/applications/transfer/amount.rs:44:52
    |
44  |           let amount = U256::from_dec_str(s).map_err(Error::invalid_amount)?;
    |                                              ------- ^^^^^^^^^^^^^^^^^^^^^ expected due to this
    |                                              |
    |                                              required by a bound introduced by this call
    |
   ::: crates/relayer-types/src/applications/transfer/error.rs:16:1
    |
16  | / define_error! {
17  | |     #[derive(Debug, PartialEq, Eq)]
18  | |     Error {
19  | |         UnknowMessageTypeUrl
...   |
144 | | }
    | |_- found signature defined here
    |
    = note: expected function signature `fn(uint::uint::FromDecStrErr) -> _`
               found function signature `fn(uint::FromDecStrErr) -> _`
note: required by a bound in `std::result::Result::<T, E>::map_err`
   --> /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/result.rs:853:5
help: consider wrapping the function in a closure
    |
44  |         let amount = U256::from_dec_str(s).map_err(|arg0: uint::uint::FromDecStrErr| Error::invalid_amount(/* uint::FromDecStrErr */))?;
    |                                                    +++++++++++++++++++++++++++++++++                      +++++++++++++++++++++++++++

Check failure on line 44 in crates/relayer-types/src/applications/transfer/amount.rs

See this annotation in the file changed.

@github-actions github-actions / clippy-all-features

type mismatch in function arguments

error[E0631]: type mismatch in function arguments
   --> crates/relayer-types/src/applications/transfer/amount.rs:44:52
    |
44  |           let amount = U256::from_dec_str(s).map_err(Error::invalid_amount)?;
    |                                              ------- ^^^^^^^^^^^^^^^^^^^^^ expected due to this
    |                                              |
    |                                              required by a bound introduced by this call
    |
   ::: crates/relayer-types/src/applications/transfer/error.rs:16:1
    |
16  | / define_error! {
17  | |     #[derive(Debug, PartialEq, Eq)]
18  | |     Error {
19  | |         UnknowMessageTypeUrl
...   |
144 | | }
    | |_- found signature defined here
    |
    = note: expected function signature `fn(uint::uint::FromDecStrErr) -> _`
               found function signature `fn(uint::FromDecStrErr) -> _`
note: required by a bound in `std::result::Result::<T, E>::map_err`
   --> /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/result.rs:853:5
help: consider wrapping the function in a closure
    |
44  |         let amount = U256::from_dec_str(s).map_err(|arg0: uint::uint::FromDecStrErr| Error::invalid_amount(/* uint::FromDecStrErr */))?;
    |                                                    +++++++++++++++++++++++++++++++++                      +++++++++++++++++++++++++++