[INFO] cloning repository https://github.com/Ah141/icp-ethereum-wallet [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ah141/icp-ethereum-wallet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAh141%2Ficp-ethereum-wallet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAh141%2Ficp-ethereum-wallet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 06cde00bbb228636f2a50c343545cfca98f3e041 [INFO] checking Ah141/icp-ethereum-wallet against master#08cd08fbef8c6663b052d8d9e4930d5696cbb8a7 for 150662-leaf-spurious [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAh141%2Ficp-ethereum-wallet" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Ah141/icp-ethereum-wallet [INFO] finished tweaking git repo https://github.com/Ah141/icp-ethereum-wallet [INFO] tweaked toml for git repo https://github.com/Ah141/icp-ethereum-wallet written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Ah141/icp-ethereum-wallet on toolchain 08cd08fbef8c6663b052d8d9e4930d5696cbb8a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+08cd08fbef8c6663b052d8d9e4930d5696cbb8a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Ah141/icp-ethereum-wallet already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+08cd08fbef8c6663b052d8d9e4930d5696cbb8a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/dfinity/ic` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_bytes v0.11.17 [INFO] [stderr] Downloaded minicbor-derive v0.13.0 [INFO] [stderr] Downloaded minicbor v0.19.1 [INFO] [stderr] Downloaded ic-sha3 v1.0.0 [INFO] [stderr] Downloaded ic-cdk v0.15.2 [INFO] [stderr] Downloaded candid_derive v0.10.18 [INFO] [stderr] Downloaded serde_tokenstream v0.2.2 [INFO] [stderr] Downloaded ic0 v0.23.0 [INFO] [stderr] Downloaded ic-cdk-macros v0.15.0 [INFO] [stderr] Downloaded ic-cdk-executor v0.1.0 [INFO] [stderr] Downloaded ic-cdk-macros v0.14.0 [INFO] [stderr] Downloaded evm-rpc-canister-types v0.1.3 [INFO] [stderr] Downloaded ic_principal v0.1.1 [INFO] [stderr] Downloaded pretty v0.12.4 [INFO] [stderr] Downloaded const-hex v1.15.0 [INFO] [stderr] Downloaded alloy-consensus v0.1.4 [INFO] [stderr] Downloaded ic-cdk v0.14.2 [INFO] [stderr] Downloaded candid_parser v0.1.4 [INFO] [stderr] Downloaded candid v0.10.18 [INFO] [stderr] Downloaded alloy-primitives v0.7.7 [INFO] [stderr] Downloaded alloy-eips v0.1.4 [INFO] [stderr] Downloaded c-kzg v1.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+08cd08fbef8c6663b052d8d9e4930d5696cbb8a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c11bb11bd29c077ad62c6aefe80d9dd168ad47b56e95bd2adae4fd4bf6197b89 [INFO] running `Command { std: "docker" "start" "-a" "c11bb11bd29c077ad62c6aefe80d9dd168ad47b56e95bd2adae4fd4bf6197b89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c11bb11bd29c077ad62c6aefe80d9dd168ad47b56e95bd2adae4fd4bf6197b89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c11bb11bd29c077ad62c6aefe80d9dd168ad47b56e95bd2adae4fd4bf6197b89", kill_on_drop: false }` [INFO] [stdout] c11bb11bd29c077ad62c6aefe80d9dd168ad47b56e95bd2adae4fd4bf6197b89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+08cd08fbef8c6663b052d8d9e4930d5696cbb8a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae1cdb478e3f7b8acc20150c9ba30dc282129e191695ca6ccbec109692e32608 [INFO] running `Command { std: "docker" "start" "-a" "ae1cdb478e3f7b8acc20150c9ba30dc282129e191695ca6ccbec109692e32608", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling indexmap v2.11.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling pretty v0.12.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling candid_derive v0.10.18 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Checking arbitrary v1.4.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Compiling lalrpop-util v0.20.2 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Compiling alloy-rlp-derive v0.3.12 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Compiling ic-cdk-executor v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking alloy-rlp v0.3.12 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling serde_tokenstream v0.2.2 [INFO] [stderr] Checking candid v0.10.18 [INFO] [stderr] Compiling logos-codegen v0.13.0 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking ruint v1.16.0 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Compiling logos-derive v0.13.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking deranged v0.5.3 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking const-hex v1.15.0 [INFO] [stderr] Compiling minicbor v0.19.1 [INFO] [stderr] Checking ic0 v0.23.0 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking alloy-primitives v0.7.7 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking time v0.3.43 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking logos v0.13.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Compiling minicbor-derive v0.13.0 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking alloy-eips v0.1.4 [INFO] [stderr] Checking pem v1.1.1 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking ic-sha3 v1.0.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking alloy-consensus v0.1.4 [INFO] [stderr] Checking ic-sha3 v1.0.0 (https://github.com/dfinity/ic?tag=release-2025-07-03_03-27-base#e915efec) [INFO] [stderr] Checking ic-secp256k1 v0.1.0 (https://github.com/dfinity/ic?tag=release-2025-07-03_03-27-base#e915efec) [INFO] [stderr] Compiling ic-cdk-macros v0.14.0 [INFO] [stderr] Checking reqwest v0.12.23 [INFO] [stderr] Compiling ic-cdk-macros v0.15.0 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking ic-cdk v0.14.2 [INFO] [stderr] Checking ic-cdk v0.15.2 [INFO] [stderr] Checking ic-ethereum-types v1.0.0 (https://github.com/dfinity/ic?tag=release-2025-07-03_03-27-base#e915efec) [INFO] [stderr] Compiling candid_parser v0.1.4 [INFO] [stderr] Checking evm-rpc-canister-types v0.1.3 [INFO] [stderr] Checking basic_ethereum v0.1.0 (/opt/rustwide/workdir/src/icp-ethereum-wallet-backend) [INFO] [stdout] error: implementation is not supported in `trait`s or `impl`s [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/state.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | impl From for State { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider moving the implementation out to a nearby module scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation is not supported in `trait`s or `impl`s [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/state.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | impl From for State { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider moving the implementation out to a nearby module scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/state.rs:60:31 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn singel_rpc_service(&self) -> RpcServices { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/state.rs:60:31 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn singel_rpc_service(&self) -> RpcServices { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::state::lazy_call_ecdsa_public_key` [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/ethereum_wallet.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::state::{lazy_call_ecdsa_public_key, read_state}; // Utilities for accessing state and fetching public keys [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `lazy_call_ecdsa_public_key` in `state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::EthereumNetwork` [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/state.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{EcdsaKeyName, EthereumNetwork, InitArg}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `EthereumNetwork` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `evm_rpc_canister_type` [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use evm_rpc_canister_type::{EthMainnetService, EthSepoliaService, RpcServices}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `evm_rpc_canister_type` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use evm_rpc_canister_types::{EthMainnetService, EthSepoliaService, RpcServices}; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Vec` in this scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/state.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | Some(Vec![EthSepoliaService::PublicNode]) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/08cd08fbef8c6663b052d8d9e4930d5696cbb8a7/library/alloc/src/macros.rs:42:0 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] = note: `Vec` is in scope, but it is a struct, not a macro [INFO] [stdout] help: a macro with a similar name exists (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 66 - Some(Vec![EthSepoliaService::PublicNode]) [INFO] [stdout] 66 + Some(vec![EthSepoliaService::PublicNode]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Vec` in this scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/state.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | Some(Vec![EthMainnetService::PublicNode]) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/08cd08fbef8c6663b052d8d9e4930d5696cbb8a7/library/alloc/src/macros.rs:42:0 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] = note: `Vec` is in scope, but it is a struct, not a macro [INFO] [stdout] help: a macro with a similar name exists (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 63 - Some(Vec![EthMainnetService::PublicNode]) [INFO] [stdout] 63 + Some(vec![EthMainnetService::PublicNode]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::state::lazy_call_ecdsa_public_key` [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/ethereum_wallet.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::state::{lazy_call_ecdsa_public_key, read_state}; // Utilities for accessing state and fetching public keys [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `lazy_call_ecdsa_public_key` in `state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::EthereumNetwork` [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/state.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{EcdsaKeyName, EthereumNetwork, InitArg}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `EthereumNetwork` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0401]: can't use `Self` from outer item [INFO] [stdout] | [INFO] [stdout] = note: nested items are independent from their parent item for everything except for privacy and name resolution [INFO] [stdout] help: refer to the type directly here instead [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | State// This module handles ECDSA operations for signing Ethereum transactions. [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `evm_rpc_canister_type` [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use evm_rpc_canister_type::{EthMainnetService, EthSepoliaService, RpcServices}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `evm_rpc_canister_type` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use evm_rpc_canister_types::{EthMainnetService, EthSepoliaService, RpcServices}; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Vec` in this scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/state.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | Some(Vec![EthSepoliaService::PublicNode]) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/08cd08fbef8c6663b052d8d9e4930d5696cbb8a7/library/alloc/src/macros.rs:42:0 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] = note: `Vec` is in scope, but it is a struct, not a macro [INFO] [stdout] help: a macro with a similar name exists (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 66 - Some(Vec![EthSepoliaService::PublicNode]) [INFO] [stdout] 66 + Some(vec![EthSepoliaService::PublicNode]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Vec` in this scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/state.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | Some(Vec![EthMainnetService::PublicNode]) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/08cd08fbef8c6663b052d8d9e4930d5696cbb8a7/library/alloc/src/macros.rs:42:0 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `vec` defined here [INFO] [stdout] | [INFO] [stdout] = note: `Vec` is in scope, but it is a struct, not a macro [INFO] [stdout] help: a macro with a similar name exists (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 63 - Some(Vec![EthMainnetService::PublicNode]) [INFO] [stdout] 63 + Some(vec![EthMainnetService::PublicNode]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0401]: can't use `Self` from outer item [INFO] [stdout] | [INFO] [stdout] = note: nested items are independent from their parent item for everything except for privacy and name resolution [INFO] [stdout] help: refer to the type directly here instead [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | State// This module handles ECDSA operations for signing Ethereum transactions. [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `none` in this scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/state.rs:55:65 [INFO] [stdout] | [INFO] [stdout] 55 | EthereumNetwork::Mainnet => RpcServices::EthMainnet(none), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/08cd08fbef8c6663b052d8d9e4930d5696cbb8a7/library/core/src/option.rs:604:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named unit variant `None` defined here [INFO] [stdout] help: a unit variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 55 - EthereumNetwork::Mainnet => RpcServices::EthMainnet(none), [INFO] [stdout] 55 + EthereumNetwork::Mainnet => RpcServices::EthMainnet(None), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `none` in this scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/state.rs:56:65 [INFO] [stdout] | [INFO] [stdout] 56 | EthereumNetwork::Sepolia => RpcServices::EthSepolia(none), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/08cd08fbef8c6663b052d8d9e4930d5696cbb8a7/library/core/src/option.rs:604:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named unit variant `None` defined here [INFO] [stdout] help: a unit variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 56 - EthereumNetwork::Sepolia => RpcServices::EthSepolia(none), [INFO] [stdout] 56 + EthereumNetwork::Sepolia => RpcServices::EthSepolia(None), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `some` in this scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/state.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | if let some(ecdsa_pk) = read_state(|s| s.ecdsa_public_key.clone()) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/08cd08fbef8c6663b052d8d9e4930d5696cbb8a7/library/core/src/option.rs:608:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named tuple variant `Some` defined here [INFO] [stdout] help: a tuple variant with a similar name exists (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 92 - if let some(ecdsa_pk) = read_state(|s| s.ecdsa_public_key.clone()) { [INFO] [stdout] 92 + if let Some(ecdsa_pk) = read_state(|s| s.ecdsa_public_key.clone()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `none` in this scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/state.rs:99:22 [INFO] [stdout] | [INFO] [stdout] 99 | canister_id: none, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/08cd08fbef8c6663b052d8d9e4930d5696cbb8a7/library/core/src/option.rs:604:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named unit variant `None` defined here [INFO] [stdout] help: a unit variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 99 - canister_id: none, [INFO] [stdout] 99 + canister_id: None, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `response` in this scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/state.rs:110:35 [INFO] [stdout] | [INFO] [stdout] 110 | let pk = EcdsaPublicKey::from(response); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `EthereumNetwork` in this scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/lib.rs:213:34 [INFO] [stdout] | [INFO] [stdout] 213 | pub ethereum_network: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 212 | pub struct InitArg { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `EthereumNetwork` in this scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/lib.rs:213:34 [INFO] [stdout] | [INFO] [stdout] 213 | pub ethereum_network: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `EthereumNetwork` in this scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/lib.rs:213:34 [INFO] [stdout] | [INFO] [stdout] 213 | pub ethereum_network: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 212 | pub struct InitArg { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `EthereumNetwork` in this scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/lib.rs:218:6 [INFO] [stdout] | [INFO] [stdout] 218 | impl EthereumNetwork { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `none` in this scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/state.rs:55:65 [INFO] [stdout] | [INFO] [stdout] 55 | EthereumNetwork::Mainnet => RpcServices::EthMainnet(none), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/08cd08fbef8c6663b052d8d9e4930d5696cbb8a7/library/core/src/option.rs:604:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named unit variant `None` defined here [INFO] [stdout] help: a unit variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 55 - EthereumNetwork::Mainnet => RpcServices::EthMainnet(none), [INFO] [stdout] 55 + EthereumNetwork::Mainnet => RpcServices::EthMainnet(None), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `none` in this scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/state.rs:56:65 [INFO] [stdout] | [INFO] [stdout] 56 | EthereumNetwork::Sepolia => RpcServices::EthSepolia(none), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/08cd08fbef8c6663b052d8d9e4930d5696cbb8a7/library/core/src/option.rs:604:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named unit variant `None` defined here [INFO] [stdout] help: a unit variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 56 - EthereumNetwork::Sepolia => RpcServices::EthSepolia(none), [INFO] [stdout] 56 + EthereumNetwork::Sepolia => RpcServices::EthSepolia(None), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `some` in this scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/state.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | if let some(ecdsa_pk) = read_state(|s| s.ecdsa_public_key.clone()) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/08cd08fbef8c6663b052d8d9e4930d5696cbb8a7/library/core/src/option.rs:608:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named tuple variant `Some` defined here [INFO] [stdout] help: a tuple variant with a similar name exists (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 92 - if let some(ecdsa_pk) = read_state(|s| s.ecdsa_public_key.clone()) { [INFO] [stdout] 92 + if let Some(ecdsa_pk) = read_state(|s| s.ecdsa_public_key.clone()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `none` in this scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/state.rs:99:22 [INFO] [stdout] | [INFO] [stdout] 99 | canister_id: none, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/08cd08fbef8c6663b052d8d9e4930d5696cbb8a7/library/core/src/option.rs:604:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named unit variant `None` defined here [INFO] [stdout] help: a unit variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 99 - canister_id: none, [INFO] [stdout] 99 + canister_id: None, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `response` in this scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/state.rs:110:35 [INFO] [stdout] | [INFO] [stdout] 110 | let pk = EcdsaPublicKey::from(response); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `EthereumNetwork` in this scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/lib.rs:213:34 [INFO] [stdout] | [INFO] [stdout] 213 | pub ethereum_network: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 212 | pub struct InitArg { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `EthereumNetwork` in this scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/lib.rs:213:34 [INFO] [stdout] | [INFO] [stdout] 213 | pub ethereum_network: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `EthereumNetwork` in this scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/lib.rs:213:34 [INFO] [stdout] | [INFO] [stdout] 213 | pub ethereum_network: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 212 | pub struct InitArg { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `EthereumNetwork` in this scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/lib.rs:218:6 [INFO] [stdout] | [INFO] [stdout] 218 | impl EthereumNetwork { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `ic_cdk::api::call::RejectionCode` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/state.rs:105:75 [INFO] [stdout] | [INFO] [stdout] 105 | ic_cdk::trap(&format!("Failed to fetch ECDSA public key: {}: {}", error_code, message)) [INFO] [stdout] | -- ^^^^^^^^^^ `ic_cdk::api::call::RejectionCode` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `ic_cdk::api::call::RejectionCode` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mutate_state` in this scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/state.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 23 | / pub fn mutat_state(f: F) -> R [INFO] [stdout] 24 | | where [INFO] [stdout] 25 | | F: FnOnce(&mut State) -> R, [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] | |_- similarly named function `mutat_state` defined here [INFO] [stdout] ... [INFO] [stdout] 111 | mutate_state(|s| s.ecdsa_public_key = Some(pk.clone())); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 111 - mutate_state(|s| s.ecdsa_public_key = Some(pk.clone())); [INFO] [stdout] 111 + mutat_state(|s| s.ecdsa_public_key = Some(pk.clone())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `ic_cdk::api::call::RejectionCode` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/state.rs:105:75 [INFO] [stdout] | [INFO] [stdout] 105 | ic_cdk::trap(&format!("Failed to fetch ECDSA public key: {}: {}", error_code, message)) [INFO] [stdout] | -- ^^^^^^^^^^ `ic_cdk::api::call::RejectionCode` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `ic_cdk::api::call::RejectionCode` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `single_evm_rpc_service` found for reference `&State` in the current scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/lib.rs:169:47 [INFO] [stdout] | [INFO] [stdout] 169 | let single_rpc_service = read_state(|s| s.single_evm_rpc_service()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `evm_rpc_services` with a similar name [INFO] [stdout] | [INFO] [stdout] 169 - let single_rpc_service = read_state(|s| s.single_evm_rpc_service()); [INFO] [stdout] 169 + let single_rpc_service = read_state(|s| s.evm_rpc_services()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mutate_state` in this scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/state.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 23 | / pub fn mutat_state(f: F) -> R [INFO] [stdout] 24 | | where [INFO] [stdout] 25 | | F: FnOnce(&mut State) -> R, [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] | |_- similarly named function `mutat_state` defined here [INFO] [stdout] ... [INFO] [stdout] 111 | mutate_state(|s| s.ecdsa_public_key = Some(pk.clone())); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 111 - mutate_state(|s| s.ecdsa_public_key = Some(pk.clone())); [INFO] [stdout] 111 + mutat_state(|s| s.ecdsa_public_key = Some(pk.clone())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/state.rs:15:50 [INFO] [stdout] | [INFO] [stdout] 15 | STATE.with(|s| *s.borrow_mut() = State::from(init_args)); [INFO] [stdout] | ----------- ^^^^^^^^^ expected `State`, found `InitArg` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/08cd08fbef8c6663b052d8d9e4930d5696cbb8a7/library/core/src/convert/mod.rs:592:7 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/state.rs:18:54 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn read_state(f: impl FnOnce(&State) -> R) -> R{ [INFO] [stdout] | ---------- - ^ expected type parameter `R`, found `()` [INFO] [stdout] | | | [INFO] [stdout] | | expected this type parameter [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] 19 | STATE.with(|s| f(s.borrow().deref())); [INFO] [stdout] | - help: remove this semicolon to return this value [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `R` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `single_evm_rpc_service` found for reference `&State` in the current scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/lib.rs:169:47 [INFO] [stdout] | [INFO] [stdout] 169 | let single_rpc_service = read_state(|s| s.single_evm_rpc_service()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `evm_rpc_services` with a similar name [INFO] [stdout] | [INFO] [stdout] 169 - let single_rpc_service = read_state(|s| s.single_evm_rpc_service()); [INFO] [stdout] 169 + let single_rpc_service = read_state(|s| s.evm_rpc_services()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/state.rs:15:50 [INFO] [stdout] | [INFO] [stdout] 15 | STATE.with(|s| *s.borrow_mut() = State::from(init_args)); [INFO] [stdout] | ----------- ^^^^^^^^^ expected `State`, found `InitArg` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/08cd08fbef8c6663b052d8d9e4930d5696cbb8a7/library/core/src/convert/mod.rs:592:7 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/state.rs:18:54 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn read_state(f: impl FnOnce(&State) -> R) -> R{ [INFO] [stdout] | ---------- - ^ expected type parameter `R`, found `()` [INFO] [stdout] | | | [INFO] [stdout] | | expected this type parameter [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] 19 | STATE.with(|s| f(s.borrow().deref())); [INFO] [stdout] | - help: remove this semicolon to return this value [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `R` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `EthereumNetwork` in this scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/lib.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | EthereumNetwork::Mainnet => RpcService::EthMainnet(EthMainnetService::PublicNode), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `EthereumNetwork` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `EthereumNetwork` in this scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | EthereumNetwork::Sepolia => RpcService::EthSepolia(EthSepoliaService::PublicNode), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `EthereumNetwork` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `EthereumNetwork` in this scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/lib.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | EthereumNetwork::Mainnet => 1, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `EthereumNetwork` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `EthereumNetwork` in this scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/lib.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | EthereumNetwork::Sepolia => 11155111, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `EthereumNetwork` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0401, E0425, E0432, E0433, E0531, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `basic_ethereum` (lib) due to 26 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: cannot find type `EthereumNetwork` in this scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/lib.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | EthereumNetwork::Mainnet => RpcService::EthMainnet(EthMainnetService::PublicNode), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `EthereumNetwork` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `EthereumNetwork` in this scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | EthereumNetwork::Sepolia => RpcService::EthSepolia(EthSepoliaService::PublicNode), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `EthereumNetwork` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `EthereumNetwork` in this scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/lib.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | EthereumNetwork::Mainnet => 1, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `EthereumNetwork` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `EthereumNetwork` in this scope [INFO] [stdout] --> src/icp-ethereum-wallet-backend/src/lib.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | EthereumNetwork::Sepolia => 11155111, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `EthereumNetwork` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0401, E0425, E0432, E0433, E0531, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `basic_ethereum` (lib test) due to 26 previous errors [INFO] running `Command { std: "docker" "inspect" "ae1cdb478e3f7b8acc20150c9ba30dc282129e191695ca6ccbec109692e32608", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae1cdb478e3f7b8acc20150c9ba30dc282129e191695ca6ccbec109692e32608", kill_on_drop: false }` [INFO] [stdout] ae1cdb478e3f7b8acc20150c9ba30dc282129e191695ca6ccbec109692e32608