[INFO] fetching crate flashbots-sdk 0.2.6...
[INFO] testing flashbots-sdk-0.2.6 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] extracting crate flashbots-sdk 0.2.6 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate flashbots-sdk 0.2.6
[INFO] finished tweaking crates.io crate flashbots-sdk 0.2.6
[INFO] tweaked toml for crates.io crate flashbots-sdk 0.2.6 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate flashbots-sdk 0.2.6 on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate flashbots-sdk 0.2.6 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1ef6ef4005109d3baad2836bc64b33c19e42a71b64187428f34c0ab7ff6ab3b4
[INFO] running `Command { std: "docker" "start" "-a" "1ef6ef4005109d3baad2836bc64b33c19e42a71b64187428f34c0ab7ff6ab3b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1ef6ef4005109d3baad2836bc64b33c19e42a71b64187428f34c0ab7ff6ab3b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ef6ef4005109d3baad2836bc64b33c19e42a71b64187428f34c0ab7ff6ab3b4", kill_on_drop: false }`
[INFO] [stdout] 1ef6ef4005109d3baad2836bc64b33c19e42a71b64187428f34c0ab7ff6ab3b4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] aed713be75b7f50935c339ed14a6031321c7d15436e3c54ba559dd12e8567f60
[INFO] running `Command { std: "docker" "start" "-a" "aed713be75b7f50935c339ed14a6031321c7d15436e3c54ba559dd12e8567f60", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling const-oid v0.9.6
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]    Compiling toml_datetime v0.7.3
[INFO] [stderr]    Compiling toml_parser v1.0.4
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling cc v1.2.43
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling rustc-hex v2.1.0
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling parity-scale-codec v3.7.5
[INFO] [stderr]    Compiling byte-slice-cast v1.2.3
[INFO] [stderr]    Compiling base16ct v0.2.0
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling keccak v0.1.5
[INFO] [stderr]    Compiling der v0.7.10
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling camino v1.2.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling ff v0.13.1
[INFO] [stderr]    Compiling toml_edit v0.23.7
[INFO] [stderr]    Compiling crypto-bigint v0.5.5
[INFO] [stderr]    Compiling group v0.13.0
[INFO] [stderr]    Compiling syn v2.0.108
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling const_format_proc_macros v0.2.34
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling sha3 v0.10.8
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling sec1 v0.7.3
[INFO] [stderr]    Compiling proc-macro-crate v3.4.0
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling fixed-hash v0.8.0
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling openssl-sys v0.9.110
[INFO] [stderr]    Compiling rfc6979 v0.4.0
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling elliptic-curve v0.13.8
[INFO] [stderr]    Compiling const_format v0.2.35
[INFO] [stderr]    Compiling uint v0.9.5
[INFO] [stderr]    Compiling ecdsa v0.16.9
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.105
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling const-hex v1.17.0
[INFO] [stderr]    Compiling openssl v0.10.74
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling semver v1.0.27
[INFO] [stderr]    Compiling k256 v0.13.4
[INFO] [stderr]    Compiling bumpalo v3.19.0
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling tempfile v3.23.0
[INFO] [stderr]    Compiling inout v0.1.4
[INFO] [stderr]    Compiling wasm-bindgen v0.2.105
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling deranged v0.5.5
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling rlp-derive v0.1.0
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling bs58 v0.5.1
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling ripemd v0.1.3
[INFO] [stderr]    Compiling bech32 v0.9.1
[INFO] [stderr]    Compiling dunce v1.0.5
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling pem v1.1.1
[INFO] [stderr]    Compiling salsa20 v0.10.2
[INFO] [stderr]    Compiling pbkdf2 v0.11.0
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling send_wrapper v0.4.0
[INFO] [stderr]    Compiling scrypt v0.10.0
[INFO] [stderr]    Compiling hashers v1.0.1
[INFO] [stderr]    Compiling ctr v0.9.2
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling pbkdf2 v0.12.2
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling futures-locks v0.7.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.105
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.7.5
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.3
[INFO] [stderr]    Compiling derive_more-impl v1.0.0
[INFO] [stderr]    Compiling scale-info-derive v2.11.6
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling auto_impl v1.3.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling derive_more v1.0.0
[INFO] [stderr]    Compiling num_enum_derive v0.7.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.105
[INFO] [stderr]    Compiling num_enum v0.7.5
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling simple_asn1 v0.6.3
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling js-sys v0.3.82
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling impl-serde v0.4.0
[INFO] [stderr]    Compiling cargo-platform v0.1.9
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling coins-core v0.8.7
[INFO] [stderr]    Compiling jsonwebtoken v8.3.0
[INFO] [stderr]    Compiling uuid v0.8.2
[INFO] [stderr]    Compiling coins-bip32 v0.8.7
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling cargo_metadata v0.18.1
[INFO] [stderr]    Compiling icu_properties v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling eth-keystore v0.5.0
[INFO] [stderr]    Compiling impl-codec v0.6.0
[INFO] [stderr]    Compiling rlp v0.5.2
[INFO] [stderr]    Compiling scale-info v2.11.6
[INFO] [stderr]    Compiling impl-rlp v0.3.0
[INFO] [stderr]    Compiling open-fastrlp-derive v0.1.1
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling enr v0.10.0
[INFO] [stderr]    Compiling coins-bip39 v0.8.7
[INFO] [stderr]    Compiling primitive-types v0.12.2
[INFO] [stderr]    Compiling ethbloom v0.13.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling ethereum-types v0.14.1
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling tungstenite v0.20.1
[INFO] [stderr]    Compiling open-fastrlp v0.1.4
[INFO] [stderr]    Compiling ethabi v18.0.0
[INFO] [stderr]    Compiling ethers-core v2.0.14
[INFO] [stderr]    Compiling gloo-timers v0.2.6
[INFO] [stderr]    Compiling futures-timer v3.0.3
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-tungstenite v0.20.1
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling ethers-contract-abigen v2.0.14
[INFO] [stderr]    Compiling ethers-signers v2.0.14
[INFO] [stderr]    Compiling ethers-addressbook v2.0.14
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling ethers-contract-derive v2.0.14
[INFO] [stderr]    Compiling hyper-rustls v0.24.2
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling ethers-providers v2.0.14
[INFO] [stderr]    Compiling ethers-etherscan v2.0.14
[INFO] [stderr]    Compiling ethers-contract v2.0.14
[INFO] [stderr]    Compiling ethers-middleware v2.0.14
[INFO] [stderr]    Compiling ethers v2.0.14
[INFO] [stderr]    Compiling evm-client v0.1.5
[INFO] [stderr]    Compiling flashbots-sdk v0.2.6 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ethers::core::k256::elliptic_curve::rand_core::block`
[INFO] [stdout]  --> src/lib.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use ethers::core::k256::elliptic_curve::rand_core::block;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 15s
[INFO] running `Command { std: "docker" "inspect" "aed713be75b7f50935c339ed14a6031321c7d15436e3c54ba559dd12e8567f60", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aed713be75b7f50935c339ed14a6031321c7d15436e3c54ba559dd12e8567f60", kill_on_drop: false }`
[INFO] [stdout] aed713be75b7f50935c339ed14a6031321c7d15436e3c54ba559dd12e8567f60
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 58a9f54c21e466075311064cd1cc9d97604c3135d4928e0254eaa7b1db6520b3
[INFO] running `Command { std: "docker" "start" "-a" "58a9f54c21e466075311064cd1cc9d97604c3135d4928e0254eaa7b1db6520b3", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `ethers::core::k256::elliptic_curve::rand_core::block`
[INFO] [stdout]  --> src/lib.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use ethers::core::k256::elliptic_curve::rand_core::block;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling flashbots-sdk v0.2.6 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ethers::core::k256::elliptic_curve::rand_core::block`
[INFO] [stdout]  --> src/lib.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use ethers::core::k256::elliptic_curve::rand_core::block;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.89s
[INFO] running `Command { std: "docker" "inspect" "58a9f54c21e466075311064cd1cc9d97604c3135d4928e0254eaa7b1db6520b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "58a9f54c21e466075311064cd1cc9d97604c3135d4928e0254eaa7b1db6520b3", kill_on_drop: false }`
[INFO] [stdout] 58a9f54c21e466075311064cd1cc9d97604c3135d4928e0254eaa7b1db6520b3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] fa6c621b7e54b7d0ccf1cf22e341227fd07970916623f4c80587cbaf599859db
[INFO] running `Command { std: "docker" "start" "-a" "fa6c621b7e54b7d0ccf1cf22e341227fd07970916623f4c80587cbaf599859db", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `ethers::core::k256::elliptic_curve::rand_core::block`
[INFO] [stderr]  --> src/lib.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use ethers::core::k256::elliptic_curve::rand_core::block;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `flashbots-sdk` (lib) generated 1 warning (run `cargo fix --lib -p flashbots-sdk` to apply 1 suggestion)
[INFO] [stderr] warning: `flashbots-sdk` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.47s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/flashbots-sdk/d7b4f6a83113997b/deps/flashbots_sdk-d7b4f6a83113997b)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests flashbots_sdk
[INFO] [stdout] 
[INFO] [stdout] running 30 tests
[INFO] [stdout] test src/bundler.rs - bundler::BundleBuilder::new (line 31) ... FAILED
[INFO] [stdout] test src/bundler.rs - bundler::BundleBuilder::add_transaction (line 50) ... FAILED
[INFO] [stdout] test src/bundler.rs - bundler::BundleBuilder::max_timestamp (line 111) ... FAILED
[INFO] [stdout] test src/bundler.rs - bundler::BundleBuilder::reverting_tx_hashes (line 125) ... FAILED
[INFO] [stdout] test src/bundler.rs - bundler::BundleBuilder::add_transactions (line 64) ... FAILED
[INFO] [stdout] test src/lib.rs - FlashbotsClient::get_block (line 439) ... FAILED
[INFO] [stdout] test src/lib.rs - FlashbotsClient::cancel_bundles (line 408) ... FAILED
[INFO] [stdout] test src/lib.rs - FlashbotsClient::get_health (line 179) ... FAILED
[INFO] [stdout] test src/bundler.rs - bundler::BundleBuilder::build (line 158) ... FAILED
[INFO] [stdout] test src/bundler.rs - bundler::BundleBuilder::min_timestamp (line 97) ... FAILED
[INFO] [stdout] test src/bundler.rs - bundler::BundleBuilder (line 7) ... FAILED
[INFO] [stdout] test src/bundler.rs - bundler::BundleBuilder::block_number (line 82) ... FAILED
[INFO] [stdout] test src/lib.rs - FlashbotsClient::get_relay_info (line 501) ... FAILED
[INFO] [stdout] test src/lib.rs - FlashbotsClient::wait_for_bundle_inclusion (line 208) ... FAILED
[INFO] [stdout] test src/lib.rs - FlashbotsClient::send_bundle (line 88) ... FAILED
[INFO] [stdout] test src/lib.rs - FlashbotsClient::simulate_bundle (line 113) ... FAILED
[INFO] [stdout] test src/validator.rs - validator::BundleValidator::calculate_bundle_hash (line 116) ... FAILED
[INFO] [stdout] test src/lib.rs - FlashbotsClient::get_gas_price (line 473) ... FAILED
[INFO] [stdout] test src/validator.rs - validator::BundleValidator::validate_bundle (line 21) ... FAILED
[INFO] [stdout] test src/bundler.rs - bundler::BundleBuilder::replacement_uuid (line 144) ... FAILED
[INFO] [stdout] test src/transaction.rs - transaction::BatchTransactionBuilder::sign_all (line 280) ... FAILED
[INFO] [stdout] test src/lib.rs - FlashbotsClient::get_user_status (line 459) ... FAILED
[INFO] [stdout] test src/lib.rs - FlashbotsClient::send_and_wait_for_bundle (line 251) ... FAILED
[INFO] [stdout] test src/tool.rs - tool::create_wallet_from_private_key (line 11) ... FAILED
[INFO] [stdout] test src/transaction.rs - transaction::TransactionBuilder::sign_transaction (line 88) ... FAILED
[INFO] [stdout] test src/tool.rs - tool::create_wallet_from_mnemonic (line 33) ... FAILED
[INFO] [stdout] test src/transaction.rs - transaction::TransactionBuilder::create_eth_transfer (line 27) ... FAILED
[INFO] [stdout] test src/transaction.rs - transaction::TransactionBuilder::create_eip1559_transaction (line 169) ... FAILED
[INFO] [stdout] test src/tool.rs - tool::calculate_transaction_hash (line 68) ... FAILED
[INFO] [stdout] test src/validator.rs - validator::BundleValidator::validate_block_number (line 84) ... FAILED
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/bundler.rs - bundler::BundleBuilder::new (line 31) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bundle_builder`
[INFO] [stdout]   --> src/bundler.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use bundle_builder::BundleBuilder;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `bundle_builder`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `bundle_builder`, use `cargo add bundle_builder` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/bundler.rs - bundler::BundleBuilder::add_transaction (line 50) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bundle_builder`
[INFO] [stdout]   --> src/bundler.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 | use bundle_builder::BundleBuilder;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `bundle_builder`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `bundle_builder`, use `cargo add bundle_builder` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/bundler.rs - bundler::BundleBuilder::max_timestamp (line 111) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bundle_builder`
[INFO] [stdout]    --> src/bundler.rs:112:5
[INFO] [stdout]     |
[INFO] [stdout] 112 | use bundle_builder::BundleBuilder;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `bundle_builder`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `bundle_builder`, use `cargo add bundle_builder` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/bundler.rs - bundler::BundleBuilder::reverting_tx_hashes (line 125) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bundle_builder`
[INFO] [stdout]    --> src/bundler.rs:126:5
[INFO] [stdout]     |
[INFO] [stdout] 126 | use bundle_builder::BundleBuilder;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `bundle_builder`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `bundle_builder`, use `cargo add bundle_builder` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/bundler.rs - bundler::BundleBuilder::add_transactions (line 64) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bundle_builder`
[INFO] [stdout]   --> src/bundler.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 65 | use bundle_builder::BundleBuilder;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `bundle_builder`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `bundle_builder`, use `cargo add bundle_builder` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - FlashbotsClient::get_block (line 439) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlashbotsClient`
[INFO] [stdout]    --> src/lib.rs:440:14
[INFO] [stdout]     |
[INFO] [stdout] 440 | let client = FlashbotsClient::new_mainnet();
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^ use of undeclared type `FlashbotsClient`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 439 + use flashbots_sdk::FlashbotsClient;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U64`
[INFO] [stdout]    --> src/lib.rs:441:20
[INFO] [stdout]     |
[INFO] [stdout] 441 | let block_number = U64::from(17000000u64);
[INFO] [stdout]     |                    ^^^ use of undeclared type `U64`
[INFO] [stdout]     |
[INFO] [stdout] help: a builtin type with a similar name exists (notice the capitalization)
[INFO] [stdout]     |
[INFO] [stdout] 441 - let block_number = U64::from(17000000u64);
[INFO] [stdout] 441 + let block_number = u64::from(17000000u64);
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 439 + use ethers::types::U64;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:442:49
[INFO] [stdout]     |
[INFO] [stdout] 439 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_439_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 442 | let block_info = client.get_block(block_number).await?;
[INFO] [stdout]     |                                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - FlashbotsClient::cancel_bundles (line 408) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlashbotsClient`
[INFO] [stdout]    --> src/lib.rs:409:14
[INFO] [stdout]     |
[INFO] [stdout] 409 | let client = FlashbotsClient::new_mainnet();
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^ use of undeclared type `FlashbotsClient`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 408 + use flashbots_sdk::FlashbotsClient;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `H256`
[INFO] [stdout]    --> src/lib.rs:410:26
[INFO] [stdout]     |
[INFO] [stdout] 410 | let bundle_hashes = vec![H256::zero()]; // Transaction package hash
[INFO] [stdout]     |                          ^^^^ use of undeclared type `H256`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 408 + use ethers::types::H256;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:411:51
[INFO] [stdout]     |
[INFO] [stdout] 408 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_408_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 411 | let result = client.cancel_bundles(bundle_hashes).await?;
[INFO] [stdout]     |                                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - FlashbotsClient::get_health (line 179) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `flashbots_rs`
[INFO] [stdout]    --> src/lib.rs:180:5
[INFO] [stdout]     |
[INFO] [stdout] 180 | use flashbots_rs::FlashbotsClient;
[INFO] [stdout]     |     ^^^^^^^^^^^^ use of unresolved module or unlinked crate `flashbots_rs`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 180 - use flashbots_rs::FlashbotsClient;
[INFO] [stdout] 180 + use flashbots_sdk::FlashbotsClient;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:183:38
[INFO] [stdout]     |
[INFO] [stdout] 179 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_179_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 183 | let is_healthy = client.get_health().await?;
[INFO] [stdout]     |                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/bundler.rs - bundler::BundleBuilder::build (line 158) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bundle_builder`
[INFO] [stdout]    --> src/bundler.rs:159:5
[INFO] [stdout]     |
[INFO] [stdout] 159 | use bundle_builder::BundleBuilder;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `bundle_builder`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `bundle_builder`, use `cargo add bundle_builder` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/bundler.rs - bundler::BundleBuilder::min_timestamp (line 97) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bundle_builder`
[INFO] [stdout]   --> src/bundler.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 98 | use bundle_builder::BundleBuilder;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `bundle_builder`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `bundle_builder`, use `cargo add bundle_builder` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/bundler.rs - bundler::BundleBuilder (line 7) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bundle_builder`
[INFO] [stdout]  --> src/bundler.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use bundle_builder::BundleBuilder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `bundle_builder`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `bundle_builder`, use `cargo add bundle_builder` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/bundler.rs - bundler::BundleBuilder::block_number (line 82) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bundle_builder`
[INFO] [stdout]   --> src/bundler.rs:83:5
[INFO] [stdout]    |
[INFO] [stdout] 83 | use bundle_builder::BundleBuilder;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `bundle_builder`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `bundle_builder`, use `cargo add bundle_builder` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - FlashbotsClient::get_relay_info (line 501) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `flashbots_rs`
[INFO] [stdout]    --> src/lib.rs:502:5
[INFO] [stdout]     |
[INFO] [stdout] 502 | use flashbots_rs::FlashbotsClient;
[INFO] [stdout]     |     ^^^^^^^^^^^^ use of unresolved module or unlinked crate `flashbots_rs`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 502 - use flashbots_rs::FlashbotsClient;
[INFO] [stdout] 502 + use flashbots_sdk::FlashbotsClient;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:505:42
[INFO] [stdout]     |
[INFO] [stdout] 501 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_501_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 505 | let relay_info = client.get_relay_info().await?;
[INFO] [stdout]     |                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - FlashbotsClient::wait_for_bundle_inclusion (line 208) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `flashbots_rs`
[INFO] [stdout]    --> src/lib.rs:209:5
[INFO] [stdout]     |
[INFO] [stdout] 209 | use flashbots_rs::FlashbotsClient;
[INFO] [stdout]     |     ^^^^^^^^^^^^ use of unresolved module or unlinked crate `flashbots_rs`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 209 - use flashbots_rs::FlashbotsClient;
[INFO] [stdout] 209 + use flashbots_sdk::FlashbotsClient;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:214:65
[INFO] [stdout]     |
[INFO] [stdout] 208 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_208_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 214 | let receipt = client.wait_for_bundle_inclusion(bundle_hash, 10).await?;
[INFO] [stdout]     |                                                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - FlashbotsClient::send_bundle (line 88) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `flashbots_rs`
[INFO] [stdout]   --> src/lib.rs:89:5
[INFO] [stdout]    |
[INFO] [stdout] 89 | use flashbots_rs::{FlashbotsClient, Bundle};
[INFO] [stdout]    |     ^^^^^^^^^^^^ use of unresolved module or unlinked crate `flashbots_rs`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 89 - use flashbots_rs::{FlashbotsClient, Bundle};
[INFO] [stdout] 89 + use flashbots_sdk::{FlashbotsClient, Bundle};
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:93:43
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_88_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 93 | let response = client.send_bundle(bundle).await?;
[INFO] [stdout]    |                                           ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - FlashbotsClient::simulate_bundle (line 113) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `flashbots_rs`
[INFO] [stdout]    --> src/lib.rs:114:5
[INFO] [stdout]     |
[INFO] [stdout] 114 | use flashbots_rs::{FlashbotsClient, SimulateBundleRequest};
[INFO] [stdout]     |     ^^^^^^^^^^^^ use of unresolved module or unlinked crate `flashbots_rs`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 114 - use flashbots_rs::{FlashbotsClient, SimulateBundleRequest};
[INFO] [stdout] 114 + use flashbots_sdk::{FlashbotsClient, SimulateBundleRequest};
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:118:49
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_113_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 118 | let result = client.simulate_bundle(simulation).await?;
[INFO] [stdout]     |                                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/validator.rs - validator::BundleValidator::calculate_bundle_hash (line 116) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Bundle` in this scope
[INFO] [stdout]    --> src/validator.rs:117:14
[INFO] [stdout]     |
[INFO] [stdout] 117 | let bundle = Bundle {
[INFO] [stdout]     |              ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 116 + use flashbots_sdk::types::Bundle;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BundleValidator`
[INFO] [stdout]    --> src/validator.rs:125:7
[INFO] [stdout]     |
[INFO] [stdout] 125 | match BundleValidator::calculate_bundle_hash(&bundle) {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^ use of undeclared type `BundleValidator`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 116 + use flashbots_sdk::validator::BundleValidator;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - FlashbotsClient::get_gas_price (line 473) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlashbotsClient`
[INFO] [stdout]    --> src/lib.rs:474:14
[INFO] [stdout]     |
[INFO] [stdout] 474 | let client = FlashbotsClient::new_mainnet();
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^ use of undeclared type `FlashbotsClient`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 473 + use flashbots_sdk::FlashbotsClient;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:475:41
[INFO] [stdout]     |
[INFO] [stdout] 473 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_473_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 474 | let client = FlashbotsClient::new_mainnet();
[INFO] [stdout] 475 | let gas_prices = client.get_gas_price().await?;
[INFO] [stdout]     |                                         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/validator.rs - validator::BundleValidator::validate_bundle (line 21) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Bundle` in this scope
[INFO] [stdout]   --> src/validator.rs:22:14
[INFO] [stdout]    |
[INFO] [stdout] 22 | let bundle = Bundle {
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 21 + use flashbots_sdk::types::Bundle;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BundleValidator`
[INFO] [stdout]   --> src/validator.rs:30:7
[INFO] [stdout]    |
[INFO] [stdout] 30 | match BundleValidator::validate_bundle(&bundle) {
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^ use of undeclared type `BundleValidator`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 21 + use flashbots_sdk::validator::BundleValidator;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/bundler.rs - bundler::BundleBuilder::replacement_uuid (line 144) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bundle_builder`
[INFO] [stdout]    --> src/bundler.rs:145:5
[INFO] [stdout]     |
[INFO] [stdout] 145 | use bundle_builder::BundleBuilder;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `bundle_builder`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `bundle_builder`, use `cargo add bundle_builder` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/transaction.rs - transaction::BatchTransactionBuilder::sign_all (line 280) stdout ----
[INFO] [stdout] error: expected expression, found `let` statement
[INFO] [stdout]    --> src/transaction.rs:282:1
[INFO] [stdout]     |
[INFO] [stdout] 282 | let wallet = create_random_wallet();
[INFO] [stdout]     | ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: only supported directly in conditions of `if` and `while` expressions
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]    --> src/transaction.rs:281:77
[INFO] [stdout]     |
[INFO] [stdout] 281 | let builder = BatchTransactionBuilder::new(EvmType::ETHEREUM_MAINNET).await?
[INFO] [stdout]     |                                                                             ^ help: add `;` here
[INFO] [stdout] 282 | let wallet = create_random_wallet();
[INFO] [stdout]     | --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BatchTransactionBuilder`
[INFO] [stdout]    --> src/transaction.rs:281:15
[INFO] [stdout]     |
[INFO] [stdout] 281 | let builder = BatchTransactionBuilder::new(EvmType::ETHEREUM_MAINNET).await?
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `BatchTransactionBuilder`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 280 + use flashbots_sdk::transaction::BatchTransactionBuilder;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EvmType`
[INFO] [stdout]    --> src/transaction.rs:281:44
[INFO] [stdout]     |
[INFO] [stdout] 281 | let builder = BatchTransactionBuilder::new(EvmType::ETHEREUM_MAINNET).await?
[INFO] [stdout]     |                                            ^^^^^^^ use of undeclared type `EvmType`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 280 + use evm_client::EvmType;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_random_wallet` in this scope
[INFO] [stdout]    --> src/transaction.rs:282:14
[INFO] [stdout]     |
[INFO] [stdout] 282 | let wallet = create_random_wallet();
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 280 + use flashbots_sdk::tool::create_random_wallet;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionRequest`
[INFO] [stdout]    --> src/transaction.rs:284:22
[INFO] [stdout]     |
[INFO] [stdout] 284 |     .add_transaction(TransactionRequest::new().value(1000000000000000000u64))
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionRequest`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 280 + use ethers::types::TransactionRequest;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionRequest`
[INFO] [stdout]    --> src/transaction.rs:285:22
[INFO] [stdout]     |
[INFO] [stdout] 285 |     .add_transaction(TransactionRequest::new().value(2000000000000000000u64));
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionRequest`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 280 + use ethers::types::TransactionRequest;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/transaction.rs:281:71
[INFO] [stdout]     |
[INFO] [stdout] 280 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_transaction_rs_280_0() {
[INFO] [stdout]     |                                      ------------------------------------------- this is not `async`
[INFO] [stdout] 281 | let builder = BatchTransactionBuilder::new(EvmType::ETHEREUM_MAINNET).await?
[INFO] [stdout]     |                                                                       ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/transaction.rs:286:41
[INFO] [stdout]     |
[INFO] [stdout] 280 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_transaction_rs_280_0() {
[INFO] [stdout]     |                                      ------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 286 | let signed_txs = batch.sign_all(wallet).await?;
[INFO] [stdout]     |                                         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - FlashbotsClient::get_user_status (line 459) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlashbotsClient`
[INFO] [stdout]    --> src/lib.rs:460:14
[INFO] [stdout]     |
[INFO] [stdout] 460 | let client = FlashbotsClient::new_mainnet();
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^ use of undeclared type `FlashbotsClient`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 459 + use flashbots_sdk::FlashbotsClient;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Address`
[INFO] [stdout]    --> src/lib.rs:461:15
[INFO] [stdout]     |
[INFO] [stdout] 461 | let address = Address::zero(); // real address
[INFO] [stdout]     |               ^^^^^^^ use of undeclared type `Address`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these type aliases
[INFO] [stdout]     |
[INFO] [stdout] 459 + use ethers::abi::Address;
[INFO] [stdout]     |
[INFO] [stdout] 459 + use ethers::types::Address;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:462:51
[INFO] [stdout]     |
[INFO] [stdout] 459 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_459_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 462 | let user_status = client.get_user_status(address).await?;
[INFO] [stdout]     |                                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - FlashbotsClient::send_and_wait_for_bundle (line 251) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `flashbots_rs`
[INFO] [stdout]    --> src/lib.rs:252:5
[INFO] [stdout]     |
[INFO] [stdout] 252 | use flashbots_rs::{FlashbotsClient, Bundle};
[INFO] [stdout]     |     ^^^^^^^^^^^^ use of unresolved module or unlinked crate `flashbots_rs`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 252 - use flashbots_rs::{FlashbotsClient, Bundle};
[INFO] [stdout] 252 + use flashbots_sdk::{FlashbotsClient, Bundle};
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:256:59
[INFO] [stdout]     |
[INFO] [stdout] 251 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_251_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 256 | let receipt = client.send_and_wait_for_bundle(bundle, 10).await?;
[INFO] [stdout]     |                                                           ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/tool.rs - tool::create_wallet_from_private_key (line 11) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `create_wallet_from_private_key` in this scope
[INFO] [stdout]   --> src/tool.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 | let wallet = create_wallet_from_private_key(private_key)?;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 11 + use flashbots_sdk::tool::create_wallet_from_private_key;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/transaction.rs - transaction::TransactionBuilder::sign_transaction (line 88) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionBuilder`
[INFO] [stdout]   --> src/transaction.rs:89:15
[INFO] [stdout]    |
[INFO] [stdout] 89 | let builder = TransactionBuilder::new(EvmType::ETHEREUM_MAINNET).await?;
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionBuilder`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 88 + use flashbots_sdk::transaction::TransactionBuilder;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EvmType`
[INFO] [stdout]   --> src/transaction.rs:89:39
[INFO] [stdout]    |
[INFO] [stdout] 89 | let builder = TransactionBuilder::new(EvmType::ETHEREUM_MAINNET).await?;
[INFO] [stdout]    |                                       ^^^^^^^ use of undeclared type `EvmType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 88 + use evm_client::EvmType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_random_wallet` in this scope
[INFO] [stdout]   --> src/transaction.rs:90:14
[INFO] [stdout]    |
[INFO] [stdout] 90 | let wallet = create_random_wallet();
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 88 + use flashbots_sdk::tool::create_random_wallet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionRequest`
[INFO] [stdout]   --> src/transaction.rs:91:18
[INFO] [stdout]    |
[INFO] [stdout] 91 | let tx_request = TransactionRequest::new()
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionRequest`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 88 + use ethers::types::TransactionRequest;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/transaction.rs:89:66
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_transaction_rs_88_0() {
[INFO] [stdout]    |                                      ------------------------------------------ this is not `async`
[INFO] [stdout] 89 | let builder = TransactionBuilder::new(EvmType::ETHEREUM_MAINNET).await?;
[INFO] [stdout]    |                                                                  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/transaction.rs:94:62
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_transaction_rs_88_0() {
[INFO] [stdout]    |                                      ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 94 | let signed_tx = builder.sign_transaction(wallet, tx_request).await?;
[INFO] [stdout]    |                                                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/transaction.rs:92:61
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_transaction_rs_88_0() {
[INFO] [stdout]    |                                      ------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 92 |     .to("0x742d35Cc6634C0532925a3b8Dc9F5a5f6b6b6b6b".parse()?)
[INFO] [stdout]    |                                                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 88 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_transaction_rs_88_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 89 | let builder = TransactionBuilder::new(EvmType::ETHEREUM_MAINNET).await?;
[INFO] [stdout] ...
[INFO] [stdout] 95 | println!("Signed transaction: {}", signed_tx);
[INFO] [stdout] 96 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/tool.rs - tool::create_wallet_from_mnemonic (line 33) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `create_wallet_from_mnemonic` in this scope
[INFO] [stdout]   --> src/tool.rs:36:14
[INFO] [stdout]    |
[INFO] [stdout] 36 | let wallet = create_wallet_from_mnemonic(mnemonic, Some("m/44'/60'/0'/0/0"))?;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 33 + use flashbots_sdk::tool::create_wallet_from_mnemonic;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/transaction.rs - transaction::TransactionBuilder::create_eth_transfer (line 27) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionBuilder`
[INFO] [stdout]   --> src/transaction.rs:32:15
[INFO] [stdout]    |
[INFO] [stdout] 32 | let builder = TransactionBuilder::new(EvmType::ETHEREUM_MAINNET).await?;
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionBuilder`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 27 + use flashbots_sdk::transaction::TransactionBuilder;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EvmType`
[INFO] [stdout]   --> src/transaction.rs:32:39
[INFO] [stdout]    |
[INFO] [stdout] 32 | let builder = TransactionBuilder::new(EvmType::ETHEREUM_MAINNET).await?;
[INFO] [stdout]    |                                       ^^^^^^^ use of undeclared type `EvmType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 27 + use evm_client::EvmType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_random_wallet` in this scope
[INFO] [stdout]   --> src/transaction.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 | let wallet = create_random_wallet();
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 27 + use flashbots_sdk::tool::create_random_wallet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/transaction.rs:32:66
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_transaction_rs_27_0() {
[INFO] [stdout]    |                                      ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 32 | let builder = TransactionBuilder::new(EvmType::ETHEREUM_MAINNET).await?;
[INFO] [stdout]    |                                                                  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/transaction.rs:36:65
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_transaction_rs_27_0() {
[INFO] [stdout]    |                                      ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 36 | let tx = builder.create_eth_transfer(wallet, to_address, value).await?;
[INFO] [stdout]    |                                                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/transaction.rs:34:81
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_transaction_rs_27_0() {
[INFO] [stdout]    |                                      ------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 34 | let to_address = Address::from_str("0x742d35Cc6634C0532925a3b8Dc9F5a5f6b6b6b6b")?;
[INFO] [stdout]    |                                                                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 27 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_transaction_rs_27_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 28 | use ethers::types::{Address, U256};
[INFO] [stdout] ...
[INFO] [stdout] 36 | let tx = builder.create_eth_transfer(wallet, to_address, value).await?;
[INFO] [stdout] 37 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/transaction.rs - transaction::TransactionBuilder::create_eip1559_transaction (line 169) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionBuilder`
[INFO] [stdout]    --> src/transaction.rs:170:15
[INFO] [stdout]     |
[INFO] [stdout] 170 | let builder = TransactionBuilder::new(EvmType::ETHEREUM_MAINNET).await?;
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionBuilder`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 169 + use flashbots_sdk::transaction::TransactionBuilder;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EvmType`
[INFO] [stdout]    --> src/transaction.rs:170:39
[INFO] [stdout]     |
[INFO] [stdout] 170 | let builder = TransactionBuilder::new(EvmType::ETHEREUM_MAINNET).await?;
[INFO] [stdout]     |                                       ^^^^^^^ use of undeclared type `EvmType`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 169 + use evm_client::EvmType;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_random_wallet` in this scope
[INFO] [stdout]    --> src/transaction.rs:171:14
[INFO] [stdout]     |
[INFO] [stdout] 171 | let wallet = create_random_wallet();
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 169 + use flashbots_sdk::tool::create_random_wallet;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U256`
[INFO] [stdout]    --> src/transaction.rs:173:13
[INFO] [stdout]     |
[INFO] [stdout] 173 | let value = U256::from(1000000000000000000u64);
[INFO] [stdout]     |             ^^^^ use of undeclared type `U256`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 169 + use ethers::types::U256;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/transaction.rs:170:66
[INFO] [stdout]     |
[INFO] [stdout] 169 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_transaction_rs_169_0() {
[INFO] [stdout]     |                                      ------------------------------------------- this is not `async`
[INFO] [stdout] 170 | let builder = TransactionBuilder::new(EvmType::ETHEREUM_MAINNET).await?;
[INFO] [stdout]     |                                                                  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/transaction.rs:174:72
[INFO] [stdout]     |
[INFO] [stdout] 169 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_transaction_rs_169_0() {
[INFO] [stdout]     |                                      ------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 174 | let tx = builder.create_eip1559_transaction(wallet, to_address, value).await?;
[INFO] [stdout]     |                                                                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/transaction.rs:172:70
[INFO] [stdout]     |
[INFO] [stdout] 169 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_transaction_rs_169_0() {
[INFO] [stdout]     |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 172 | let to_address = "0x742d35Cc6634C0532925a3b8Dc9F5a5f6b6b6b6b".parse()?;
[INFO] [stdout]     |                                                                      ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 169 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_transaction_rs_169_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 170 | let builder = TransactionBuilder::new(EvmType::ETHEREUM_MAINNET).await?;
[INFO] [stdout] ...
[INFO] [stdout] 174 | let tx = builder.create_eip1559_transaction(wallet, to_address, value).await?;
[INFO] [stdout] 175 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/tool.rs - tool::calculate_transaction_hash (line 68) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionValidator`
[INFO] [stdout]   --> src/tool.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 71 | let hash = TransactionValidator::calculate_transaction_hash(tx_hex)?;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionValidator`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/validator.rs - validator::BundleValidator::validate_block_number (line 84) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U64`
[INFO] [stdout]   --> src/validator.rs:85:21
[INFO] [stdout]    |
[INFO] [stdout] 85 | let current_block = U64::from(12345678);
[INFO] [stdout]    |                     ^^^ use of undeclared type `U64`
[INFO] [stdout]    |
[INFO] [stdout] help: a builtin type with a similar name exists (notice the capitalization)
[INFO] [stdout]    |
[INFO] [stdout] 85 - let current_block = U64::from(12345678);
[INFO] [stdout] 85 + let current_block = u64::from(12345678);
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 84 + use ethers::types::U64;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U64`
[INFO] [stdout]   --> src/validator.rs:86:20
[INFO] [stdout]    |
[INFO] [stdout] 86 | let target_block = U64::from(12345680);
[INFO] [stdout]    |                    ^^^ use of undeclared type `U64`
[INFO] [stdout]    |
[INFO] [stdout] help: a builtin type with a similar name exists (notice the capitalization)
[INFO] [stdout]    |
[INFO] [stdout] 86 - let target_block = U64::from(12345680);
[INFO] [stdout] 86 + let target_block = u64::from(12345680);
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 84 + use ethers::types::U64;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BundleValidator`
[INFO] [stdout]   --> src/validator.rs:88:7
[INFO] [stdout]    |
[INFO] [stdout] 88 | match BundleValidator::validate_block_number(current_block, target_block) {
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^ use of undeclared type `BundleValidator`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 84 + use flashbots_sdk::validator::BundleValidator;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/bundler.rs - bundler::BundleBuilder (line 7)
[INFO] [stdout]     src/bundler.rs - bundler::BundleBuilder::add_transaction (line 50)
[INFO] [stdout]     src/bundler.rs - bundler::BundleBuilder::add_transactions (line 64)
[INFO] [stdout]     src/bundler.rs - bundler::BundleBuilder::block_number (line 82)
[INFO] [stdout]     src/bundler.rs - bundler::BundleBuilder::build (line 158)
[INFO] [stdout]     src/bundler.rs - bundler::BundleBuilder::max_timestamp (line 111)
[INFO] [stdout]     src/bundler.rs - bundler::BundleBuilder::min_timestamp (line 97)
[INFO] [stdout]     src/bundler.rs - bundler::BundleBuilder::new (line 31)
[INFO] [stdout]     src/bundler.rs - bundler::BundleBuilder::replacement_uuid (line 144)
[INFO] [stdout]     src/bundler.rs - bundler::BundleBuilder::reverting_tx_hashes (line 125)
[INFO] [stdout]     src/lib.rs - FlashbotsClient::cancel_bundles (line 408)
[INFO] [stdout]     src/lib.rs - FlashbotsClient::get_block (line 439)
[INFO] [stdout]     src/lib.rs - FlashbotsClient::get_gas_price (line 473)
[INFO] [stdout]     src/lib.rs - FlashbotsClient::get_health (line 179)
[INFO] [stdout]     src/lib.rs - FlashbotsClient::get_relay_info (line 501)
[INFO] [stdout]     src/lib.rs - FlashbotsClient::get_user_status (line 459)
[INFO] [stdout]     src/lib.rs - FlashbotsClient::send_and_wait_for_bundle (line 251)
[INFO] [stdout]     src/lib.rs - FlashbotsClient::send_bundle (line 88)
[INFO] [stdout]     src/lib.rs - FlashbotsClient::simulate_bundle (line 113)
[INFO] [stdout]     src/lib.rs - FlashbotsClient::wait_for_bundle_inclusion (line 208)
[INFO] [stdout]     src/tool.rs - tool::calculate_transaction_hash (line 68)
[INFO] [stdout]     src/tool.rs - tool::create_wallet_from_mnemonic (line 33)
[INFO] [stdout]     src/tool.rs - tool::create_wallet_from_private_key (line 11)
[INFO] [stdout]     src/transaction.rs - transaction::BatchTransactionBuilder::sign_all (line 280)
[INFO] [stdout]     src/transaction.rs - transaction::TransactionBuilder::create_eip1559_transaction (line 169)
[INFO] [stdout]     src/transaction.rs - transaction::TransactionBuilder::create_eth_transfer (line 27)
[INFO] [stdout]     src/transaction.rs - transaction::TransactionBuilder::sign_transaction (line 88)
[INFO] [stdout]     src/validator.rs - validator::BundleValidator::calculate_bundle_hash (line 116)
[INFO] [stdout]     src/validator.rs - validator::BundleValidator::validate_block_number (line 84)
[INFO] [stdout]     src/validator.rs - validator::BundleValidator::validate_bundle (line 21)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 30 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.90s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 2.29s; merged doctests compilation took 0.39s
[INFO] running `Command { std: "docker" "inspect" "fa6c621b7e54b7d0ccf1cf22e341227fd07970916623f4c80587cbaf599859db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fa6c621b7e54b7d0ccf1cf22e341227fd07970916623f4c80587cbaf599859db", kill_on_drop: false }`
[INFO] [stdout] fa6c621b7e54b7d0ccf1cf22e341227fd07970916623f4c80587cbaf599859db
