[INFO] cloning repository https://github.com/nguyenethan01/mev-visualizer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nguyenethan01/mev-visualizer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnguyenethan01%2Fmev-visualizer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnguyenethan01%2Fmev-visualizer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ea3049dfebb48efe149d616a42164479eb14f63a [INFO] checking nguyenethan01/mev-visualizer against try#3248bace201b6227b0ff78eacc8b00d805551a86 for pr-153513 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnguyenethan01%2Fmev-visualizer" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nguyenethan01/mev-visualizer [INFO] finished tweaking git repo https://github.com/nguyenethan01/mev-visualizer [INFO] tweaked toml for git repo https://github.com/nguyenethan01/mev-visualizer written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nguyenethan01/mev-visualizer on toolchain 3248bace201b6227b0ff78eacc8b00d805551a86 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3248bace201b6227b0ff78eacc8b00d805551a86" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nguyenethan01/mev-visualizer 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" "+3248bace201b6227b0ff78eacc8b00d805551a86" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded svm-rs v0.3.5 [INFO] [stderr] Downloaded path-slash v0.2.1 [INFO] [stderr] Downloaded open-fastrlp v0.1.4 [INFO] [stderr] Downloaded ethers v2.0.14 [INFO] [stderr] Downloaded futures-locks v0.7.1 [INFO] [stderr] Downloaded coins-core v0.8.7 [INFO] [stderr] Downloaded ethbloom v0.13.0 [INFO] [stderr] Downloaded byte-slice-cast v1.2.3 [INFO] [stderr] Downloaded open-fastrlp-derive v0.1.1 [INFO] [stderr] Downloaded ethers-addressbook v2.0.14 [INFO] [stderr] Downloaded scrypt v0.10.0 [INFO] [stderr] Downloaded scale-info-derive v2.11.6 [INFO] [stderr] Downloaded eth-keystore v0.5.0 [INFO] [stderr] Downloaded solang-parser v0.3.3 [INFO] [stderr] Downloaded ethers-contract-derive v2.0.14 [INFO] [stderr] Downloaded ethers-contract-abigen v2.0.14 [INFO] [stderr] Downloaded scale-info v2.11.6 [INFO] [stderr] Downloaded parity-scale-codec v3.7.4 [INFO] [stderr] Downloaded ethers-providers v2.0.14 [INFO] [stderr] Downloaded ethers-solc v2.0.14 [INFO] [stderr] Downloaded ethers-core v2.0.14 [INFO] [stderr] Downloaded coins-bip39 v0.8.7 [INFO] [stderr] Downloaded miniz_oxide v0.8.7 [INFO] [stderr] Downloaded ethers-middleware v2.0.14 [INFO] [stderr] Downloaded ethers-signers v2.0.14 [INFO] [stderr] Downloaded ethabi v18.0.0 [INFO] [stderr] Downloaded ethers-contract v2.0.14 [INFO] [stderr] Downloaded ethers-etherscan v2.0.14 [INFO] [stderr] Downloaded enr v0.10.0 [INFO] [stderr] Downloaded coins-bip32 v0.8.7 [INFO] [stderr] Downloaded const-hex v1.14.0 [INFO] [stderr] Downloaded ethereum-types v0.14.1 [INFO] [stderr] Downloaded parity-scale-codec-derive v3.7.4 [INFO] [stderr] Downloaded hashers v1.0.1 [INFO] [stderr] Downloaded linux-raw-sys v0.9.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3248bace201b6227b0ff78eacc8b00d805551a86" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1d1f2d87be63e6184e1d3e9ae7917cf334351331c1b37ee776879542c956399 [INFO] running `Command { std: "docker" "start" "-a" "a1d1f2d87be63e6184e1d3e9ae7917cf334351331c1b37ee776879542c956399", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1d1f2d87be63e6184e1d3e9ae7917cf334351331c1b37ee776879542c956399", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1d1f2d87be63e6184e1d3e9ae7917cf334351331c1b37ee776879542c956399", kill_on_drop: false }` [INFO] [stdout] a1d1f2d87be63e6184e1d3e9ae7917cf334351331c1b37ee776879542c956399 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3248bace201b6227b0ff78eacc8b00d805551a86" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ecffdde85eaae4597708bd13d506ee9118f6cbee16a87f4f14e198ac3a676e5 [INFO] running `Command { std: "docker" "start" "-a" "1ecffdde85eaae4597708bd13d506ee9118f6cbee16a87f4f14e198ac3a676e5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling winnow v0.7.6 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling cc v1.2.18 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling quote v1.0.40 [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] Compiling syn v2.0.100 [INFO] [stderr] Compiling parity-scale-codec v3.7.4 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking byte-slice-cast v1.2.3 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking tiny-keccak v2.0.2 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling rlp-derive v0.1.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Checking linux-raw-sys v0.9.3 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Checking rustix v1.0.5 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking tempfile v3.19.1 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking const-hex v1.14.0 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling auto_impl v1.2.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking wasm-bindgen v0.2.100 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking cargo-platform v0.1.9 [INFO] [stderr] Compiling rlp v0.5.2 [INFO] [stderr] Compiling open-fastrlp-derive v0.1.1 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking semver v1.0.26 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking js-sys v0.3.77 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Checking data-encoding v2.8.0 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.4 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Checking pem v1.1.1 [INFO] [stderr] Checking coins-core v0.8.7 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking gloo-timers v0.2.6 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking send_wrapper v0.4.0 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking jsonwebtoken v8.3.0 [INFO] [stderr] Checking scale-info v2.11.6 [INFO] [stderr] Checking impl-codec v0.6.0 [INFO] [stderr] Checking scrypt v0.10.0 [INFO] [stderr] Checking ethbloom v0.13.0 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Checking hashers v1.0.1 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking coins-bip32 v0.8.7 [INFO] [stderr] Checking enr v0.10.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking futures-locks v0.7.1 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking eth-keystore v0.5.0 [INFO] [stderr] Checking coins-bip39 v0.8.7 [INFO] [stderr] Checking ethereum-types v0.14.1 [INFO] [stderr] Checking open-fastrlp v0.1.4 [INFO] [stderr] Checking ethabi v18.0.0 [INFO] [stderr] Checking ethers-core v2.0.14 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking ethers-contract-abigen v2.0.14 [INFO] [stderr] Checking ethers-providers v2.0.14 [INFO] [stderr] Checking ethers-signers v2.0.14 [INFO] [stderr] Checking ethers-etherscan v2.0.14 [INFO] [stderr] Checking ethers-addressbook v2.0.14 [INFO] [stderr] Compiling ethers-contract-derive v2.0.14 [INFO] [stderr] Checking ethers-contract v2.0.14 [INFO] [stderr] Checking ethers-middleware v2.0.14 [INFO] [stderr] Checking ethers v2.0.14 [INFO] [stderr] Checking eth-mev-visualizer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `ethers::types::BlockWithTransactions` [INFO] [stdout] --> src/main.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use ethers::types::{BlockWithTransactions, Transaction, H256, U256, Address, Bytes}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `BlockWithTransactions` in `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `BlockMevData` in this scope [INFO] [stdout] --> src/main.rs:125:79 [INFO] [stdout] | [INFO] [stdout] 125 | fn analyze_block_for_mev(block: &BlockWithTransactions) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 125 | fn analyze_block_for_mev(block: &BlockWithTransactions) -> anyhow::Result> { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BlockMevData` in this scope [INFO] [stdout] --> src/main.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 138 | mev_opportunities.push(BlockMevData { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MevOpportunity` in this scope [INFO] [stdout] --> src/main.rs:140:30 [INFO] [stdout] | [INFO] [stdout] 140 | mev_opportunity: MevOpportunity { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BlockMevData` in this scope [INFO] [stdout] --> src/main.rs:150:32 [INFO] [stdout] | [INFO] [stdout] 150 | mev_opportunities.push(BlockMevData { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MevOpportunity` in this scope [INFO] [stdout] --> src/main.rs:152:30 [INFO] [stdout] | [INFO] [stdout] 152 | mev_opportunity: MevOpportunity { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bytes`, `H256`, and `U256` [INFO] [stdout] --> src/main.rs:3:57 [INFO] [stdout] | [INFO] [stdout] 3 | use ethers::types::{BlockWithTransactions, Transaction, H256, U256, Address, Bytes}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ethers::utils::keccak256` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ethers::utils::keccak256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ethers::types::BlockWithTransactions` [INFO] [stdout] --> src/main.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use ethers::types::{BlockWithTransactions, Transaction, H256, U256, Address, Bytes}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `BlockWithTransactions` in `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `BlockMevData` in this scope [INFO] [stdout] --> src/main.rs:125:79 [INFO] [stdout] | [INFO] [stdout] 125 | fn analyze_block_for_mev(block: &BlockWithTransactions) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 125 | fn analyze_block_for_mev(block: &BlockWithTransactions) -> anyhow::Result> { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BlockMevData` in this scope [INFO] [stdout] --> src/main.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 138 | mev_opportunities.push(BlockMevData { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MevOpportunity` in this scope [INFO] [stdout] --> src/main.rs:140:30 [INFO] [stdout] | [INFO] [stdout] 140 | mev_opportunity: MevOpportunity { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BlockMevData` in this scope [INFO] [stdout] --> src/main.rs:150:32 [INFO] [stdout] | [INFO] [stdout] 150 | mev_opportunities.push(BlockMevData { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MevOpportunity` in this scope [INFO] [stdout] --> src/main.rs:152:30 [INFO] [stdout] | [INFO] [stdout] 152 | mev_opportunity: MevOpportunity { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bytes`, `H256`, and `U256` [INFO] [stdout] --> src/main.rs:3:57 [INFO] [stdout] | [INFO] [stdout] 3 | use ethers::types::{BlockWithTransactions, Transaction, H256, U256, Address, Bytes}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ethers::utils::keccak256` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ethers::utils::keccak256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `H160` in the current scope [INFO] [stdout] --> src/main.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | Address::from_str("0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D").unwrap(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `H160` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `H160` consider using one of the following associated functions: [INFO] [stdout] H160::repeat_byte [INFO] [stdout] H160::zero [INFO] [stdout] H160::from_slice [INFO] [stdout] H160::from_low_u64_be [INFO] [stdout] and 4 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/fixed-hash-0.8.0/src/hash.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | pub const fn repeat_byte(byte: u8) -> $name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub const fn zero() -> $name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn from_slice(src: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | pub fn from_low_u64_be(val: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/primitive-types-0.12.2/src/lib.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | / construct_fixed_hash! { [INFO] [stdout] 56 | | /// Fixed-size uninterpreted hash type with 20 bytes (160 bits) size. [INFO] [stdout] 57 | | #[cfg_attr(feature = "scale-info", derive(TypeInfo))] [INFO] [stdout] 58 | | pub struct H160(20); [INFO] [stdout] 59 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 20 - Address::from_str("0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D").unwrap(), [INFO] [stdout] 20 + Address::from("0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D").unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `H160` in the current scope [INFO] [stdout] --> src/main.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | Address::from_str("0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F").unwrap(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `H160` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `H160` consider using one of the following associated functions: [INFO] [stdout] H160::repeat_byte [INFO] [stdout] H160::zero [INFO] [stdout] H160::from_slice [INFO] [stdout] H160::from_low_u64_be [INFO] [stdout] and 4 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/fixed-hash-0.8.0/src/hash.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | pub const fn repeat_byte(byte: u8) -> $name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub const fn zero() -> $name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn from_slice(src: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | pub fn from_low_u64_be(val: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/primitive-types-0.12.2/src/lib.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | / construct_fixed_hash! { [INFO] [stdout] 56 | | /// Fixed-size uninterpreted hash type with 20 bytes (160 bits) size. [INFO] [stdout] 57 | | #[cfg_attr(feature = "scale-info", derive(TypeInfo))] [INFO] [stdout] 58 | | pub struct H160(20); [INFO] [stdout] 59 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 24 - Address::from_str("0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F").unwrap(), [INFO] [stdout] 24 + Address::from("0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F").unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `H160` in the current scope [INFO] [stdout] --> src/main.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | Address::from_str("0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D").unwrap(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `H160` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `H160` consider using one of the following associated functions: [INFO] [stdout] H160::repeat_byte [INFO] [stdout] H160::zero [INFO] [stdout] H160::from_slice [INFO] [stdout] H160::from_low_u64_be [INFO] [stdout] and 4 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/fixed-hash-0.8.0/src/hash.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | pub const fn repeat_byte(byte: u8) -> $name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub const fn zero() -> $name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn from_slice(src: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | pub fn from_low_u64_be(val: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/primitive-types-0.12.2/src/lib.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | / construct_fixed_hash! { [INFO] [stdout] 56 | | /// Fixed-size uninterpreted hash type with 20 bytes (160 bits) size. [INFO] [stdout] 57 | | #[cfg_attr(feature = "scale-info", derive(TypeInfo))] [INFO] [stdout] 58 | | pub struct H160(20); [INFO] [stdout] 59 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 20 - Address::from_str("0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D").unwrap(), [INFO] [stdout] 20 + Address::from("0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D").unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `H160` in the current scope [INFO] [stdout] --> src/main.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | Address::from_str("0xE592427A0AEce92De3Edee1F18E0157C05861564").unwrap(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `H160` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `H160` consider using one of the following associated functions: [INFO] [stdout] H160::repeat_byte [INFO] [stdout] H160::zero [INFO] [stdout] H160::from_slice [INFO] [stdout] H160::from_low_u64_be [INFO] [stdout] and 4 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/fixed-hash-0.8.0/src/hash.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | pub const fn repeat_byte(byte: u8) -> $name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub const fn zero() -> $name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn from_slice(src: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | pub fn from_low_u64_be(val: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/primitive-types-0.12.2/src/lib.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | / construct_fixed_hash! { [INFO] [stdout] 56 | | /// Fixed-size uninterpreted hash type with 20 bytes (160 bits) size. [INFO] [stdout] 57 | | #[cfg_attr(feature = "scale-info", derive(TypeInfo))] [INFO] [stdout] 58 | | pub struct H160(20); [INFO] [stdout] 59 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 28 - Address::from_str("0xE592427A0AEce92De3Edee1F18E0157C05861564").unwrap(), [INFO] [stdout] 28 + Address::from("0xE592427A0AEce92De3Edee1F18E0157C05861564").unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `H160` in the current scope [INFO] [stdout] --> src/main.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | searchers.insert(Address::from_str("0x000000000000084e91743124a982076C59f10084").unwrap()); // MEV-Share [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `H160` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `H160` consider using one of the following associated functions: [INFO] [stdout] H160::repeat_byte [INFO] [stdout] H160::zero [INFO] [stdout] H160::from_slice [INFO] [stdout] H160::from_low_u64_be [INFO] [stdout] and 4 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/fixed-hash-0.8.0/src/hash.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | pub const fn repeat_byte(byte: u8) -> $name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub const fn zero() -> $name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn from_slice(src: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | pub fn from_low_u64_be(val: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/primitive-types-0.12.2/src/lib.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | / construct_fixed_hash! { [INFO] [stdout] 56 | | /// Fixed-size uninterpreted hash type with 20 bytes (160 bits) size. [INFO] [stdout] 57 | | #[cfg_attr(feature = "scale-info", derive(TypeInfo))] [INFO] [stdout] 58 | | pub struct H160(20); [INFO] [stdout] 59 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 38 - searchers.insert(Address::from_str("0x000000000000084e91743124a982076C59f10084").unwrap()); // MEV-Share [INFO] [stdout] 38 + searchers.insert(Address::from("0x000000000000084e91743124a982076C59f10084").unwrap()); // MEV-Share [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `H160` in the current scope [INFO] [stdout] --> src/main.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | searchers.insert(Address::from_str("0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2").unwrap()); // WETH (often used in MEV) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `H160` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `H160` consider using one of the following associated functions: [INFO] [stdout] H160::repeat_byte [INFO] [stdout] H160::zero [INFO] [stdout] H160::from_slice [INFO] [stdout] H160::from_low_u64_be [INFO] [stdout] and 4 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/fixed-hash-0.8.0/src/hash.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | pub const fn repeat_byte(byte: u8) -> $name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub const fn zero() -> $name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn from_slice(src: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | pub fn from_low_u64_be(val: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/primitive-types-0.12.2/src/lib.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | / construct_fixed_hash! { [INFO] [stdout] 56 | | /// Fixed-size uninterpreted hash type with 20 bytes (160 bits) size. [INFO] [stdout] 57 | | #[cfg_attr(feature = "scale-info", derive(TypeInfo))] [INFO] [stdout] 58 | | pub struct H160(20); [INFO] [stdout] 59 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 39 - searchers.insert(Address::from_str("0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2").unwrap()); // WETH (often used in MEV) [INFO] [stdout] 39 + searchers.insert(Address::from("0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2").unwrap()); // WETH (often used in MEV) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:50:31 [INFO] [stdout] | [INFO] [stdout] 50 | if let (Some(to), Some(input)) = (tx.to, &tx.input) { [INFO] [stdout] | ^^^^^^^^^^^ ------------------ this expression has type `(std::option::Option, ðers::types::Bytes)` [INFO] [stdout] | | [INFO] [stdout] | expected `Bytes`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ethers::types::Bytes` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `H160` in the current scope [INFO] [stdout] --> src/main.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | Address::from_str("0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F").unwrap(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `H160` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `H160` consider using one of the following associated functions: [INFO] [stdout] H160::repeat_byte [INFO] [stdout] H160::zero [INFO] [stdout] H160::from_slice [INFO] [stdout] H160::from_low_u64_be [INFO] [stdout] and 4 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/fixed-hash-0.8.0/src/hash.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | pub const fn repeat_byte(byte: u8) -> $name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub const fn zero() -> $name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn from_slice(src: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | pub fn from_low_u64_be(val: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/primitive-types-0.12.2/src/lib.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | / construct_fixed_hash! { [INFO] [stdout] 56 | | /// Fixed-size uninterpreted hash type with 20 bytes (160 bits) size. [INFO] [stdout] 57 | | #[cfg_attr(feature = "scale-info", derive(TypeInfo))] [INFO] [stdout] 58 | | pub struct H160(20); [INFO] [stdout] 59 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 24 - Address::from_str("0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F").unwrap(), [INFO] [stdout] 24 + Address::from("0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F").unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> src/main.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | for (sender, swaps) in sender_swaps { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0422, E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `eth-mev-visualizer` (bin "eth-mev-visualizer") due to 12 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `H160` in the current scope [INFO] [stdout] --> src/main.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | Address::from_str("0xE592427A0AEce92De3Edee1F18E0157C05861564").unwrap(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `H160` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `H160` consider using one of the following associated functions: [INFO] [stdout] H160::repeat_byte [INFO] [stdout] H160::zero [INFO] [stdout] H160::from_slice [INFO] [stdout] H160::from_low_u64_be [INFO] [stdout] and 4 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/fixed-hash-0.8.0/src/hash.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | pub const fn repeat_byte(byte: u8) -> $name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub const fn zero() -> $name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn from_slice(src: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | pub fn from_low_u64_be(val: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/primitive-types-0.12.2/src/lib.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | / construct_fixed_hash! { [INFO] [stdout] 56 | | /// Fixed-size uninterpreted hash type with 20 bytes (160 bits) size. [INFO] [stdout] 57 | | #[cfg_attr(feature = "scale-info", derive(TypeInfo))] [INFO] [stdout] 58 | | pub struct H160(20); [INFO] [stdout] 59 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 28 - Address::from_str("0xE592427A0AEce92De3Edee1F18E0157C05861564").unwrap(), [INFO] [stdout] 28 + Address::from("0xE592427A0AEce92De3Edee1F18E0157C05861564").unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `H160` in the current scope [INFO] [stdout] --> src/main.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | searchers.insert(Address::from_str("0x000000000000084e91743124a982076C59f10084").unwrap()); // MEV-Share [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `H160` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `H160` consider using one of the following associated functions: [INFO] [stdout] H160::repeat_byte [INFO] [stdout] H160::zero [INFO] [stdout] H160::from_slice [INFO] [stdout] H160::from_low_u64_be [INFO] [stdout] and 4 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/fixed-hash-0.8.0/src/hash.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | pub const fn repeat_byte(byte: u8) -> $name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub const fn zero() -> $name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn from_slice(src: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | pub fn from_low_u64_be(val: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/primitive-types-0.12.2/src/lib.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | / construct_fixed_hash! { [INFO] [stdout] 56 | | /// Fixed-size uninterpreted hash type with 20 bytes (160 bits) size. [INFO] [stdout] 57 | | #[cfg_attr(feature = "scale-info", derive(TypeInfo))] [INFO] [stdout] 58 | | pub struct H160(20); [INFO] [stdout] 59 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 38 - searchers.insert(Address::from_str("0x000000000000084e91743124a982076C59f10084").unwrap()); // MEV-Share [INFO] [stdout] 38 + searchers.insert(Address::from("0x000000000000084e91743124a982076C59f10084").unwrap()); // MEV-Share [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `H160` in the current scope [INFO] [stdout] --> src/main.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | searchers.insert(Address::from_str("0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2").unwrap()); // WETH (often used in MEV) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `H160` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `H160` consider using one of the following associated functions: [INFO] [stdout] H160::repeat_byte [INFO] [stdout] H160::zero [INFO] [stdout] H160::from_slice [INFO] [stdout] H160::from_low_u64_be [INFO] [stdout] and 4 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/fixed-hash-0.8.0/src/hash.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | pub const fn repeat_byte(byte: u8) -> $name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub const fn zero() -> $name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn from_slice(src: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | pub fn from_low_u64_be(val: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/primitive-types-0.12.2/src/lib.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | / construct_fixed_hash! { [INFO] [stdout] 56 | | /// Fixed-size uninterpreted hash type with 20 bytes (160 bits) size. [INFO] [stdout] 57 | | #[cfg_attr(feature = "scale-info", derive(TypeInfo))] [INFO] [stdout] 58 | | pub struct H160(20); [INFO] [stdout] 59 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 39 - searchers.insert(Address::from_str("0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2").unwrap()); // WETH (often used in MEV) [INFO] [stdout] 39 + searchers.insert(Address::from("0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2").unwrap()); // WETH (often used in MEV) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:50:31 [INFO] [stdout] | [INFO] [stdout] 50 | if let (Some(to), Some(input)) = (tx.to, &tx.input) { [INFO] [stdout] | ^^^^^^^^^^^ ------------------ this expression has type `(std::option::Option, ðers::types::Bytes)` [INFO] [stdout] | | [INFO] [stdout] | expected `Bytes`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ethers::types::Bytes` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> src/main.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | for (sender, swaps) in sender_swaps { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0422, E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `eth-mev-visualizer` (bin "eth-mev-visualizer" test) due to 12 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1ecffdde85eaae4597708bd13d506ee9118f6cbee16a87f4f14e198ac3a676e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ecffdde85eaae4597708bd13d506ee9118f6cbee16a87f4f14e198ac3a676e5", kill_on_drop: false }` [INFO] [stdout] 1ecffdde85eaae4597708bd13d506ee9118f6cbee16a87f4f14e198ac3a676e5