[INFO] cloning repository https://github.com/advaith101/mktmkr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/advaith101/mktmkr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadvaith101%2Fmktmkr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadvaith101%2Fmktmkr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ac7b705ecd548a2b885181a399813374182380cc [INFO] checking advaith101/mktmkr/ac7b705ecd548a2b885181a399813374182380cc against master#31a9463c6e2794a59ce57a8f37abc6966afc2a58 for pr-156807 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadvaith101%2Fmktmkr" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/advaith101/mktmkr [INFO] finished tweaking git repo https://github.com/advaith101/mktmkr [INFO] tweaked toml for git repo https://github.com/advaith101/mktmkr written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/advaith101/mktmkr on toolchain 31a9463c6e2794a59ce57a8f37abc6966afc2a58 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/advaith101/mktmkr 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" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v1.0.62 [INFO] [stderr] Downloaded cc v1.1.3 [INFO] [stderr] Downloaded thiserror v1.0.62 [INFO] [stderr] Downloaded syn v2.0.71 [INFO] [stderr] Downloaded tokio v1.38.0 [INFO] [stderr] Downloaded zstd-sys v2.0.12+zstd.1.5.6 [INFO] [stderr] Downloaded const-hex v1.12.0 [INFO] [stderr] Downloaded toml_edit v0.22.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 194126113d1f6c81a533bc22661d6922b2c35c0a74d600108eb450af422f9115 [INFO] running `Command { std: "docker" "start" "-a" "194126113d1f6c81a533bc22661d6922b2c35c0a74d600108eb450af422f9115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "194126113d1f6c81a533bc22661d6922b2c35c0a74d600108eb450af422f9115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "194126113d1f6c81a533bc22661d6922b2c35c0a74d600108eb450af422f9115", kill_on_drop: false }` [INFO] [stdout] 194126113d1f6c81a533bc22661d6922b2c35c0a74d600108eb450af422f9115 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e18ab3a3ec3879f075727b4b7ecacfc9ff543f76b13693fa8f33ca9895688ae9 [INFO] running `Command { std: "docker" "start" "-a" "e18ab3a3ec3879f075727b4b7ecacfc9ff543f76b13693fa8f33ca9895688ae9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling thiserror v1.0.62 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling cc v1.1.3 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling camino v1.1.7 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking const-hex v1.12.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling winnow v0.6.13 [INFO] [stderr] Checking k256 v0.13.3 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking send_wrapper v0.4.0 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Checking scrypt v0.10.0 [INFO] [stderr] Checking hashers v1.0.1 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking futures-locks v0.7.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling rlp-derive v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling thiserror-impl v1.0.62 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling auto_impl v1.2.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking wasm-bindgen v0.2.92 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking cargo-platform v0.1.8 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking coins-core v0.8.7 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking toml_edit v0.22.15 [INFO] [stderr] Checking coins-bip32 v0.8.7 [INFO] [stderr] Checking gloo-timers v0.2.6 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking rlp v0.5.2 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Checking enr v0.10.0 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking jsonwebtoken v8.3.0 [INFO] [stderr] Checking eth-keystore v0.5.0 [INFO] [stderr] Checking coins-bip39 v0.8.7 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling open-fastrlp-derive v0.1.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking toml v0.8.14 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.12 [INFO] [stderr] Compiling scale-info-derive v2.11.3 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Checking num_enum v0.7.2 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking parity-scale-codec v3.6.12 [INFO] [stderr] Checking impl-codec v0.6.0 [INFO] [stderr] Checking scale-info v2.11.3 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Checking ethbloom v0.13.0 [INFO] [stderr] Checking ethereum-types v0.14.1 [INFO] [stderr] Checking open-fastrlp v0.1.4 [INFO] [stderr] Checking ethabi v18.0.0 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking ethers-core v2.0.14 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking ethers-providers v2.0.14 [INFO] [stderr] Checking ethers-contract-abigen v2.0.14 [INFO] [stderr] Checking ethers-signers v2.0.14 [INFO] [stderr] Checking ethers-etherscan v2.0.14 [INFO] [stderr] Checking ethers-addressbook v2.0.14 [INFO] [stderr] Compiling ethers-contract-derive v2.0.14 [INFO] [stderr] Checking ethers-contract v2.0.14 [INFO] [stderr] Checking ethers-middleware v2.0.14 [INFO] [stderr] Checking ethers v2.0.14 [INFO] [stderr] Checking mktmkr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find type `Token` in this scope [INFO] [stdout] --> src/main.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | Token::Uint(sell_amount), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Token; [INFO] [stdout] | [INFO] [stdout] 1 + use ethers::abi::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Token` in this scope [INFO] [stdout] --> src/main.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | Token::Uint(U256::zero()), // We accept any amount of ETH [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Token; [INFO] [stdout] | [INFO] [stdout] 1 + use ethers::abi::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Token` in this scope [INFO] [stdout] --> src/main.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | Token::Array(vec![ [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Token; [INFO] [stdout] | [INFO] [stdout] 1 + use ethers::abi::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Token` in this scope [INFO] [stdout] --> src/main.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | Token::Address(self.token_address), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Token; [INFO] [stdout] | [INFO] [stdout] 1 + use ethers::abi::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Token` in this scope [INFO] [stdout] --> src/main.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | Token::Address(self.weth), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Token; [INFO] [stdout] | [INFO] [stdout] 1 + use ethers::abi::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Token` in this scope [INFO] [stdout] --> src/main.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | Token::Address(self.wallet.address()), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Token; [INFO] [stdout] | [INFO] [stdout] 1 + use ethers::abi::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Token` in this scope [INFO] [stdout] --> src/main.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | Token::Uint(deadline), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Token; [INFO] [stdout] | [INFO] [stdout] 1 + use ethers::abi::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Token` in this scope [INFO] [stdout] --> src/main.rs:175:56 [INFO] [stdout] | [INFO] [stdout] 175 | fn encode_function_data(function_name: &str, tokens: &[Token]) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Token; [INFO] [stdout] | [INFO] [stdout] 1 + use ethers::abi::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `H256` and `utils::keccak256` [INFO] [stdout] --> src/main.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | types::{Transaction, H256, U256, Bytes}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | utils::keccak256, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Token` in this scope [INFO] [stdout] --> src/main.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | Token::Uint(sell_amount), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Token; [INFO] [stdout] | [INFO] [stdout] 1 + use ethers::abi::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Token` in this scope [INFO] [stdout] --> src/main.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | Token::Uint(U256::zero()), // We accept any amount of ETH [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Token; [INFO] [stdout] | [INFO] [stdout] 1 + use ethers::abi::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Token` in this scope [INFO] [stdout] --> src/main.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | Token::Array(vec![ [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Token; [INFO] [stdout] | [INFO] [stdout] 1 + use ethers::abi::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Token` in this scope [INFO] [stdout] --> src/main.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | Token::Address(self.token_address), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Token; [INFO] [stdout] | [INFO] [stdout] 1 + use ethers::abi::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Token` in this scope [INFO] [stdout] --> src/main.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | Token::Address(self.weth), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Token; [INFO] [stdout] | [INFO] [stdout] 1 + use ethers::abi::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Token` in this scope [INFO] [stdout] --> src/main.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | Token::Address(self.wallet.address()), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Token; [INFO] [stdout] | [INFO] [stdout] 1 + use ethers::abi::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Token` in this scope [INFO] [stdout] --> src/main.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | Token::Uint(deadline), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Token; [INFO] [stdout] | [INFO] [stdout] 1 + use ethers::abi::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Token` in this scope [INFO] [stdout] --> src/main.rs:175:56 [INFO] [stdout] | [INFO] [stdout] 175 | fn encode_function_data(function_name: &str, tokens: &[Token]) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Token; [INFO] [stdout] | [INFO] [stdout] 1 + use ethers::abi::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `H256` and `utils::keccak256` [INFO] [stdout] --> src/main.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | types::{Transaction, H256, U256, Bytes}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | utils::keccak256, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:124:55 [INFO] [stdout] | [INFO] [stdout] 124 | let pending_tx = self.wallet.sign_transaction(&tx).await?; [INFO] [stdout] | ---------------- ^^^ expected `&TypedTransaction`, found `&TransactionRequest` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&TypedTransaction` [INFO] [stdout] found reference `ðers::types::TransactionRequest` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ethers-signers-2.0.14/src/lib.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | async fn sign_transaction(&self, message: &TypedTransaction) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:124:55 [INFO] [stdout] | [INFO] [stdout] 124 | let pending_tx = self.wallet.sign_transaction(&tx).await?; [INFO] [stdout] | ---------------- ^^^ expected `&TypedTransaction`, found `&TransactionRequest` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&TypedTransaction` [INFO] [stdout] found reference `ðers::types::TransactionRequest` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ethers-signers-2.0.14/src/lib.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | async fn sign_transaction(&self, message: &TypedTransaction) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:125:58 [INFO] [stdout] | [INFO] [stdout] 125 | let receipt = self.provider.send_raw_transaction(pending_tx).await?; [INFO] [stdout] | -------------------- ^^^^^^^^^^ expected `Bytes`, found `Signature` [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/ethers-providers-2.0.14/src/middleware.rs:456:14 [INFO] [stdout] | [INFO] [stdout] 456 | async fn send_raw_transaction<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:125:58 [INFO] [stdout] | [INFO] [stdout] 125 | let receipt = self.provider.send_raw_transaction(pending_tx).await?; [INFO] [stdout] | -------------------- ^^^^^^^^^^ expected `Bytes`, found `Signature` [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/ethers-providers-2.0.14/src/middleware.rs:456:14 [INFO] [stdout] | [INFO] [stdout] 456 | async fn send_raw_transaction<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `H256: From>` is not satisfied [INFO] [stdout] --> src/main.rs:127:70 [INFO] [stdout] | [INFO] [stdout] 127 | if let Some(receipt) = self.provider.get_transaction_receipt(receipt).await? { [INFO] [stdout] | ----------------------- ^^^^^^^ the trait `From>` is not implemented for `H256` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required for `PendingTransaction<'_, Ws>` to implement `Into` [INFO] [stdout] note: required by a bound in `get_transaction_receipt` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ethers-providers-2.0.14/src/middleware.rs:414:55 [INFO] [stdout] | [INFO] [stdout] 414 | async fn get_transaction_receipt>( [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `Middleware::get_transaction_receipt` [INFO] [stdout] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 127 | if let Some(receipt) = self.provider.get_transaction_receipt(*receipt).await? { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `H256: From>` is not satisfied [INFO] [stdout] --> src/main.rs:127:70 [INFO] [stdout] | [INFO] [stdout] 127 | if let Some(receipt) = self.provider.get_transaction_receipt(receipt).await? { [INFO] [stdout] | ----------------------- ^^^^^^^ the trait `From>` is not implemented for `H256` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required for `PendingTransaction<'_, Ws>` to implement `Into` [INFO] [stdout] note: required by a bound in `get_transaction_receipt` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ethers-providers-2.0.14/src/middleware.rs:414:55 [INFO] [stdout] | [INFO] [stdout] 414 | async fn get_transaction_receipt>( [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `Middleware::get_transaction_receipt` [INFO] [stdout] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 127 | if let Some(receipt) = self.provider.get_transaction_receipt(*receipt).await? { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(dyn futures_core::stream::Stream + Send + Unpin + 'static)` cannot be shared between threads safely [INFO] [stdout] --> src/main.rs:127:70 [INFO] [stdout] | [INFO] [stdout] 127 | if let Some(receipt) = self.provider.get_transaction_receipt(receipt).await? { [INFO] [stdout] | ----------------------- ^^^^^^^ `(dyn futures_core::stream::Stream + Send + Unpin + 'static)` cannot be shared between threads safely [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `(dyn futures_core::stream::Stream + Send + Unpin + 'static)` [INFO] [stdout] = note: required for `std::ptr::Unique<(dyn futures_core::stream::Stream + Send + Unpin + 'static)>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `Box<(dyn futures_core::stream::Stream + Send + Unpin + 'static)>` [INFO] [stdout] --> /rustc/31a9463c6e2794a59ce57a8f37abc6966afc2a58/library/alloc/src/boxed.rs:234:11 [INFO] [stdout] note: required because it appears within the type `PendingTransaction<'_, Ws>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ethers-providers-2.0.14/src/toolbox/pending_transaction.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct PendingTransaction<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `get_transaction_receipt` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ethers-providers-2.0.14/src/middleware.rs:414:48 [INFO] [stdout] | [INFO] [stdout] 414 | async fn get_transaction_receipt>( [INFO] [stdout] | ^^^^ required by this bound in `Middleware::get_transaction_receipt` [INFO] [stdout] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 127 | if let Some(receipt) = self.provider.get_transaction_receipt(*receipt).await? { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(dyn futures_core::stream::Stream + Send + Unpin + 'static)` cannot be shared between threads safely [INFO] [stdout] --> src/main.rs:127:70 [INFO] [stdout] | [INFO] [stdout] 127 | if let Some(receipt) = self.provider.get_transaction_receipt(receipt).await? { [INFO] [stdout] | ----------------------- ^^^^^^^ `(dyn futures_core::stream::Stream + Send + Unpin + 'static)` cannot be shared between threads safely [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `(dyn futures_core::stream::Stream + Send + Unpin + 'static)` [INFO] [stdout] = note: required for `std::ptr::Unique<(dyn futures_core::stream::Stream + Send + Unpin + 'static)>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `Box<(dyn futures_core::stream::Stream + Send + Unpin + 'static)>` [INFO] [stdout] --> /rustc/31a9463c6e2794a59ce57a8f37abc6966afc2a58/library/alloc/src/boxed.rs:234:11 [INFO] [stdout] note: required because it appears within the type `PendingTransaction<'_, Ws>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ethers-providers-2.0.14/src/toolbox/pending_transaction.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct PendingTransaction<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `get_transaction_receipt` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ethers-providers-2.0.14/src/middleware.rs:414:48 [INFO] [stdout] | [INFO] [stdout] 414 | async fn get_transaction_receipt>( [INFO] [stdout] | ^^^^ required by this bound in `Middleware::get_transaction_receipt` [INFO] [stdout] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 127 | if let Some(receipt) = self.provider.get_transaction_receipt(*receipt).await? { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn Future, ProviderError>> + Send` cannot be shared between threads safely [INFO] [stdout] --> src/main.rs:127:70 [INFO] [stdout] | [INFO] [stdout] 127 | if let Some(receipt) = self.provider.get_transaction_receipt(receipt).await? { [INFO] [stdout] | ----------------------- ^^^^^^^ `dyn Future, ProviderError>> + Send` cannot be shared between threads safely [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn Future, ProviderError>> + Send` [INFO] [stdout] = note: required for `Unique, ...>> + Send>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `Box, ...>> + Send>` [INFO] [stdout] --> /rustc/31a9463c6e2794a59ce57a8f37abc6966afc2a58/library/alloc/src/boxed.rs:234:11 [INFO] [stdout] note: required because it appears within the type `Pin, ...>> + Send>>` [INFO] [stdout] --> /rustc/31a9463c6e2794a59ce57a8f37abc6966afc2a58/library/core/src/pin.rs:1092:11 [INFO] [stdout] note: required because it appears within the type `providers::toolbox::pending_transaction::PendingTxState<'_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ethers-providers-2.0.14/src/toolbox/pending_transaction.rs:325:6 [INFO] [stdout] | [INFO] [stdout] 325 | enum PendingTxState<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PendingTransaction<'_, Ws>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ethers-providers-2.0.14/src/toolbox/pending_transaction.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct PendingTransaction<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `get_transaction_receipt` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ethers-providers-2.0.14/src/middleware.rs:414:48 [INFO] [stdout] | [INFO] [stdout] 414 | async fn get_transaction_receipt>( [INFO] [stdout] | ^^^^ required by this bound in `Middleware::get_transaction_receipt` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/mktmkr-506d0d9ea89323cf.long-type-14727559317490112912.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 127 | if let Some(receipt) = self.provider.get_transaction_receipt(*receipt).await? { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn Future, ProviderError>> + Send` cannot be shared between threads safely [INFO] [stdout] --> src/main.rs:127:70 [INFO] [stdout] | [INFO] [stdout] 127 | if let Some(receipt) = self.provider.get_transaction_receipt(receipt).await? { [INFO] [stdout] | ----------------------- ^^^^^^^ `dyn Future, ProviderError>> + Send` cannot be shared between threads safely [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn Future, ProviderError>> + Send` [INFO] [stdout] = note: required for `Unique, ...>> + Send>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `Box, ...>> + Send>` [INFO] [stdout] --> /rustc/31a9463c6e2794a59ce57a8f37abc6966afc2a58/library/alloc/src/boxed.rs:234:11 [INFO] [stdout] note: required because it appears within the type `Pin, ...>> + Send>>` [INFO] [stdout] --> /rustc/31a9463c6e2794a59ce57a8f37abc6966afc2a58/library/core/src/pin.rs:1092:11 [INFO] [stdout] note: required because it appears within the type `providers::toolbox::pending_transaction::PendingTxState<'_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ethers-providers-2.0.14/src/toolbox/pending_transaction.rs:325:6 [INFO] [stdout] | [INFO] [stdout] 325 | enum PendingTxState<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PendingTransaction<'_, Ws>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ethers-providers-2.0.14/src/toolbox/pending_transaction.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct PendingTransaction<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `get_transaction_receipt` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ethers-providers-2.0.14/src/middleware.rs:414:48 [INFO] [stdout] | [INFO] [stdout] 414 | async fn get_transaction_receipt>( [INFO] [stdout] | ^^^^ required by this bound in `Middleware::get_transaction_receipt` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/mktmkr-d6c49a60f39ba89c.long-type-10115146847599685034.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 127 | if let Some(receipt) = self.provider.get_transaction_receipt(*receipt).await? { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn Future, ...>> + Send` cannot be shared between threads safely [INFO] [stdout] --> src/main.rs:127:70 [INFO] [stdout] | [INFO] [stdout] 127 | if let Some(receipt) = self.provider.get_transaction_receipt(receipt).await? { [INFO] [stdout] | ----------------------- ^^^^^^^ `dyn Future, ...>> + Send` cannot be shared between threads safely [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn Future, ...>> + Send` [INFO] [stdout] = note: required for `Unique, ...>> + Send>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `Box, ...>> + Send>` [INFO] [stdout] --> /rustc/31a9463c6e2794a59ce57a8f37abc6966afc2a58/library/alloc/src/boxed.rs:234:11 [INFO] [stdout] note: required because it appears within the type `Pin, ...>> + Send>>` [INFO] [stdout] --> /rustc/31a9463c6e2794a59ce57a8f37abc6966afc2a58/library/core/src/pin.rs:1092:11 [INFO] [stdout] note: required because it appears within the type `providers::toolbox::pending_transaction::PendingTxState<'_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ethers-providers-2.0.14/src/toolbox/pending_transaction.rs:325:6 [INFO] [stdout] | [INFO] [stdout] 325 | enum PendingTxState<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PendingTransaction<'_, Ws>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ethers-providers-2.0.14/src/toolbox/pending_transaction.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct PendingTransaction<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `get_transaction_receipt` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ethers-providers-2.0.14/src/middleware.rs:414:48 [INFO] [stdout] | [INFO] [stdout] 414 | async fn get_transaction_receipt>( [INFO] [stdout] | ^^^^ required by this bound in `Middleware::get_transaction_receipt` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/mktmkr-506d0d9ea89323cf.long-type-16196920766215833626.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 127 | if let Some(receipt) = self.provider.get_transaction_receipt(*receipt).await? { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn Future, ...>> + Send` cannot be shared between threads safely [INFO] [stdout] --> src/main.rs:127:70 [INFO] [stdout] | [INFO] [stdout] 127 | if let Some(receipt) = self.provider.get_transaction_receipt(receipt).await? { [INFO] [stdout] | ----------------------- ^^^^^^^ `dyn Future, ...>> + Send` cannot be shared between threads safely [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn Future, ...>> + Send` [INFO] [stdout] = note: required for `Unique, ...>> + Send>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `Box, ...>> + Send>` [INFO] [stdout] --> /rustc/31a9463c6e2794a59ce57a8f37abc6966afc2a58/library/alloc/src/boxed.rs:234:11 [INFO] [stdout] note: required because it appears within the type `Pin, ...>> + Send>>` [INFO] [stdout] --> /rustc/31a9463c6e2794a59ce57a8f37abc6966afc2a58/library/core/src/pin.rs:1092:11 [INFO] [stdout] note: required because it appears within the type `providers::toolbox::pending_transaction::PendingTxState<'_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ethers-providers-2.0.14/src/toolbox/pending_transaction.rs:325:6 [INFO] [stdout] | [INFO] [stdout] 325 | enum PendingTxState<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PendingTransaction<'_, Ws>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ethers-providers-2.0.14/src/toolbox/pending_transaction.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct PendingTransaction<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `get_transaction_receipt` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ethers-providers-2.0.14/src/middleware.rs:414:48 [INFO] [stdout] | [INFO] [stdout] 414 | async fn get_transaction_receipt>( [INFO] [stdout] | ^^^^ required by this bound in `Middleware::get_transaction_receipt` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/mktmkr-d6c49a60f39ba89c.long-type-12905119126143281059.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 127 | if let Some(receipt) = self.provider.get_transaction_receipt(*receipt).await? { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn Future> + Send` cannot be shared between threads safely [INFO] [stdout] --> src/main.rs:127:70 [INFO] [stdout] | [INFO] [stdout] 127 | if let Some(receipt) = self.provider.get_transaction_receipt(receipt).await? { [INFO] [stdout] | ----------------------- ^^^^^^^ `dyn Future> + Send` cannot be shared between threads safely [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn Future> + Send` [INFO] [stdout] = note: required for `Unique> + Send>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `Box> + Send>` [INFO] [stdout] --> /rustc/31a9463c6e2794a59ce57a8f37abc6966afc2a58/library/alloc/src/boxed.rs:234:11 [INFO] [stdout] note: required because it appears within the type `Pin> + Send>>` [INFO] [stdout] --> /rustc/31a9463c6e2794a59ce57a8f37abc6966afc2a58/library/core/src/pin.rs:1092:11 [INFO] [stdout] note: required because it appears within the type `providers::toolbox::pending_transaction::PendingTxState<'_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ethers-providers-2.0.14/src/toolbox/pending_transaction.rs:325:6 [INFO] [stdout] | [INFO] [stdout] 325 | enum PendingTxState<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PendingTransaction<'_, Ws>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ethers-providers-2.0.14/src/toolbox/pending_transaction.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct PendingTransaction<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `get_transaction_receipt` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ethers-providers-2.0.14/src/middleware.rs:414:48 [INFO] [stdout] | [INFO] [stdout] 414 | async fn get_transaction_receipt>( [INFO] [stdout] | ^^^^ required by this bound in `Middleware::get_transaction_receipt` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/mktmkr-d6c49a60f39ba89c.long-type-16408432382490505445.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 127 | if let Some(receipt) = self.provider.get_transaction_receipt(*receipt).await? { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn Future> + Send` cannot be shared between threads safely [INFO] [stdout] --> src/main.rs:127:70 [INFO] [stdout] | [INFO] [stdout] 127 | if let Some(receipt) = self.provider.get_transaction_receipt(receipt).await? { [INFO] [stdout] | ----------------------- ^^^^^^^ `dyn Future> + Send` cannot be shared between threads safely [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn Future> + Send` [INFO] [stdout] = note: required for `Unique> + Send>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `Box> + Send>` [INFO] [stdout] --> /rustc/31a9463c6e2794a59ce57a8f37abc6966afc2a58/library/alloc/src/boxed.rs:234:11 [INFO] [stdout] note: required because it appears within the type `Pin> + Send>>` [INFO] [stdout] --> /rustc/31a9463c6e2794a59ce57a8f37abc6966afc2a58/library/core/src/pin.rs:1092:11 [INFO] [stdout] note: required because it appears within the type `providers::toolbox::pending_transaction::PendingTxState<'_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ethers-providers-2.0.14/src/toolbox/pending_transaction.rs:325:6 [INFO] [stdout] | [INFO] [stdout] 325 | enum PendingTxState<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PendingTransaction<'_, Ws>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ethers-providers-2.0.14/src/toolbox/pending_transaction.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct PendingTransaction<'a, P> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `get_transaction_receipt` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ethers-providers-2.0.14/src/middleware.rs:414:48 [INFO] [stdout] | [INFO] [stdout] 414 | async fn get_transaction_receipt>( [INFO] [stdout] | ^^^^ required by this bound in `Middleware::get_transaction_receipt` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/mktmkr-506d0d9ea89323cf.long-type-722925915911857064.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 127 | if let Some(receipt) = self.provider.get_transaction_receipt(*receipt).await? { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ethers::abi::Function::constant`: The constant attribute was removed in Solidity 0.5.0 and has been replaced with stateMutability. [INFO] [stdout] --> src/main.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | constant: None, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `ethers::abi::Function::constant`: The constant attribute was removed in Solidity 0.5.0 and has been replaced with stateMutability. [INFO] [stdout] --> src/main.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | constant: None, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path_length` [INFO] [stdout] --> src/main.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | let path_length = U256::from_big_endian(&tx.input[path_offset..path_offset + 32]).as_usize(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_length` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path_length` [INFO] [stdout] --> src/main.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | let path_length = U256::from_big_endian(&tx.input[path_offset..path_offset + 32]).as_usize(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_length` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0433. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mktmkr` (bin "mktmkr" test) due to 15 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mktmkr` (bin "mktmkr") due to 15 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e18ab3a3ec3879f075727b4b7ecacfc9ff543f76b13693fa8f33ca9895688ae9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e18ab3a3ec3879f075727b4b7ecacfc9ff543f76b13693fa8f33ca9895688ae9", kill_on_drop: false }` [INFO] [stdout] e18ab3a3ec3879f075727b4b7ecacfc9ff543f76b13693fa8f33ca9895688ae9