[INFO] cloning repository https://github.com/billhilly23/TAZ-BOT [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/billhilly23/TAZ-BOT" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbillhilly23%2FTAZ-BOT", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbillhilly23%2FTAZ-BOT'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 71bc6dbf67cfe4ba643c31d563e5a5bf68b6704f [INFO] building billhilly23/TAZ-BOT against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbillhilly23%2FTAZ-BOT" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/billhilly23/TAZ-BOT on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/billhilly23/TAZ-BOT [INFO] finished tweaking git repo https://github.com/billhilly23/TAZ-BOT [INFO] tweaked toml for git repo https://github.com/billhilly23/TAZ-BOT written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/billhilly23/TAZ-BOT 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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] building billhilly23/TAZ-BOT against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbillhilly23%2FTAZ-BOT" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/billhilly23/TAZ-BOT on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/billhilly23/TAZ-BOT [INFO] finished tweaking git repo https://github.com/billhilly23/TAZ-BOT [INFO] tweaked toml for git repo https://github.com/billhilly23/TAZ-BOT written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/billhilly23/TAZ-BOT 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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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 [ERROR] error running command: no output for 300 seconds [INFO] building billhilly23/TAZ-BOT against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbillhilly23%2FTAZ-BOT" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/billhilly23/TAZ-BOT on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/billhilly23/TAZ-BOT [INFO] finished tweaking git repo https://github.com/billhilly23/TAZ-BOT [INFO] tweaked toml for git repo https://github.com/billhilly23/TAZ-BOT written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/billhilly23/TAZ-BOT 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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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 [ERROR] error running command: no output for 300 seconds [INFO] building billhilly23/TAZ-BOT against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbillhilly23%2FTAZ-BOT" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/billhilly23/TAZ-BOT on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/billhilly23/TAZ-BOT [INFO] finished tweaking git repo https://github.com/billhilly23/TAZ-BOT [INFO] tweaked toml for git repo https://github.com/billhilly23/TAZ-BOT written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/billhilly23/TAZ-BOT 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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded twilio v1.1.0 [INFO] [stderr] Downloaded email-encoding v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6594cf0803c6f44943a012dd518a8ccd76fd6ad5f56d00787b82bc3527e5e10 [INFO] running `Command { std: "docker" "start" "-a" "e6594cf0803c6f44943a012dd518a8ccd76fd6ad5f56d00787b82bc3527e5e10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6594cf0803c6f44943a012dd518a8ccd76fd6ad5f56d00787b82bc3527e5e10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6594cf0803c6f44943a012dd518a8ccd76fd6ad5f56d00787b82bc3527e5e10", kill_on_drop: false }` [INFO] [stdout] e6594cf0803c6f44943a012dd518a8ccd76fd6ad5f56d00787b82bc3527e5e10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91aba33955888460acc6a4614f93da51737b94f81f3f8e433c9c44af97ff9a57 [INFO] running `Command { std: "docker" "start" "-a" "91aba33955888460acc6a4614f93da51737b94f81f3f8e433c9c44af97ff9a57", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling cc v1.1.28 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling rlp v0.5.2 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling tempfile v3.13.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.6 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling impl-serde v0.4.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling primitive-types v0.12.2 [INFO] [stderr] Compiling ethbloom v0.13.0 [INFO] [stderr] Compiling sqlx-core v0.8.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling ethereum-types v0.14.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling pin-project v1.1.6 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rustls-pki-types v1.9.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling soketto v0.7.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling ethabi v18.0.0 [INFO] [stderr] Compiling secp256k1 v0.27.0 [INFO] [stderr] Compiling jsonrpc-core v18.0.0 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling email-encoding v0.2.1 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling sqlx-postgres v0.8.2 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling quoted_printable v0.4.8 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling web3-async-native-tls v0.4.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling lettre v0.10.4 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.2 [INFO] [stderr] Compiling sqlx-macros v0.8.2 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-util v0.1.9 [INFO] [stderr] Compiling sqlx v0.8.2 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.8 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling warp v0.3.7 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling twilio v1.1.0 [INFO] [stderr] Compiling web3 v0.19.0 [INFO] [stderr] Compiling taz v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/modules/arbitrage.rs:114:6 [INFO] [stdout] | [INFO] [stdout] 114 | } let config = load_arbitrage_config(); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/modules/../abi/aave_flashloan_abi.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/modules/flashloan.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | include_bytes!("../abi/aave_flashloan_abi.json") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a file with the same name in a different directory [INFO] [stdout] | [INFO] [stdout] 74 - include_bytes!("../abi/aave_flashloan_abi.json") [INFO] [stdout] 74 + include_bytes!("abi/aave_flashloan_abi.json") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/modules/../abi/aave_flashloan_abi.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/modules/flashloan.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | include_bytes!("../abi/aave_flashloan_abi.json") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a file with the same name in a different directory [INFO] [stdout] | [INFO] [stdout] 134 - include_bytes!("../abi/aave_flashloan_abi.json") [INFO] [stdout] 134 + include_bytes!("abi/aave_flashloan_abi.json") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/modules/../abi/uniswap_router_abi.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/modules/frontrunning.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | include_bytes!("../abi/uniswap_router_abi.json") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/modules/abi/chainlink_aggregator_abi.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/modules/liquidation.rs:11:41 [INFO] [stdout] | [INFO] [stdout] 11 | const CHAINLINK_AGGREGATOR_ABI: &[u8] = include_bytes!("abi/chainlink_aggregator_abi.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/modules/abi/aave_pool_abi.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/modules/liquidation.rs:56:76 [INFO] [stdout] | [INFO] [stdout] 56 | let aave_pool = Contract::from_json(web3.eth(), aave_pool_address, include_bytes!("abi/aave_pool_abi.json"))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/modules/abi/uniswap_router_abi.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/modules/sandwich.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | include_bytes!("abi/uniswap_router_abi.json") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/modules/abi/uniswap_router_abi.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/modules/hft.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | include_bytes!("abi/uniswap_router_abi.json"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/modules/abi/uniswap_router_abi.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/modules/hft.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | include_bytes!("abi/uniswap_router_abi.json"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockId` [INFO] [stdout] --> src/modules/frontrunning.rs:60:41 [INFO] [stdout] | [INFO] [stdout] 60 | if let Ok(block) = web3.eth().block(BlockId::Pending).await { [INFO] [stdout] | ^^^^^^^ use of undeclared type `BlockId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use web3::types::BlockId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `calculate_dynamic_loan_amount` in this scope [INFO] [stdout] --> src/modules/hft.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | let flashloan_amount = calculate_dynamic_loan_amount(expected_profit, gas_fee, slippage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use crate::modules::flashloan::calculate_dynamic_loan_amount; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::modules::sandwich::calculate_dynamic_loan_amount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ð_node_url` in this scope [INFO] [stdout] --> src/main.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | let transport = Http::new(ð_node_url)?; [INFO] [stdout] | ^^^^^^^^^^ help: a local variable with a similar name exists: `eth_node_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `execute_liquidation` in module `modules::liquidation` [INFO] [stdout] --> src/main.rs:85:35 [INFO] [stdout] | [INFO] [stdout] 85 | modules::liquidation::execute_liquidation(web3.clone(), borrower_address, U256::zero(), collateral_asset).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `modules::liquidation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `execute_liquidation` in module `modules::liquidation` [INFO] [stdout] --> src/main.rs:132:47 [INFO] [stdout] | [INFO] [stdout] 132 | ... modules::liquidation::execute_liquidation(web3.clone(), borrower_address, U256::zero(), collateral_asset).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `modules::liquidation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/modules/flashloan.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/modules/frontrunning.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web3::ethabi::ethereum_types::H256` [INFO] [stdout] --> src/modules/frontrunning.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use web3::ethabi::ethereum_types::H256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task` [INFO] [stdout] --> src/modules/sandwich.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::task; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/modules/hft.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/modules/frontrunning.rs:63:62 [INFO] [stdout] | [INFO] [stdout] 63 | if let Ok(Some(tx)) = web3.eth().transaction(tx_hash).await { [INFO] [stdout] | ----------- ^^^^^^^ expected `TransactionId`, found `H256` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web3-0.19.0/src/api/eth.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn transaction(&self, id: TransactionId) -> CallFuture, T::Out> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: try wrapping the expression in `web3::types::TransactionId::Hash` [INFO] [stdout] | [INFO] [stdout] 63 | if let Ok(Some(tx)) = web3.eth().transaction(web3::types::TransactionId::Hash(tx_hash)).await { [INFO] [stdout] | +++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `target_transaction` [INFO] [stdout] --> src/modules/frontrunning.rs:134:49 [INFO] [stdout] | [INFO] [stdout] 127 | target_transaction: Transaction, [INFO] [stdout] | ------------------ move occurs because `target_transaction` has type `Transaction`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 133 | while attempts < max_retries { [INFO] [stdout] | ---------------------------- inside of this loop [INFO] [stdout] 134 | let result = execute_frontrunning(web3, target_transaction).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ value moved here, in previous iteration of loop [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `execute_frontrunning` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/modules/frontrunning.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 87 | pub async fn execute_frontrunning( [INFO] [stdout] | -------------------- in this function [INFO] [stdout] 88 | web3: &web3::Web3, [INFO] [stdout] 89 | target_transaction: Transaction [INFO] [stdout] | ^^^^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] help: consider moving the expression out of the loop so it is only moved once [INFO] [stdout] | [INFO] [stdout] 133 ~ let mut value = execute_frontrunning(web3, target_transaction); [INFO] [stdout] 134 ~ while attempts < max_retries { [INFO] [stdout] 135 ~ let result = value.await; [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 134 | let result = execute_frontrunning(web3, target_transaction.clone()).await; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collateral_asset` [INFO] [stdout] --> src/modules/liquidation.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | collateral_asset: H160, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collateral_asset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_ok` found for unit type `()` in the current scope [INFO] [stdout] --> src/modules/liquidation.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 131 | if flashloan_result.is_ok() { [INFO] [stdout] | ^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap_err` found for unit type `()` in the current scope [INFO] [stdout] --> src/modules/liquidation.rs:136:66 [INFO] [stdout] | [INFO] [stdout] 136 | Err(LiquidationError::ContractError(flashloan_result.unwrap_err())) [INFO] [stdout] | ^^^^^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `web3` found for struct `web3::contract::Contract` in the current scope [INFO] [stdout] --> src/modules/liquidation.rs:167:69 [INFO] [stdout] | [INFO] [stdout] 167 | let chainlink_contract = Contract::from_json(self.aave_pool.web3().eth(), price_feed_address, CHAINLINK_AGGREGATOR_ABI)?; [INFO] [stdout] | ^^^^ method not found in `web3::contract::Contract<&Http>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `TransactionRequest` in the current scope [INFO] [stdout] --> src/modules/sandwich.rs:50:76 [INFO] [stdout] | [INFO] [stdout] 50 | if let Ok(tx) = web3.eth().transaction(TransactionRequest::new().hash(tx_hash)).await { [INFO] [stdout] | ^^^ function or associated item not found in `TransactionRequest` [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/8b8eff55bd72abbb57167bc42222a7f91d41cb0d/library/core/src/cmp.rs:262:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/modules/sandwich.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | ... return Ok(transaction.from); // Return the sender address of the large transaction [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^ expected `H160`, found `Option` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `H160` [INFO] [stdout] found enum `Option` [INFO] [stdout] help: the type constructed contains `Option` due to the type of the argument passed [INFO] [stdout] --> src/modules/sandwich.rs:58:36 [INFO] [stdout] | [INFO] [stdout] 58 | ... return Ok(transaction.from); // Return the sender address of the large transaction [INFO] [stdout] | ^^^----------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/8b8eff55bd72abbb57167bc42222a7f91d41cb0d/library/core/src/result.rs:552:5 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 58 | return Ok(transaction.from.expect("REASON")); // Return the sender address of the large transaction [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed [INFO] [stdout] --> src/modules/sandwich.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 91 | vec!["TOKEN_ADDRESS".parse().unwrap()], [INFO] [stdout] | ^^^^^ cannot infer type of the type parameter `F` declared on the method `parse` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `<_ as FromStr>::Err == _` [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 91 | vec!["TOKEN_ADDRESS".parse::().unwrap()], [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/modules/sandwich.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | .call("flashLoan", params, Address::zero(), Options::default()) [INFO] [stdout] | ^^^^ cannot infer type of the type parameter `P` declared on the method `call` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Vec<_>: Tokenizable` found in the `web3` crate: [INFO] [stdout] - impl Tokenizable for Vec; [INFO] [stdout] - impl Tokenizable for Vec [INFO] [stdout] where T: TokenizableItem; [INFO] [stdout] = note: required for `(Vec<_>, Vec, Vec, _, Vec)` to implement `Tokenize` [INFO] [stdout] note: required by a bound in `web3::contract::Contract::::call` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web3-0.19.0/src/contract/mod.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub async fn call

(&self, func: &str, params: P, from: Address, options: Options) -> Result [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 129 | where [INFO] [stdout] 130 | P: Tokenize, [INFO] [stdout] | ^^^^^^^^ required by this bound in `Contract::::call` [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 99 | .call::<(Vec<_>, Vec, Vec, T, Vec)>("flashLoan", params, Address::zero(), Options::default()) [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> src/modules/sandwich.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 132 | .call("swapExactTokensForTokens", (flashloan_amount, U256::from(1), path.clone(), recipient, deadline), Options::default(), None) [INFO] [stdout] | ^^^^ ------------------ ---- unexpected argument #4 of type `Option<_>` [INFO] [stdout] | | [INFO] [stdout] | argument #3 of type `H160` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web3-0.19.0/src/contract/mod.rs:128:18 [INFO] [stdout] | [INFO] [stdout] 128 | pub async fn call

(&self, func: &str, params: P, from: Address, options: Options) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] help: did you mean [INFO] [stdout] | [INFO] [stdout] 132 - .call("swapExactTokensForTokens", (flashloan_amount, U256::from(1), path.clone(), recipient, deadline), Options::default(), None) [INFO] [stdout] 132 + .call("swapExactTokensForTokens", (flashloan_amount, U256::from(1), path.clone(), recipient, deadline), /* H160 */, Options::default()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> src/modules/sandwich.rs:139:10 [INFO] [stdout] | [INFO] [stdout] 139 | .call("swapExactTokensForTokens", (flashloan_amount, U256::from(1), path, recipient, deadline), Options::default(), None) [INFO] [stdout] | ^^^^ ------------------ ---- unexpected argument #4 of type `Option<_>` [INFO] [stdout] | | [INFO] [stdout] | argument #3 of type `H160` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web3-0.19.0/src/contract/mod.rs:128:18 [INFO] [stdout] | [INFO] [stdout] 128 | pub async fn call

(&self, func: &str, params: P, from: Address, options: Options) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] help: did you mean [INFO] [stdout] | [INFO] [stdout] 139 - .call("swapExactTokensForTokens", (flashloan_amount, U256::from(1), path, recipient, deadline), Options::default(), None) [INFO] [stdout] 139 + .call("swapExactTokensForTokens", (flashloan_amount, U256::from(1), path, recipient, deadline), /* H160 */, Options::default()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> src/modules/sandwich.rs:186:10 [INFO] [stdout] | [INFO] [stdout] 186 | .call("repay", ("TOKEN_ADDRESS".parse().unwrap(), repay_amount, "SENDER_ADDRESS".parse().unwrap()), Options::default(), None) [INFO] [stdout] | ^^^^ ------------------ ---- unexpected argument #4 of type `Option<_>` [INFO] [stdout] | | [INFO] [stdout] | argument #3 of type `H160` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web3-0.19.0/src/contract/mod.rs:128:18 [INFO] [stdout] | [INFO] [stdout] 128 | pub async fn call

(&self, func: &str, params: P, from: Address, options: Options) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] help: did you mean [INFO] [stdout] | [INFO] [stdout] 186 - .call("repay", ("TOKEN_ADDRESS".parse().unwrap(), repay_amount, "SENDER_ADDRESS".parse().unwrap()), Options::default(), None) [INFO] [stdout] 186 + .call("repay", ("TOKEN_ADDRESS".parse().unwrap(), repay_amount, "SENDER_ADDRESS".parse().unwrap()), /* H160 */, Options::default()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `HFTError` [INFO] [stdout] --> src/modules/hft.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 30 | let uniswap_router_contract = Contract::from_json( [INFO] [stdout] | ___________________________________- [INFO] [stdout] 31 | | web3.eth(), [INFO] [stdout] 32 | | str_to_address(config["uniswap_router_address"].as_str().unwrap()), [INFO] [stdout] 33 | | include_bytes!("abi/uniswap_router_abi.json"), [INFO] [stdout] 34 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `HFTError` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, web3::ethabi::Error>` [INFO] [stdout] | [INFO] [stdout] note: `HFTError` needs to implement `From` [INFO] [stdout] --> src/modules/hft.rs:172:1 [INFO] [stdout] | [INFO] [stdout] 172 | pub enum HFTError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `HFTError` implements `From` [INFO] [stdout] `HFTError` implements `From` [INFO] [stdout] `HFTError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `web3` [INFO] [stdout] --> src/modules/hft.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | web3: Arc>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_web3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `HFTError` [INFO] [stdout] --> src/modules/hft.rs:120:6 [INFO] [stdout] | [INFO] [stdout] 116 | let uniswap_router_contract = Contract::from_json( [INFO] [stdout] | ___________________________________- [INFO] [stdout] 117 | | web3.eth(), [INFO] [stdout] 118 | | "UNISWAP_ROUTER_ADDRESS".parse().unwrap(), [INFO] [stdout] 119 | | include_bytes!("abi/uniswap_router_abi.json"), [INFO] [stdout] 120 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `HFTError` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, web3::ethabi::Error>` [INFO] [stdout] | [INFO] [stdout] note: `HFTError` needs to implement `From` [INFO] [stdout] --> src/modules/hft.rs:172:1 [INFO] [stdout] | [INFO] [stdout] 172 | pub enum HFTError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `HFTError` implements `From` [INFO] [stdout] `HFTError` implements `From` [INFO] [stdout] `HFTError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `HFTError` [INFO] [stdout] --> src/modules/hft.rs:152:6 [INFO] [stdout] | [INFO] [stdout] 148 | let aave_flashloan_contract = Contract::from_json( [INFO] [stdout] | ___________________________________- [INFO] [stdout] 149 | | web3.eth(), [INFO] [stdout] 150 | | "AAVE_FLASHLOAN_CONTRACT_ADDRESS".parse().unwrap(), [INFO] [stdout] 151 | | include_bytes!("abi/aave_flashloan_abi.json"), [INFO] [stdout] 152 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `HFTError` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, web3::ethabi::Error>` [INFO] [stdout] | [INFO] [stdout] note: `HFTError` needs to implement `From` [INFO] [stdout] --> src/modules/hft.rs:172:1 [INFO] [stdout] | [INFO] [stdout] 172 | pub enum HFTError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `HFTError` implements `From` [INFO] [stdout] `HFTError` implements `From` [INFO] [stdout] `HFTError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_f64` found for struct `U256` in the current scope [INFO] [stdout] --> src/modules/frontrunning.rs:77:75 [INFO] [stdout] | [INFO] [stdout] 77 | let potential_profit = transaction_value - (transaction_value * U256::from_f64(slippage_factor).unwrap()); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `U256` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `U256` consider using one of the following associated functions: [INFO] [stdout] U256::from_str_radix [INFO] [stdout] U256::from_dec_str [INFO] [stdout] U256::exp10 [INFO] [stdout] U256::zero [INFO] [stdout] and 4 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/primitive-types-0.12.2/src/lib.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / construct_uint! { [INFO] [stdout] 39 | | /// 256-bit unsigned integer. [INFO] [stdout] 40 | | #[cfg_attr(feature = "scale-info", derive(TypeInfo))] [INFO] [stdout] 41 | | pub struct U256(4); [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the macro `$crate::construct_uint` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 77 - let potential_profit = transaction_value - (transaction_value * U256::from_f64(slippage_factor).unwrap()); [INFO] [stdout] 77 + let potential_profit = transaction_value - (transaction_value * U256::from(slippage_factor).unwrap()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/modules/liquidation.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | Ok(Liquidation { aave_pool, compound_comptroller, ctoken_collateral }) [INFO] [stdout] | ^^^^^^^^^ expected `Contract<&Http>`, found `Contract` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `web3::contract::Contract<&Http>` [INFO] [stdout] found struct `web3::contract::Contract` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/modules/liquidation.rs:60:37 [INFO] [stdout] | [INFO] [stdout] 60 | Ok(Liquidation { aave_pool, compound_comptroller, ctoken_collateral }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `Contract<&Http>`, found `Contract` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `web3::contract::Contract<&Http>` [INFO] [stdout] found struct `web3::contract::Contract` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/modules/liquidation.rs:60:59 [INFO] [stdout] | [INFO] [stdout] 60 | Ok(Liquidation { aave_pool, compound_comptroller, ctoken_collateral }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `Contract<&Http>`, found `Contract` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `web3::contract::Contract<&Http>` [INFO] [stdout] found struct `web3::contract::Contract` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `H160` in the current scope [INFO] [stdout] --> src/modules/hft.rs:190:14 [INFO] [stdout] | [INFO] [stdout] 190 | Address::from_str(address).unwrap() [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `H160` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `H160` consider using one of the following associated functions: [INFO] [stdout] H160::repeat_byte [INFO] [stdout] H160::zero [INFO] [stdout] H160::from_slice [INFO] [stdout] H160::from_low_u64_be [INFO] [stdout] and 4 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/primitive-types-0.12.2/src/lib.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | / construct_fixed_hash! { [INFO] [stdout] 56 | | /// Fixed-size uninterpreted hash type with 20 bytes (160 bits) size. [INFO] [stdout] 57 | | #[cfg_attr(feature = "scale-info", derive(TypeInfo))] [INFO] [stdout] 58 | | pub struct H160(20); [INFO] [stdout] 59 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 190 - Address::from_str(address).unwrap() [INFO] [stdout] 190 + Address::from(address).unwrap() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:72:51 [INFO] [stdout] | [INFO] [stdout] 72 | modules::flashloan::execute_flashloan(web3.clone(), U256::zero(), asset_address).await.unwrap(); [INFO] [stdout] | ------------------------------------- ^^^^^^^^^^^^ expected `&Web3`, found `Arc>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Web3<_>` [INFO] [stdout] found struct `Arc>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/modules/flashloan.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn execute_flashloan( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 64 | web3: &web3::Web3, [INFO] [stdout] | ----------------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 72 | modules::flashloan::execute_flashloan(&web3.clone(), U256::zero(), asset_address).await.unwrap(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:77:82 [INFO] [stdout] | [INFO] [stdout] 77 | let transactions = modules::frontrunning::fetch_mempool_transactions(web3.clone()).await; [INFO] [stdout] | ------------------------------------------------- ^^^^^^^^^^^^ expected `&Web3`, found `Arc>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Web3<_>` [INFO] [stdout] found struct `Arc>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/modules/frontrunning.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | pub async fn fetch_mempool_transactions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | web3: &web3::Web3 [INFO] [stdout] | ----------------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 77 | let transactions = modules::frontrunning::fetch_mempool_transactions(&web3.clone()).await; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:90:67 [INFO] [stdout] | [INFO] [stdout] 90 | modules::sandwich::execute_sandwich_attack_with_retry(web3.clone(), U256::zero(), 3).await.unwrap(); [INFO] [stdout] | ----------------------------------------------------- ^^^^^^^^^^^^ expected `Web3`, found `Arc>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Web3<_>` [INFO] [stdout] found struct `Arc>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/modules/sandwich.rs:148:14 [INFO] [stdout] | [INFO] [stdout] 148 | pub async fn execute_sandwich_attack_with_retry( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 149 | web3: web3::Web3, [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:119:63 [INFO] [stdout] | [INFO] [stdout] 119 | modules::flashloan::execute_flashloan(web3.clone(), U256::zero(), asset_address).await.unwrap(); [INFO] [stdout] | ------------------------------------- ^^^^^^^^^^^^ expected `&Web3`, found `Arc>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Web3<_>` [INFO] [stdout] found struct `Arc>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/modules/flashloan.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn execute_flashloan( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 64 | web3: &web3::Web3, [INFO] [stdout] | ----------------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 119 | modules::flashloan::execute_flashloan(&web3.clone(), U256::zero(), asset_address).await.unwrap(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:124:94 [INFO] [stdout] | [INFO] [stdout] 124 | let transactions = modules::frontrunning::fetch_mempool_transactions(web3.clone()).await; [INFO] [stdout] | ------------------------------------------------- ^^^^^^^^^^^^ expected `&Web3`, found `Arc>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Web3<_>` [INFO] [stdout] found struct `Arc>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/modules/frontrunning.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | pub async fn fetch_mempool_transactions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | web3: &web3::Web3 [INFO] [stdout] | ----------------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 124 | let transactions = modules::frontrunning::fetch_mempool_transactions(&web3.clone()).await; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:137:79 [INFO] [stdout] | [INFO] [stdout] 137 | modules::sandwich::execute_sandwich_attack_with_retry(web3.clone(), U256::zero(), 3).await.unwrap(); [INFO] [stdout] | ----------------------------------------------------- ^^^^^^^^^^^^ expected `Web3`, found `Arc>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Web3<_>` [INFO] [stdout] found struct `Arc>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/modules/sandwich.rs:148:14 [INFO] [stdout] | [INFO] [stdout] 148 | pub async fn execute_sandwich_attack_with_retry( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 149 | web3: web3::Web3, [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0283, E0284, E0308, E0382, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `taz` (bin "taz") due to 40 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "91aba33955888460acc6a4614f93da51737b94f81f3f8e433c9c44af97ff9a57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91aba33955888460acc6a4614f93da51737b94f81f3f8e433c9c44af97ff9a57", kill_on_drop: false }` [INFO] [stdout] 91aba33955888460acc6a4614f93da51737b94f81f3f8e433c9c44af97ff9a57