[INFO] cloning repository https://github.com/skundu42/evm-rust-apis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/skundu42/evm-rust-apis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskundu42%2Fevm-rust-apis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskundu42%2Fevm-rust-apis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 89c4b3169a6b96f63125a1cd49d84e8dc58fc8d7 [INFO] checking skundu42/evm-rust-apis/89c4b3169a6b96f63125a1cd49d84e8dc58fc8d7 against master#6f34f4ee074ce0affc7bbf4e2c835f66cd576f13 for pr-147017 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskundu42%2Fevm-rust-apis" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/skundu42/evm-rust-apis [INFO] finished tweaking git repo https://github.com/skundu42/evm-rust-apis [INFO] tweaked toml for git repo https://github.com/skundu42/evm-rust-apis written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/skundu42/evm-rust-apis on toolchain 6f34f4ee074ce0affc7bbf4e2c835f66cd576f13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6f34f4ee074ce0affc7bbf4e2c835f66cd576f13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/skundu42/evm-rust-apis 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" "+6f34f4ee074ce0affc7bbf4e2c835f66cd576f13" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nybbles v0.4.3 [INFO] [stderr] Downloaded alloy-trie v0.9.1 [INFO] [stderr] Downloaded alloy-consensus-any v1.0.27 [INFO] [stderr] Downloaded alloy-contract v1.0.27 [INFO] [stderr] Downloaded tungstenite v0.24.0 [INFO] [stderr] Downloaded alloy-rpc-types-anvil v1.0.27 [INFO] [stderr] Downloaded alloy-eip7702 v0.6.1 [INFO] [stderr] Downloaded alloy-sol-macro-expander v1.3.1 [INFO] [stderr] Downloaded alloy-rpc-types-debug v1.0.27 [INFO] [stderr] Downloaded alloy-rpc-types-any v1.0.27 [INFO] [stderr] Downloaded alloy-core v1.3.1 [INFO] [stderr] Downloaded alloy-rpc-types-txpool v1.0.27 [INFO] [stderr] Downloaded alloy-rpc-types-trace v1.0.27 [INFO] [stderr] Downloaded alloy-chains v0.2.8 [INFO] [stderr] Downloaded interprocess v2.2.3 [INFO] [stderr] Downloaded alloy-json-abi v1.3.1 [INFO] [stderr] Downloaded alloy-tx-macros v1.0.27 [INFO] [stderr] Downloaded alloy-transport-http v1.0.27 [INFO] [stderr] Downloaded alloy-transport-ipc v1.0.27 [INFO] [stderr] Downloaded alloy-pubsub v1.0.27 [INFO] [stderr] Downloaded alloy-sol-types v1.3.1 [INFO] [stderr] Downloaded alloy-rpc-client v1.0.27 [INFO] [stderr] Downloaded alloy-rpc-types-engine v1.0.27 [INFO] [stderr] Downloaded blst v0.3.15 [INFO] [stderr] Downloaded syn-solidity v1.3.1 [INFO] [stderr] Downloaded alloy-sol-macro v1.3.1 [INFO] [stderr] Downloaded alloy-transport v1.0.27 [INFO] [stderr] Downloaded c-kzg v2.1.1 [INFO] [stderr] Downloaded alloy-transport-ws v1.0.27 [INFO] [stderr] Downloaded hdrhistogram v7.5.4 [INFO] [stderr] Downloaded alloy-dyn-abi v1.3.1 [INFO] [stderr] Downloaded alloy-consensus v1.0.27 [INFO] [stderr] Downloaded alloy-eips v1.0.27 [INFO] [stderr] Downloaded alloy-rpc-types-eth v1.0.27 [INFO] [stderr] Downloaded alloy-network-primitives v1.0.27 [INFO] [stderr] Downloaded alloy-provider v1.0.27 [INFO] [stderr] Downloaded alloy-serde v1.0.27 [INFO] [stderr] Downloaded alloy-network v1.0.27 [INFO] [stderr] Downloaded alloy-signer-local v1.0.27 [INFO] [stderr] Downloaded recvmsg v1.0.0 [INFO] [stderr] Downloaded bimap v0.6.3 [INFO] [stderr] Downloaded alloy-json-rpc v1.0.27 [INFO] [stderr] Downloaded alloy-genesis v1.0.27 [INFO] [stderr] Downloaded wasmtimer v0.4.2 [INFO] [stderr] Downloaded ws_stream_wasm v0.7.5 [INFO] [stderr] Downloaded redis v0.25.4 [INFO] [stderr] Downloaded alloy-eip2124 v0.2.0 [INFO] [stderr] Downloaded alloy-signer v1.0.27 [INFO] [stderr] Downloaded alloy-primitives v1.3.1 [INFO] [stderr] Downloaded alloy-rpc-types v1.0.27 [INFO] [stderr] Downloaded alloy-eip2930 v0.2.1 [INFO] [stderr] Downloaded doctest-file v1.0.0 [INFO] [stderr] Downloaded alloy-sol-macro-input v1.3.1 [INFO] [stderr] Downloaded ruint v1.16.0 [INFO] [stderr] Downloaded alloy v1.0.27 [INFO] [stderr] Downloaded tokio-tungstenite v0.24.0 [INFO] [stderr] Downloaded const-hex v1.15.0 [INFO] [stderr] Downloaded alloy-sol-type-parser v1.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+6f34f4ee074ce0affc7bbf4e2c835f66cd576f13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 935bc473af80a5d4ec4fb597a68955a0fb2e4f2ca4a7ffe524041268a9f0611d [INFO] running `Command { std: "docker" "start" "-a" "935bc473af80a5d4ec4fb597a68955a0fb2e4f2ca4a7ffe524041268a9f0611d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "935bc473af80a5d4ec4fb597a68955a0fb2e4f2ca4a7ffe524041268a9f0611d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "935bc473af80a5d4ec4fb597a68955a0fb2e4f2ca4a7ffe524041268a9f0611d", kill_on_drop: false }` [INFO] [stdout] 935bc473af80a5d4ec4fb597a68955a0fb2e4f2ca4a7ffe524041268a9f0611d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+6f34f4ee074ce0affc7bbf4e2c835f66cd576f13" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bef062f437bb474d58270c78ba402538f7cc91ac70b18a922c7558278bc10a49 [INFO] running `Command { std: "docker" "start" "-a" "bef062f437bb474d58270c78ba402538f7cc91ac70b18a922c7558278bc10a49", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking crc v3.3.0 [INFO] [stderr] Compiling blst v0.3.15 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Compiling c-kzg v2.1.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling macro-string v0.1.4 [INFO] [stderr] Compiling syn-solidity v1.3.1 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling alloy-rlp-derive v0.3.12 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling auto_impl v1.3.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 darling_macro v0.20.11 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking serdect v0.2.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking const-hex v1.15.0 [INFO] [stderr] Checking alloy-rlp v0.3.12 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking ruint v1.16.0 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Compiling alloy-sol-type-parser v1.3.1 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking alloy-primitives v1.3.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking serde_with v3.14.0 [INFO] [stderr] Checking nybbles v0.4.3 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling alloy-json-abi v1.3.1 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking alloy-eip2930 v0.2.1 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking alloy-eip7702 v0.6.1 [INFO] [stderr] Checking alloy-serde v1.0.27 [INFO] [stderr] Checking alloy-eip2124 v0.2.0 [INFO] [stderr] Compiling alloy-tx-macros v1.0.27 [INFO] [stderr] Checking alloy-trie v0.9.1 [INFO] [stderr] Compiling alloy-sol-macro-input v1.3.1 [INFO] [stderr] Checking alloy-eips v1.0.27 [INFO] [stderr] Compiling alloy-sol-macro-expander v1.3.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking futures-utils-wasm v0.1.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking alloy-consensus v1.0.27 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking rustls-webpki v0.103.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Checking alloy-consensus-any v1.0.27 [INFO] [stderr] Checking alloy-network-primitives v1.0.27 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling alloy-sol-macro v1.3.1 [INFO] [stderr] Checking byte-slice-cast v1.2.3 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking alloy-sol-types v1.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Compiling rlp-derive v0.1.0 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking rlp v0.5.2 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking webpki-roots v1.0.2 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking bimap v0.6.3 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Checking scale-info v2.11.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking impl-codec v0.6.0 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking tungstenite v0.26.2 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling doctest-file v1.0.0 [INFO] [stderr] Checking num_enum v0.7.4 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Checking interprocess v2.2.3 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Checking tokio-tungstenite v0.26.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Checking reqwest v0.12.23 [INFO] [stderr] Checking alloy-json-rpc v1.0.27 [INFO] [stderr] Checking alloy-rpc-types-eth v1.0.27 [INFO] [stderr] Checking alloy-transport v1.0.27 [INFO] [stderr] Checking alloy-pubsub v1.0.27 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking alloy-signer v1.0.27 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking alloy-rpc-types-any v1.0.27 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking alloy-network v1.0.27 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking alloy-rpc-types-trace v1.0.27 [INFO] [stderr] Checking alloy-rpc-types-txpool v1.0.27 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Checking alloy-rpc-types-anvil v1.0.27 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Checking alloy-transport-ws v1.0.27 [INFO] [stderr] Checking alloy-transport-ipc v1.0.27 [INFO] [stderr] Checking alloy-transport-http v1.0.27 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking ethbloom v0.13.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking alloy-rpc-types-debug v1.0.27 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Checking ethereum-types v0.14.1 [INFO] [stderr] Checking alloy-rpc-client v1.0.27 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking alloy-chains v0.2.8 [INFO] [stderr] Checking alloy-dyn-abi v1.3.1 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking tungstenite v0.24.0 [INFO] [stderr] Checking lru v0.13.0 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking tokio-tungstenite v0.24.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking alloy-provider v1.0.27 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking raw-cpuid v11.5.0 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Compiling open-fastrlp-derive v0.1.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking yaml-rust2 v0.8.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking quanta v0.12.6 [INFO] [stderr] Checking open-fastrlp v0.1.4 [INFO] [stderr] Checking headers v0.4.1 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking rust-ini v0.20.0 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking ethabi v18.0.0 [INFO] [stderr] Checking alloy-core v1.3.1 [INFO] [stderr] Checking alloy-rpc-types v1.0.27 [INFO] [stderr] Checking alloy-signer-local v1.0.27 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking tokio-retry v0.3.0 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking hdrhistogram v7.5.4 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking alloy-contract v1.0.27 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking spinning_top v0.3.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking no-std-compat v0.4.1 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking nonzero_ext v0.3.0 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking ethers-core v2.0.14 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking alloy v1.0.27 [INFO] [stderr] Checking config v0.14.1 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking tower-http v0.4.4 [INFO] [stderr] Checking governor v0.6.3 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking axum-extra v0.9.6 [INFO] [stderr] Checking redis v0.25.4 [INFO] [stderr] Checking blockchain-api-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BlockTransactionsKind` [INFO] [stdout] --> src/blockchain/client.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | use alloy::rpc::types::{BlockNumberOrTag, BlockTransactionsKind}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `-W unused-imports` implied by `-W unused` [INFO] [stdout] = help: to override `-W unused` add `#[allow(unused_imports)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/blockchain/client.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/blockchain/service.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/blockchain/tokens.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/blockchain/nft.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/blockchain/defi.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/blockchain/portfolio.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/blockchain/contracts.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloy::providers::Provider` [INFO] [stdout] --> src/blockchain/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use alloy::providers::Provider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/blockchain/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nonzero_ext::nonzero` [INFO] [stdout] --> src/middleware/rate_limit.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use nonzero_ext::nonzero; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/middleware/rate_limit.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{net::SocketAddr, sync::Arc, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/middleware/rate_limit.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cors::*` [INFO] [stdout] --> src/middleware/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use cors::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `api_key::*` [INFO] [stdout] --> src/models/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use api_key::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AuthenticatedUser` [INFO] [stdout] --> src/routes/blockchain.rs:6:65 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::middleware::{auth_middleware, rate_limit_middleware, AuthenticatedUser, RateLimitService}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlockchainManager` [INFO] [stdout] --> src/routes/tokens.rs:3:49 [INFO] [stdout] | [INFO] [stdout] 3 | blockchain::{tokens::TokenService, Network, BlockchainManager}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `post` [INFO] [stdout] --> src/routes/contracts.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | routing::{get, post}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `delete` and `put` [INFO] [stdout] --> src/routes/webhooks.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | routing::{delete, get, post, put}, [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get` and `post` [INFO] [stdout] --> src/routes/mod.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | routing::{get, post}, [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::User` [INFO] [stdout] --> src/services/webhook.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::*` [INFO] [stdout] --> src/utils/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use error::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> src/websocket/handler.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{types::*, manager::WebSocketManager}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::Error as DeError` [INFO] [stdout] --> src/websocket/types.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize, de::Error as DeError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::blockchain::BlockchainManager` [INFO] [stdout] --> src/websocket/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::blockchain::BlockchainManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RwLock` and `broadcast` [INFO] [stdout] --> src/websocket/mod.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio::sync::{broadcast, RwLock}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `handler::*` [INFO] [stdout] --> src/websocket/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use handler::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> src/websocket/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log_request_response` [INFO] [stdout] --> src/main.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | utils::{init_logging, log_request_response}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlockTransactionsKind` [INFO] [stdout] --> src/blockchain/client.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | use alloy::rpc::types::{BlockNumberOrTag, BlockTransactionsKind}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `-W unused-imports` implied by `-W unused` [INFO] [stdout] = help: to override `-W unused` add `#[allow(unused_imports)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/blockchain/client.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/blockchain/service.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/blockchain/tokens.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/blockchain/nft.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/blockchain/defi.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/blockchain/portfolio.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/blockchain/contracts.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloy::providers::Provider` [INFO] [stdout] --> src/blockchain/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use alloy::providers::Provider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/blockchain/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nonzero_ext::nonzero` [INFO] [stdout] --> src/middleware/rate_limit.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use nonzero_ext::nonzero; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/middleware/rate_limit.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{net::SocketAddr, sync::Arc, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/middleware/rate_limit.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cors::*` [INFO] [stdout] --> src/middleware/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use cors::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `api_key::*` [INFO] [stdout] --> src/models/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use api_key::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AuthenticatedUser` [INFO] [stdout] --> src/routes/blockchain.rs:6:65 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::middleware::{auth_middleware, rate_limit_middleware, AuthenticatedUser, RateLimitService}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlockchainManager` [INFO] [stdout] --> src/routes/tokens.rs:3:49 [INFO] [stdout] | [INFO] [stdout] 3 | blockchain::{tokens::TokenService, Network, BlockchainManager}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `post` [INFO] [stdout] --> src/routes/contracts.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | routing::{get, post}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `delete` and `put` [INFO] [stdout] --> src/routes/webhooks.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | routing::{delete, get, post, put}, [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get` and `post` [INFO] [stdout] --> src/routes/mod.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | routing::{get, post}, [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::User` [INFO] [stdout] --> src/services/webhook.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::*` [INFO] [stdout] --> src/utils/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use error::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> src/websocket/handler.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{types::*, manager::WebSocketManager}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::Error as DeError` [INFO] [stdout] --> src/websocket/types.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize, de::Error as DeError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::blockchain::BlockchainManager` [INFO] [stdout] --> src/websocket/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::blockchain::BlockchainManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RwLock` and `broadcast` [INFO] [stdout] --> src/websocket/mod.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio::sync::{broadcast, RwLock}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `handler::*` [INFO] [stdout] --> src/websocket/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use handler::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> src/websocket/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log_request_response` [INFO] [stdout] --> src/main.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | utils::{init_logging, log_request_response}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/mod.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | providers: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:125:20 [INFO] [stdout] | [INFO] [stdout] 125 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:122:20 [INFO] [stdout] | [INFO] [stdout] 122 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:160:20 [INFO] [stdout] | [INFO] [stdout] 160 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:225:20 [INFO] [stdout] | [INFO] [stdout] 225 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:218:20 [INFO] [stdout] | [INFO] [stdout] 218 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 259 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:305:21 [INFO] [stdout] | [INFO] [stdout] 305 | _provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:179:20 [INFO] [stdout] | [INFO] [stdout] 179 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:241:20 [INFO] [stdout] | [INFO] [stdout] 241 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:283:20 [INFO] [stdout] | [INFO] [stdout] 283 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:321:20 [INFO] [stdout] | [INFO] [stdout] 321 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:340:20 [INFO] [stdout] | [INFO] [stdout] 340 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:377:20 [INFO] [stdout] | [INFO] [stdout] 377 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:387:20 [INFO] [stdout] | [INFO] [stdout] 387 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:156:20 [INFO] [stdout] | [INFO] [stdout] 156 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:196:20 [INFO] [stdout] | [INFO] [stdout] 196 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:236:20 [INFO] [stdout] | [INFO] [stdout] 236 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:290:20 [INFO] [stdout] | [INFO] [stdout] 290 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:325:20 [INFO] [stdout] | [INFO] [stdout] 325 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/mod.rs:87:62 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn get_provider(&self, network: &Network) -> Option<&HttpProvider> { [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/mod.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | providers: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/client.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | .get_provider(network) [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/client.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | let provider = self [INFO] [stdout] | ________________________^ [INFO] [stdout] 34 | | .blockchain_manager [INFO] [stdout] 35 | | .get_provider(network) [INFO] [stdout] 36 | | .ok_or_else(|| anyhow!("Provider not found for network"))?; [INFO] [stdout] | |_____________________________________________________________________^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/client.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | let provider = self [INFO] [stdout] | ________________________^ [INFO] [stdout] 34 | | .blockchain_manager [INFO] [stdout] 35 | | .get_provider(network) [INFO] [stdout] 36 | | .ok_or_else(|| anyhow!("Provider not found for network"))?; [INFO] [stdout] | |______________________________________________________________________^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:125:20 [INFO] [stdout] | [INFO] [stdout] 125 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get_balance` exists for reference `&FillProvider, ...>, ..., ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/client.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | let balance = provider.get_balance(address).await?; [INFO] [stdout] | ^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:283:1 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------------------------------------- doesn't satisfy `_: Provider>` or `_: Provider<_>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/provider/root.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct RootProvider { [INFO] [stdout] | ---------------------------------------------- doesn't satisfy `_: Provider>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/join_fill.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct JoinFill { [INFO] [stdout] | ------------------------- doesn't satisfy `_: TxFiller>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `JoinFill>>, alloy::providers::Identity>: TxFiller>` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `RootProvider>: Provider>` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider<_>` [INFO] [stdout] which is required by `&FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider<_>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-2726032561580802368.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/client.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | .get_provider(network) [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/client.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | let provider = self [INFO] [stdout] | ________________________^ [INFO] [stdout] 68 | | .blockchain_manager [INFO] [stdout] 69 | | .get_provider(network) [INFO] [stdout] 70 | | .ok_or_else(|| anyhow!("Provider not found for network"))?; [INFO] [stdout] | |_____________________________________________________________________^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:122:20 [INFO] [stdout] | [INFO] [stdout] 122 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:160:20 [INFO] [stdout] | [INFO] [stdout] 160 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/client.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | let provider = self [INFO] [stdout] | ________________________^ [INFO] [stdout] 68 | | .blockchain_manager [INFO] [stdout] 69 | | .get_provider(network) [INFO] [stdout] 70 | | .ok_or_else(|| anyhow!("Provider not found for network"))?; [INFO] [stdout] | |______________________________________________________________________^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:225:20 [INFO] [stdout] | [INFO] [stdout] 225 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:218:20 [INFO] [stdout] | [INFO] [stdout] 218 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 259 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:305:21 [INFO] [stdout] | [INFO] [stdout] 305 | _provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:179:20 [INFO] [stdout] | [INFO] [stdout] 179 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:241:20 [INFO] [stdout] | [INFO] [stdout] 241 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:283:20 [INFO] [stdout] | [INFO] [stdout] 283 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:321:20 [INFO] [stdout] | [INFO] [stdout] 321 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:340:20 [INFO] [stdout] | [INFO] [stdout] 340 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:377:20 [INFO] [stdout] | [INFO] [stdout] 377 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:387:20 [INFO] [stdout] | [INFO] [stdout] 387 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:156:20 [INFO] [stdout] | [INFO] [stdout] 156 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:196:20 [INFO] [stdout] | [INFO] [stdout] 196 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:236:20 [INFO] [stdout] | [INFO] [stdout] 236 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:290:20 [INFO] [stdout] | [INFO] [stdout] 290 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:325:20 [INFO] [stdout] | [INFO] [stdout] 325 | provider: &HttpProvider, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/mod.rs:87:62 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn get_provider(&self, network: &Network) -> Option<&HttpProvider> { [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get_block_by_number` exists for reference `&FillProvider, ...>, ..., ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/client.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | provider.get_block_by_number(number.into()).await? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:283:1 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------------------------------------- doesn't satisfy `_: Provider>` or `_: Provider<_>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/provider/root.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct RootProvider { [INFO] [stdout] | ---------------------------------------------- doesn't satisfy `_: Provider>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/join_fill.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct JoinFill { [INFO] [stdout] | ------------------------- doesn't satisfy `_: TxFiller>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `JoinFill>>, alloy::providers::Identity>: TxFiller>` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `RootProvider>: Provider>` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider<_>` [INFO] [stdout] which is required by `&FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider<_>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-2726032561580802368.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get_block_by_number` exists for reference `&FillProvider, ...>, ..., ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/client.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | provider.get_block_by_number(BlockNumberOrTag::Latest).await? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:283:1 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------------------------------------- doesn't satisfy `_: Provider>` or `_: Provider<_>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/provider/root.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct RootProvider { [INFO] [stdout] | ---------------------------------------------- doesn't satisfy `_: Provider>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/join_fill.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct JoinFill { [INFO] [stdout] | ------------------------- doesn't satisfy `_: TxFiller>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `JoinFill>>, alloy::providers::Identity>: TxFiller>` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `RootProvider>: Provider>` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider<_>` [INFO] [stdout] which is required by `&FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider<_>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-2726032561580802368.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/client.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | .get_provider(network) [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/client.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | let provider = self [INFO] [stdout] | ________________________^ [INFO] [stdout] 106 | | .blockchain_manager [INFO] [stdout] 107 | | .get_provider(network) [INFO] [stdout] 108 | | .ok_or_else(|| anyhow!("Provider not found for network"))?; [INFO] [stdout] | |_____________________________________________________________________^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/client.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | let provider = self [INFO] [stdout] | ________________________^ [INFO] [stdout] 106 | | .blockchain_manager [INFO] [stdout] 107 | | .get_provider(network) [INFO] [stdout] 108 | | .ok_or_else(|| anyhow!("Provider not found for network"))?; [INFO] [stdout] | |______________________________________________________________________^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/client.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | .get_provider(network) [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/client.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | let provider = self [INFO] [stdout] | ________________________^ [INFO] [stdout] 34 | | .blockchain_manager [INFO] [stdout] 35 | | .get_provider(network) [INFO] [stdout] 36 | | .ok_or_else(|| anyhow!("Provider not found for network"))?; [INFO] [stdout] | |_____________________________________________________________________^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/client.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | let provider = self [INFO] [stdout] | ________________________^ [INFO] [stdout] 34 | | .blockchain_manager [INFO] [stdout] 35 | | .get_provider(network) [INFO] [stdout] 36 | | .ok_or_else(|| anyhow!("Provider not found for network"))?; [INFO] [stdout] | |______________________________________________________________________^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get_transaction_by_hash` exists for reference `&FillProvider, ...>, ..., ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/client.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 111 | let tx = provider [INFO] [stdout] | __________________- [INFO] [stdout] 112 | | .get_transaction_by_hash(tx_hash) [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:283:1 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------------------------------------- doesn't satisfy `_: Provider>` or `_: Provider<_>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/provider/root.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct RootProvider { [INFO] [stdout] | ---------------------------------------------- doesn't satisfy `_: Provider>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/join_fill.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct JoinFill { [INFO] [stdout] | ------------------------- doesn't satisfy `_: TxFiller>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `JoinFill>>, alloy::providers::Identity>: TxFiller>` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `RootProvider>: Provider>` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider<_>` [INFO] [stdout] which is required by `&FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider<_>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-2726032561580802368.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get_balance` exists for reference `&FillProvider, ...>, ..., ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/client.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | let balance = provider.get_balance(address).await?; [INFO] [stdout] | ^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:283:1 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------------------------------------- doesn't satisfy `_: Provider>` or `_: Provider<_>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/provider/root.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct RootProvider { [INFO] [stdout] | ---------------------------------------------- doesn't satisfy `_: Provider>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/join_fill.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct JoinFill { [INFO] [stdout] | ------------------------- doesn't satisfy `_: TxFiller>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `JoinFill>>, alloy::providers::Identity>: TxFiller>` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `RootProvider>: Provider>` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider<_>` [INFO] [stdout] which is required by `&FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider<_>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-10851732364435431814.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/client.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | .get_provider(network) [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/client.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | let provider = self [INFO] [stdout] | ________________________^ [INFO] [stdout] 68 | | .blockchain_manager [INFO] [stdout] 69 | | .get_provider(network) [INFO] [stdout] 70 | | .ok_or_else(|| anyhow!("Provider not found for network"))?; [INFO] [stdout] | |_____________________________________________________________________^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/client.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | let provider = self [INFO] [stdout] | ________________________^ [INFO] [stdout] 68 | | .blockchain_manager [INFO] [stdout] 69 | | .get_provider(network) [INFO] [stdout] 70 | | .ok_or_else(|| anyhow!("Provider not found for network"))?; [INFO] [stdout] | |______________________________________________________________________^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/blockchain/client.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | hash: *tx_hash, [INFO] [stdout] | ^^^^^^^^ expected `FixedBytes<32>`, found `[u8; 32]` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `alloy::alloy_primitives::FixedBytes<32>` [INFO] [stdout] found array `[u8; 32]` [INFO] [stdout] help: try wrapping the expression in `alloy::alloy_primitives::FixedBytes` [INFO] [stdout] | [INFO] [stdout] 117 | hash: alloy::alloy_primitives::FixedBytes(*tx_hash), [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/client.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | .get_provider(network) [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/client.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | let provider = self [INFO] [stdout] | ________________________^ [INFO] [stdout] 146 | | .blockchain_manager [INFO] [stdout] 147 | | .get_provider(network) [INFO] [stdout] 148 | | .ok_or_else(|| anyhow!("Provider not found for network"))?; [INFO] [stdout] | |_____________________________________________________________________^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/client.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | let provider = self [INFO] [stdout] | ________________________^ [INFO] [stdout] 146 | | .blockchain_manager [INFO] [stdout] 147 | | .get_provider(network) [INFO] [stdout] 148 | | .ok_or_else(|| anyhow!("Provider not found for network"))?; [INFO] [stdout] | |______________________________________________________________________^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get_block_by_number` exists for reference `&FillProvider, ...>, ..., ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/client.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | provider.get_block_by_number(number.into()).await? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:283:1 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------------------------------------- doesn't satisfy `_: Provider>` or `_: Provider<_>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/provider/root.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct RootProvider { [INFO] [stdout] | ---------------------------------------------- doesn't satisfy `_: Provider>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/join_fill.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct JoinFill { [INFO] [stdout] | ------------------------- doesn't satisfy `_: TxFiller>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `JoinFill>>, alloy::providers::Identity>: TxFiller>` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `RootProvider>: Provider>` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider<_>` [INFO] [stdout] which is required by `&FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider<_>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-10851732364435431814.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get_block_by_number` exists for reference `&FillProvider, ...>, ..., ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/client.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | provider.get_block_by_number(BlockNumberOrTag::Latest).await? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:283:1 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------------------------------------- doesn't satisfy `_: Provider>` or `_: Provider<_>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/provider/root.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct RootProvider { [INFO] [stdout] | ---------------------------------------------- doesn't satisfy `_: Provider>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/join_fill.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct JoinFill { [INFO] [stdout] | ------------------------- doesn't satisfy `_: TxFiller>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `JoinFill>>, alloy::providers::Identity>: TxFiller>` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `RootProvider>: Provider>` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider<_>` [INFO] [stdout] which is required by `&FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider<_>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-10851732364435431814.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get_gas_price` exists for reference `&FillProvider, ...>, ..., ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/client.rs:150:34 [INFO] [stdout] | [INFO] [stdout] 150 | let gas_price = provider.get_gas_price().await?; [INFO] [stdout] | ^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:283:1 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------------------------------------- doesn't satisfy `_: Provider>` or `_: Provider<_>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/provider/root.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct RootProvider { [INFO] [stdout] | ---------------------------------------------- doesn't satisfy `_: Provider>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/join_fill.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct JoinFill { [INFO] [stdout] | ------------------------- doesn't satisfy `_: TxFiller>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `JoinFill>>, alloy::providers::Identity>: TxFiller>` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `RootProvider>: Provider>` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider<_>` [INFO] [stdout] which is required by `&FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider<_>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-1731142719423433257.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/client.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | .get_provider(network) [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/client.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | let provider = self [INFO] [stdout] | ________________________^ [INFO] [stdout] 106 | | .blockchain_manager [INFO] [stdout] 107 | | .get_provider(network) [INFO] [stdout] 108 | | .ok_or_else(|| anyhow!("Provider not found for network"))?; [INFO] [stdout] | |_____________________________________________________________________^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/client.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | let provider = self [INFO] [stdout] | ________________________^ [INFO] [stdout] 106 | | .blockchain_manager [INFO] [stdout] 107 | | .get_provider(network) [INFO] [stdout] 108 | | .ok_or_else(|| anyhow!("Provider not found for network"))?; [INFO] [stdout] | |______________________________________________________________________^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get_transaction_by_hash` exists for reference `&FillProvider, ...>, ..., ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/client.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 111 | let tx = provider [INFO] [stdout] | __________________- [INFO] [stdout] 112 | | .get_transaction_by_hash(tx_hash) [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:283:1 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------------------------------------- doesn't satisfy `_: Provider>` or `_: Provider<_>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/provider/root.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct RootProvider { [INFO] [stdout] | ---------------------------------------------- doesn't satisfy `_: Provider>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/join_fill.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct JoinFill { [INFO] [stdout] | ------------------------- doesn't satisfy `_: TxFiller>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `JoinFill>>, alloy::providers::Identity>: TxFiller>` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `RootProvider>: Provider>` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider<_>` [INFO] [stdout] which is required by `&FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider<_>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-10851732364435431814.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/blockchain/client.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | hash: *tx_hash, [INFO] [stdout] | ^^^^^^^^ expected `FixedBytes<32>`, found `[u8; 32]` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `alloy::alloy_primitives::FixedBytes<32>` [INFO] [stdout] found array `[u8; 32]` [INFO] [stdout] help: try wrapping the expression in `alloy::alloy_primitives::FixedBytes` [INFO] [stdout] | [INFO] [stdout] 117 | hash: alloy::alloy_primitives::FixedBytes(*tx_hash), [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/client.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | .get_provider(network) [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:100:48 [INFO] [stdout] | [INFO] [stdout] 100 | let contract = IERC20::new(token_addr, provider); [INFO] [stdout] | ----------- ^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] = note: required for `&FillProvider, ...>, ..., ...>` to implement `Provider>` [INFO] [stdout] note: required by a bound in `IERC20::new` [INFO] [stdout] --> src/blockchain/tokens.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / sol! { [INFO] [stdout] 10 | | #[allow(missing_docs)] [INFO] [stdout] 11 | | #[sol(rpc)] [INFO] [stdout] 12 | | interface IERC20 { [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ required by this bound in `new` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/client.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | let provider = self [INFO] [stdout] | ________________________^ [INFO] [stdout] 146 | | .blockchain_manager [INFO] [stdout] 147 | | .get_provider(network) [INFO] [stdout] 148 | | .ok_or_else(|| anyhow!("Provider not found for network"))?; [INFO] [stdout] | |_____________________________________________________________________^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | let contract = IERC20::new(token_addr, provider); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/client.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | let provider = self [INFO] [stdout] | ________________________^ [INFO] [stdout] 146 | | .blockchain_manager [INFO] [stdout] 147 | | .get_provider(network) [INFO] [stdout] 148 | | .ok_or_else(|| anyhow!("Provider not found for network"))?; [INFO] [stdout] | |______________________________________________________________________^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get_gas_price` exists for reference `&FillProvider, ...>, ..., ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/client.rs:150:34 [INFO] [stdout] | [INFO] [stdout] 150 | let gas_price = provider.get_gas_price().await?; [INFO] [stdout] | ^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:283:1 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------------------------------------- doesn't satisfy `_: Provider>` or `_: Provider<_>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/provider/root.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct RootProvider { [INFO] [stdout] | ---------------------------------------------- doesn't satisfy `_: Provider>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/join_fill.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct JoinFill { [INFO] [stdout] | ------------------------- doesn't satisfy `_: TxFiller>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `JoinFill>>, alloy::providers::Identity>: TxFiller>` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `RootProvider>: Provider>` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider<_>` [INFO] [stdout] which is required by `&FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider<_>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-10556955137465598909.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `name` exists for struct `IERC20Instance<&FillProvider, ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:102:29 [INFO] [stdout] | [INFO] [stdout] 9 | / sol! { [INFO] [stdout] 10 | | #[allow(missing_docs)] [INFO] [stdout] 11 | | #[sol(rpc)] [INFO] [stdout] 12 | | interface IERC20 { [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- method `name` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 102 | let name = contract.name().call().await?._0; [INFO] [stdout] | ^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / sol! { [INFO] [stdout] 10 | | #[allow(missing_docs)] [INFO] [stdout] 11 | | #[sol(rpc)] [INFO] [stdout] 12 | | interface IERC20 { [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `name`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `AnyConnectionBackend` [INFO] [stdout] candidate #2: `Column` [INFO] [stdout] candidate #3: `TypeInfo` [INFO] [stdout] candidate #4: `rustls::crypto::SupportedKxGroup` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-15259346801757788046.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:100:48 [INFO] [stdout] | [INFO] [stdout] 100 | let contract = IERC20::new(token_addr, provider); [INFO] [stdout] | ----------- ^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] = note: required for `&FillProvider, ...>, ..., ...>` to implement `Provider>` [INFO] [stdout] note: required by a bound in `IERC20::new` [INFO] [stdout] --> src/blockchain/tokens.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / sol! { [INFO] [stdout] 10 | | #[allow(missing_docs)] [INFO] [stdout] 11 | | #[sol(rpc)] [INFO] [stdout] 12 | | interface IERC20 { [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ required by this bound in `new` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | let contract = IERC20::new(token_addr, provider); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `symbol` exists for struct `IERC20Instance<&FillProvider, ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:103:31 [INFO] [stdout] | [INFO] [stdout] 9 | / sol! { [INFO] [stdout] 10 | | #[allow(missing_docs)] [INFO] [stdout] 11 | | #[sol(rpc)] [INFO] [stdout] 12 | | interface IERC20 { [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- method `symbol` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 103 | let symbol = contract.symbol().call().await?._0; [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / sol! { [INFO] [stdout] 10 | | #[allow(missing_docs)] [INFO] [stdout] 11 | | #[sol(rpc)] [INFO] [stdout] 12 | | interface IERC20 { [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-15259346801757788046.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `name` exists for struct `IERC20Instance<&FillProvider, ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:102:29 [INFO] [stdout] | [INFO] [stdout] 9 | / sol! { [INFO] [stdout] 10 | | #[allow(missing_docs)] [INFO] [stdout] 11 | | #[sol(rpc)] [INFO] [stdout] 12 | | interface IERC20 { [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- method `name` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 102 | let name = contract.name().call().await?._0; [INFO] [stdout] | ^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / sol! { [INFO] [stdout] 10 | | #[allow(missing_docs)] [INFO] [stdout] 11 | | #[sol(rpc)] [INFO] [stdout] 12 | | interface IERC20 { [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `name`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `AnyConnectionBackend` [INFO] [stdout] candidate #2: `Column` [INFO] [stdout] candidate #3: `TypeInfo` [INFO] [stdout] candidate #4: `rustls::crypto::SupportedKxGroup` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-15295162687714581144.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `decimals` exists for struct `IERC20Instance<&FillProvider, ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 9 | / sol! { [INFO] [stdout] 10 | | #[allow(missing_docs)] [INFO] [stdout] 11 | | #[sol(rpc)] [INFO] [stdout] 12 | | interface IERC20 { [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- method `decimals` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 104 | let decimals = contract.decimals().call().await?._0; [INFO] [stdout] | ^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / sol! { [INFO] [stdout] 10 | | #[allow(missing_docs)] [INFO] [stdout] 11 | | #[sol(rpc)] [INFO] [stdout] 12 | | interface IERC20 { [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-15259346801757788046.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `symbol` exists for struct `IERC20Instance<&FillProvider, ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:103:31 [INFO] [stdout] | [INFO] [stdout] 9 | / sol! { [INFO] [stdout] 10 | | #[allow(missing_docs)] [INFO] [stdout] 11 | | #[sol(rpc)] [INFO] [stdout] 12 | | interface IERC20 { [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- method `symbol` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 103 | let symbol = contract.symbol().call().await?._0; [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / sol! { [INFO] [stdout] 10 | | #[allow(missing_docs)] [INFO] [stdout] 11 | | #[sol(rpc)] [INFO] [stdout] 12 | | interface IERC20 { [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-15295162687714581144.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `totalSupply` exists for struct `IERC20Instance<&FillProvider, ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:105:37 [INFO] [stdout] | [INFO] [stdout] 9 | / sol! { [INFO] [stdout] 10 | | #[allow(missing_docs)] [INFO] [stdout] 11 | | #[sol(rpc)] [INFO] [stdout] 12 | | interface IERC20 { [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- method `totalSupply` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 105 | let total_supply = contract.totalSupply().call().await?._0; [INFO] [stdout] | ^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / sol! { [INFO] [stdout] 10 | | #[allow(missing_docs)] [INFO] [stdout] 11 | | #[sol(rpc)] [INFO] [stdout] 12 | | interface IERC20 { [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-15259346801757788046.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `decimals` exists for struct `IERC20Instance<&FillProvider, ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 9 | / sol! { [INFO] [stdout] 10 | | #[allow(missing_docs)] [INFO] [stdout] 11 | | #[sol(rpc)] [INFO] [stdout] 12 | | interface IERC20 { [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- method `decimals` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 104 | let decimals = contract.decimals().call().await?._0; [INFO] [stdout] | ^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / sol! { [INFO] [stdout] 10 | | #[allow(missing_docs)] [INFO] [stdout] 11 | | #[sol(rpc)] [INFO] [stdout] 12 | | interface IERC20 { [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-15295162687714581144.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:143:31 [INFO] [stdout] | [INFO] [stdout] 143 | let token_info = self.get_token_info(provider, token_address, network).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:145:56 [INFO] [stdout] | [INFO] [stdout] 145 | let contract = IERC20::new(token_info.address, provider); [INFO] [stdout] | ----------- ^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] = note: required for `&FillProvider, ...>, ..., ...>` to implement `Provider>` [INFO] [stdout] note: required by a bound in `IERC20::new` [INFO] [stdout] --> src/blockchain/tokens.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / sol! { [INFO] [stdout] 10 | | #[allow(missing_docs)] [INFO] [stdout] 11 | | #[sol(rpc)] [INFO] [stdout] 12 | | interface IERC20 { [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ required by this bound in `new` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | let contract = IERC20::new(token_info.address, provider); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `totalSupply` exists for struct `IERC20Instance<&FillProvider, ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:105:37 [INFO] [stdout] | [INFO] [stdout] 9 | / sol! { [INFO] [stdout] 10 | | #[allow(missing_docs)] [INFO] [stdout] 11 | | #[sol(rpc)] [INFO] [stdout] 12 | | interface IERC20 { [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- method `totalSupply` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 105 | let total_supply = contract.totalSupply().call().await?._0; [INFO] [stdout] | ^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / sol! { [INFO] [stdout] 10 | | #[allow(missing_docs)] [INFO] [stdout] 11 | | #[sol(rpc)] [INFO] [stdout] 12 | | interface IERC20 { [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-15295162687714581144.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:143:31 [INFO] [stdout] | [INFO] [stdout] 143 | let token_info = self.get_token_info(provider, token_address, network).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `balanceOf` exists for struct `IERC20Instance<&FillProvider, ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:147:32 [INFO] [stdout] | [INFO] [stdout] 9 | / sol! { [INFO] [stdout] 10 | | #[allow(missing_docs)] [INFO] [stdout] 11 | | #[sol(rpc)] [INFO] [stdout] 12 | | interface IERC20 { [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- method `balanceOf` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 147 | let balance = contract.balanceOf(wallet_addr).call().await?._0; [INFO] [stdout] | ^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / sol! { [INFO] [stdout] 10 | | #[allow(missing_docs)] [INFO] [stdout] 11 | | #[sol(rpc)] [INFO] [stdout] 12 | | interface IERC20 { [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-13508331694798809809.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:145:56 [INFO] [stdout] | [INFO] [stdout] 145 | let contract = IERC20::new(token_info.address, provider); [INFO] [stdout] | ----------- ^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] = note: required for `&FillProvider, ...>, ..., ...>` to implement `Provider>` [INFO] [stdout] note: required by a bound in `IERC20::new` [INFO] [stdout] --> src/blockchain/tokens.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / sol! { [INFO] [stdout] 10 | | #[allow(missing_docs)] [INFO] [stdout] 11 | | #[sol(rpc)] [INFO] [stdout] 12 | | interface IERC20 { [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ required by this bound in `new` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | let contract = IERC20::new(token_info.address, provider); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:136:88 [INFO] [stdout] | [INFO] [stdout] 136 | let (name, symbol, standard) = if let Ok(erc721) = IERC721::new(contract_addr, provider).name().call().await { [INFO] [stdout] | ------------ ^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] = note: required for `&FillProvider, ...>, ..., ...>` to implement `Provider>` [INFO] [stdout] note: required by a bound in `IERC721::new` [INFO] [stdout] --> src/blockchain/nft.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ required by this bound in `new` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `balanceOf` exists for struct `IERC20Instance<&FillProvider, ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:147:32 [INFO] [stdout] | [INFO] [stdout] 9 | / sol! { [INFO] [stdout] 10 | | #[allow(missing_docs)] [INFO] [stdout] 11 | | #[sol(rpc)] [INFO] [stdout] 12 | | interface IERC20 { [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- method `balanceOf` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 147 | let balance = contract.balanceOf(wallet_addr).call().await?._0; [INFO] [stdout] | ^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/tokens.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / sol! { [INFO] [stdout] 10 | | #[allow(missing_docs)] [INFO] [stdout] 11 | | #[sol(rpc)] [INFO] [stdout] 12 | | interface IERC20 { [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-16150775598931402255.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:136:88 [INFO] [stdout] | [INFO] [stdout] 136 | let (name, symbol, standard) = if let Ok(erc721) = IERC721::new(contract_addr, provider).name().call().await { [INFO] [stdout] | ------------ ^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] = note: required for `&FillProvider, ...>, ..., ...>` to implement `Provider>` [INFO] [stdout] note: required by a bound in `IERC721::new` [INFO] [stdout] --> src/blockchain/nft.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ required by this bound in `new` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `name` exists for struct `IERC721Instance<&FillProvider, ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:136:98 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- method `name` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 136 | let (name, symbol, standard) = if let Ok(erc721) = IERC721::new(contract_addr, provider).name().call().await { [INFO] [stdout] | ^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `name`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `AnyConnectionBackend` [INFO] [stdout] candidate #2: `Column` [INFO] [stdout] candidate #3: `TypeInfo` [INFO] [stdout] candidate #4: `rustls::crypto::SupportedKxGroup` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-39957967133894101.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:136:60 [INFO] [stdout] | [INFO] [stdout] 136 | let (name, symbol, standard) = if let Ok(erc721) = IERC721::new(contract_addr, provider).name().call().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:137:54 [INFO] [stdout] | [INFO] [stdout] 137 | let symbol = IERC721::new(contract_addr, provider).symbol().call().await?.symbol.unwrap_or_default(); [INFO] [stdout] | ------------ ^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] = note: required for `&FillProvider, ...>, ..., ...>` to implement `Provider>` [INFO] [stdout] note: required by a bound in `IERC721::new` [INFO] [stdout] --> src/blockchain/nft.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ required by this bound in `new` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `name` exists for struct `IERC721Instance<&FillProvider, ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:136:98 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- method `name` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 136 | let (name, symbol, standard) = if let Ok(erc721) = IERC721::new(contract_addr, provider).name().call().await { [INFO] [stdout] | ^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `name`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `AnyConnectionBackend` [INFO] [stdout] candidate #2: `Column` [INFO] [stdout] candidate #3: `TypeInfo` [INFO] [stdout] candidate #4: `rustls::crypto::SupportedKxGroup` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-5406498427076335541.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:136:60 [INFO] [stdout] | [INFO] [stdout] 136 | let (name, symbol, standard) = if let Ok(erc721) = IERC721::new(contract_addr, provider).name().call().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `symbol` exists for struct `IERC721Instance<&FillProvider, ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:137:64 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- method `symbol` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 137 | let symbol = IERC721::new(contract_addr, provider).symbol().call().await?.symbol.unwrap_or_default(); [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-15178296089402037958.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:137:26 [INFO] [stdout] | [INFO] [stdout] 137 | let symbol = IERC721::new(contract_addr, provider).symbol().call().await?.symbol.unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:137:54 [INFO] [stdout] | [INFO] [stdout] 137 | let symbol = IERC721::new(contract_addr, provider).symbol().call().await?.symbol.unwrap_or_default(); [INFO] [stdout] | ------------ ^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] = note: required for `&FillProvider, ...>, ..., ...>` to implement `Provider>` [INFO] [stdout] note: required by a bound in `IERC721::new` [INFO] [stdout] --> src/blockchain/nft.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ required by this bound in `new` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:178:31 [INFO] [stdout] | [INFO] [stdout] 178 | let collection = self.get_nft_collection_info(provider, contract_address, network).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:184:65 [INFO] [stdout] | [INFO] [stdout] 184 | let contract = IERC721::new(collection.address, provider); [INFO] [stdout] | ------------ ^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] = note: required for `&FillProvider, ...>, ..., ...>` to implement `Provider>` [INFO] [stdout] note: required by a bound in `IERC721::new` [INFO] [stdout] --> src/blockchain/nft.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ required by this bound in `new` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:184:32 [INFO] [stdout] | [INFO] [stdout] 184 | let contract = IERC721::new(collection.address, provider); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `symbol` exists for struct `IERC721Instance<&FillProvider, ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:137:64 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- method `symbol` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 137 | let symbol = IERC721::new(contract_addr, provider).symbol().call().await?.symbol.unwrap_or_default(); [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-12100387496196652570.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:137:26 [INFO] [stdout] | [INFO] [stdout] 137 | let symbol = IERC721::new(contract_addr, provider).symbol().call().await?.symbol.unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:178:31 [INFO] [stdout] | [INFO] [stdout] 178 | let collection = self.get_nft_collection_info(provider, contract_address, network).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:184:65 [INFO] [stdout] | [INFO] [stdout] 184 | let contract = IERC721::new(collection.address, provider); [INFO] [stdout] | ------------ ^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] = note: required for `&FillProvider, ...>, ..., ...>` to implement `Provider>` [INFO] [stdout] note: required by a bound in `IERC721::new` [INFO] [stdout] --> src/blockchain/nft.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ required by this bound in `new` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:184:32 [INFO] [stdout] | [INFO] [stdout] 184 | let contract = IERC721::new(collection.address, provider); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `balanceOf` exists for struct `IERC721Instance<&FillProvider, ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:185:40 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- method `balanceOf` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 185 | let balance = contract.balanceOf(wallet_addr).call().await?.balanceOf.unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-7948412779895001210.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/blockchain/nft.rs:187:52 [INFO] [stdout] | [INFO] [stdout] 187 | for i in 0..std::cmp::min(balance, U256::from(100)) { [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^ expected integer, found `Uint<256, 4>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `{integer}` [INFO] [stdout] found struct `alloy::alloy_primitives::Uint<256, 4>` [INFO] [stdout] help: the return type of this call is `alloy::alloy_primitives::Uint<256, 4>` due to the type of the argument passed [INFO] [stdout] --> src/blockchain/nft.rs:187:29 [INFO] [stdout] | [INFO] [stdout] 187 | for i in 0..std::cmp::min(balance, U256::from(100)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^---------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `min` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/6f34f4ee074ce0affc7bbf4e2c835f66cd576f13/library/core/src/cmp.rs:1562:14 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `balanceOf` exists for struct `IERC721Instance<&FillProvider, ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:185:40 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- method `balanceOf` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 185 | let balance = contract.balanceOf(wallet_addr).call().await?.balanceOf.unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-14870703028889894867.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/blockchain/nft.rs:187:52 [INFO] [stdout] | [INFO] [stdout] 187 | for i in 0..std::cmp::min(balance, U256::from(100)) { [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^ expected integer, found `Uint<256, 4>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `{integer}` [INFO] [stdout] found struct `alloy::alloy_primitives::Uint<256, 4>` [INFO] [stdout] help: the return type of this call is `alloy::alloy_primitives::Uint<256, 4>` due to the type of the argument passed [INFO] [stdout] --> src/blockchain/nft.rs:187:29 [INFO] [stdout] | [INFO] [stdout] 187 | for i in 0..std::cmp::min(balance, U256::from(100)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^---------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `min` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/6f34f4ee074ce0affc7bbf4e2c835f66cd576f13/library/core/src/cmp.rs:1562:14 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `tokenOfOwnerByIndex` exists for struct `IERC721Instance<&FillProvider, ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:188:56 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- method `tokenOfOwnerByIndex` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 188 | if let Ok(token_result) = contract.tokenOfOwnerByIndex(wallet_addr, i).call().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-7948412779895001210.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `tokenURI` exists for struct `IERC721Instance<&FillProvider, ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:190:54 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- method `tokenURI` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 190 | let token_uri = contract.tokenURI(token_id).call().await.ok() [INFO] [stdout] | ^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-7948412779895001210.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `tokenOfOwnerByIndex` exists for struct `IERC721Instance<&FillProvider, ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:188:56 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- method `tokenOfOwnerByIndex` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 188 | if let Ok(token_result) = contract.tokenOfOwnerByIndex(wallet_addr, i).call().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-14870703028889894867.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:243:31 [INFO] [stdout] | [INFO] [stdout] 243 | let collection = self.get_nft_collection_info(provider, contract_address, network).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:248:65 [INFO] [stdout] | [INFO] [stdout] 248 | let contract = IERC721::new(collection.address, provider); [INFO] [stdout] | ------------ ^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] = note: required for `&FillProvider, ...>, ..., ...>` to implement `Provider>` [INFO] [stdout] note: required by a bound in `IERC721::new` [INFO] [stdout] --> src/blockchain/nft.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ required by this bound in `new` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:248:32 [INFO] [stdout] | [INFO] [stdout] 248 | let contract = IERC721::new(collection.address, provider); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `tokenURI` exists for struct `IERC721Instance<&FillProvider, ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:190:54 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- method `tokenURI` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 190 | let token_uri = contract.tokenURI(token_id).call().await.ok() [INFO] [stdout] | ^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-14870703028889894867.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:243:31 [INFO] [stdout] | [INFO] [stdout] 243 | let collection = self.get_nft_collection_info(provider, contract_address, network).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `ownerOf` exists for struct `IERC721Instance<&FillProvider, ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:249:38 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- method `ownerOf` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 249 | let owner = contract.ownerOf(token_id_u256).call().await?.ownerOf; [INFO] [stdout] | ^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-4535608444178646803.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:248:65 [INFO] [stdout] | [INFO] [stdout] 248 | let contract = IERC721::new(collection.address, provider); [INFO] [stdout] | ------------ ^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] = note: required for `&FillProvider, ...>, ..., ...>` to implement `Provider>` [INFO] [stdout] note: required by a bound in `IERC721::new` [INFO] [stdout] --> src/blockchain/nft.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ required by this bound in `new` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:248:32 [INFO] [stdout] | [INFO] [stdout] 248 | let contract = IERC721::new(collection.address, provider); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `tokenURI` exists for struct `IERC721Instance<&FillProvider, ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:250:42 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- method `tokenURI` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 250 | let token_uri = contract.tokenURI(token_id_u256).call().await.ok() [INFO] [stdout] | ^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-4535608444178646803.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:255:66 [INFO] [stdout] | [INFO] [stdout] 255 | let contract = IERC1155::new(collection.address, provider); [INFO] [stdout] | ------------- ^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] = note: required for `&FillProvider, ...>, ..., ...>` to implement `Provider>` [INFO] [stdout] note: required by a bound in `IERC1155::new` [INFO] [stdout] --> src/blockchain/nft.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / sol! { [INFO] [stdout] 27 | | #[allow(missing_docs)] [INFO] [stdout] 28 | | #[sol(rpc)] [INFO] [stdout] 29 | | interface IERC1155 { [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ required by this bound in `new` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:255:32 [INFO] [stdout] | [INFO] [stdout] 255 | let contract = IERC1155::new(collection.address, provider); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `ownerOf` exists for struct `IERC721Instance<&FillProvider, ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:249:38 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- method `ownerOf` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 249 | let owner = contract.ownerOf(token_id_u256).call().await?.ownerOf; [INFO] [stdout] | ^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-14465685763724783332.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `uri` exists for struct `IERC1155Instance<&FillProvider, ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:256:42 [INFO] [stdout] | [INFO] [stdout] 26 | / sol! { [INFO] [stdout] 27 | | #[allow(missing_docs)] [INFO] [stdout] 28 | | #[sol(rpc)] [INFO] [stdout] 29 | | interface IERC1155 { [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | |_- method `uri` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 256 | let token_uri = contract.uri(token_id_u256).call().await.ok() [INFO] [stdout] | ^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / sol! { [INFO] [stdout] 27 | | #[allow(missing_docs)] [INFO] [stdout] 28 | | #[sol(rpc)] [INFO] [stdout] 29 | | interface IERC1155 { [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-7862567713010415686.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `tokenURI` exists for struct `IERC721Instance<&FillProvider, ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:250:42 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- method `tokenURI` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 250 | let token_uri = contract.tokenURI(token_id_u256).call().await.ok() [INFO] [stdout] | ^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IERC721 { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-14465685763724783332.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/blockchain/nft.rs:262:31 [INFO] [stdout] | [INFO] [stdout] 262 | let metadata = if let Some(uri) = &token_uri { [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `std::prelude::v1::Some` [INFO] [stdout] --> /rustc/6f34f4ee074ce0affc7bbf4e2c835f66cd576f13/library/core/src/option.rs:602:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:255:66 [INFO] [stdout] | [INFO] [stdout] 255 | let contract = IERC1155::new(collection.address, provider); [INFO] [stdout] | ------------- ^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] = note: required for `&FillProvider, ...>, ..., ...>` to implement `Provider>` [INFO] [stdout] note: required by a bound in `IERC1155::new` [INFO] [stdout] --> src/blockchain/nft.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / sol! { [INFO] [stdout] 27 | | #[allow(missing_docs)] [INFO] [stdout] 28 | | #[sol(rpc)] [INFO] [stdout] 29 | | interface IERC1155 { [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ required by this bound in `new` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/blockchain/nft.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | token_uri, [INFO] [stdout] | ^^^^^^^^^ expected `Option`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:255:32 [INFO] [stdout] | [INFO] [stdout] 255 | let contract = IERC1155::new(collection.address, provider); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `uri` exists for struct `IERC1155Instance<&FillProvider, ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:256:42 [INFO] [stdout] | [INFO] [stdout] 26 | / sol! { [INFO] [stdout] 27 | | #[allow(missing_docs)] [INFO] [stdout] 28 | | #[sol(rpc)] [INFO] [stdout] 29 | | interface IERC1155 { [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | |_- method `uri` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 256 | let token_uri = contract.uri(token_id_u256).call().await.ok() [INFO] [stdout] | ^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/nft.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / sol! { [INFO] [stdout] 27 | | #[allow(missing_docs)] [INFO] [stdout] 28 | | #[sol(rpc)] [INFO] [stdout] 29 | | interface IERC1155 { [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-16085122331974478561.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/blockchain/nft.rs:262:31 [INFO] [stdout] | [INFO] [stdout] 262 | let metadata = if let Some(uri) = &token_uri { [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `std::prelude::v1::Some` [INFO] [stdout] --> /rustc/6f34f4ee074ce0affc7bbf4e2c835f66cd576f13/library/core/src/option.rs:602:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/blockchain/nft.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | token_uri, [INFO] [stdout] | ^^^^^^^^^ expected `Option`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain/nft.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | let mut conn = self.redis.clone(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `-W unused-mut` implied by `-W unused` [INFO] [stdout] = help: to override `-W unused` add `#[allow(unused_mut)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> src/blockchain/nft.rs:336:29 [INFO] [stdout] | [INFO] [stdout] 336 | let value: String = conn.get(key).await?; [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain/nft.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | let mut conn = self.redis.clone(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `-W unused-mut` implied by `-W unused` [INFO] [stdout] = help: to override `-W unused` add `#[allow(unused_mut)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> src/blockchain/nft.rs:336:29 [INFO] [stdout] | [INFO] [stdout] 336 | let value: String = conn.get(key).await?; [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/blockchain/nft.rs:343:45 [INFO] [stdout] | [INFO] [stdout] 343 | let _: () = conn.set_ex(key, value, expire_seconds).await?; [INFO] [stdout] | ------ ^^^^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.25.4/src/commands/mod.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | fn set_ex(key: K, value: V, seconds: u64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 343 | let _: () = conn.set_ex(key, value, expire_seconds.try_into().unwrap()).await?; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:147:54 [INFO] [stdout] | [INFO] [stdout] 147 | if let Ok(aave_positions) = self.get_aave_positions(provider, wallet_addr, network).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:188:60 [INFO] [stdout] | [INFO] [stdout] 188 | let router = IUniswapV2Router::new(router_address, provider); [INFO] [stdout] | --------------------- ^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] = note: required for `&FillProvider, ...>, ..., ...>` to implement `Provider>` [INFO] [stdout] note: required by a bound in `IUniswapV2Router::new` [INFO] [stdout] --> src/blockchain/defi.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IUniswapV2Pair { [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ required by this bound in `new` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:188:22 [INFO] [stdout] | [INFO] [stdout] 188 | let router = IUniswapV2Router::new(router_address, provider); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/blockchain/nft.rs:343:45 [INFO] [stdout] | [INFO] [stdout] 343 | let _: () = conn.set_ex(key, value, expire_seconds).await?; [INFO] [stdout] | ------ ^^^^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.25.4/src/commands/mod.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | fn set_ex(key: K, value: V, seconds: u64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 343 | let _: () = conn.set_ex(key, value, expire_seconds.try_into().unwrap()).await?; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:147:54 [INFO] [stdout] | [INFO] [stdout] 147 | if let Ok(aave_positions) = self.get_aave_positions(provider, wallet_addr, network).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:188:60 [INFO] [stdout] | [INFO] [stdout] 188 | let router = IUniswapV2Router::new(router_address, provider); [INFO] [stdout] | --------------------- ^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] = note: required for `&FillProvider, ...>, ..., ...>` to implement `Provider>` [INFO] [stdout] note: required by a bound in `IUniswapV2Router::new` [INFO] [stdout] --> src/blockchain/defi.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IUniswapV2Pair { [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ required by this bound in `new` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:188:22 [INFO] [stdout] | [INFO] [stdout] 188 | let router = IUniswapV2Router::new(router_address, provider); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `getAmountsOut` exists for struct `IUniswapV2RouterInstance<&FillProvider<..., ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:195:30 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IUniswapV2Pair { [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | |_- method `getAmountsOut` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 195 | let amounts = router.getAmountsOut(amount_in, path.clone()).call().await?.amounts.unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IUniswapV2Pair { [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-364379851682849855.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:232:33 [INFO] [stdout] | [INFO] [stdout] 232 | let pair_address = self.get_pair_address(provider, token0, token1, network).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:233:54 [INFO] [stdout] | [INFO] [stdout] 233 | let pair = IUniswapV2Pair::new(pair_address, provider); [INFO] [stdout] | ------------------- ^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] = note: required for `&FillProvider, ...>, ..., ...>` to implement `Provider>` [INFO] [stdout] note: required by a bound in `IUniswapV2Pair::new` [INFO] [stdout] --> src/blockchain/defi.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IUniswapV2Pair { [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ required by this bound in `new` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:233:20 [INFO] [stdout] | [INFO] [stdout] 233 | let pair = IUniswapV2Pair::new(pair_address, provider); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `getAmountsOut` exists for struct `IUniswapV2RouterInstance<&FillProvider<..., ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:195:30 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IUniswapV2Pair { [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | |_- method `getAmountsOut` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 195 | let amounts = router.getAmountsOut(amount_in, path.clone()).call().await?.amounts.unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IUniswapV2Pair { [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-16149909221832128824.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:232:33 [INFO] [stdout] | [INFO] [stdout] 232 | let pair_address = self.get_pair_address(provider, token0, token1, network).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:233:54 [INFO] [stdout] | [INFO] [stdout] 233 | let pair = IUniswapV2Pair::new(pair_address, provider); [INFO] [stdout] | ------------------- ^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] = note: required for `&FillProvider, ...>, ..., ...>` to implement `Provider>` [INFO] [stdout] note: required by a bound in `IUniswapV2Pair::new` [INFO] [stdout] --> src/blockchain/defi.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IUniswapV2Pair { [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ required by this bound in `new` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:233:20 [INFO] [stdout] | [INFO] [stdout] 233 | let pair = IUniswapV2Pair::new(pair_address, provider); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `getReserves` exists for struct `IUniswapV2PairInstance<&FillProvider<..., ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:235:29 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IUniswapV2Pair { [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | |_- method `getReserves` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 235 | let reserves = pair.getReserves().call().await?; [INFO] [stdout] | ^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IUniswapV2Pair { [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-12452363263014523379.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `getReserves` exists for struct `IUniswapV2PairInstance<&FillProvider<..., ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:235:29 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IUniswapV2Pair { [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | |_- method `getReserves` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 235 | let reserves = pair.getReserves().call().await?; [INFO] [stdout] | ^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IUniswapV2Pair { [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-16571128149416616340.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `token0` exists for struct `IUniswapV2PairInstance<&FillProvider<..., ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:236:32 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IUniswapV2Pair { [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | |_- method `token0` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 236 | let token0_addr = pair.token0().call().await?.token0.unwrap_or_default(); [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IUniswapV2Pair { [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-12452363263014523379.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `token1` exists for struct `IUniswapV2PairInstance<&FillProvider<..., ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:237:32 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IUniswapV2Pair { [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | |_- method `token1` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 237 | let token1_addr = pair.token1().call().await?.token1.unwrap_or_default(); [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IUniswapV2Pair { [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-12452363263014523379.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:264:83 [INFO] [stdout] | [INFO] [stdout] 264 | let data_provider = IAaveProtocolDataProvider::new(data_provider_address, provider); [INFO] [stdout] | ------------------------------ ^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] = note: required for `&FillProvider, ...>, ..., ...>` to implement `Provider>` [INFO] [stdout] note: required by a bound in `IAaveProtocolDataProvider::new` [INFO] [stdout] --> src/blockchain/defi.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IUniswapV2Pair { [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ required by this bound in `new` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:264:29 [INFO] [stdout] | [INFO] [stdout] 264 | let data_provider = IAaveProtocolDataProvider::new(data_provider_address, provider); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `getUserReserveData` exists for struct `IAaveProtocolDataProviderInstance<&FillProvider<..., ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:272:50 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IUniswapV2Pair { [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | |_- method `getUserReserveData` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 272 | if let Ok(user_data) = data_provider.getUserReserveData(asset, wallet_address).call().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IUniswapV2Pair { [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-15328795456343225634.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | / async fn get_pair_address( [INFO] [stdout] 304 | | &self, [INFO] [stdout] 305 | | _provider: &HttpProvider, [INFO] [stdout] 306 | | _token0: &str, [INFO] [stdout] 307 | | _token1: &str, [INFO] [stdout] 308 | | _network: &Network, [INFO] [stdout] 309 | | ) -> Result
{ [INFO] [stdout] | |________________________^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `token0` exists for struct `IUniswapV2PairInstance<&FillProvider<..., ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:236:32 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IUniswapV2Pair { [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | |_- method `token0` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 236 | let token0_addr = pair.token0().call().await?.token0.unwrap_or_default(); [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IUniswapV2Pair { [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-16571128149416616340.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain/defi.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | let mut conn = self.redis.clone(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> src/blockchain/defi.rs:350:29 [INFO] [stdout] | [INFO] [stdout] 350 | let value: String = conn.get(key).await?; [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/blockchain/defi.rs:357:45 [INFO] [stdout] | [INFO] [stdout] 357 | let _: () = conn.set_ex(key, value, expire_seconds).await?; [INFO] [stdout] | ------ ^^^^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.25.4/src/commands/mod.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | fn set_ex(key: K, value: V, seconds: u64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 357 | let _: () = conn.set_ex(key, value, expire_seconds.try_into().unwrap()).await?; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:196:35 [INFO] [stdout] | [INFO] [stdout] 196 | let native_balance = self.get_native_balance(provider, wallet_addr, network).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:199:35 [INFO] [stdout] | [INFO] [stdout] 199 | let token_balances = self.get_token_holdings(provider, wallet_address, network).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:203:18 [INFO] [stdout] | [INFO] [stdout] 203 | self.get_nft_holdings(provider, wallet_address, network).await? [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:210:18 [INFO] [stdout] | [INFO] [stdout] 210 | self.get_defi_summary(provider, wallet_address, network).await? [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | / pub async fn get_transaction_history( [INFO] [stdout] 240 | | &self, [INFO] [stdout] 241 | | provider: &HttpProvider, [INFO] [stdout] 242 | | wallet_address: &str, [INFO] [stdout] ... | [INFO] [stdout] 246 | | transaction_type: Option, [INFO] [stdout] 247 | | ) -> Result { [INFO] [stdout] | |___________________________________^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 281 | / pub async fn get_address_analytics( [INFO] [stdout] 282 | | &self, [INFO] [stdout] 283 | | provider: &HttpProvider, [INFO] [stdout] 284 | | wallet_address: &str, [INFO] [stdout] 285 | | network: &Network, [INFO] [stdout] 286 | | ) -> Result { [INFO] [stdout] | |_________________________________^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `token1` exists for struct `IUniswapV2PairInstance<&FillProvider<..., ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:237:32 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IUniswapV2Pair { [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | |_- method `token1` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 237 | let token1_addr = pair.token1().call().await?.token1.unwrap_or_default(); [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IUniswapV2Pair { [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-16571128149416616340.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get_balance` exists for reference `&FillProvider, ...>, ..., ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:325:32 [INFO] [stdout] | [INFO] [stdout] 325 | let balance = provider.get_balance(wallet_address).await?; [INFO] [stdout] | ^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:283:1 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------------------------------------- doesn't satisfy `_: Provider>` or `_: Provider<_>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/provider/root.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct RootProvider { [INFO] [stdout] | ---------------------------------------------- doesn't satisfy `_: Provider>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/join_fill.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct JoinFill { [INFO] [stdout] | ------------------------- doesn't satisfy `_: TxFiller>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `JoinFill>>, alloy::providers::Identity>: TxFiller>` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `RootProvider>: Provider>` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider<_>` [INFO] [stdout] which is required by `&FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider<_>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-13647457026138247462.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:349:18 [INFO] [stdout] | [INFO] [stdout] 349 | .get_token_balance(provider, wallet_address, token_addr, network) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:264:83 [INFO] [stdout] | [INFO] [stdout] 264 | let data_provider = IAaveProtocolDataProvider::new(data_provider_address, provider); [INFO] [stdout] | ------------------------------ ^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] = note: required for `&FillProvider, ...>, ..., ...>` to implement `Provider>` [INFO] [stdout] note: required by a bound in `IAaveProtocolDataProvider::new` [INFO] [stdout] --> src/blockchain/defi.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IUniswapV2Pair { [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ required by this bound in `new` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | / async fn get_nft_holdings( [INFO] [stdout] 376 | | &self, [INFO] [stdout] 377 | | provider: &HttpProvider, [INFO] [stdout] 378 | | wallet_address: &str, [INFO] [stdout] 379 | | network: &Network, [INFO] [stdout] 380 | | ) -> Result> { [INFO] [stdout] | |__________________________________________^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:264:29 [INFO] [stdout] | [INFO] [stdout] 264 | let data_provider = IAaveProtocolDataProvider::new(data_provider_address, provider); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:392:14 [INFO] [stdout] | [INFO] [stdout] 392 | .get_defi_positions(provider, wallet_address, network, None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wallet_address` [INFO] [stdout] --> src/blockchain/portfolio.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | wallet_address: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wallet_address` [INFO] [stdout] | [INFO] [stdout] = note: `-W unused-variables` implied by `-W unused` [INFO] [stdout] = help: to override `-W unused` add `#[allow(unused_variables)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/blockchain/portfolio.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | network: &Network, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain/portfolio.rs:446:13 [INFO] [stdout] | [INFO] [stdout] 446 | let mut conn = self.redis.clone(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> src/blockchain/portfolio.rs:447:29 [INFO] [stdout] | [INFO] [stdout] 447 | let value: String = conn.get(key).await?; [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `getUserReserveData` exists for struct `IAaveProtocolDataProviderInstance<&FillProvider<..., ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:272:50 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IUniswapV2Pair { [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | |_- method `getUserReserveData` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 272 | if let Ok(user_data) = data_provider.getUserReserveData(asset, wallet_address).call().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / sol! { [INFO] [stdout] 11 | | #[allow(missing_docs)] [INFO] [stdout] 12 | | #[sol(rpc)] [INFO] [stdout] 13 | | interface IUniswapV2Pair { [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-8610937391015405676.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/defi.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | / async fn get_pair_address( [INFO] [stdout] 304 | | &self, [INFO] [stdout] 305 | | _provider: &HttpProvider, [INFO] [stdout] 306 | | _token0: &str, [INFO] [stdout] 307 | | _token1: &str, [INFO] [stdout] 308 | | _network: &Network, [INFO] [stdout] 309 | | ) -> Result
{ [INFO] [stdout] | |________________________^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain/defi.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | let mut conn = self.redis.clone(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> src/blockchain/defi.rs:350:29 [INFO] [stdout] | [INFO] [stdout] 350 | let value: String = conn.get(key).await?; [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/blockchain/portfolio.rs:454:45 [INFO] [stdout] | [INFO] [stdout] 454 | let _: () = conn.set_ex(key, value, expire_seconds).await?; [INFO] [stdout] | ------ ^^^^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.25.4/src/commands/mod.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | fn set_ex(key: K, value: V, seconds: u64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 454 | let _: () = conn.set_ex(key, value, expire_seconds.try_into().unwrap()).await?; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get_code_at` exists for reference `&FillProvider, ...>, ..., ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:171:29 [INFO] [stdout] | [INFO] [stdout] 171 | let code = provider.get_code_at(address).await?; [INFO] [stdout] | ^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:283:1 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------------------------------------- doesn't satisfy `_: Provider>` or `_: Provider<_>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/provider/root.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct RootProvider { [INFO] [stdout] | ---------------------------------------------- doesn't satisfy `_: Provider>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/join_fill.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct JoinFill { [INFO] [stdout] | ------------------------- doesn't satisfy `_: TxFiller>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `JoinFill>>, alloy::providers::Identity>: TxFiller>` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `RootProvider>: Provider>` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider<_>` [INFO] [stdout] which is required by `&FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider<_>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-13647457026138247462.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | / pub async fn call_contract_view_function( [INFO] [stdout] 195 | | &self, [INFO] [stdout] 196 | | provider: &HttpProvider, [INFO] [stdout] 197 | | contract_address: &str, [INFO] [stdout] ... | [INFO] [stdout] 200 | | network: &Network, [INFO] [stdout] 201 | | ) -> Result { [INFO] [stdout] | |___________________________________^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/blockchain/defi.rs:357:45 [INFO] [stdout] | [INFO] [stdout] 357 | let _: () = conn.set_ex(key, value, expire_seconds).await?; [INFO] [stdout] | ------ ^^^^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.25.4/src/commands/mod.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | fn set_ex(key: K, value: V, seconds: u64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 357 | let _: () = conn.set_ex(key, value, expire_seconds.try_into().unwrap()).await?; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:196:35 [INFO] [stdout] | [INFO] [stdout] 196 | let native_balance = self.get_native_balance(provider, wallet_addr, network).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:249:48 [INFO] [stdout] | [INFO] [stdout] 249 | let multisig = IMultiSig::new(address, provider); [INFO] [stdout] | -------------- ^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] = note: required for `&FillProvider, ...>, ..., ...>` to implement `Provider>` [INFO] [stdout] note: required by a bound in `IMultiSig::new` [INFO] [stdout] --> src/blockchain/contracts.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / sol! { [INFO] [stdout] 12 | | #[allow(missing_docs)] [INFO] [stdout] 13 | | #[sol(rpc)] [INFO] [stdout] 14 | | interface IMultiSig { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ required by this bound in `new` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:199:35 [INFO] [stdout] | [INFO] [stdout] 199 | let token_balances = self.get_token_holdings(provider, wallet_address, network).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:249:24 [INFO] [stdout] | [INFO] [stdout] 249 | let multisig = IMultiSig::new(address, provider); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:203:18 [INFO] [stdout] | [INFO] [stdout] 203 | self.get_nft_holdings(provider, wallet_address, network).await? [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:210:18 [INFO] [stdout] | [INFO] [stdout] 210 | self.get_defi_summary(provider, wallet_address, network).await? [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | / pub async fn get_transaction_history( [INFO] [stdout] 240 | | &self, [INFO] [stdout] 241 | | provider: &HttpProvider, [INFO] [stdout] 242 | | wallet_address: &str, [INFO] [stdout] ... | [INFO] [stdout] 246 | | transaction_type: Option, [INFO] [stdout] 247 | | ) -> Result { [INFO] [stdout] | |___________________________________^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 281 | / pub async fn get_address_analytics( [INFO] [stdout] 282 | | &self, [INFO] [stdout] 283 | | provider: &HttpProvider, [INFO] [stdout] 284 | | wallet_address: &str, [INFO] [stdout] 285 | | network: &Network, [INFO] [stdout] 286 | | ) -> Result { [INFO] [stdout] | |_________________________________^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get_balance` exists for reference `&FillProvider, ...>, ..., ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:325:32 [INFO] [stdout] | [INFO] [stdout] 325 | let balance = provider.get_balance(wallet_address).await?; [INFO] [stdout] | ^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:283:1 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------------------------------------- doesn't satisfy `_: Provider>` or `_: Provider<_>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/provider/root.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct RootProvider { [INFO] [stdout] | ---------------------------------------------- doesn't satisfy `_: Provider>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/join_fill.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct JoinFill { [INFO] [stdout] | ------------------------- doesn't satisfy `_: TxFiller>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `JoinFill>>, alloy::providers::Identity>: TxFiller>` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `RootProvider>: Provider>` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider<_>` [INFO] [stdout] which is required by `&FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider<_>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-11862438233180142062.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:349:18 [INFO] [stdout] | [INFO] [stdout] 349 | .get_token_balance(provider, wallet_address, token_addr, network) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `getTransactionCount` exists for struct `IMultiSigInstance<&FillProvider, ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:252:38 [INFO] [stdout] | [INFO] [stdout] 11 | / sol! { [INFO] [stdout] 12 | | #[allow(missing_docs)] [INFO] [stdout] 13 | | #[sol(rpc)] [INFO] [stdout] 14 | | interface IMultiSig { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- method `getTransactionCount` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 252 | let pending_count = multisig.getTransactionCount(true, false).call().await?.count.unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / sol! { [INFO] [stdout] 12 | | #[allow(missing_docs)] [INFO] [stdout] 13 | | #[sol(rpc)] [INFO] [stdout] 14 | | interface IMultiSig { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-12103068905322603330.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | / async fn get_nft_holdings( [INFO] [stdout] 376 | | &self, [INFO] [stdout] 377 | | provider: &HttpProvider, [INFO] [stdout] 378 | | wallet_address: &str, [INFO] [stdout] 379 | | network: &Network, [INFO] [stdout] 380 | | ) -> Result> { [INFO] [stdout] | |__________________________________________^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/blockchain/contracts.rs:255:50 [INFO] [stdout] | [INFO] [stdout] 255 | for i in 0..std::cmp::min(pending_count, U256::from(50)) { [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^ expected integer, found `Uint<256, 4>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `{integer}` [INFO] [stdout] found struct `alloy::alloy_primitives::Uint<256, 4>` [INFO] [stdout] help: the return type of this call is `alloy::alloy_primitives::Uint<256, 4>` due to the type of the argument passed [INFO] [stdout] --> src/blockchain/contracts.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | for i in 0..std::cmp::min(pending_count, U256::from(50)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `min` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/6f34f4ee074ce0affc7bbf4e2c835f66cd576f13/library/core/src/cmp.rs:1562:14 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/portfolio.rs:392:14 [INFO] [stdout] | [INFO] [stdout] 392 | .get_defi_positions(provider, wallet_address, network, None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wallet_address` [INFO] [stdout] --> src/blockchain/portfolio.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | wallet_address: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wallet_address` [INFO] [stdout] | [INFO] [stdout] = note: `-W unused-variables` implied by `-W unused` [INFO] [stdout] = help: to override `-W unused` add `#[allow(unused_variables)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/blockchain/portfolio.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | network: &Network, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain/portfolio.rs:446:13 [INFO] [stdout] | [INFO] [stdout] 446 | let mut conn = self.redis.clone(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> src/blockchain/portfolio.rs:447:29 [INFO] [stdout] | [INFO] [stdout] 447 | let value: String = conn.get(key).await?; [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/blockchain/portfolio.rs:454:45 [INFO] [stdout] | [INFO] [stdout] 454 | let _: () = conn.set_ex(key, value, expire_seconds).await?; [INFO] [stdout] | ------ ^^^^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.25.4/src/commands/mod.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | fn set_ex(key: K, value: V, seconds: u64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 454 | let _: () = conn.set_ex(key, value, expire_seconds.try_into().unwrap()).await?; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get_code_at` exists for reference `&FillProvider, ...>, ..., ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:171:29 [INFO] [stdout] | [INFO] [stdout] 171 | let code = provider.get_code_at(address).await?; [INFO] [stdout] | ^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:283:1 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------------------------------------- doesn't satisfy `_: Provider>` or `_: Provider<_>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/provider/root.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct RootProvider { [INFO] [stdout] | ---------------------------------------------- doesn't satisfy `_: Provider>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/join_fill.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct JoinFill { [INFO] [stdout] | ------------------------- doesn't satisfy `_: TxFiller>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `JoinFill>>, alloy::providers::Identity>: TxFiller>` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `RootProvider>: Provider>` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` [INFO] [stdout] which is required by `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider>` [INFO] [stdout] `FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider<_>` [INFO] [stdout] which is required by `&FillProvider>>, alloy::providers::Identity>, RootProvider>, alloy::transports::alloy_transport_http::Http>: Provider<_>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-11862438233180142062.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | / pub async fn call_contract_view_function( [INFO] [stdout] 195 | | &self, [INFO] [stdout] 196 | | provider: &HttpProvider, [INFO] [stdout] 197 | | contract_address: &str, [INFO] [stdout] ... | [INFO] [stdout] 200 | | network: &Network, [INFO] [stdout] 201 | | ) -> Result { [INFO] [stdout] | |___________________________________^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:249:48 [INFO] [stdout] | [INFO] [stdout] 249 | let multisig = IMultiSig::new(address, provider); [INFO] [stdout] | -------------- ^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] = note: required for `&FillProvider, ...>, ..., ...>` to implement `Provider>` [INFO] [stdout] note: required by a bound in `IMultiSig::new` [INFO] [stdout] --> src/blockchain/contracts.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / sol! { [INFO] [stdout] 12 | | #[allow(missing_docs)] [INFO] [stdout] 13 | | #[sol(rpc)] [INFO] [stdout] 14 | | interface IMultiSig { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ required by this bound in `new` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:249:24 [INFO] [stdout] | [INFO] [stdout] 249 | let multisig = IMultiSig::new(address, provider); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `getTransactionCount` exists for struct `IMultiSigInstance<&FillProvider, ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:252:38 [INFO] [stdout] | [INFO] [stdout] 11 | / sol! { [INFO] [stdout] 12 | | #[allow(missing_docs)] [INFO] [stdout] 13 | | #[sol(rpc)] [INFO] [stdout] 14 | | interface IMultiSig { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- method `getTransactionCount` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 252 | let pending_count = multisig.getTransactionCount(true, false).call().await?.count.unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / sol! { [INFO] [stdout] 12 | | #[allow(missing_docs)] [INFO] [stdout] 13 | | #[sol(rpc)] [INFO] [stdout] 14 | | interface IMultiSig { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-5162860055314003987.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/blockchain/contracts.rs:255:50 [INFO] [stdout] | [INFO] [stdout] 255 | for i in 0..std::cmp::min(pending_count, U256::from(50)) { [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^ expected integer, found `Uint<256, 4>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `{integer}` [INFO] [stdout] found struct `alloy::alloy_primitives::Uint<256, 4>` [INFO] [stdout] help: the return type of this call is `alloy::alloy_primitives::Uint<256, 4>` due to the type of the argument passed [INFO] [stdout] --> src/blockchain/contracts.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | for i in 0..std::cmp::min(pending_count, U256::from(50)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `min` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/6f34f4ee074ce0affc7bbf4e2c835f66cd576f13/library/core/src/cmp.rs:1562:14 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `getTransaction` exists for struct `IMultiSigInstance<&FillProvider, ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:256:45 [INFO] [stdout] | [INFO] [stdout] 11 | / sol! { [INFO] [stdout] 12 | | #[allow(missing_docs)] [INFO] [stdout] 13 | | #[sol(rpc)] [INFO] [stdout] 14 | | interface IMultiSig { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- method `getTransaction` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 256 | if let Ok(tx_result) = multisig.getTransaction(i).call().await { [INFO] [stdout] | ^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / sol! { [INFO] [stdout] 12 | | #[allow(missing_docs)] [INFO] [stdout] 13 | | #[sol(rpc)] [INFO] [stdout] 14 | | interface IMultiSig { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-5162860055314003987.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `getConfirmationCount` exists for struct `IMultiSigInstance<&FillProvider, ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:258:56 [INFO] [stdout] | [INFO] [stdout] 11 | / sol! { [INFO] [stdout] 12 | | #[allow(missing_docs)] [INFO] [stdout] 13 | | #[sol(rpc)] [INFO] [stdout] 14 | | interface IMultiSig { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- method `getConfirmationCount` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 258 | let confirmations_count = multisig.getConfirmationCount(i).call().await?.count.unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / sol! { [INFO] [stdout] 12 | | #[allow(missing_docs)] [INFO] [stdout] 13 | | #[sol(rpc)] [INFO] [stdout] 14 | | interface IMultiSig { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-5162860055314003987.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `getTransaction` exists for struct `IMultiSigInstance<&FillProvider, ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:256:45 [INFO] [stdout] | [INFO] [stdout] 11 | / sol! { [INFO] [stdout] 12 | | #[allow(missing_docs)] [INFO] [stdout] 13 | | #[sol(rpc)] [INFO] [stdout] 14 | | interface IMultiSig { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- method `getTransaction` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 256 | if let Ok(tx_result) = multisig.getTransaction(i).call().await { [INFO] [stdout] | ^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / sol! { [INFO] [stdout] 12 | | #[allow(missing_docs)] [INFO] [stdout] 13 | | #[sol(rpc)] [INFO] [stdout] 14 | | interface IMultiSig { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-12103068905322603330.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/blockchain/contracts.rs:261:29 [INFO] [stdout] | [INFO] [stdout] 261 | id: i, [INFO] [stdout] | ^ expected `Uint<256, 4>`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected struct `alloy::alloy_primitives::Uint<256, 4>` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | / pub async fn get_contract_events( [INFO] [stdout] 289 | | &self, [INFO] [stdout] 290 | | provider: &HttpProvider, [INFO] [stdout] 291 | | contract_address: &str, [INFO] [stdout] ... | [INFO] [stdout] 295 | | network: &Network, [INFO] [stdout] 296 | | ) -> Result> { [INFO] [stdout] | |___________________________________^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | / pub async fn estimate_gas( [INFO] [stdout] 324 | | &self, [INFO] [stdout] 325 | | provider: &HttpProvider, [INFO] [stdout] 326 | | contract_call: &ContractCall, [INFO] [stdout] 327 | | from: Address, [INFO] [stdout] 328 | | ) -> Result { [INFO] [stdout] | |_____________________^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain/contracts.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | let mut conn = self.redis.clone(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> src/blockchain/contracts.rs:337:29 [INFO] [stdout] | [INFO] [stdout] 337 | let value: String = conn.get(key).await?; [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `getConfirmationCount` exists for struct `IMultiSigInstance<&FillProvider, ..., ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:258:56 [INFO] [stdout] | [INFO] [stdout] 11 | / sol! { [INFO] [stdout] 12 | | #[allow(missing_docs)] [INFO] [stdout] 13 | | #[sol(rpc)] [INFO] [stdout] 14 | | interface IMultiSig { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- method `getConfirmationCount` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 258 | let confirmations_count = multisig.getConfirmationCount(i).call().await?.count.unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-transport-http-1.0.27/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Http { [INFO] [stdout] | ------------------ doesn't satisfy `_: Network` [INFO] [stdout] | [INFO] [stdout] note: trait bound `alloy::transports::alloy_transport_http::Http: alloy::providers::Network` was not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / sol! { [INFO] [stdout] 12 | | #[allow(missing_docs)] [INFO] [stdout] 13 | | #[sol(rpc)] [INFO] [stdout] 14 | | interface IMultiSig { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-12103068905322603330.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::sol_types::sol` which comes from the expansion of the macro `sol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/blockchain/contracts.rs:344:45 [INFO] [stdout] | [INFO] [stdout] 344 | let _: () = conn.set_ex(key, value, expire_seconds).await?; [INFO] [stdout] | ------ ^^^^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.25.4/src/commands/mod.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | fn set_ex(key: K, value: V, seconds: u64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 344 | let _: () = conn.set_ex(key, value, expire_seconds.try_into().unwrap()).await?; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `alloy::providers::ProviderBuilder::::on_http`: use `connect_http` instead [INFO] [stdout] --> src/blockchain/mod.rs:75:51 [INFO] [stdout] | [INFO] [stdout] 75 | let eth_provider = ProviderBuilder::new().on_http(eth_rpc_url.parse()?); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `alloy::providers::ProviderBuilder::::on_http`: use `connect_http` instead [INFO] [stdout] --> src/blockchain/mod.rs:78:55 [INFO] [stdout] | [INFO] [stdout] 78 | let polygon_provider = ProviderBuilder::new().on_http(polygon_rpc_url.parse()?); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `alloy::providers::ProviderBuilder::::on_http`: use `connect_http` instead [INFO] [stdout] --> src/blockchain/mod.rs:81:51 [INFO] [stdout] | [INFO] [stdout] 81 | let bsc_provider = ProviderBuilder::new().on_http(bsc_rpc_url.parse()?); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/blockchain/contracts.rs:261:29 [INFO] [stdout] | [INFO] [stdout] 261 | id: i, [INFO] [stdout] | ^ expected `Uint<256, 4>`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected struct `alloy::alloy_primitives::Uint<256, 4>` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/mod.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | Ok(Self { providers }) [INFO] [stdout] | ^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/blockchain/mod.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 76 | providers.insert(Network::Ethereum, eth_provider); [INFO] [stdout] | --------- ------------ this argument has type `FillProvider>>>, RootProvider>`... [INFO] [stdout] | | [INFO] [stdout] | ... which causes `providers` to have type `HashMap>>>, RootProvider>>` [INFO] [stdout] ... [INFO] [stdout] 84 | Ok(Self { providers }) [INFO] [stdout] | ^^^^^^^^^ expected `HashMap`, found `HashMap>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `HashMap, ..., ...>>` [INFO] [stdout] found struct `HashMap, ...>>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-10761239616957138567.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | / pub async fn get_contract_events( [INFO] [stdout] 289 | | &self, [INFO] [stdout] 290 | | provider: &HttpProvider, [INFO] [stdout] 291 | | contract_address: &str, [INFO] [stdout] ... | [INFO] [stdout] 295 | | network: &Network, [INFO] [stdout] 296 | | ) -> Result> { [INFO] [stdout] | |___________________________________^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/contracts.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | / pub async fn estimate_gas( [INFO] [stdout] 324 | | &self, [INFO] [stdout] 325 | | provider: &HttpProvider, [INFO] [stdout] 326 | | contract_call: &ContractCall, [INFO] [stdout] 327 | | from: Address, [INFO] [stdout] 328 | | ) -> Result { [INFO] [stdout] | |_____________________^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain/contracts.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | let mut conn = self.redis.clone(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> src/blockchain/contracts.rs:337:29 [INFO] [stdout] | [INFO] [stdout] 337 | let value: String = conn.get(key).await?; [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/rate_limit.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | match self.limiter.check_key(key) { [INFO] [stdout] | --------- ^^^ expected `&String`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&std::string::String` [INFO] [stdout] found reference `&str` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/governor-0.6.3/src/state/keyed.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn check_key(&self, key: &K) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/blockchain/contracts.rs:344:45 [INFO] [stdout] | [INFO] [stdout] 344 | let _: () = conn.set_ex(key, value, expire_seconds).await?; [INFO] [stdout] | ------ ^^^^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.25.4/src/commands/mod.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | fn set_ex(key: K, value: V, seconds: u64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 344 | let _: () = conn.set_ex(key, value, expire_seconds.try_into().unwrap()).await?; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `alloy::providers::ProviderBuilder::::on_http`: use `connect_http` instead [INFO] [stdout] --> src/blockchain/mod.rs:75:51 [INFO] [stdout] | [INFO] [stdout] 75 | let eth_provider = ProviderBuilder::new().on_http(eth_rpc_url.parse()?); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `alloy::providers::ProviderBuilder::::on_http`: use `connect_http` instead [INFO] [stdout] --> src/blockchain/mod.rs:78:55 [INFO] [stdout] | [INFO] [stdout] 78 | let polygon_provider = ProviderBuilder::new().on_http(polygon_rpc_url.parse()?); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `alloy::providers::ProviderBuilder::::on_http`: use `connect_http` instead [INFO] [stdout] --> src/blockchain/mod.rs:81:51 [INFO] [stdout] | [INFO] [stdout] 81 | let bsc_provider = ProviderBuilder::new().on_http(bsc_rpc_url.parse()?); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/rate_limit.rs:63:49 [INFO] [stdout] | [INFO] [stdout] 63 | let _: () = conn.expire(&redis_key, window_seconds as usize) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.25.4/src/commands/mod.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 223 | fn expire(key: K, seconds: i64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: you can convert a `usize` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 63 | let _: () = conn.expire(&redis_key, (window_seconds as usize).try_into().unwrap()) [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/mod.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | Ok(Self { providers }) [INFO] [stdout] | ^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/blockchain/mod.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 76 | providers.insert(Network::Ethereum, eth_provider); [INFO] [stdout] | --------- ------------ this argument has type `FillProvider>>>, RootProvider>`... [INFO] [stdout] | | [INFO] [stdout] | ... which causes `providers` to have type `HashMap>>>, RootProvider>>` [INFO] [stdout] ... [INFO] [stdout] 84 | Ok(Self { providers }) [INFO] [stdout] | ^^^^^^^^^ expected `HashMap`, found `HashMap>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `HashMap, ..., ...>>` [INFO] [stdout] found struct `HashMap, ...>>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-14540498102704066241.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_service` [INFO] [stdout] --> src/routes/tokens.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | State(token_service): State>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/tokens.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let network = parse_network(¶ms.network)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_service` [INFO] [stdout] --> src/routes/tokens.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | State(token_service): State>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/tokens.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let network = parse_network(¶ms.network)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nft_service` [INFO] [stdout] --> src/routes/nft.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | State(nft_service): State>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nft_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/nft.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let network = parse_network(¶ms.network)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nft_service` [INFO] [stdout] --> src/routes/nft.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | State(nft_service): State>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nft_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/nft.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let network = parse_network(¶ms.network)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nft_service` [INFO] [stdout] --> src/routes/nft.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | State(nft_service): State>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nft_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/nft.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let network = parse_network(¶ms.network)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `std::option::Option<_>` [INFO] [stdout] --> src/routes/defi.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let protocols = params.protocols [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 67 | .map(|p| p.split(',').map(|s| s.trim().to_string()).collect()); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `_: FromIterator` found in the `alloc` crate: [INFO] [stdout] - impl FromIterator for Box; [INFO] [stdout] - impl FromIterator for std::string::String; [INFO] [stdout] note: required by a bound in `std::iter::Iterator::collect` [INFO] [stdout] --> /rustc/6f34f4ee074ce0affc7bbf4e2c835f66cd576f13/library/core/src/iter/traits/iterator.rs:2015:5 [INFO] [stdout] help: consider giving `protocols` an explicit type, where the type for type parameter `B` is specified [INFO] [stdout] | [INFO] [stdout] 66 | let protocols: std::option::Option = params.protocols [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `defi_service` [INFO] [stdout] --> src/routes/defi.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | State(defi_service): State>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_defi_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/defi.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let network = parse_network(¶ms.network)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `defi_service` [INFO] [stdout] --> src/routes/defi.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | State(defi_service): State>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_defi_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/defi.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let network = parse_network(¶ms.network)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `defi_service` [INFO] [stdout] --> src/routes/defi.rs:121:11 [INFO] [stdout] | [INFO] [stdout] 121 | State(defi_service): State>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_defi_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/defi.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | let network = parse_network(network_str)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `portfolio_service` [INFO] [stdout] --> src/routes/portfolio.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | State(portfolio_service): State>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_portfolio_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/portfolio.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let network = parse_network(¶ms.network)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `portfolio_service` [INFO] [stdout] --> src/routes/portfolio.rs:87:11 [INFO] [stdout] | [INFO] [stdout] 87 | State(portfolio_service): State>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_portfolio_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/portfolio.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let network = parse_network(¶ms.network)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `portfolio_service` [INFO] [stdout] --> src/routes/portfolio.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | State(portfolio_service): State>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_portfolio_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/portfolio.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let network = parse_network(¶ms.network)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `portfolio_service` [INFO] [stdout] --> src/routes/portfolio.rs:135:11 [INFO] [stdout] | [INFO] [stdout] 135 | State(portfolio_service): State>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_portfolio_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/portfolio.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let network = parse_network(¶ms.network)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contract_service` [INFO] [stdout] --> src/routes/contracts.rs:70:11 [INFO] [stdout] | [INFO] [stdout] 70 | State(contract_service): State>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/contracts.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let network = parse_network(¶ms.network)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contract_service` [INFO] [stdout] --> src/routes/contracts.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | State(contract_service): State>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/contracts.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let network = parse_network(¶ms.network)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contract_service` [INFO] [stdout] --> src/routes/contracts.rs:109:11 [INFO] [stdout] | [INFO] [stdout] 109 | State(contract_service): State>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/contracts.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let network = parse_network(¶ms.network)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contract_service` [INFO] [stdout] --> src/routes/contracts.rs:127:11 [INFO] [stdout] | [INFO] [stdout] 127 | State(contract_service): State>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/contracts.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | let network = parse_network(¶ms.network)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contract_service` [INFO] [stdout] --> src/routes/contracts.rs:145:11 [INFO] [stdout] | [INFO] [stdout] 145 | State(contract_service): State>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/contracts.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | let network = parse_network(¶ms.network)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `price_service` [INFO] [stdout] --> src/routes/price.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 118 | State(price_service): State>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_price_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/rate_limit.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | match self.limiter.check_key(key) { [INFO] [stdout] | --------- ^^^ expected `&String`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&std::string::String` [INFO] [stdout] found reference `&str` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/governor-0.6.3/src/state/keyed.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn check_key(&self, key: &K) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `webhook_id` [INFO] [stdout] --> src/routes/webhooks.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | Path(webhook_id): Path, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_webhook_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/rate_limit.rs:63:49 [INFO] [stdout] | [INFO] [stdout] 63 | let _: () = conn.expire(&redis_key, window_seconds as usize) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.25.4/src/commands/mod.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 223 | fn expire(key: K, seconds: i64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: you can convert a `usize` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 63 | let _: () = conn.expire(&redis_key, (window_seconds as usize).try_into().unwrap()) [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `analytics_service` [INFO] [stdout] --> src/routes/analytics.rs:149:11 [INFO] [stdout] | [INFO] [stdout] 149 | State(analytics_service): State>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_analytics_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `std::result::Result<_, RedisError>` [INFO] [stdout] --> src/services/price_feed.rs:288:29 [INFO] [stdout] | [INFO] [stdout] 288 | let _ = { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 291 | conn.set_ex(&key, serde_json::to_string(&price).unwrap_or_default(), 120).await [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: FromRedisValue` [INFO] [stdout] = help: the following types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 45 others [INFO] [stdout] note: required by a bound in `redis::AsyncCommands::set_ex` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.25.4/src/commands/mod.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | / implement_commands! { [INFO] [stdout] 132 | | 'a [INFO] [stdout] ... | [INFO] [stdout] 173 | | fn set_ex(key: K, value: V, seconds: u64) { [INFO] [stdout] | | ------ required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1968 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::set_ex` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider giving this pattern a type, where the type for type parameter `RV` is specified [INFO] [stdout] | [INFO] [stdout] 288 | let _: std::result::Result = { [INFO] [stdout] | ++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/price_feed.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | let mut conn = self.redis.clone(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> src/services/price_feed.rs:302:29 [INFO] [stdout] | [INFO] [stdout] 302 | let value: String = conn.get(key).await?; [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_service` [INFO] [stdout] --> src/routes/tokens.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | State(token_service): State>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/tokens.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let network = parse_network(¶ms.network)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_service` [INFO] [stdout] --> src/routes/tokens.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | State(token_service): State>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/tokens.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let network = parse_network(¶ms.network)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nft_service` [INFO] [stdout] --> src/routes/nft.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | State(nft_service): State>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nft_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/nft.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let network = parse_network(¶ms.network)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nft_service` [INFO] [stdout] --> src/routes/nft.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | State(nft_service): State>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nft_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/nft.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let network = parse_network(¶ms.network)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nft_service` [INFO] [stdout] --> src/routes/nft.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | State(nft_service): State>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nft_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/nft.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let network = parse_network(¶ms.network)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `std::option::Option<_>` [INFO] [stdout] --> src/routes/defi.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let protocols = params.protocols [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 67 | .map(|p| p.split(',').map(|s| s.trim().to_string()).collect()); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `_: FromIterator` found in the `alloc` crate: [INFO] [stdout] - impl FromIterator for Box; [INFO] [stdout] - impl FromIterator for std::string::String; [INFO] [stdout] note: required by a bound in `std::iter::Iterator::collect` [INFO] [stdout] --> /rustc/6f34f4ee074ce0affc7bbf4e2c835f66cd576f13/library/core/src/iter/traits/iterator.rs:2015:5 [INFO] [stdout] help: consider giving `protocols` an explicit type, where the type for type parameter `B` is specified [INFO] [stdout] | [INFO] [stdout] 66 | let protocols: std::option::Option = params.protocols [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `defi_service` [INFO] [stdout] --> src/routes/defi.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | State(defi_service): State>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_defi_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/defi.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let network = parse_network(¶ms.network)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `defi_service` [INFO] [stdout] --> src/routes/defi.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | State(defi_service): State>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_defi_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/defi.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let network = parse_network(¶ms.network)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `defi_service` [INFO] [stdout] --> src/routes/defi.rs:121:11 [INFO] [stdout] | [INFO] [stdout] 121 | State(defi_service): State>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_defi_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/defi.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | let network = parse_network(network_str)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/services/price_feed.rs:309:45 [INFO] [stdout] | [INFO] [stdout] 309 | let _: () = conn.set_ex(key, value, expire_seconds).await?; [INFO] [stdout] | ------ ^^^^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.25.4/src/commands/mod.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | fn set_ex(key: K, value: V, seconds: u64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 309 | let _: () = conn.set_ex(key, value, expire_seconds.try_into().unwrap()).await?; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `std::option::Option>>` cannot be dereferenced [INFO] [stdout] --> src/services/webhook.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | .fetch_one(&**self.pool) [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `portfolio_service` [INFO] [stdout] --> src/routes/portfolio.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | State(portfolio_service): State>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_portfolio_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/portfolio.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let network = parse_network(¶ms.network)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `std::option::Option>>` cannot be dereferenced [INFO] [stdout] --> src/services/webhook.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 129 | .fetch_all(&**self.pool) [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `std::option::Option>>` cannot be dereferenced [INFO] [stdout] --> src/services/webhook.rs:141:27 [INFO] [stdout] | [INFO] [stdout] 141 | .fetch_optional(&**self.pool) [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `portfolio_service` [INFO] [stdout] --> src/routes/portfolio.rs:87:11 [INFO] [stdout] | [INFO] [stdout] 87 | State(portfolio_service): State>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_portfolio_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/portfolio.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let network = parse_network(¶ms.network)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `portfolio_service` [INFO] [stdout] --> src/routes/portfolio.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | State(portfolio_service): State>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_portfolio_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/portfolio.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let network = parse_network(¶ms.network)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `std::option::Option>>` cannot be dereferenced [INFO] [stdout] --> src/services/webhook.rs:189:31 [INFO] [stdout] | [INFO] [stdout] 189 | .fetch_optional(&**self.pool) [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `std::option::Option>>` cannot be dereferenced [INFO] [stdout] --> src/services/webhook.rs:201:20 [INFO] [stdout] | [INFO] [stdout] 201 | .execute(&**self.pool) [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `std::option::Option>>` cannot be dereferenced [INFO] [stdout] --> src/services/webhook.rs:229:26 [INFO] [stdout] | [INFO] [stdout] 229 | .fetch_all(&**self.pool) [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `portfolio_service` [INFO] [stdout] --> src/routes/portfolio.rs:135:11 [INFO] [stdout] | [INFO] [stdout] 135 | State(portfolio_service): State>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_portfolio_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/portfolio.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let network = parse_network(¶ms.network)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `std::option::Option>>` cannot be dereferenced [INFO] [stdout] --> src/services/webhook.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | .fetch_all(&**self.pool) [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contract_service` [INFO] [stdout] --> src/routes/contracts.rs:70:11 [INFO] [stdout] | [INFO] [stdout] 70 | State(contract_service): State>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/contracts.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let network = parse_network(¶ms.network)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contract_service` [INFO] [stdout] --> src/routes/contracts.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | State(contract_service): State>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/contracts.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let network = parse_network(¶ms.network)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contract_service` [INFO] [stdout] --> src/routes/contracts.rs:109:11 [INFO] [stdout] | [INFO] [stdout] 109 | State(contract_service): State>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/contracts.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let network = parse_network(¶ms.network)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contract_service` [INFO] [stdout] --> src/routes/contracts.rs:127:11 [INFO] [stdout] | [INFO] [stdout] 127 | State(contract_service): State>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/contracts.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | let network = parse_network(¶ms.network)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contract_service` [INFO] [stdout] --> src/routes/contracts.rs:145:11 [INFO] [stdout] | [INFO] [stdout] 145 | State(contract_service): State>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/routes/contracts.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | let network = parse_network(¶ms.network)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `std::option::Option>>` cannot be dereferenced [INFO] [stdout] --> src/services/webhook.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 323 | .execute(&**self.pool) [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `std::option::Option>>` cannot be dereferenced [INFO] [stdout] --> src/services/webhook.rs:342:20 [INFO] [stdout] | [INFO] [stdout] 342 | .execute(&**self.pool) [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `std::option::Option>>` cannot be dereferenced [INFO] [stdout] --> src/services/webhook.rs:352:20 [INFO] [stdout] | [INFO] [stdout] 352 | .execute(&**self.pool) [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/services/analytics.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | method: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/analytics.rs:330:13 [INFO] [stdout] | [INFO] [stdout] 330 | let mut conn = self.redis.clone(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> src/services/analytics.rs:333:21 [INFO] [stdout] | [INFO] [stdout] 333 | let _: () = conn.hincr(&key, "total_requests", 1).await?; [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> src/services/analytics.rs:335:25 [INFO] [stdout] | [INFO] [stdout] 335 | let _: () = conn.hincr(&key, "successful_requests", 1).await?; [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> src/services/analytics.rs:337:25 [INFO] [stdout] | [INFO] [stdout] 337 | let _: () = conn.hincr(&key, "failed_requests", 1).await?; [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> src/services/analytics.rs:340:21 [INFO] [stdout] | [INFO] [stdout] 340 | let _: () = conn.hincr(&key, "response_time_total", response_time_ms).await?; [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> src/services/analytics.rs:341:21 [INFO] [stdout] | [INFO] [stdout] 341 | let _: () = conn.hincr(&key, "data_size_total", data_size_bytes).await?; [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> src/services/analytics.rs:342:21 [INFO] [stdout] | [INFO] [stdout] 342 | let _: () = conn.expire(&key, 7 * 24 * 3600).await?; // Expire after 7 days [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `price_service` [INFO] [stdout] --> src/routes/price.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 118 | State(price_service): State>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_price_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `std::option::Option>>` cannot be dereferenced [INFO] [stdout] --> src/services/analytics.rs:397:20 [INFO] [stdout] | [INFO] [stdout] 397 | .execute(&**self.pool) [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `std::option::Option>>` cannot be dereferenced [INFO] [stdout] --> src/services/analytics.rs:407:20 [INFO] [stdout] | [INFO] [stdout] 407 | .execute(&**self.pool) [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/analytics.rs:415:13 [INFO] [stdout] | [INFO] [stdout] 415 | let mut conn = self.redis.clone(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> src/services/analytics.rs:416:29 [INFO] [stdout] | [INFO] [stdout] 416 | let value: String = conn.get(key).await?; [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/services/analytics.rs:423:45 [INFO] [stdout] | [INFO] [stdout] 423 | let _: () = conn.set_ex(key, value, expire_seconds).await?; [INFO] [stdout] | ------ ^^^^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.25.4/src/commands/mod.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | fn set_ex(key: K, value: V, seconds: u64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 423 | let _: () = conn.set_ex(key, value, expire_seconds.try_into().unwrap()).await?; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `webhook_id` [INFO] [stdout] --> src/routes/webhooks.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | Path(webhook_id): Path, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_webhook_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ws_manager_clone` [INFO] [stdout] --> src/websocket/mod.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let ws_manager_clone = ws_manager.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ws_manager_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `analytics_service` [INFO] [stdout] --> src/routes/analytics.rs:149:11 [INFO] [stdout] | [INFO] [stdout] 149 | State(analytics_service): State>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_analytics_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `tokio::sync::RwLock` in the current scope [INFO] [stdout] --> src/websocket/manager.rs:178:44 [INFO] [stdout] | [INFO] [stdout] 178 | let connections = self.connections.clone(); [INFO] [stdout] | ^^^^^ method not found in `tokio::sync::RwLock>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `std::result::Result<_, RedisError>` [INFO] [stdout] --> src/services/price_feed.rs:288:29 [INFO] [stdout] | [INFO] [stdout] 288 | let _ = { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 291 | conn.set_ex(&key, serde_json::to_string(&price).unwrap_or_default(), 120).await [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: FromRedisValue` [INFO] [stdout] = help: the following types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 45 others [INFO] [stdout] note: required by a bound in `redis::AsyncCommands::set_ex` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.25.4/src/commands/mod.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | / implement_commands! { [INFO] [stdout] 132 | | 'a [INFO] [stdout] ... | [INFO] [stdout] 173 | | fn set_ex(key: K, value: V, seconds: u64) { [INFO] [stdout] | | ------ required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1968 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::set_ex` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider giving this pattern a type, where the type for type parameter `RV` is specified [INFO] [stdout] | [INFO] [stdout] 288 | let _: std::result::Result = { [INFO] [stdout] | ++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/price_feed.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | let mut conn = self.redis.clone(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> src/services/price_feed.rs:302:29 [INFO] [stdout] | [INFO] [stdout] 302 | let value: String = conn.get(key).await?; [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/services/price_feed.rs:309:45 [INFO] [stdout] | [INFO] [stdout] 309 | let _: () = conn.set_ex(key, value, expire_seconds).await?; [INFO] [stdout] | ------ ^^^^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.25.4/src/commands/mod.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | fn set_ex(key: K, value: V, seconds: u64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 309 | let _: () = conn.set_ex(key, value, expire_seconds.try_into().unwrap()).await?; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `std::option::Option>>` cannot be dereferenced [INFO] [stdout] --> src/services/webhook.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | .fetch_one(&**self.pool) [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `std::option::Option>>` cannot be dereferenced [INFO] [stdout] --> src/services/webhook.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 129 | .fetch_all(&**self.pool) [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `std::option::Option>>` cannot be dereferenced [INFO] [stdout] --> src/services/webhook.rs:141:27 [INFO] [stdout] | [INFO] [stdout] 141 | .fetch_optional(&**self.pool) [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `std::option::Option>>` cannot be dereferenced [INFO] [stdout] --> src/services/webhook.rs:189:31 [INFO] [stdout] | [INFO] [stdout] 189 | .fetch_optional(&**self.pool) [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `std::option::Option>>` cannot be dereferenced [INFO] [stdout] --> src/services/webhook.rs:201:20 [INFO] [stdout] | [INFO] [stdout] 201 | .execute(&**self.pool) [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `std::option::Option>>` cannot be dereferenced [INFO] [stdout] --> src/services/webhook.rs:229:26 [INFO] [stdout] | [INFO] [stdout] 229 | .fetch_all(&**self.pool) [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `std::option::Option>>` cannot be dereferenced [INFO] [stdout] --> src/services/webhook.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | .fetch_all(&**self.pool) [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `tokio::sync::RwLock` in the current scope [INFO] [stdout] --> src/websocket/manager.rs:196:44 [INFO] [stdout] | [INFO] [stdout] 196 | let connections = self.connections.clone(); [INFO] [stdout] | ^^^^^ method not found in `tokio::sync::RwLock>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `std::option::Option>>` cannot be dereferenced [INFO] [stdout] --> src/services/webhook.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 323 | .execute(&**self.pool) [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `std::option::Option>>` cannot be dereferenced [INFO] [stdout] --> src/services/webhook.rs:342:20 [INFO] [stdout] | [INFO] [stdout] 342 | .execute(&**self.pool) [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `std::option::Option>>` cannot be dereferenced [INFO] [stdout] --> src/services/webhook.rs:352:20 [INFO] [stdout] | [INFO] [stdout] 352 | .execute(&**self.pool) [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/websocket/manager.rs:145:57 [INFO] [stdout] | [INFO] [stdout] 145 | if let Some(provider) = self.blockchain_manager.get_provider(&network) { [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/services/analytics.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | method: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/analytics.rs:330:13 [INFO] [stdout] | [INFO] [stdout] 330 | let mut conn = self.redis.clone(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> src/services/analytics.rs:333:21 [INFO] [stdout] | [INFO] [stdout] 333 | let _: () = conn.hincr(&key, "total_requests", 1).await?; [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> src/services/analytics.rs:335:25 [INFO] [stdout] | [INFO] [stdout] 335 | let _: () = conn.hincr(&key, "successful_requests", 1).await?; [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> src/services/analytics.rs:337:25 [INFO] [stdout] | [INFO] [stdout] 337 | let _: () = conn.hincr(&key, "failed_requests", 1).await?; [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> src/services/analytics.rs:340:21 [INFO] [stdout] | [INFO] [stdout] 340 | let _: () = conn.hincr(&key, "response_time_total", response_time_ms).await?; [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> src/services/analytics.rs:341:21 [INFO] [stdout] | [INFO] [stdout] 341 | let _: () = conn.hincr(&key, "data_size_total", data_size_bytes).await?; [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> src/services/analytics.rs:342:21 [INFO] [stdout] | [INFO] [stdout] 342 | let _: () = conn.expire(&key, 7 * 24 * 3600).await?; // Expire after 7 days [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `std::option::Option>>` cannot be dereferenced [INFO] [stdout] --> src/services/analytics.rs:397:20 [INFO] [stdout] | [INFO] [stdout] 397 | .execute(&**self.pool) [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `std::option::Option>>` cannot be dereferenced [INFO] [stdout] --> src/services/analytics.rs:407:20 [INFO] [stdout] | [INFO] [stdout] 407 | .execute(&**self.pool) [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/analytics.rs:415:13 [INFO] [stdout] | [INFO] [stdout] 415 | let mut conn = self.redis.clone(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> src/services/analytics.rs:416:29 [INFO] [stdout] | [INFO] [stdout] 416 | let value: String = conn.get(key).await?; [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_balance` found for reference `&FillProvider, ...>, ..., ...>` in the current scope [INFO] [stdout] --> src/websocket/manager.rs:148:36 [INFO] [stdout] | [INFO] [stdout] 148 | match provider.get_balance(address).await { [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&FillProvider, ...>, ..., ...>` [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-11409782295078401331.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/services/analytics.rs:423:45 [INFO] [stdout] | [INFO] [stdout] 423 | let _: () = conn.set_ex(key, value, expire_seconds).await?; [INFO] [stdout] | ------ ^^^^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.25.4/src/commands/mod.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | fn set_ex(key: K, value: V, seconds: u64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 423 | let _: () = conn.set_ex(key, value, expire_seconds.try_into().unwrap()).await?; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ws_manager_clone` [INFO] [stdout] --> src/websocket/mod.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let ws_manager_clone = ws_manager.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ws_manager_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `tokio::sync::RwLock` in the current scope [INFO] [stdout] --> src/websocket/manager.rs:178:44 [INFO] [stdout] | [INFO] [stdout] 178 | let connections = self.connections.clone(); [INFO] [stdout] | ^^^^^ method not found in `tokio::sync::RwLock>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `tokio::sync::RwLock` in the current scope [INFO] [stdout] --> src/websocket/manager.rs:196:44 [INFO] [stdout] | [INFO] [stdout] 196 | let connections = self.connections.clone(); [INFO] [stdout] | ^^^^^ method not found in `tokio::sync::RwLock>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/websocket/manager.rs:145:57 [INFO] [stdout] | [INFO] [stdout] 145 | if let Some(provider) = self.blockchain_manager.get_provider(&network) { [INFO] [stdout] | ^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_balance` found for reference `&FillProvider, ...>, ..., ...>` in the current scope [INFO] [stdout] --> src/websocket/manager.rs:148:36 [INFO] [stdout] | [INFO] [stdout] 148 | match provider.get_balance(address).await { [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&FillProvider, ...>, ..., ...>` [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-1926540651129241554.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/mod.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 63 | pub struct BlockchainManager { [INFO] [stdout] 64 | providers: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/mod.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | self.providers.get(network) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-17279028738200354576.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/mod.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 63 | pub struct BlockchainManager { [INFO] [stdout] 64 | providers: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Http: Network` is not satisfied [INFO] [stdout] --> src/blockchain/mod.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | self.providers.get(network) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `alloy::providers::Network` is not implemented for `Http` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `alloy::providers::Network`: [INFO] [stdout] AnyNetwork [INFO] [stdout] alloy::alloy_network::Ethereum [INFO] [stdout] note: required by a bound in `FillProvider` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alloy-provider-1.0.27/src/fillers/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct FillProvider [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | N: Network, [INFO] [stdout] | ^^^^^^^ required by this bound in `FillProvider` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-17483899228937374831.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Cors: tower_service::Service>` is not satisfied [INFO] [stdout] --> src/main.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | .layer(CorsLayer::permissive()) [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^ the trait `tower_service::Service>` is not implemented for `Cors` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `tower_service::Service>` is implemented for `Cors` [INFO] [stdout] note: required by a bound in `Router::::layer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/mod.rs:284:21 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn layer(self, layer: L) -> Router [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 284 | L::Service: Service + Clone + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Router::::layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Trace>: Service<...>` is not satisfied [INFO] [stdout] --> src/main.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | .layer(TraceLayer::new_for_http()); [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `tower_service::Service>` is not implemented for `tower_http::trace::Trace>` [INFO] [stdout] = help: the trait `tower_service::Service>` is implemented for `Trace` [INFO] [stdout] note: required by a bound in `Router::::layer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/mod.rs:284:21 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn layer(self, layer: L) -> Router [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 284 | L::Service: Service + Clone + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Router::::layer` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-d090c8b2d86ee063.long-type-13269674407148742149.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::Row` [INFO] [stdout] --> src/auth/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use sqlx::Row; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Cors: tower_service::Service>` is not satisfied [INFO] [stdout] --> src/main.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | .layer(CorsLayer::permissive()) [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^ the trait `tower_service::Service>` is not implemented for `Cors` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `tower_service::Service>` is implemented for `Cors` [INFO] [stdout] note: required by a bound in `Router::::layer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/mod.rs:284:21 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn layer(self, layer: L) -> Router [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 284 | L::Service: Service + Clone + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Router::::layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Trace>: Service<...>` is not satisfied [INFO] [stdout] --> src/main.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | .layer(TraceLayer::new_for_http()); [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `tower_service::Service>` is not implemented for `tower_http::trace::Trace>` [INFO] [stdout] = help: the trait `tower_service::Service>` is implemented for `Trace` [INFO] [stdout] note: required by a bound in `Router::::layer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/mod.rs:284:21 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn layer(self, layer: L) -> Router [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 284 | L::Service: Service + Clone + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Router::::layer` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/blockchain_api_rust-149e65bef3802f27.long-type-6759290658406148528.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::Row` [INFO] [stdout] --> src/auth/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use sqlx::Row; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0283, E0308, E0596, E0599, E0614. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `blockchain-api-rust` (bin "blockchain-api-rust" test) due to 154 previous errors; 81 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0277, E0283, E0308, E0596, E0599, E0614. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `blockchain-api-rust` (bin "blockchain-api-rust") due to 154 previous errors; 81 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bef062f437bb474d58270c78ba402538f7cc91ac70b18a922c7558278bc10a49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bef062f437bb474d58270c78ba402538f7cc91ac70b18a922c7558278bc10a49", kill_on_drop: false }` [INFO] [stdout] bef062f437bb474d58270c78ba402538f7cc91ac70b18a922c7558278bc10a49