[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] testing advaith101/mktmkr against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadvaith101%2Fmktmkr" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/advaith101/mktmkr on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e133f1d353073417e1dd22ccc024726e610e723e30b617f3d3b2fb6a2018da36 [INFO] running `Command { std: "docker" "start" "-a" "e133f1d353073417e1dd22ccc024726e610e723e30b617f3d3b2fb6a2018da36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e133f1d353073417e1dd22ccc024726e610e723e30b617f3d3b2fb6a2018da36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e133f1d353073417e1dd22ccc024726e610e723e30b617f3d3b2fb6a2018da36", kill_on_drop: false }` [INFO] [stdout] e133f1d353073417e1dd22ccc024726e610e723e30b617f3d3b2fb6a2018da36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6297db553febe0958d5aad91781ae8f3c4b168ea886a6d61adb9b4053eb54d28 [INFO] running `Command { std: "docker" "start" "-a" "6297db553febe0958d5aad91781ae8f3c4b168ea886a6d61adb9b4053eb54d28", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling thiserror v1.0.62 [INFO] [stderr] Compiling byte-slice-cast v1.2.2 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling cc v1.1.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling camino v1.1.7 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling const-hex v1.12.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling k256 v0.13.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling winnow v0.6.13 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling send_wrapper v0.4.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 tokio-macros v2.3.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [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 wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling scrypt v0.10.0 [INFO] [stderr] Compiling hashers v1.0.1 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling futures-locks v0.7.1 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling js-sys v0.3.69 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling rlp-derive v0.1.0 [INFO] [stderr] Compiling gloo-timers v0.2.6 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling bytes v1.6.1 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling impl-serde v0.4.0 [INFO] [stderr] Compiling cargo-platform v0.1.8 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling coins-core v0.8.7 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling toml_edit v0.22.15 [INFO] [stderr] Compiling coins-bip32 v0.8.7 [INFO] [stderr] Compiling rlp v0.5.2 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling open-fastrlp-derive v0.1.1 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling enr v0.10.0 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Compiling jsonwebtoken v8.3.0 [INFO] [stderr] Compiling eth-keystore v0.5.0 [INFO] [stderr] Compiling coins-bip39 v0.8.7 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling toml v0.8.14 [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] Compiling num_enum v0.7.2 [INFO] [stderr] Compiling parity-scale-codec v3.6.12 [INFO] [stderr] Compiling scale-info v2.11.3 [INFO] [stderr] Compiling impl-codec v0.6.0 [INFO] [stderr] Compiling ethbloom v0.13.0 [INFO] [stderr] Compiling primitive-types v0.12.2 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling ethereum-types v0.14.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling open-fastrlp v0.1.4 [INFO] [stderr] Compiling ethabi v18.0.0 [INFO] [stderr] Compiling ethers-core v2.0.14 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling ethers-contract-abigen v2.0.14 [INFO] [stderr] Compiling ethers-signers v2.0.14 [INFO] [stderr] Compiling ethers-addressbook v2.0.14 [INFO] [stderr] Compiling ethers-providers v2.0.14 [INFO] [stderr] Compiling ethers-etherscan v2.0.14 [INFO] [stderr] Compiling ethers-contract-derive v2.0.14 [INFO] [stderr] Compiling ethers-contract v2.0.14 [INFO] [stderr] Compiling ethers-middleware v2.0.14 [INFO] [stderr] Compiling ethers v2.0.14 [INFO] [stderr] Compiling mktmkr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [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]: failed to resolve: use of undeclared type `Token` [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]: failed to resolve: use of undeclared type `Token` [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]: failed to resolve: use of undeclared type `Token` [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]: failed to resolve: use of undeclared type `Token` [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]: failed to resolve: use of undeclared type `Token` [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]: failed to resolve: use of undeclared type `Token` [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[E0412]: 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: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]: `(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 `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/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:231:12 [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/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin, ...>> + Send>>` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/pin.rs:1094:12 [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-5b6c64ce85913a48.long-type-5393241280487585812.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/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin, ...>> + Send>>` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/pin.rs:1094:12 [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-5b6c64ce85913a48.long-type-13664736991326310564.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/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin> + Send>>` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/pin.rs:1094:12 [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-5b6c64ce85913a48.long-type-3487492167433573628.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: 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, E0412, E0433. [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") due to 15 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6297db553febe0958d5aad91781ae8f3c4b168ea886a6d61adb9b4053eb54d28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6297db553febe0958d5aad91781ae8f3c4b168ea886a6d61adb9b4053eb54d28", kill_on_drop: false }` [INFO] [stdout] 6297db553febe0958d5aad91781ae8f3c4b168ea886a6d61adb9b4053eb54d28