Skip to content

commit lockfile, update deps, normalize imports #158

commit lockfile, update deps, normalize imports

commit lockfile, update deps, normalize imports #158

Triggered via push August 15, 2024 21:38
Status Failure
Total duration 3m 0s
Artifacts

clippy.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
no function or associated item named `decode` found for struct `settleOfflineFeeCall` in the current scope: /home/runner/.cargo/git/checkouts/renegade-ad0d3831126b3d27/a0ea328/arbitrum-client/src/helpers.rs#L179
error[E0599]: no function or associated item named `decode` found for struct `settleOfflineFeeCall` in the current scope --> /home/runner/.cargo/git/checkouts/renegade-ad0d3831126b3d27/a0ea328/arbitrum-client/src/helpers.rs:179:38 | 179 | let call = settleOfflineFeeCall::decode(calldata, true /* validate */) | ^^^^^^ function or associated item not found in `settleOfflineFeeCall` | ::: /home/runner/.cargo/git/checkouts/renegade-ad0d3831126b3d27/a0ea328/arbitrum-client/src/abi.rs:64:1 | 64 | / sol! { 65 | | function newWallet(bytes memory proof, bytes memory valid_wallet_create_statement_bytes) external; 66 | | function updateWallet(bytes memory proof, bytes memory valid_wallet_update_statement_bytes, bytes memory wallet_commitment_signature,... 67 | | function processMatchSettle(bytes memory party_0_match_payload, bytes memory party_1_match_payload, bytes memory valid_match_settle_s... 68 | | function settleOnlineRelayerFee(bytes memory proof, bytes memory valid_relayer_fee_settlement_statement, bytes memory relayer_wallet_... 69 | | function settleOfflineFee(bytes memory proof, bytes memory valid_offline_fee_settlement_statement) external; | |_____________________________- function or associated item `decode` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope = note: the following traits define an item `decode`, perhaps you need to implement one of them: candidate #1: `AbiDecode` candidate #2: `FunctionOutputDecoder` candidate #3: `parity_scale_codec::codec::Decode` candidate #4: `Decodable` candidate #5: `open_fastrlp::decode::Decodable` candidate #6: `Decode` candidate #7: `ethers::ethers_core::k256::pkcs8::der::Reader` candidate #8: `base64::engine::Engine` candidate #9: `tokio_util::codec::decoder::Decoder` candidate #10: `quinn_proto::coding::Codec` candidate #11: `base_x::alphabet::Alphabet` candidate #12: `tonic::codec::Decoder` candidate #13: `tonic::metadata::encoding::value_encoding::Sealed` candidate #14: `prost::message::Message` candidate #15: `alloy_sol_types::types::r#enum::SolEnum` candidate #16: `alloy_sol_types::types::error::SolError` candidate #17: `alloy_sol_types::types::function::SolCall` candidate #18: `alloy_sol_types::types::interface::SolInterface` candidate #19: `alloy_sol_types::types::ty::SolType` help: there is an associated function `abi_decode` with a similar name | 179 | let call = settleOfflineFeeCall::abi_decode(calldata, true /* validate */) | ~~~~~~~~~~
no function or associated item named `decode` found for struct `redeemFeeCall` in the current scope: /home/runner/.cargo/git/checkouts/renegade-ad0d3831126b3d27/a0ea328/arbitrum-client/src/helpers.rs#L163
error[E0599]: no function or associated item named `decode` found for struct `redeemFeeCall` in the current scope --> /home/runner/.cargo/git/checkouts/renegade-ad0d3831126b3d27/a0ea328/arbitrum-client/src/helpers.rs:163:31 | 163 | let call = redeemFeeCall::decode(calldata, true /* validate */) | ^^^^^^ function or associated item not found in `redeemFeeCall` | ::: /home/runner/.cargo/git/checkouts/renegade-ad0d3831126b3d27/a0ea328/arbitrum-client/src/abi.rs:64:1 | 64 | / sol! { 65 | | function newWallet(bytes memory proof, bytes memory valid_wallet_create_statement_bytes) external; 66 | | function updateWallet(bytes memory proof, bytes memory valid_wallet_update_statement_bytes, bytes memory wallet_commitment_signature,... 67 | | function processMatchSettle(bytes memory party_0_match_payload, bytes memory party_1_match_payload, bytes memory valid_match_settle_s... 68 | | function settleOnlineRelayerFee(bytes memory proof, bytes memory valid_relayer_fee_settlement_statement, bytes memory relayer_wallet_... 69 | | function settleOfflineFee(bytes memory proof, bytes memory valid_offline_fee_settlement_statement) external; 70 | | function redeemFee(bytes memory proof, bytes memory valid_fee_redemption_statement, bytes memory recipient_wallet_commitment_signatur... | |______________________- function or associated item `decode` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope = note: the following traits define an item `decode`, perhaps you need to implement one of them: candidate #1: `AbiDecode` candidate #2: `FunctionOutputDecoder` candidate #3: `parity_scale_codec::codec::Decode` candidate #4: `Decodable` candidate #5: `open_fastrlp::decode::Decodable` candidate #6: `Decode` candidate #7: `ethers::ethers_core::k256::pkcs8::der::Reader` candidate #8: `base64::engine::Engine` candidate #9: `tokio_util::codec::decoder::Decoder` candidate #10: `quinn_proto::coding::Codec` candidate #11: `base_x::alphabet::Alphabet` candidate #12: `tonic::codec::Decoder` candidate #13: `tonic::metadata::encoding::value_encoding::Sealed` candidate #14: `prost::message::Message` candidate #15: `alloy_sol_types::types::r#enum::SolEnum` candidate #16: `alloy_sol_types::types::error::SolError` candidate #17: `alloy_sol_types::types::function::SolCall` candidate #18: `alloy_sol_types::types::interface::SolInterface` candidate #19: `alloy_sol_types::types::ty::SolType` help: there is an associated function `abi_decode` with a similar name | 163 | let call = redeemFeeCall::abi_decode(calldata, true /* validate */) | ~~~~~~~~~~
no function or associated item named `decode` found for struct `settleOfflineFeeCall` in the current scope: /home/runner/.cargo/git/checkouts/renegade-ad0d3831126b3d27/a0ea328/arbitrum-client/src/helpers.rs#L147
error[E0599]: no function or associated item named `decode` found for struct `settleOfflineFeeCall` in the current scope --> /home/runner/.cargo/git/checkouts/renegade-ad0d3831126b3d27/a0ea328/arbitrum-client/src/helpers.rs:147:38 | 147 | let call = settleOfflineFeeCall::decode(calldata, true /* validate */) | ^^^^^^ function or associated item not found in `settleOfflineFeeCall` | ::: /home/runner/.cargo/git/checkouts/renegade-ad0d3831126b3d27/a0ea328/arbitrum-client/src/abi.rs:64:1 | 64 | / sol! { 65 | | function newWallet(bytes memory proof, bytes memory valid_wallet_create_statement_bytes) external; 66 | | function updateWallet(bytes memory proof, bytes memory valid_wallet_update_statement_bytes, bytes memory wallet_commitment_signature,... 67 | | function processMatchSettle(bytes memory party_0_match_payload, bytes memory party_1_match_payload, bytes memory valid_match_settle_s... 68 | | function settleOnlineRelayerFee(bytes memory proof, bytes memory valid_relayer_fee_settlement_statement, bytes memory relayer_wallet_... 69 | | function settleOfflineFee(bytes memory proof, bytes memory valid_offline_fee_settlement_statement) external; | |_____________________________- function or associated item `decode` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope = note: the following traits define an item `decode`, perhaps you need to implement one of them: candidate #1: `AbiDecode` candidate #2: `FunctionOutputDecoder` candidate #3: `parity_scale_codec::codec::Decode` candidate #4: `Decodable` candidate #5: `open_fastrlp::decode::Decodable` candidate #6: `Decode` candidate #7: `ethers::ethers_core::k256::pkcs8::der::Reader` candidate #8: `base64::engine::Engine` candidate #9: `tokio_util::codec::decoder::Decoder` candidate #10: `quinn_proto::coding::Codec` candidate #11: `base_x::alphabet::Alphabet` candidate #12: `tonic::codec::Decoder` candidate #13: `tonic::metadata::encoding::value_encoding::Sealed` candidate #14: `prost::message::Message` candidate #15: `alloy_sol_types::types::r#enum::SolEnum` candidate #16: `alloy_sol_types::types::error::SolError` candidate #17: `alloy_sol_types::types::function::SolCall` candidate #18: `alloy_sol_types::types::interface::SolInterface` candidate #19: `alloy_sol_types::types::ty::SolType` help: there is an associated function `abi_decode` with a similar name | 147 | let call = settleOfflineFeeCall::abi_decode(calldata, true /* validate */) | ~~~~~~~~~~
no function or associated item named `decode` found for struct `settleOnlineRelayerFeeCall` in the current scope: /home/runner/.cargo/git/checkouts/renegade-ad0d3831126b3d27/a0ea328/arbitrum-client/src/helpers.rs#L114
error[E0599]: no function or associated item named `decode` found for struct `settleOnlineRelayerFeeCall` in the current scope --> /home/runner/.cargo/git/checkouts/renegade-ad0d3831126b3d27/a0ea328/arbitrum-client/src/helpers.rs:114:44 | 114 | let call = settleOnlineRelayerFeeCall::decode(calldata, true /* validate */) | ^^^^^^ function or associated item not found in `settleOnlineRelayerFeeCall` | ::: /home/runner/.cargo/git/checkouts/renegade-ad0d3831126b3d27/a0ea328/arbitrum-client/src/abi.rs:64:1 | 64 | / sol! { 65 | | function newWallet(bytes memory proof, bytes memory valid_wallet_create_statement_bytes) external; 66 | | function updateWallet(bytes memory proof, bytes memory valid_wallet_update_statement_bytes, bytes memory wallet_commitment_signature,... 67 | | function processMatchSettle(bytes memory party_0_match_payload, bytes memory party_1_match_payload, bytes memory valid_match_settle_s... 68 | | function settleOnlineRelayerFee(bytes memory proof, bytes memory valid_relayer_fee_settlement_statement, bytes memory relayer_wallet_... | |___________________________________- function or associated item `decode` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope = note: the following traits define an item `decode`, perhaps you need to implement one of them: candidate #1: `AbiDecode` candidate #2: `FunctionOutputDecoder` candidate #3: `parity_scale_codec::codec::Decode` candidate #4: `Decodable` candidate #5: `open_fastrlp::decode::Decodable` candidate #6: `Decode` candidate #7: `ethers::ethers_core::k256::pkcs8::der::Reader` candidate #8: `base64::engine::Engine` candidate #9: `tokio_util::codec::decoder::Decoder` candidate #10: `quinn_proto::coding::Codec` candidate #11: `base_x::alphabet::Alphabet` candidate #12: `tonic::codec::Decoder` candidate #13: `tonic::metadata::encoding::value_encoding::Sealed` candidate #14: `prost::message::Message` candidate #15: `alloy_sol_types::types::r#enum::SolEnum` candidate #16: `alloy_sol_types::types::error::SolError` candidate #17: `alloy_sol_types::types::function::SolCall` candidate #18: `alloy_sol_types::types::interface::SolInterface` candidate #19: `alloy_sol_types::types::ty::SolType` help: there is an associated function `abi_decode` with a similar name | 114 | let call = settleOnlineRelayerFeeCall::abi_decode(calldata, true /* validate */) | ~~~~~~~~~~
no function or associated item named `decode` found for struct `processMatchSettleCall` in the current scope: /home/runner/.cargo/git/checkouts/renegade-ad0d3831126b3d27/a0ea328/arbitrum-client/src/helpers.rs#L81
error[E0599]: no function or associated item named `decode` found for struct `processMatchSettleCall` in the current scope --> /home/runner/.cargo/git/checkouts/renegade-ad0d3831126b3d27/a0ea328/arbitrum-client/src/helpers.rs:81:40 | 81 | let call = processMatchSettleCall::decode(calldata, true /* validate */) | ^^^^^^ function or associated item not found in `processMatchSettleCall` | ::: /home/runner/.cargo/git/checkouts/renegade-ad0d3831126b3d27/a0ea328/arbitrum-client/src/abi.rs:64:1 | 64 | / sol! { 65 | | function newWallet(bytes memory proof, bytes memory valid_wallet_create_statement_bytes) external; 66 | | function updateWallet(bytes memory proof, bytes memory valid_wallet_update_statement_bytes, bytes memory wallet_commitment_signature,... 67 | | function processMatchSettle(bytes memory party_0_match_payload, bytes memory party_1_match_payload, bytes memory valid_match_settle_s... | |_______________________________- function or associated item `decode` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope = note: the following traits define an item `decode`, perhaps you need to implement one of them: candidate #1: `AbiDecode` candidate #2: `FunctionOutputDecoder` candidate #3: `parity_scale_codec::codec::Decode` candidate #4: `Decodable` candidate #5: `open_fastrlp::decode::Decodable` candidate #6: `Decode` candidate #7: `ethers::ethers_core::k256::pkcs8::der::Reader` candidate #8: `base64::engine::Engine` candidate #9: `tokio_util::codec::decoder::Decoder` candidate #10: `quinn_proto::coding::Codec` candidate #11: `base_x::alphabet::Alphabet` candidate #12: `tonic::codec::Decoder` candidate #13: `tonic::metadata::encoding::value_encoding::Sealed` candidate #14: `prost::message::Message` candidate #15: `alloy_sol_types::types::r#enum::SolEnum` candidate #16: `alloy_sol_types::types::error::SolError` candidate #17: `alloy_sol_types::types::function::SolCall` candidate #18: `alloy_sol_types::types::interface::SolInterface` candidate #19: `alloy_sol_types::types::ty::SolType` help: there is an associated function `abi_decode` with a similar name | 81 | let call = processMatchSettleCall::abi_decode(calldata, true /* validate */) | ~~~~~~~~~~
no function or associated item named `decode` found for struct `updateWalletCall` in the current scope: /home/runner/.cargo/git/checkouts/renegade-ad0d3831126b3d27/a0ea328/arbitrum-client/src/helpers.rs#L64
error[E0599]: no function or associated item named `decode` found for struct `updateWalletCall` in the current scope --> /home/runner/.cargo/git/checkouts/renegade-ad0d3831126b3d27/a0ea328/arbitrum-client/src/helpers.rs:64:34 | 64 | let call = updateWalletCall::decode(calldata, true /* validate */) | ^^^^^^ function or associated item not found in `updateWalletCall` | ::: /home/runner/.cargo/git/checkouts/renegade-ad0d3831126b3d27/a0ea328/arbitrum-client/src/abi.rs:64:1 | 64 | / sol! { 65 | | function newWallet(bytes memory proof, bytes memory valid_wallet_create_statement_bytes) external; 66 | | function updateWallet(bytes memory proof, bytes memory valid_wallet_update_statement_bytes, bytes memory wallet_commitment_signature,... | |_________________________- function or associated item `decode` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope = note: the following traits define an item `decode`, perhaps you need to implement one of them: candidate #1: `AbiDecode` candidate #2: `FunctionOutputDecoder` candidate #3: `parity_scale_codec::codec::Decode` candidate #4: `Decodable` candidate #5: `open_fastrlp::decode::Decodable` candidate #6: `Decode` candidate #7: `ethers::ethers_core::k256::pkcs8::der::Reader` candidate #8: `base64::engine::Engine` candidate #9: `tokio_util::codec::decoder::Decoder` candidate #10: `quinn_proto::coding::Codec` candidate #11: `base_x::alphabet::Alphabet` candidate #12: `tonic::codec::Decoder` candidate #13: `tonic::metadata::encoding::value_encoding::Sealed` candidate #14: `prost::message::Message` candidate #15: `alloy_sol_types::types::r#enum::SolEnum` candidate #16: `alloy_sol_types::types::error::SolError` candidate #17: `alloy_sol_types::types::function::SolCall` candidate #18: `alloy_sol_types::types::interface::SolInterface` candidate #19: `alloy_sol_types::types::ty::SolType` help: there is an associated function `abi_decode` with a similar name | 64 | let call = updateWalletCall::abi_decode(calldata, true /* validate */) | ~~~~~~~~~~
no function or associated item named `decode` found for struct `newWalletCall` in the current scope: /home/runner/.cargo/git/checkouts/renegade-ad0d3831126b3d27/a0ea328/arbitrum-client/src/helpers.rs#L48
error[E0599]: no function or associated item named `decode` found for struct `newWalletCall` in the current scope --> /home/runner/.cargo/git/checkouts/renegade-ad0d3831126b3d27/a0ea328/arbitrum-client/src/helpers.rs:48:31 | 48 | let call = newWalletCall::decode(calldata, true /* validate */) | ^^^^^^ function or associated item not found in `newWalletCall` | ::: /home/runner/.cargo/git/checkouts/renegade-ad0d3831126b3d27/a0ea328/arbitrum-client/src/abi.rs:64:1 | 64 | / sol! { 65 | | function newWallet(bytes memory proof, bytes memory valid_wallet_create_statement_bytes) external; | |______________________- function or associated item `decode` not found for this struct | = help: items from traits can only be used if the trait is implemented and in scope = note: the following traits define an item `decode`, perhaps you need to implement one of them: candidate #1: `AbiDecode` candidate #2: `FunctionOutputDecoder` candidate #3: `parity_scale_codec::codec::Decode` candidate #4: `Decodable` candidate #5: `open_fastrlp::decode::Decodable` candidate #6: `Decode` candidate #7: `ethers::ethers_core::k256::pkcs8::der::Reader` candidate #8: `base64::engine::Engine` candidate #9: `tokio_util::codec::decoder::Decoder` candidate #10: `quinn_proto::coding::Codec` candidate #11: `base_x::alphabet::Alphabet` candidate #12: `tonic::codec::Decoder` candidate #13: `tonic::metadata::encoding::value_encoding::Sealed` candidate #14: `prost::message::Message` candidate #15: `alloy_sol_types::types::r#enum::SolEnum` candidate #16: `alloy_sol_types::types::error::SolError` candidate #17: `alloy_sol_types::types::function::SolCall` candidate #18: `alloy_sol_types::types::interface::SolInterface` candidate #19: `alloy_sol_types::types::ty::SolType` help: there is an associated function `abi_decode` with a similar name | 48 | let call = newWalletCall::abi_decode(calldata, true /* validate */) | ~~~~~~~~~~
mismatched types: /home/runner/.cargo/git/checkouts/renegade-ad0d3831126b3d27/a0ea328/arbitrum-client/src/conversion.rs#L111
error[E0308]: mismatched types --> /home/runner/.cargo/git/checkouts/renegade-ad0d3831126b3d27/a0ea328/arbitrum-client/src/conversion.rs:111:15 | 111 | mint: Address::from(mint), | ^^^^^^^^^^^^^^^^^^^ expected `Address`, found `alloy_primitives::Address` | = note: `alloy_primitives::Address` and `Address` have similar names, but are actually distinct types note: `alloy_primitives::Address` is defined in crate `alloy_primitives` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/alloy-primitives-0.7.7/src/bits/address.rs:45:1 | 45 | / wrap_fixed_bytes!( 46 | | // we implement Display with the checksum, so we don't derive it 47 | | extra_derives: [], 48 | | /// An Ethereum address, 20 bytes in length. ... | 86 | | pub struct Address<20>; 87 | | ); | |_^ note: `Address` is defined in crate `alloy_primitives` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/alloy-primitives-0.3.3/src/bits/address.rs:45:1 | 45 | / wrap_fixed_bytes!( 46 | | // we implement Display with the checksum, so we don't derive it 47 | | extra_derives: [], 48 | | /// An Ethereum address, 20 bytes in length. ... | 86 | | pub struct Address<20>; 87 | | ); | |_^ = note: perhaps two different versions of crate `alloy_primitives` are being used? = note: this error originates in the macro `wrap_fixed_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
mismatched types: /home/runner/.cargo/git/checkouts/renegade-ad0d3831126b3d27/a0ea328/arbitrum-client/src/conversion.rs#L110
error[E0308]: mismatched types --> /home/runner/.cargo/git/checkouts/renegade-ad0d3831126b3d27/a0ea328/arbitrum-client/src/conversion.rs:110:23 | 110 | account_addr: Address::from(account_addr), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Address`, found `alloy_primitives::Address` | = note: `alloy_primitives::Address` and `Address` have similar names, but are actually distinct types note: `alloy_primitives::Address` is defined in crate `alloy_primitives` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/alloy-primitives-0.7.7/src/bits/address.rs:45:1 | 45 | / wrap_fixed_bytes!( 46 | | // we implement Display with the checksum, so we don't derive it 47 | | extra_derives: [], 48 | | /// An Ethereum address, 20 bytes in length. ... | 86 | | pub struct Address<20>; 87 | | ); | |_^ note: `Address` is defined in crate `alloy_primitives` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/alloy-primitives-0.3.3/src/bits/address.rs:45:1 | 45 | / wrap_fixed_bytes!( 46 | | // we implement Display with the checksum, so we don't derive it 47 | | extra_derives: [], 48 | | /// An Ethereum address, 20 bytes in length. ... | 86 | | pub struct Address<20>; 87 | | ); | |_^ = note: perhaps two different versions of crate `alloy_primitives` are being used? = note: this error originates in the macro `wrap_fixed_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
clippy-check
Clippy had exited with the 101 exit code
clippy-check
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/
clippy-check
The following actions use a deprecated Node.js version and will be forced to run on node20: arduino/setup-protoc@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/