[INFO] fetching crate uniswap-v2-sdk 1.1.0... [INFO] testing uniswap-v2-sdk-1.1.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate uniswap-v2-sdk 1.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate uniswap-v2-sdk 1.1.0 [INFO] finished tweaking crates.io crate uniswap-v2-sdk 1.1.0 [INFO] tweaked toml for crates.io crate uniswap-v2-sdk 1.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate uniswap-v2-sdk 1.1.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate uniswap-v2-sdk 1.1.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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn-solidity v0.8.20 [INFO] [stderr] Downloaded bigdecimal v0.4.7 [INFO] [stderr] Downloaded alloy-sol-types v0.8.20 [INFO] [stderr] Downloaded alloy-primitives v0.8.20 [INFO] [stderr] Downloaded alloy-sol-macro-input v0.8.20 [INFO] [stderr] Downloaded alloy-sol-macro v0.8.20 [INFO] [stderr] Downloaded proptest v1.5.0 [INFO] [stderr] Downloaded uniswap-sdk-core v3.6.0 [INFO] [stderr] Downloaded ruint v1.12.4 [INFO] [stderr] Downloaded alloy-sol-macro-expander v0.8.20 [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41e780b56827b9b6b3424f53e976e00e635ee2e00e1d92eecf7818c58817a914 [INFO] running `Command { std: "docker" "start" "-a" "41e780b56827b9b6b3424f53e976e00e635ee2e00e1d92eecf7818c58817a914", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41e780b56827b9b6b3424f53e976e00e635ee2e00e1d92eecf7818c58817a914", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41e780b56827b9b6b3424f53e976e00e635ee2e00e1d92eecf7818c58817a914", kill_on_drop: false }` [INFO] [stdout] 41e780b56827b9b6b3424f53e976e00e635ee2e00e1d92eecf7818c58817a914 [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5df07e9c5d2cddd3626d67eb8b09488a124d4e6add0f5f2a4097161b6099c00 [INFO] running `Command { std: "docker" "start" "-a" "c5df07e9c5d2cddd3626d67eb8b09488a124d4e6add0f5f2a4097161b6099c00", kill_on_drop: false }` [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling const-hex v1.14.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling bigdecimal v0.4.7 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling ruint v1.12.4 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling syn-solidity v0.8.20 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling alloy-sol-macro-input v0.8.20 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling alloy-sol-macro-expander v0.8.20 [INFO] [stderr] Compiling alloy-primitives v0.8.20 [INFO] [stderr] Compiling uniswap-sdk-core v3.6.0 [INFO] [stderr] Compiling alloy-sol-macro v0.8.20 [INFO] [stderr] Compiling alloy-sol-types v0.8.20 [INFO] [stderr] Compiling uniswap-v2-sdk v1.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.71s [INFO] running `Command { std: "docker" "inspect" "c5df07e9c5d2cddd3626d67eb8b09488a124d4e6add0f5f2a4097161b6099c00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5df07e9c5d2cddd3626d67eb8b09488a124d4e6add0f5f2a4097161b6099c00", kill_on_drop: false }` [INFO] [stdout] c5df07e9c5d2cddd3626d67eb8b09488a124d4e6add0f5f2a4097161b6099c00 [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f967a52e111dadf6b9e5a5b3484d4952da514b649ca112f9c0d1049fd7d8a5a6 [INFO] running `Command { std: "docker" "start" "-a" "f967a52e111dadf6b9e5a5b3484d4952da514b649ca112f9c0d1049fd7d8a5a6", kill_on_drop: false }` [INFO] [stderr] Compiling uniswap-v2-sdk v1.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.52s [INFO] running `Command { std: "docker" "inspect" "f967a52e111dadf6b9e5a5b3484d4952da514b649ca112f9c0d1049fd7d8a5a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f967a52e111dadf6b9e5a5b3484d4952da514b649ca112f9c0d1049fd7d8a5a6", kill_on_drop: false }` [INFO] [stdout] f967a52e111dadf6b9e5a5b3484d4952da514b649ca112f9c0d1049fd7d8a5a6 [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c5070f9b6cea5eccd07ac0e8e33d2d816b0404c86b2ce60b299b526e8fc80b63 [INFO] running `Command { std: "docker" "start" "-a" "c5070f9b6cea5eccd07ac0e8e33d2d816b0404c86b2ce60b299b526e8fc80b63", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/uniswap_v2_sdk-8d3f123aa4f8cbca) [INFO] [stdout] [INFO] [stdout] running 84 tests [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::chain_id_returns_token0_chain_id ... 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::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::get_address_returns_correct_address ... ok [INFO] [stdout] test entities::pair::tests::compute_pair_address::should_correctly_compute_the_pool_address ... ok [INFO] [stdout] test entities::pair::tests::pair::constructor ... 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::involves_token ... 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_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::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::price_of_returns_price_of_token_in_terms_of_other_token ... ok [INFO] [stdout] test entities::pair::tests::pair::price_of_throws_if_invalid_token ... 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::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::reserve1_always_comes_from_the_token_that_sorts_after ... ok [INFO] [stdout] test entities::pair::tests::pair::reserve_of_returns_correct_reserve ... 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::trade::tests::best_trade_exact_in::doesnt_throw_for_zero_liquidity_pairs ... ok [INFO] [stdout] test entities::pair::tests::pair::reserve_of_throws_if_not_in_the_pair ... 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::trade::tests::best_trade_exact_in::respects_max_hops ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_in::no_path ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_in::respects_max_num_results ... ok [INFO] [stdout] test entities::route::tests::supports_ether_output ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_out::insufficient_liquidity ... 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_in_one_pair_but_not_the_other ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_in::insufficient_input_for_one_pair ... 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_out::respects_max_num_results ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_out::no_path ... 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_the_best_route ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_out::works_for_ether_currency_output ... 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_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::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::minimum_amount_out::exact_input::returns_exact_if_0 ... 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_non_zero ... 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_empty_pairs - should panic ... 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_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::best_trade_exact_out::throws_with_max_hops_of_0 - should panic ... ok [INFO] [stdout] test entities::trade::tests::new::can_be_constructed_with_ether_as_input ... 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::maximum_amount_in::exact_output::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::new::can_be_constructed_with_ether_as_output ... ok [INFO] [stdout] test entities::trade::tests::worst_execution_price::exact_input::returns_exact_if_non_zero ... 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 router::tests::exact_in::ether_to_token1 ... ok [INFO] [stdout] test router::tests::exact_out::ether_to_token1 ... ok [INFO] [stdout] test entities::trade::tests::worst_execution_price::exact_input::throws_if_less_than_0 - should panic ... ok [INFO] [stdout] test router::tests::exact_in::token1_to_ether ... ok [INFO] [stdout] test router::tests::exact_out::token0_to_token1 ... 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_in::token0_to_token1 ... ok [INFO] [stdout] test entities::trade::tests::worst_execution_price::exact_output::returns_slippage_amount_if_non_zero ... ok [INFO] [stdout] test router::tests::fee_on_transfer::exact_in::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 entities::trade::tests::worst_execution_price::exact_output::returns_exact_if_0 ... 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. 84 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] Doc-tests uniswap_v2_sdk [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/entities/pair.rs - entities::pair::compute_pair_address (line 18) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c5070f9b6cea5eccd07ac0e8e33d2d816b0404c86b2ce60b299b526e8fc80b63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5070f9b6cea5eccd07ac0e8e33d2d816b0404c86b2ce60b299b526e8fc80b63", kill_on_drop: false }` [INFO] [stdout] c5070f9b6cea5eccd07ac0e8e33d2d816b0404c86b2ce60b299b526e8fc80b63