[INFO] cloning repository https://github.com/pdrdsnt/evm_pools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pdrdsnt/evm_pools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpdrdsnt%2Fevm_pools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpdrdsnt%2Fevm_pools'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 73db718007da11b66195bd0d4dd6de7ebf69abbc [INFO] checking pdrdsnt/evm_pools against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpdrdsnt%2Fevm_pools" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pdrdsnt/evm_pools [INFO] finished tweaking git repo https://github.com/pdrdsnt/evm_pools [INFO] tweaked toml for git repo https://github.com/pdrdsnt/evm_pools written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pdrdsnt/evm_pools on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pdrdsnt/evm_pools 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded macro-string v0.1.4 [INFO] [stderr] Downloaded alloy-sol-types v1.2.1 [INFO] [stderr] Downloaded alloy-contract v1.0.19 [INFO] [stderr] Downloaded auto_impl v1.3.0 [INFO] [stderr] Downloaded alloy-core v1.2.1 [INFO] [stderr] Downloaded alloy-rpc-types v1.0.19 [INFO] [stderr] Downloaded alloy-rpc-client v1.0.19 [INFO] [stderr] Downloaded nybbles v0.4.1 [INFO] [stderr] Downloaded alloy-tx-macros v1.0.19 [INFO] [stderr] Downloaded alloy-signer-local v1.0.19 [INFO] [stderr] Downloaded alloy-serde v1.0.19 [INFO] [stderr] Downloaded alloy-rpc-types-any v1.0.19 [INFO] [stderr] Downloaded secp256k1 v0.30.0 [INFO] [stderr] Downloaded alloy-dyn-abi v1.2.1 [INFO] [stderr] Downloaded alloy-consensus v1.0.19 [INFO] [stderr] Downloaded alloy-eips v1.0.19 [INFO] [stderr] Downloaded alloy-network v1.0.19 [INFO] [stderr] Downloaded alloy-provider v1.0.19 [INFO] [stderr] Downloaded alloy-consensus-any v1.0.19 [INFO] [stderr] Downloaded alloy-trie v0.9.0 [INFO] [stderr] Downloaded sha3-asm v0.1.4 [INFO] [stderr] Downloaded alloy-eip7702 v0.6.1 [INFO] [stderr] Downloaded alloy-json-rpc v1.0.19 [INFO] [stderr] Downloaded lru v0.13.0 [INFO] [stderr] Downloaded alloy-rlp v0.3.12 [INFO] [stderr] Downloaded parity-scale-codec v3.7.5 [INFO] [stderr] Downloaded wasmtimer v0.4.2 [INFO] [stderr] Downloaded alloy-sol-macro-expander v1.2.1 [INFO] [stderr] Downloaded alloy v1.0.19 [INFO] [stderr] Downloaded bitcoin-io v0.1.3 [INFO] [stderr] Downloaded alloy-eip2124 v0.2.0 [INFO] [stderr] Downloaded alloy-signer v1.0.19 [INFO] [stderr] Downloaded alloy-transport v1.0.19 [INFO] [stderr] Downloaded alloy-transport-http v1.0.19 [INFO] [stderr] Downloaded futures-utils-wasm v0.1.0 [INFO] [stderr] Downloaded alloy-rlp-derive v0.3.12 [INFO] [stderr] Downloaded parity-scale-codec-derive v3.7.5 [INFO] [stderr] Downloaded ruint v1.15.0 [INFO] [stderr] Downloaded alloy-chains v0.2.5 [INFO] [stderr] Downloaded c-kzg v2.1.1 [INFO] [stderr] Downloaded alloy-network-primitives v1.0.19 [INFO] [stderr] Downloaded syn-solidity v1.2.1 [INFO] [stderr] Downloaded alloy-json-abi v1.2.1 [INFO] [stderr] Downloaded const-hex v1.14.1 [INFO] [stderr] Downloaded alloy-sol-macro v1.2.1 [INFO] [stderr] Downloaded alloy-eip2930 v0.2.1 [INFO] [stderr] Downloaded keccak-asm v0.1.4 [INFO] [stderr] Downloaded alloy-primitives v1.2.1 [INFO] [stderr] Downloaded alloy-sol-type-parser v1.2.1 [INFO] [stderr] Downloaded alloy-genesis v1.0.19 [INFO] [stderr] Downloaded alloy-sol-macro-input v1.2.1 [INFO] [stderr] Downloaded alloy-rpc-types-eth v1.0.19 [INFO] [stderr] Downloaded secp256k1-sys v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5fcc99f7650bdf3228125851db91ca8ba9981d0a61b7d3bb5b6dd9e98d49ac67 [INFO] running `Command { std: "docker" "start" "-a" "5fcc99f7650bdf3228125851db91ca8ba9981d0a61b7d3bb5b6dd9e98d49ac67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fcc99f7650bdf3228125851db91ca8ba9981d0a61b7d3bb5b6dd9e98d49ac67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fcc99f7650bdf3228125851db91ca8ba9981d0a61b7d3bb5b6dd9e98d49ac67", kill_on_drop: false }` [INFO] [stdout] 5fcc99f7650bdf3228125851db91ca8ba9981d0a61b7d3bb5b6dd9e98d49ac67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69caaefb2f497b6e81d2ef8b3f3c5a131bf9a94c367670bacfefb52fb4fcd602 [INFO] running `Command { std: "docker" "start" "-a" "69caaefb2f497b6e81d2ef8b3f3c5a131bf9a94c367670bacfefb52fb4fcd602", kill_on_drop: false }` [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling alloy-rlp-derive v0.3.12 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling syn-solidity v1.2.1 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling macro-string v0.1.4 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking crc v3.3.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking futures-utils-wasm v0.1.0 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking num_enum v0.7.4 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking strum v0.27.1 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling const-hex v1.14.1 [INFO] [stderr] Compiling ruint v1.15.0 [INFO] [stderr] Compiling alloy-sol-type-parser v1.2.1 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Compiling alloy-primitives v1.2.1 [INFO] [stderr] Checking alloy-rlp v0.3.12 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking lru v0.13.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling alloy-json-abi v1.2.1 [INFO] [stderr] Checking nybbles v0.4.1 [INFO] [stderr] Compiling alloy-tx-macros v1.0.19 [INFO] [stderr] Compiling alloy-sol-macro-input v1.2.1 [INFO] [stderr] Compiling alloy-sol-macro-expander v1.2.1 [INFO] [stderr] Checking alloy-eip2124 v0.2.0 [INFO] [stderr] Checking alloy-eip2930 v0.2.1 [INFO] [stderr] Checking alloy-serde v1.0.19 [INFO] [stderr] Checking alloy-eip7702 v0.6.1 [INFO] [stderr] Checking alloy-trie v0.9.0 [INFO] [stderr] Checking alloy-signer v1.0.19 [INFO] [stderr] Checking alloy-chains v0.2.5 [INFO] [stderr] Checking alloy-eips v1.0.19 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking alloy-consensus v1.0.19 [INFO] [stderr] Checking h2 v0.4.11 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Compiling alloy-sol-macro v1.2.1 [INFO] [stderr] Checking alloy-sol-types v1.2.1 [INFO] [stderr] Checking alloy-network-primitives v1.0.19 [INFO] [stderr] Checking alloy-consensus-any v1.0.19 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.15 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.22 [INFO] [stderr] Checking alloy-json-rpc v1.0.19 [INFO] [stderr] Checking alloy-rpc-types-eth v1.0.19 [INFO] [stderr] Checking alloy-dyn-abi v1.2.1 [INFO] [stderr] Checking alloy-core v1.2.1 [INFO] [stderr] Checking alloy-transport v1.0.19 [INFO] [stderr] Checking alloy-transport-http v1.0.19 [INFO] [stderr] Checking alloy-rpc-client v1.0.19 [INFO] [stderr] Checking alloy-rpc-types-any v1.0.19 [INFO] [stderr] Checking alloy-rpc-types v1.0.19 [INFO] [stderr] Checking alloy-network v1.0.19 [INFO] [stderr] Checking alloy-provider v1.0.19 [INFO] [stderr] Checking alloy-signer-local v1.0.19 [INFO] [stderr] Checking alloy-contract v1.0.19 [INFO] [stderr] Checking alloy v1.0.19 [INFO] [stderr] Checking eth_pools v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `SolEvent` [INFO] [stdout] --> src/lib.rs:49:36 [INFO] [stdout] | [INFO] [stdout] 49 | use alloy_sol_types::{SolCall, SolEvent}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SolCall` [INFO] [stdout] --> src/lib.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | use alloy_sol_types::{SolCall, SolEvent}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Caller` [INFO] [stdout] --> src/v3_pool.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use alloy_provider::{Caller, Provider}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/v3_pool.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/v3_pool.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Caller` [INFO] [stdout] --> src/v3_pool.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use alloy_provider::{Caller, Provider}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v2_pools` [INFO] [stdout] --> src/lib.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let v2_pools = vec![ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_v2_pools` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v4_pools` [INFO] [stdout] --> src/lib.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let v4_pools = vec![v4_state_view]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_v4_pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v3_pools` [INFO] [stdout] --> src/lib.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | let v3_pools = vec![ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_v3_pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount_in` [INFO] [stdout] --> src/lib.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | let amount_in = U256::from(1000000000000_u64); // 1 USD [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_token_0` [INFO] [stdout] --> src/lib.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let from_token_0 = true; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_token_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/lib.rs:228:21 [INFO] [stdout] | [INFO] [stdout] 228 | for result in join_all(fut).await {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/pool.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | async fn sync(&mut self) -> Result<(), ()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 26 - async fn sync(&mut self) -> Result<(), ()>; [INFO] [stdout] 26 + fn sync(&mut self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/pool.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | async fn sync_ticks(&mut self) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 37 ~ fn sync_ticks(&mut self) -> impl std::future::Future> + Send {async { [INFO] [stdout] 38 | let Some(tick) = tick_math::tick_from_price(self.get_price()) else { [INFO] [stdout] ... [INFO] [stdout] 74 | Ok(()) [INFO] [stdout] 75 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/pool.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | async fn request_tick(&self, tick: I24) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 79 - async fn request_tick(&self, tick: I24) -> Result; [INFO] [stdout] 79 + fn request_tick(&self, tick: I24) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/pool.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | async fn request_word(&self, pos: i16) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 81 - async fn request_word(&self, pos: i16) -> Result; [INFO] [stdout] 81 + fn request_word(&self, pos: i16) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/pool.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | async fn sync(&mut self) -> Result<(), ()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 26 - async fn sync(&mut self) -> Result<(), ()>; [INFO] [stdout] 26 + fn sync(&mut self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/pool.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | async fn sync_ticks(&mut self) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 37 ~ fn sync_ticks(&mut self) -> impl std::future::Future> + Send {async { [INFO] [stdout] 38 | let Some(tick) = tick_math::tick_from_price(self.get_price()) else { [INFO] [stdout] ... [INFO] [stdout] 74 | Ok(()) [INFO] [stdout] 75 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/pool.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | async fn request_tick(&self, tick: I24) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 79 - async fn request_tick(&self, tick: I24) -> Result; [INFO] [stdout] 79 + fn request_tick(&self, tick: I24) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/pool.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | async fn request_word(&self, pos: i16) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 81 - async fn request_word(&self, pos: i16) -> Result; [INFO] [stdout] 81 + fn request_word(&self, pos: i16) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.80s [INFO] running `Command { std: "docker" "inspect" "69caaefb2f497b6e81d2ef8b3f3c5a131bf9a94c367670bacfefb52fb4fcd602", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69caaefb2f497b6e81d2ef8b3f3c5a131bf9a94c367670bacfefb52fb4fcd602", kill_on_drop: false }` [INFO] [stdout] 69caaefb2f497b6e81d2ef8b3f3c5a131bf9a94c367670bacfefb52fb4fcd602