[INFO] fetching crate uniswap-v4-sdk 0.11.0... [INFO] testing uniswap-v4-sdk-0.11.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate uniswap-v4-sdk 0.11.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate uniswap-v4-sdk 0.11.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate uniswap-v4-sdk 0.11.0 [INFO] tweaked toml for crates.io crate uniswap-v4-sdk 0.11.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate uniswap-v4-sdk 0.11.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate uniswap-v4-sdk 0.11.0 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 118380d9d9d4345a91f802db5162b3d572cd4cc943b7038ba5dcbb121c682f8b [INFO] running `Command { std: "docker" "start" "-a" "118380d9d9d4345a91f802db5162b3d572cd4cc943b7038ba5dcbb121c682f8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "118380d9d9d4345a91f802db5162b3d572cd4cc943b7038ba5dcbb121c682f8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "118380d9d9d4345a91f802db5162b3d572cd4cc943b7038ba5dcbb121c682f8b", kill_on_drop: false }` [INFO] [stdout] 118380d9d9d4345a91f802db5162b3d572cd4cc943b7038ba5dcbb121c682f8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 519cd8ca395abae56387d349c75cd0f140e907ac0e1f6652a8cf14c4882f82f2 [INFO] running `Command { std: "docker" "start" "-a" "519cd8ca395abae56387d349c75cd0f140e907ac0e1f6652a8cf14c4882f82f2", 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] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling const-hex v1.15.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling fastnum v0.2.10 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling ruint v1.16.0 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling bnum v0.12.1 [INFO] [stderr] Compiling macro-string v0.1.4 [INFO] [stderr] Compiling syn-solidity v1.3.1 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling alloy-sol-macro-input v1.3.1 [INFO] [stderr] Compiling alloy-primitives v1.3.1 [INFO] [stderr] Compiling alloy-sol-macro-expander v1.3.1 [INFO] [stderr] Compiling uniswap-sdk-core v5.2.0 [INFO] [stderr] Compiling alloy-sol-macro v1.3.1 [INFO] [stderr] Compiling alloy-sol-types v1.3.1 [INFO] [stderr] Compiling uniswap-v3-sdk v5.2.1 [INFO] [stderr] Compiling uniswap-v4-sdk v0.11.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.52s [INFO] running `Command { std: "docker" "inspect" "519cd8ca395abae56387d349c75cd0f140e907ac0e1f6652a8cf14c4882f82f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "519cd8ca395abae56387d349c75cd0f140e907ac0e1f6652a8cf14c4882f82f2", kill_on_drop: false }` [INFO] [stdout] 519cd8ca395abae56387d349c75cd0f140e907ac0e1f6652a8cf14c4882f82f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4599277f30ffef26c54e9231117a575a8b638d79d852d7df30c12bd1ab6d5ea0 [INFO] running `Command { std: "docker" "start" "-a" "4599277f30ffef26c54e9231117a575a8b638d79d852d7df30c12bd1ab6d5ea0", kill_on_drop: false }` [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling alloy-rlp-derive v0.3.12 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling syn-solidity v1.3.1 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Compiling macro-string v0.1.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling futures-utils-wasm v0.1.0 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling const-hex v1.15.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling alloy-rlp v0.3.12 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling ruint v1.16.0 [INFO] [stderr] Compiling alloy-sol-macro-input v1.3.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling alloy-sol-macro-expander v1.3.1 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling nybbles v0.4.3 [INFO] [stderr] Compiling alloy-primitives v1.3.1 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling num_enum v0.7.4 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling lru v0.13.0 [INFO] [stderr] Compiling serde_with v3.14.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling alloy-tx-macros v1.0.27 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling alloy-eip2124 v0.2.0 [INFO] [stderr] Compiling alloy-eip2930 v0.2.1 [INFO] [stderr] Compiling alloy-serde v1.0.27 [INFO] [stderr] Compiling alloy-eip7702 v0.6.1 [INFO] [stderr] Compiling alloy-trie v0.9.1 [INFO] [stderr] Compiling alloy-signer v1.0.27 [INFO] [stderr] Compiling alloy-chains v0.2.9 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling uniswap-sdk-core v5.2.0 [INFO] [stderr] Compiling alloy-hardforks v0.2.13 [INFO] [stderr] Compiling alloy-core v1.3.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling alloy-sol-macro v1.3.1 [INFO] [stderr] Compiling alloy-sol-types v1.3.1 [INFO] [stderr] Compiling alloy-eips v1.0.27 [INFO] [stderr] Compiling alloy-consensus v1.0.27 [INFO] [stderr] Compiling alloy-genesis v1.0.27 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling alloy-consensus-any v1.0.27 [INFO] [stderr] Compiling alloy-network-primitives v1.0.27 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling alloy-rpc-types-eth v1.0.27 [INFO] [stderr] Compiling alloy-json-rpc v1.0.27 [INFO] [stderr] Compiling uniswap-v3-sdk v5.2.1 [INFO] [stderr] Compiling alloy-transport v1.0.27 [INFO] [stderr] Compiling alloy-transport-http v1.0.27 [INFO] [stderr] Compiling alloy-rpc-client v1.0.27 [INFO] [stderr] Compiling uniswap-v4-sdk v0.11.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling alloy-rpc-types-any v1.0.27 [INFO] [stderr] Compiling alloy-rpc-types-anvil v1.0.27 [INFO] [stderr] Compiling alloy-network v1.0.27 [INFO] [stderr] Compiling alloy-rpc-types v1.0.27 [INFO] [stderr] Compiling alloy-signer-local v1.0.27 [INFO] [stderr] Compiling alloy-node-bindings v1.0.27 [INFO] [stderr] Compiling alloy-provider v1.0.27 [INFO] [stderr] Compiling alloy v1.0.27 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "4599277f30ffef26c54e9231117a575a8b638d79d852d7df30c12bd1ab6d5ea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4599277f30ffef26c54e9231117a575a8b638d79d852d7df30c12bd1ab6d5ea0", kill_on_drop: false }` [INFO] [stdout] 4599277f30ffef26c54e9231117a575a8b638d79d852d7df30c12bd1ab6d5ea0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5e3033ac259f845fde861a1263d3421bf1856dfe1d972c1242cfd70f46a72651 [INFO] running `Command { std: "docker" "start" "-a" "5e3033ac259f845fde861a1263d3421bf1856dfe1d972c1242cfd70f46a72651", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.46s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/uniswap_v4_sdk-c155cb092e8ced52) [INFO] [stdout] [INFO] [stdout] running 202 tests [INFO] [stdout] test entities::pool::tests::chain_id_returns_chain_id_of_currencies ... ok [INFO] [stdout] test entities::pool::tests::constructor::fee_can_be_dynamic ... ok [INFO] [stdout] test entities::pool::tests::get_pool_id_returns_correct_pool_id ... ok [INFO] [stdout] test entities::pool::tests::pool_id_is_correct ... ok [INFO] [stdout] test entities::pool::tests::pool_key_is_correct ... ok [INFO] [stdout] test entities::pool::tests::constructor::works_with_valid_arguments_for_empty_pool_medium_fee ... ok [INFO] [stdout] test entities::pool::tests::currency0_always_is_the_currency_that_sorts_before ... ok [INFO] [stdout] test entities::pool::tests::constructor::works_with_valid_arguments_for_empty_pool_lowest_fee ... ok [INFO] [stdout] test entities::pool::tests::currency1_always_is_the_currency_that_sorts_after ... ok [INFO] [stdout] test entities::pool::tests::currency0_price_returns_price_of_currency0_in_terms_of_currency1 ... ok [INFO] [stdout] test entities::pool::tests::get_pool_key_returns_correct_pool_key ... ok [INFO] [stdout] test entities::pool::tests::currency1_price_returns_price_of_currency1_in_terms_of_currency0 ... ok [INFO] [stdout] test entities::pool::tests::involves_currency_returns_true_if_currency_is_in_pool ... ok [INFO] [stdout] test entities::pool::tests::constructor::works_with_valid_arguments_for_empty_pool_highest_fee ... ok [INFO] [stdout] test entities::pool::tests::price_of::returns_price_of_currency_in_terms_of_other_currency ... ok [INFO] [stdout] test entities::pool::tests::v4_involves_token::pool_with_native_eth_and_dai ... ok [INFO] [stdout] test entities::pool::tests::swaps::get_output_amount::dai_to_usdc ... ok [INFO] [stdout] test entities::pool::tests::swaps::get_input_amount::usdc_to_dai ... ok [INFO] [stdout] test entities::position::tests::mint_amounts_with_slippage::zero_slippage::is_correct_for_positions_below ... ok [INFO] [stdout] test entities::position::tests::mint_amounts_with_slippage::zero_slippage::is_correct_for_positions_within ... ok [INFO] [stdout] test entities::pool::tests::v4_involves_token::pool_with_weth_and_dai ... ok [INFO] [stdout] test entities::route::tests::can_have_a_currency_as_both_input_and_output ... ok [INFO] [stdout] test entities::route::tests::mid_price::can_be_constructed_with_weth_as_input_on_a_eth_pool ... ok [INFO] [stdout] test entities::pool::tests::swaps::get_input_amount::dai_to_usdc ... ok [INFO] [stdout] test entities::pool::tests::swaps::get_output_amount::usdc_to_dai ... ok [INFO] [stdout] test entities::position::tests::mint_amounts_with_slippage::zero_slippage::is_correct_for_positions_above ... ok [INFO] [stdout] test entities::route::tests::mid_price::can_be_constructed_with_ether_as_output_on_a_weth_pool ... ok [INFO] [stdout] test entities::route::tests::mid_price::can_be_constructed_with_weth_as_output_on_a_eth_pool ... ok [INFO] [stdout] test entities::route::tests::mid_price::can_be_constructed_with_ether_as_input_on_a_weth_pool ... ok [INFO] [stdout] test entities::route::tests::mid_price::correct_for_1_to_0 ... ok [INFO] [stdout] test entities::route::tests::mid_price::correct_for_0_to_1_to_2 ... ok [INFO] [stdout] test entities::route::tests::mid_price::correct_for_2_to_1_to_0 ... ok [INFO] [stdout] test entities::route::tests::mid_price::is_cached ... ok [INFO] [stdout] test entities::route::tests::mid_price::correct_for_0_to_1 ... ok [INFO] [stdout] test entities::route::tests::mid_price::correct_for_1_to_eth ... ok [INFO] [stdout] test entities::route::tests::path::constructs_a_path_from_the_currencies ... ok [INFO] [stdout] test entities::route::tests::mid_price::correct_for_ether_to_0 ... ok [INFO] [stdout] test entities::route::tests::mid_price::correct_for_ether_to_0_to_1_to_eth ... ok [INFO] [stdout] test entities::route::tests::supports_ether_input ... ok [INFO] [stdout] test entities::route::tests::supports_ether_output ... ok [INFO] [stdout] test entities::route::tests::supports_trading_through_eth_weth_pools ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_in::insufficient_input_for_one_pool ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_in::respects_max_hops ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_in::respects_max_num_results ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_in::provides_best_route ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_in::no_path ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_in::works_for_ether_currency_input ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_in::works_for_ether_currency_output ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_out::no_path ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_out::insufficient_liquidity ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_out::insufficient_liquidity_in_one_pool_but_not_the_other ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_out::respects_max_hops ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_out::provides_best_route ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_out::respects_max_num_results ... ok [INFO] [stdout] test entities::trade::tests::create_unchecked_trade::can_create_an_exact_input_trade_without_simulating ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_out::works_for_ether_currency_output ... ok [INFO] [stdout] test entities::trade::tests::create_unchecked_trade::can_create_an_exact_output_trade_without_simulating ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_out::works_for_ether_currency_input ... ok [INFO] [stdout] test entities::trade::tests::create_unchecked_trade_with_multiple_routes::can_create_an_exact_input_trade_without_simulating_with_multiple_routes ... ok [INFO] [stdout] test entities::trade::tests::create_unchecked_trade_with_multiple_routes::can_create_an_exact_output_trade_without_simulating_with_multiple_routes ... ok [INFO] [stdout] test entities::pool::tests::constructor::dynamic_fee_pool_requires_hook - should panic ... ok [INFO] [stdout] test entities::pool::tests::constructor::cannot_be_given_two_of_the_same_currency - should panic ... ok [INFO] [stdout] test entities::pool::tests::constructor::cannot_be_used_for_currencies_on_different_chains - should panic ... ok [INFO] [stdout] test entities::pool::tests::constructor::fee_cannot_be_more_than_1e6 - should panic ... ok [INFO] [stdout] test entities::trade::tests::from_route::can_be_constructed_with_ether_as_input_for_exact_output ... ok [INFO] [stdout] test entities::trade::tests::from_route::can_be_constructed_with_ether_as_input_on_a_weth_pool ... ok [INFO] [stdout] test entities::trade::tests::from_route::can_be_constructed_with_ether_as_output ... ok [INFO] [stdout] test entities::trade::tests::from_route::can_be_constructed_with_ether_as_input ... ok [INFO] [stdout] test entities::trade::tests::from_route::can_be_constructed_with_ether_as_output_on_a_weth_pool ... ok [INFO] [stdout] test entities::pool::tests::price_of::throws_if_invalid_currency - should panic ... ok [INFO] [stdout] test entities::trade::tests::from_route::can_be_constructed_with_ether_as_output_for_exact_input ... ok [INFO] [stdout] test entities::trade::tests::from_route::can_be_constructed_with_weth_as_output_on_a_eth_pool ... ok [INFO] [stdout] test entities::trade::tests::from_route::can_be_constructed_with_weth_as_input_on_a_eth_pool ... ok [INFO] [stdout] test entities::trade::tests::from_routes::can_be_constructed_with_ether_as_input_with_multiple_routes ... ok [INFO] [stdout] test entities::trade::tests::from_routes::can_be_constructed_with_ether_as_input_for_exact_output_with_multiple_routes ... ok [INFO] [stdout] test entities::trade::tests::from_routes::can_be_constructed_with_ether_as_output_for_exact_input_with_multiple_routes ... ok [INFO] [stdout] test entities::route::tests::does_not_support_eth_to_weth_conversion_without_trading_through_an_eth_to_weth_pool - should panic ... ok [INFO] [stdout] test entities::route::tests::does_not_support_weth_to_eth_conversion_without_trading_through_an_eth_to_weth_pool - should panic ... ok [INFO] [stdout] test entities::trade::tests::from_routes::can_be_constructed_with_ether_as_output_with_multiple_routes ... ok [INFO] [stdout] test entities::trade::tests::maximum_amount_in::exact_input::returns_exact_if_0 ... ok [INFO] [stdout] test entities::trade::tests::maximum_amount_in::exact_input::returns_exact_if_nonzero ... ok [INFO] [stdout] test entities::trade::tests::maximum_amount_in::exact_output::returns_exact_if_0 ... ok [INFO] [stdout] test entities::trade::tests::minimum_amount_out::exact_input::returns_exact_if_0 ... ok [INFO] [stdout] test entities::trade::tests::minimum_amount_out::exact_input::returns_exact_if_nonzero ... ok [INFO] [stdout] test entities::trade::tests::minimum_amount_out::exact_output::returns_exact_if_0 ... ok [INFO] [stdout] test entities::trade::tests::maximum_amount_in::exact_output::returns_exact_if_nonzero ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_in::throws_with_max_hops_of_0 - should panic ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_in::throws_with_empty_pools - should panic ... ok [INFO] [stdout] test entities::route::tests::path::should_fail_if_the_output_is_not_in_the_last_pool - should panic ... ok [INFO] [stdout] test entities::trade::tests::from_routes::throws_if_pools_are_reused_between_routes - should panic ... ok [INFO] [stdout] test entities::trade::tests::minimum_amount_out::exact_output::returns_exact_if_nonzero ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_out::throws_with_max_hops_of_0 - should panic ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_out::throws_with_empty_pools - should panic ... ok [INFO] [stdout] test entities::trade::tests::create_unchecked_trade::throws_if_input_currency_does_not_match_route - should panic ... ok [INFO] [stdout] test entities::trade::tests::price_impact::exact_input::is_cached ... ok [INFO] [stdout] test entities::trade::tests::create_unchecked_trade::throws_if_output_currency_does_not_match_route - should panic ... ok [INFO] [stdout] test entities::trade::tests::price_impact::exact_input::is_cached_with_multiple_routes ... ok [INFO] [stdout] test entities::trade::tests::price_impact::exact_output::is_cached ... ok [INFO] [stdout] test entities::trade::tests::create_unchecked_trade_with_multiple_routes::throws_if_input_currency_does_not_match_route_with_multiple_routes - should panic ... ok [INFO] [stdout] test entities::trade::tests::price_impact::exact_output::is_cached_with_multiple_routes ... ok [INFO] [stdout] test entities::trade::tests::price_impact::exact_input::is_correct_with_multiple_routes ... ok [INFO] [stdout] test entities::trade::tests::price_impact::exact_output::is_correct ... ok [INFO] [stdout] test entities::trade::tests::price_impact::exact_output::is_correct_with_multiple_routes ... ok [INFO] [stdout] test entities::trade::tests::worst_execution_price::exact_input::returns_exact_if_0 ... ok [INFO] [stdout] test entities::trade::tests::worst_execution_price::exact_input::throws_if_less_than_0 - should panic ... ok [INFO] [stdout] test entities::trade::tests::route_and_swaps::can_access_routes_for_both_single_and_multi_route_trades ... ok [INFO] [stdout] test entities::trade::tests::worst_execution_price::exact_output::returns_exact_if_0 ... ok [INFO] [stdout] test entities::trade::tests::price_impact::exact_input::is_correct ... ok [INFO] [stdout] test entities::trade::tests::worst_execution_price::exact_output::returns_exact_if_nonzero ... ok [INFO] [stdout] test entities::trade::tests::route_and_swaps::throws_if_access_route_on_multi_route_trade - should panic ... ok [INFO] [stdout] test entities::trade::tests::route_and_swaps::can_access_route_for_single_route_trade_if_less_than_0 ... ok [INFO] [stdout] test entities::trade::tests::worst_execution_price::exact_input::returns_exact_if_nonzero_with_multiple_routes ... ok [INFO] [stdout] test entities::trade::tests::worst_execution_price::exact_input::returns_exact_if_nonzero ... ok [INFO] [stdout] test entities::trade::tests::worst_execution_price::exact_output::returns_exact_if_nonzero_with_multiple_routes ... ok [INFO] [stdout] test position_manager::tests::add_call_parameters::succeeds_for_increase ... ok [INFO] [stdout] test position_manager::tests::add_call_parameters::succeeds_for_batch_permit ... ok [INFO] [stdout] test entities::trade::tests::maximum_amount_in::exact_input::throws_if_less_than_0 - should panic ... ok [INFO] [stdout] test entities::route::tests::path::should_fail_if_the_input_is_not_in_the_first_pool - should panic ... ok [INFO] [stdout] test position_manager::tests::add_call_parameters::throws_if_pool_involves_ether_and_use_native_is_not_set - should panic ... ok [INFO] [stdout] test position_manager::tests::add_call_parameters::succeeds_for_mint ... ok [INFO] [stdout] test position_manager::tests::add_call_parameters::succeeds_when_create_pool_is_true ... ok [INFO] [stdout] test position_manager::tests::create_call_parameters::succeeds ... ok [INFO] [stdout] test position_manager::tests::create_call_parameters::succeeds_with_nonzero_hook ... ok [INFO] [stdout] test position_manager::tests::get_permit_data::succeeds ... ok [INFO] [stdout] test entities::trade::tests::worst_execution_price::exact_output::throws_if_less_than_0 - should panic ... ok [INFO] [stdout] test position_manager::tests::add_call_parameters::succeeds_when_migrate_is_true ... ok [INFO] [stdout] test position_manager::tests::add_call_parameters::throws_if_liquidity_is_0 - should panic ... ok [INFO] [stdout] test position_manager::tests::collect_call_parameters::succeeds ... ok [INFO] [stdout] test position_manager::tests::remove_call_parameters::succeeds_for_burn ... ok [INFO] [stdout] test position_manager::tests::remove_call_parameters::succeeds_for_burn_with_permit ... ok [INFO] [stdout] test position_manager::tests::add_call_parameters::succeeds_when_use_native_is_set ... ok [INFO] [stdout] test utils::hook::tests::has_donate_permissions::after_donate ... ok [INFO] [stdout] test utils::encode_route_to_path::tests::test_encodes_correct_path_when_route_has_different_input_than_route_path_input ... ok [INFO] [stdout] test utils::encode_route_to_path::tests::test_encodes_correct_path_when_route_has_different_output_than_route_path_output ... ok [INFO] [stdout] test utils::hook::tests::has_donate_permissions::before_donate ... ok [INFO] [stdout] test utils::hook::tests::has_initialize_permissions::before_initialize ... ok [INFO] [stdout] test position_manager::tests::remove_call_parameters::succeeds_for_remove_partial_liquidity ... ok [INFO] [stdout] test utils::encode_route_to_path::tests::test_encodes_correct_route_for_exact_out ... ok [INFO] [stdout] test utils::encode_route_to_path::tests::test_encodes_correct_route_for_exact_in ... ok [INFO] [stdout] test utils::hook::tests::has_liquidity_permissions::after_add_liquidity ... ok [INFO] [stdout] test utils::hook::tests::has_liquidity_permissions::after_remove_liquidity ... ok [INFO] [stdout] test utils::hook::tests::has_liquidity_permissions::before_add_liquidity ... ok [INFO] [stdout] test entities::trade::tests::minimum_amount_out::exact_input::throws_if_less_than_0 - should panic ... ok [INFO] [stdout] test utils::hook::tests::has_liquidity_permissions::before_remove_liquidity ... ok [INFO] [stdout] test utils::hook::tests::has_liquidity_permissions::non_liquidity ... ok [INFO] [stdout] test utils::hook::tests::has_permission::after_add_liquidity ... ok [INFO] [stdout] test position_manager::tests::add_call_parameters::succeeds_when_migrating_to_an_eth_position ... ok [INFO] [stdout] test entities::trade::tests::minimum_amount_out::exact_output::throws_if_less_than_0 - should panic ... ok [INFO] [stdout] test position_manager::tests::add_call_parameters::throws_if_pool_does_not_involve_ether_and_use_native_is_set - should panic ... ok [INFO] [stdout] test position_manager::tests::remove_call_parameters::throws_for_0_liquidity - should panic ... ok [INFO] [stdout] test position_manager::tests::remove_call_parameters::throws_when_burn_is_true_but_liquidity_percentage_is_not_100_percent - should panic ... ok [INFO] [stdout] test entities::trade::tests::maximum_amount_in::exact_output::throws_if_less_than_0 - should panic ... ok [INFO] [stdout] test utils::hook::tests::has_permission::after_add_liquidity_returns_delta ... ok [INFO] [stdout] test utils::hook::tests::has_permission::after_donate ... ok [INFO] [stdout] test utils::hook::tests::has_permission::after_initialize ... ok [INFO] [stdout] test utils::hook::tests::has_permission::after_remove_liquidity_returns_delta ... ok [INFO] [stdout] test utils::hook::tests::has_permission::after_swap ... ok [INFO] [stdout] test utils::hook::tests::has_permission::after_swap_returns_delta ... ok [INFO] [stdout] test utils::hook::tests::has_permission::before_donate ... ok [INFO] [stdout] test utils::hook::tests::has_permission::before_remove_liquidity ... ok [INFO] [stdout] test utils::hook::tests::has_swap_permissions::before_swap ... ok [INFO] [stdout] test utils::hook::tests::has_swap_permissions::non_swap ... ok [INFO] [stdout] test utils::hook::tests::permissions::after_donate ... ok [INFO] [stdout] test utils::hook::tests::permissions::after_initialize ... ok [INFO] [stdout] test utils::hook::tests::permissions::after_remove_liquidity_returns_delta ... ok [INFO] [stdout] test utils::hook::tests::permissions::after_swap ... ok [INFO] [stdout] test utils::hook::tests::has_permission::before_add_liquidity ... ok [INFO] [stdout] test utils::hook::tests::has_permission::before_initialize ... ok [INFO] [stdout] test utils::hook::tests::has_permission::before_swap ... ok [INFO] [stdout] test utils::hook::tests::has_permission::after_remove_liquidity ... ok [INFO] [stdout] test utils::hook::tests::has_swap_permissions::after_swap ... ok [INFO] [stdout] test utils::hook::tests::permissions::after_swap_returns_delta ... ok [INFO] [stdout] test utils::hook::tests::permissions::before_add_liquidity ... ok [INFO] [stdout] test utils::hook::tests::permissions::before_donate ... ok [INFO] [stdout] test utils::hook::tests::permissions::before_remove_liquidity ... ok [INFO] [stdout] test utils::hook::tests::permissions::before_swap_returns_delta ... ok [INFO] [stdout] test utils::hook::tests::permissions::before_swap ... ok [INFO] [stdout] test utils::v4_planner::tests::add_settle::completes_v4_settle_with_payer_is_user_as_false ... ok [INFO] [stdout] test utils::v4_planner::tests::add_settle::completes_v4_settle_with_specified_amount ... ok [INFO] [stdout] test utils::v4_planner::tests::add_take::completes_v4_take_with_specified_amount ... ok [INFO] [stdout] test utils::v4_planner::tests::add_take::completes_v4_take_without_specified_amount ... ok [INFO] [stdout] test utils::hook::tests::has_permission::before_swap_returns_delta ... ok [INFO] [stdout] test utils::hook::tests::permissions::after_add_liquidity ... ok [INFO] [stdout] test utils::v4_base_actions_parser::tests::test_parse_calldata ... ok [INFO] [stdout] test utils::v4_planner::tests::add_settle::completes_v4_settle_without_specified_amount ... ok [INFO] [stdout] test utils::hook::tests::permissions::before_initialize ... ok [INFO] [stdout] test utils::v4_planner::tests::add_trade::completes_v4_exact_in_2_hop_swap_same_results_as_add_action ... ok [INFO] [stdout] test utils::v4_planner::tests::add_trade::completes_v4_exact_out_2_hop_swap ... ok [INFO] [stdout] test utils::v4_planner::tests::add_trade::completes_v4_exact_in_2_hop_swap_route_path_input_different_than_route_input ... ok [INFO] [stdout] test position_manager::tests::add_call_parameters::throws_if_create_pool_is_true_but_there_is_no_sqrt_price_defined - should panic ... ok [INFO] [stdout] test utils::v4_planner::tests::test_add_action_encode_v4_exact_in_single_swap ... ok [INFO] [stdout] test utils::v4_planner::tests::add_trade::completes_v4_exact_out_2_hop_swap_route_path_output_different_than_route_output ... ok [INFO] [stdout] test utils::hook::tests::has_initialize_permissions::non_initialize ... ok [INFO] [stdout] test utils::v4_planner::tests::add_trade::throws_error_if_adding_exact_out_trade_without_slippage_tolerance - should panic ... ok [INFO] [stdout] test utils::v4_planner::tests::test_discriminant ... ok [INFO] [stdout] test utils::v4_planner::tests::add_trade::throws_error_if_adding_multiple_swaps_trade - should panic ... ok [INFO] [stdout] test utils::v4_planner::tests::add_unwrap::completes_v4_unwrap ... ok [INFO] [stdout] test utils::hook::tests::permissions::after_add_liquidity_returns_delta ... ok [INFO] [stdout] test utils::hook::tests::permissions::after_remove_liquidity ... ok [INFO] [stdout] test utils::hook::tests::has_donate_permissions::non_donate ... ok [INFO] [stdout] test utils::hook::tests::has_initialize_permissions::after_initialize ... ok [INFO] [stdout] test entities::trade::tests::create_unchecked_trade_with_multiple_routes::throws_if_output_currency_does_not_match_route_with_multiple_routes - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 202 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s [INFO] [stdout] [INFO] [stderr] Doc-tests uniswap_v4_sdk [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 50) ... ok [INFO] [stdout] test src/position_manager.rs - position_manager::get_permit_data (line 498) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5e3033ac259f845fde861a1263d3421bf1856dfe1d972c1242cfd70f46a72651", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e3033ac259f845fde861a1263d3421bf1856dfe1d972c1242cfd70f46a72651", kill_on_drop: false }` [INFO] [stdout] 5e3033ac259f845fde861a1263d3421bf1856dfe1d972c1242cfd70f46a72651