[INFO] cloning repository https://github.com/ruuderie/mev-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ruuderie/mev-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruuderie%2Fmev-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruuderie%2Fmev-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 594154298c931a7b8d4fc7e000a6faffe1683771
[INFO] checking ruuderie/mev-rs against e3d12f3322cb00126b2208c6b9df3ac4467951f5 for pr-159706
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruuderie%2Fmev-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ruuderie/mev-rs
[INFO] finished tweaking git repo https://github.com/ruuderie/mev-rs
[INFO] tweaked toml for git repo https://github.com/ruuderie/mev-rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ruuderie/mev-rs on toolchain e3d12f3322cb00126b2208c6b9df3ac4467951f5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e3d12f3322cb00126b2208c6b9df3ac4467951f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ruuderie/mev-rs 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" "+e3d12f3322cb00126b2208c6b9df3ac4467951f5" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0efee76c2f1f053af24e40569714f2cb8cbe51f677bed4196d3c7f071fdcdb69
[INFO] running `Command { std: "docker" "start" "0efee76c2f1f053af24e40569714f2cb8cbe51f677bed4196d3c7f071fdcdb69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0efee76c2f1f053af24e40569714f2cb8cbe51f677bed4196d3c7f071fdcdb69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0efee76c2f1f053af24e40569714f2cb8cbe51f677bed4196d3c7f071fdcdb69" "/opt/rustwide/cargo-home/bin/cargo" "+e3d12f3322cb00126b2208c6b9df3ac4467951f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0efee76c2f1f053af24e40569714f2cb8cbe51f677bed4196d3c7f071fdcdb69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0efee76c2f1f053af24e40569714f2cb8cbe51f677bed4196d3c7f071fdcdb69" "/opt/rustwide/cargo-home/bin/cargo" "+e3d12f3322cb00126b2208c6b9df3ac4467951f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking mev-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: couldn't read `src/path/to/compiled/abi.json`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/main.rs:21:80
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let contract = Contract::new(contract_address, ethers::contract::Abi::load(include_bytes!("path/to/compiled/abi.json"))?, wallet);
[INFO] [stdout]    |                                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/path/to/compiled/abi.json`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/main.rs:71:41
[INFO] [stdout]    |
[INFO] [stdout] 71 |             ethers::contract::Abi::load(include_bytes!("path/to/compiled/abi.json")).unwrap(),
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/path/to/compiled/abi.json`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/main.rs:21:80
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let contract = Contract::new(contract_address, ethers::contract::Abi::load(include_bytes!("path/to/compiled/abi.json"))?, wallet);
[INFO] [stdout]    |                                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `ethers` in this scope
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ethers::prelude::*;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `ethers`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `ethers`, use `cargo add ethers` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]  --> src/main.rs:4:3
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `ethers` in this scope
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ethers::prelude::*;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `ethers`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `ethers`, use `cargo add ethers` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `ethers` in this scope
[INFO] [stdout]   --> src/main.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     use ethers::types::U256;
[INFO] [stdout]    |         ^^^^^^ use of unresolved module or unlinked crate `ethers`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `ethers`, use `cargo add ethers` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ethers::types::U256`
[INFO] [stdout]   --> src/main.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     use ethers::types::U256;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]   --> src/main.rs:51:7
[INFO] [stdout]    |
[INFO] [stdout] 51 |     #[tokio::test]
[INFO] [stdout]    |       ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]  --> src/main.rs:4:3
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Http` in this scope
[INFO] [stdout]  --> src/main.rs:7:31
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let provider = Provider::<Http>::try_from("http://localhost:8545")?;
[INFO] [stdout]   |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Wallet` in this scope
[INFO] [stdout]   --> src/main.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let wallet: Wallet = "your private key here"
[INFO] [stdout]    |                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LocalWallet` in this scope
[INFO] [stdout]   --> src/main.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 |         .parse::<LocalWallet>()?
[INFO] [stdout]    |                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Address` in this scope
[INFO] [stdout]   --> src/main.rs:18:27
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let contract_address: Address = "contract address here".parse()?;
[INFO] [stdout]    |                           ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `ethers` in this scope
[INFO] [stdout]   --> src/main.rs:21:52
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let contract = Contract::new(contract_address, ethers::contract::Abi::load(include_bytes!("path/to/compiled/abi.json"))?, wallet);
[INFO] [stdout]    |                                                    ^^^^^^ use of unresolved module or unlinked crate `ethers`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `ethers`, use `cargo add ethers` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::mem::type_info::Abi;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Abi`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 21 -     let contract = Contract::new(contract_address, ethers::contract::Abi::load(include_bytes!("path/to/compiled/abi.json"))?, wallet);
[INFO] [stdout] 21 +     let contract = Contract::new(contract_address, Abi::load(include_bytes!("path/to/compiled/abi.json"))?, wallet);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Address` in this scope
[INFO] [stdout]   --> src/main.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let target: Address = "target address here".parse()?;
[INFO] [stdout]    |                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Address` in this scope
[INFO] [stdout]   --> src/main.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let target: Address = "target address here".parse()?;
[INFO] [stdout]    |                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryFrom`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::convert::TryFrom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Provider` in this scope
[INFO] [stdout]  --> src/main.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let provider = Provider::<Http>::try_from("http://localhost:8545")?;
[INFO] [stdout]   |                    ^^^^^^^^ use of undeclared type `Provider`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ChainId` in this scope
[INFO] [stdout]   --> src/main.rs:12:24
[INFO] [stdout]    |
[INFO] [stdout] 12 |         .with_chain_id(ChainId::try_from(1u64)?); // Set chain ID to mainnet
[INFO] [stdout]    |                        ^^^^^^^ use of undeclared type `ChainId`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Contract` in this scope
[INFO] [stdout]   --> src/main.rs:21:20
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let contract = Contract::new(contract_address, ethers::contract::Abi::load(include_bytes!("path/to/compiled/abi.json"))?, wallet);
[INFO] [stdout]    |                    ^^^^^^^^ use of undeclared type `Contract`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Options` in this scope
[INFO] [stdout]   --> src/main.rs:27:63
[INFO] [stdout]    |
[INFO] [stdout] 27 |         .call("executeWithGasLimit", (payload, target), None, Options::default())
[INFO] [stdout]    |                                                               ^^^^^^^ use of undeclared type `Options`
[INFO] [stdout]    |
[INFO] [stdout] help: an enum with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 27 -         .call("executeWithGasLimit", (payload, target), None, Options::default())
[INFO] [stdout] 27 +         .call("executeWithGasLimit", (payload, target), None, Option::default())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Options` in this scope
[INFO] [stdout]   --> src/main.rs:36:60
[INFO] [stdout]    |
[INFO] [stdout] 36 |         .call("delegateToTarget", (target, payload), None, Options::default())
[INFO] [stdout]    |                                                            ^^^^^^^ use of undeclared type `Options`
[INFO] [stdout]    |
[INFO] [stdout] help: an enum with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 36 -         .call("delegateToTarget", (target, payload), None, Options::default())
[INFO] [stdout] 36 +         .call("delegateToTarget", (target, payload), None, Option::default())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/main.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0752.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mev-rs` (bin "mev-rs") due to 16 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0425]: cannot find type `Http` in this scope
[INFO] [stdout]  --> src/main.rs:7:31
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let provider = Provider::<Http>::try_from("http://localhost:8545")?;
[INFO] [stdout]   |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Wallet` in this scope
[INFO] [stdout]   --> src/main.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let wallet: Wallet = "your private key here"
[INFO] [stdout]    |                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LocalWallet` in this scope
[INFO] [stdout]   --> src/main.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 |         .parse::<LocalWallet>()?
[INFO] [stdout]    |                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Address` in this scope
[INFO] [stdout]   --> src/main.rs:18:27
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let contract_address: Address = "contract address here".parse()?;
[INFO] [stdout]    |                           ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `ethers` in this scope
[INFO] [stdout]   --> src/main.rs:21:52
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let contract = Contract::new(contract_address, ethers::contract::Abi::load(include_bytes!("path/to/compiled/abi.json"))?, wallet);
[INFO] [stdout]    |                                                    ^^^^^^ use of unresolved module or unlinked crate `ethers`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `ethers`, use `cargo add ethers` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::mem::type_info::Abi;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Abi`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 21 -     let contract = Contract::new(contract_address, ethers::contract::Abi::load(include_bytes!("path/to/compiled/abi.json"))?, wallet);
[INFO] [stdout] 21 +     let contract = Contract::new(contract_address, Abi::load(include_bytes!("path/to/compiled/abi.json"))?, wallet);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Address` in this scope
[INFO] [stdout]   --> src/main.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let target: Address = "target address here".parse()?;
[INFO] [stdout]    |                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Address` in this scope
[INFO] [stdout]   --> src/main.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let target: Address = "target address here".parse()?;
[INFO] [stdout]    |                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Http` in this scope
[INFO] [stdout]   --> src/main.rs:54:35
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let provider = Provider::<Http>::try_from("http://localhost:8545").unwrap();
[INFO] [stdout]    |                                   ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 52 |     async fn test_contract_interaction<Http>() {
[INFO] [stdout]    |                                       ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Wallet` in this scope
[INFO] [stdout]   --> src/main.rs:57:21
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let wallet: Wallet = "your private key here"
[INFO] [stdout]    |                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LocalWallet` in this scope
[INFO] [stdout]   --> src/main.rs:58:22
[INFO] [stdout]    |
[INFO] [stdout] 58 |             .parse::<LocalWallet>()
[INFO] [stdout]    |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 52 |     async fn test_contract_interaction<LocalWallet>() {
[INFO] [stdout]    |                                       +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Address` in this scope
[INFO] [stdout]   --> src/main.rs:66:31
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let contract_address: Address = "contract address here".parse().unwrap();
[INFO] [stdout]    |                               ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `ethers` in this scope
[INFO] [stdout]   --> src/main.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |             ethers::contract::Abi::load(include_bytes!("path/to/compiled/abi.json")).unwrap(),
[INFO] [stdout]    |             ^^^^^^ use of unresolved module or unlinked crate `ethers`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `ethers`, use `cargo add ethers` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 47 +     use std::mem::type_info::Abi;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Abi`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 71 -             ethers::contract::Abi::load(include_bytes!("path/to/compiled/abi.json")).unwrap(),
[INFO] [stdout] 71 +             Abi::load(include_bytes!("path/to/compiled/abi.json")).unwrap(),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Address` in this scope
[INFO] [stdout]   --> src/main.rs:77:60
[INFO] [stdout]    |
[INFO] [stdout] 77 |         let target_address = "target address here".parse::<Address>().unwrap();
[INFO] [stdout]    |                                                            ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 52 |     async fn test_contract_interaction<Address>() {
[INFO] [stdout]    |                                       +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Address` in this scope
[INFO] [stdout]   --> src/main.rs:89:21
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let target: Address = "target contract address here".parse().unwrap();
[INFO] [stdout]    |                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryFrom`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::convert::TryFrom;
[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: `super::*`
[INFO] [stdout]   --> src/main.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]   --> src/main.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |     use std::str::FromStr;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Provider` in this scope
[INFO] [stdout]  --> src/main.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let provider = Provider::<Http>::try_from("http://localhost:8545")?;
[INFO] [stdout]   |                    ^^^^^^^^ use of undeclared type `Provider`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ChainId` in this scope
[INFO] [stdout]   --> src/main.rs:12:24
[INFO] [stdout]    |
[INFO] [stdout] 12 |         .with_chain_id(ChainId::try_from(1u64)?); // Set chain ID to mainnet
[INFO] [stdout]    |                        ^^^^^^^ use of undeclared type `ChainId`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Contract` in this scope
[INFO] [stdout]   --> src/main.rs:21:20
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let contract = Contract::new(contract_address, ethers::contract::Abi::load(include_bytes!("path/to/compiled/abi.json"))?, wallet);
[INFO] [stdout]    |                    ^^^^^^^^ use of undeclared type `Contract`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Options` in this scope
[INFO] [stdout]   --> src/main.rs:27:63
[INFO] [stdout]    |
[INFO] [stdout] 27 |         .call("executeWithGasLimit", (payload, target), None, Options::default())
[INFO] [stdout]    |                                                               ^^^^^^^ use of undeclared type `Options`
[INFO] [stdout]    |
[INFO] [stdout] help: an enum with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 27 -         .call("executeWithGasLimit", (payload, target), None, Options::default())
[INFO] [stdout] 27 +         .call("executeWithGasLimit", (payload, target), None, Option::default())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Options` in this scope
[INFO] [stdout]   --> src/main.rs:36:60
[INFO] [stdout]    |
[INFO] [stdout] 36 |         .call("delegateToTarget", (target, payload), None, Options::default())
[INFO] [stdout]    |                                                            ^^^^^^^ use of undeclared type `Options`
[INFO] [stdout]    |
[INFO] [stdout] help: an enum with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 36 -         .call("delegateToTarget", (target, payload), None, Options::default())
[INFO] [stdout] 36 +         .call("delegateToTarget", (target, payload), None, Option::default())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Provider` in this scope
[INFO] [stdout]   --> src/main.rs:54:24
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let provider = Provider::<Http>::try_from("http://localhost:8545").unwrap();
[INFO] [stdout]    |                        ^^^^^^^^ use of undeclared type `Provider`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ChainId` in this scope
[INFO] [stdout]   --> src/main.rs:60:28
[INFO] [stdout]    |
[INFO] [stdout] 60 |             .with_chain_id(ChainId::try_from(1337u64).unwrap()); // Set chain ID to Ganache default
[INFO] [stdout]    |                            ^^^^^^^ use of undeclared type `ChainId`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Contract` in this scope
[INFO] [stdout]   --> src/main.rs:69:24
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let contract = Contract::new(
[INFO] [stdout]    |                        ^^^^^^^^ use of undeclared type `Contract`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `keccak256` in this scope
[INFO] [stdout]   --> src/main.rs:81:34
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let function_signature = keccak256(b"transfer(address,uint256)").to_vec();
[INFO] [stdout]    |                                  ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Options` in this scope
[INFO] [stdout]   --> src/main.rs:91:75
[INFO] [stdout]    |
[INFO] [stdout] 91 |             .call("executeWithGasLimit", (payload.clone(), target), None, Options::default())
[INFO] [stdout]    |                                                                           ^^^^^^^ use of undeclared type `Options`
[INFO] [stdout]    |
[INFO] [stdout] help: an enum with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 91 -             .call("executeWithGasLimit", (payload.clone(), target), None, Options::default())
[INFO] [stdout] 91 +             .call("executeWithGasLimit", (payload.clone(), target), None, Option::default())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Options` in this scope
[INFO] [stdout]   --> src/main.rs:99:64
[INFO] [stdout]    |
[INFO] [stdout] 99 |             .call("delegateToTarget", (target, payload), None, Options::default())
[INFO] [stdout]    |                                                                ^^^^^^^ use of undeclared type `Options`
[INFO] [stdout]    |
[INFO] [stdout] help: an enum with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 99 -             .call("delegateToTarget", (target, payload), None, Options::default())
[INFO] [stdout] 99 +             .call("delegateToTarget", (target, payload), None, Option::default())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mev-rs` (bin "mev-rs" test) due to 32 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "0efee76c2f1f053af24e40569714f2cb8cbe51f677bed4196d3c7f071fdcdb69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0efee76c2f1f053af24e40569714f2cb8cbe51f677bed4196d3c7f071fdcdb69", kill_on_drop: false }`
[INFO] [stdout] 0efee76c2f1f053af24e40569714f2cb8cbe51f677bed4196d3c7f071fdcdb69
