[INFO] fetching crate uniswap-v2-sdk 2.0.0... [INFO] testing uniswap-v2-sdk-2.0.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate uniswap-v2-sdk 2.0.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate uniswap-v2-sdk 2.0.0 [INFO] finished tweaking crates.io crate uniswap-v2-sdk 2.0.0 [INFO] tweaked toml for crates.io crate uniswap-v2-sdk 2.0.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate uniswap-v2-sdk 2.0.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate uniswap-v2-sdk 2.0.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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df26743df13a682eb2e06dad2e5ffb2571a96537606602f1c280a185fc584ef6 [INFO] running `Command { std: "docker" "start" "-a" "df26743df13a682eb2e06dad2e5ffb2571a96537606602f1c280a185fc584ef6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df26743df13a682eb2e06dad2e5ffb2571a96537606602f1c280a185fc584ef6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df26743df13a682eb2e06dad2e5ffb2571a96537606602f1c280a185fc584ef6", kill_on_drop: false }` [INFO] [stdout] df26743df13a682eb2e06dad2e5ffb2571a96537606602f1c280a185fc584ef6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4aeba18cb53f1bd40626ab79d0441c38a80c8830763fe74056da3c79fb5b4423 [INFO] running `Command { std: "docker" "start" "-a" "4aeba18cb53f1bd40626ab79d0441c38a80c8830763fe74056da3c79fb5b4423", kill_on_drop: false }` [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling const-hex v1.16.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Compiling foldhash v0.2.0 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling fastnum v0.2.10 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling ruint v1.17.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling bnum v0.12.1 [INFO] [stderr] Compiling syn-solidity v1.4.0 [INFO] [stderr] Compiling macro-string v0.1.4 [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.17 [INFO] [stderr] Compiling alloy-sol-macro-input v1.4.0 [INFO] [stderr] Compiling alloy-sol-macro-expander v1.4.0 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling alloy-primitives v1.4.0 [INFO] [stderr] Compiling alloy-sol-macro v1.4.0 [INFO] [stderr] Compiling uniswap-sdk-core v5.2.1 [INFO] [stderr] Compiling alloy-sol-types v1.4.0 [INFO] [stderr] Compiling uniswap-v2-sdk v2.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.72s [INFO] running `Command { std: "docker" "inspect" "4aeba18cb53f1bd40626ab79d0441c38a80c8830763fe74056da3c79fb5b4423", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4aeba18cb53f1bd40626ab79d0441c38a80c8830763fe74056da3c79fb5b4423", kill_on_drop: false }` [INFO] [stdout] 4aeba18cb53f1bd40626ab79d0441c38a80c8830763fe74056da3c79fb5b4423 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ad96b94f178311cfaa3cb43c7dcdef45124d8426796ed9ad01f4a6bc81ddcac [INFO] running `Command { std: "docker" "start" "-a" "0ad96b94f178311cfaa3cb43c7dcdef45124d8426796ed9ad01f4a6bc81ddcac", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling uniswap-v2-sdk v2.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.50s [INFO] running `Command { std: "docker" "inspect" "0ad96b94f178311cfaa3cb43c7dcdef45124d8426796ed9ad01f4a6bc81ddcac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ad96b94f178311cfaa3cb43c7dcdef45124d8426796ed9ad01f4a6bc81ddcac", kill_on_drop: false }` [INFO] [stdout] 0ad96b94f178311cfaa3cb43c7dcdef45124d8426796ed9ad01f4a6bc81ddcac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 77d668d9d6b02255f214f883fa787fa2b3178f9d8a26e0f99638b7775b59a7e5 [INFO] running `Command { std: "docker" "start" "-a" "77d668d9d6b02255f214f883fa787fa2b3178f9d8a26e0f99638b7775b59a7e5", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/uniswap_v2_sdk-a9b20a421ccfee0f) [INFO] [stdout] [INFO] [stdout] running 87 tests [INFO] [stdout] test entities::pair::tests::compute_pair_address::should_correctly_compute_the_pool_address ... ok [INFO] [stdout] test entities::pair::tests::pair::chain_id_returns_token0_chain_id ... ok [INFO] [stdout] test entities::pair::tests::pair::get_address_returns_correct_address ... ok [INFO] [stdout] test entities::pair::tests::compute_pair_address::should_give_same_result_regardless_of_token_order ... ok [INFO] [stdout] test entities::pair::tests::pair::constructor ... ok [INFO] [stdout] test entities::pair::tests::pair::get_input_amount_and_get_output_amount::when_calculating_fot_fees::get_output_amount_for_input_token_blasters_and_output_token_blast ... ok [INFO] [stdout] test entities::pair::tests::pair::involves_token ... ok [INFO] [stdout] test entities::pair::tests::pair::get_address_returns_default_address_for_testnet_not_in_map ... ok [INFO] [stdout] test entities::pair::tests::pair::miscellaneous::get_liquidity_minted_not_0 ... ok [INFO] [stdout] test entities::pair::tests::pair::miscellaneous::get_liquidity_value_not_fee_on ... ok [INFO] [stdout] test entities::pair::tests::pair::get_input_amount_and_get_output_amount::when_calculating_fot_fees::get_input_amount_for_input_token_blasters_and_output_token_blast ... ok [INFO] [stdout] test entities::pair::tests::pair::miscellaneous::get_liquidity_value_fee_on ... ok [INFO] [stdout] test entities::pair::tests::pair::price_of_throws_if_invalid_token ... ok [INFO] [stdout] test entities::pair::tests::pair::reserve_of_returns_correct_reserve ... ok [INFO] [stdout] test entities::pair::tests::pair::reserve_of_throws_if_not_in_the_pair ... ok [INFO] [stdout] test entities::pair::tests::pair::reserve0_always_comes_from_the_token_that_sorts_before ... ok [INFO] [stdout] test entities::pair::tests::pair::token0_always_is_the_token_that_sorts_before ... ok [INFO] [stdout] test entities::pair::tests::pair::token1_price_returns_price_of_token1_in_terms_of_token0 ... ok [INFO] [stdout] test entities::route::tests::can_have_a_token_as_both_input_and_output ... ok [INFO] [stdout] test entities::route::tests::constructs_a_path_from_the_tokens ... ok [INFO] [stdout] test entities::pair::tests::pair::token0_price_returns_price_of_token0_in_terms_of_token1 ... ok [INFO] [stdout] test entities::pair::tests::pair::token1_always_is_the_token_that_sorts_after ... 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::pair::tests::pair::miscellaneous::get_liquidity_minted_0 ... ok [INFO] [stdout] test entities::pair::tests::pair::get_input_amount_and_get_output_amount::when_not_calculating_fot_fees::get_output_amount_for_input_token_blasters_and_output_token_blast ... ok [INFO] [stdout] test entities::pair::tests::pair::get_input_amount_and_get_output_amount::when_not_calculating_fot_fees::get_input_amount_for_input_token_blasters_and_output_token_blast ... ok [INFO] [stdout] test entities::pair::tests::pair::reserve1_always_comes_from_the_token_that_sorts_after ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_in::insufficient_input_for_one_pair ... ok [INFO] [stdout] test entities::pair::tests::pair::price_of_returns_price_of_token_in_terms_of_other_token ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_in::no_path ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_in::provides_the_best_route ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_in::doesnt_throw_for_zero_liquidity_pairs ... 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::respects_max_hops ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_out::doesnt_throw_for_zero_liquidity_pairs ... 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_pair_but_not_the_other ... ok [INFO] [stdout] test entities::tests::decimals_permutation_0_9_18 ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_in::works_for_ether_currency_input ... ok [INFO] [stdout] test entities::tests::decimals_permutation_0_0_0 ... ok [INFO] [stdout] test entities::tests::decimals_permutation_18_18_18 ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_out::no_path ... 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::respects_max_num_results ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_out::works_for_ether_currency_input ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_out::respects_max_hops ... ok [INFO] [stdout] test entities::trade::tests::maximum_amount_in::exact_input::returns_exact_if_non_zero ... 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_output::returns_exact_if_0 ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_out::works_for_ether_currency_output ... ok [INFO] [stdout] test entities::trade::tests::maximum_amount_in::exact_output::returns_slippage_amount_if_non_zero ... 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_non_zero ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_out::provides_the_best_route ... ok [INFO] [stdout] test entities::trade::tests::minimum_amount_out::exact_output::returns_exact_if_0 ... ok [INFO] [stdout] test entities::trade::tests::minimum_amount_out::exact_output::returns_slippage_amount_if_non_zero ... 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_pairs - should panic ... ok [INFO] [stdout] test entities::trade::tests::new::can_be_constructed_with_ether_as_input ... 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_pairs - should panic ... ok [INFO] [stdout] test entities::trade::tests::new::can_be_constructed_with_ether_as_input_for_exact_output ... ok [INFO] [stdout] test entities::trade::tests::maximum_amount_in::exact_input::throws_if_less_than_0 - should panic ... ok [INFO] [stdout] test entities::trade::tests::minimum_amount_out::exact_input::throws_if_less_than_0 - should panic ... 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::returns_exact_if_non_zero ... ok [INFO] [stdout] test entities::trade::tests::new::can_be_constructed_with_ether_as_output ... ok [INFO] [stdout] test entities::trade::tests::minimum_amount_out::exact_output::throws_if_less_than_0 - should panic ... ok [INFO] [stdout] test entities::trade::tests::new::can_be_constructed_with_ether_as_output_for_exact_input ... ok [INFO] [stdout] test entities::trade::tests::maximum_amount_in::exact_output::throws_if_less_than_0 - should panic ... 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::worst_execution_price::exact_output::returns_slippage_amount_if_non_zero ... ok [INFO] [stdout] test entities::trade::tests::worst_execution_price::exact_output::returns_exact_if_0 ... ok [INFO] [stdout] test entities::trade::tests::worst_execution_price::exact_output::throws_if_less_than_0 - should panic ... ok [INFO] [stdout] test router::tests::exact_out::ether_to_token1 ... ok [INFO] [stdout] test router::tests::exact_in::ether_to_token1 ... ok [INFO] [stdout] test router::tests::exact_in::token0_to_token1 ... ok [INFO] [stdout] test router::tests::exact_out::token0_to_token1 ... ok [INFO] [stdout] test router::tests::exact_out::token1_to_ether ... ok [INFO] [stdout] test router::tests::fee_on_transfer::exact_in::token1_to_ether ... ok [INFO] [stdout] test router::tests::fee_on_transfer::exact_in::ether_to_token1 ... ok [INFO] [stdout] test router::tests::fee_on_transfer::exact_in::token0_to_token1 ... ok [INFO] [stdout] test router::tests::exact_in::token1_to_ether ... ok [INFO] [stdout] test router::tests::fee_on_transfer::exact_out::token0_to_token1 - should panic ... ok [INFO] [stdout] test router::tests::fee_on_transfer::exact_out::ether_to_token1 - should panic ... ok [INFO] [stdout] test router::tests::fee_on_transfer::exact_out::token1_to_ether - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 87 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] Doc-tests uniswap_v2_sdk [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 20) ... ok [INFO] [stdout] test src/entities/pair.rs - entities::pair::compute_pair_address (line 17) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.45s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "77d668d9d6b02255f214f883fa787fa2b3178f9d8a26e0f99638b7775b59a7e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77d668d9d6b02255f214f883fa787fa2b3178f9d8a26e0f99638b7775b59a7e5", kill_on_drop: false }` [INFO] [stdout] 77d668d9d6b02255f214f883fa787fa2b3178f9d8a26e0f99638b7775b59a7e5