[INFO] fetching crate uniswap-v2-sdk 1.1.0... [INFO] testing uniswap-v2-sdk-1.1.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate uniswap-v2-sdk 1.1.0 into /workspace/builds/worker-2-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate uniswap-v2-sdk 1.1.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-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] 2cb70c33f51c058bc9ced6d3685610715eb7500352d3e8f1f9a72adba85ab2cc [INFO] running `Command { std: "docker" "start" "-a" "2cb70c33f51c058bc9ced6d3685610715eb7500352d3e8f1f9a72adba85ab2cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2cb70c33f51c058bc9ced6d3685610715eb7500352d3e8f1f9a72adba85ab2cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cb70c33f51c058bc9ced6d3685610715eb7500352d3e8f1f9a72adba85ab2cc", kill_on_drop: false }` [INFO] [stdout] 2cb70c33f51c058bc9ced6d3685610715eb7500352d3e8f1f9a72adba85ab2cc [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] 2bad8568fd505a4b937385300258fb39e7beb5dfd91f59544f669d6489e5875b [INFO] running `Command { std: "docker" "start" "-a" "2bad8568fd505a4b937385300258fb39e7beb5dfd91f59544f669d6489e5875b", kill_on_drop: false }` [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling const-hex v1.14.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling bigdecimal v0.4.7 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling ruint v1.12.4 [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 alloy-sol-macro-expander v0.8.20 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling alloy-primitives v0.8.20 [INFO] [stderr] Compiling alloy-sol-macro v0.8.20 [INFO] [stderr] Compiling uniswap-sdk-core v3.6.0 [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 36.54s [INFO] running `Command { std: "docker" "inspect" "2bad8568fd505a4b937385300258fb39e7beb5dfd91f59544f669d6489e5875b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bad8568fd505a4b937385300258fb39e7beb5dfd91f59544f669d6489e5875b", kill_on_drop: false }` [INFO] [stdout] 2bad8568fd505a4b937385300258fb39e7beb5dfd91f59544f669d6489e5875b [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] 872a4b042f5b014393165b555962f83e74ec723e2f457b66b7c831f92c7b2689 [INFO] running `Command { std: "docker" "start" "-a" "872a4b042f5b014393165b555962f83e74ec723e2f457b66b7c831f92c7b2689", 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.35s [INFO] running `Command { std: "docker" "inspect" "872a4b042f5b014393165b555962f83e74ec723e2f457b66b7c831f92c7b2689", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "872a4b042f5b014393165b555962f83e74ec723e2f457b66b7c831f92c7b2689", kill_on_drop: false }` [INFO] [stdout] 872a4b042f5b014393165b555962f83e74ec723e2f457b66b7c831f92c7b2689 [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] bec4162ca4679c680056296d0900a9daeaf9771d5d3590d63b83d8f071a10cde [INFO] running `Command { std: "docker" "start" "-a" "bec4162ca4679c680056296d0900a9daeaf9771d5d3590d63b83d8f071a10cde", 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::compute_pair_address::should_correctly_compute_the_pool_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::get_address_returns_default_address_for_testnet_not_in_map ... 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::pair::chain_id_returns_token0_chain_id ... ok [INFO] [stdout] test entities::pair::tests::pair::constructor ... 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::involves_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::price_of_throws_if_invalid_token ... ok [INFO] [stdout] test entities::pair::tests::pair::miscellaneous::get_liquidity_minted_not_0 ... 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::miscellaneous::get_liquidity_minted_0 ... ok [INFO] [stdout] test entities::pair::tests::pair::miscellaneous::get_liquidity_value_fee_on ... 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::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::constructs_a_path_from_the_tokens ... 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_not_fee_on ... 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::trade::tests::best_trade_exact_in::doesnt_throw_for_zero_liquidity_pairs ... 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::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::provides_the_best_route ... 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_out::doesnt_throw_for_zero_liquidity_pairs ... 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_input ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_out::insufficient_liquidity ... 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::provides_the_best_route ... ok [INFO] [stdout] test entities::route::tests::can_have_a_token_as_both_input_and_output ... 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::insufficient_liquidity_in_one_pair_but_not_the_other ... 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::maximum_amount_in::exact_input::returns_exact_if_0 ... 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_output::returns_slippage_amount_if_non_zero ... ok [INFO] [stdout] test entities::trade::tests::best_trade_exact_out::works_for_ether_currency_output ... 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_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::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::new::can_be_constructed_with_ether_as_input_for_exact_output ... 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_empty_pairs - should panic ... 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::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::minimum_amount_out::exact_output::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::new::can_be_constructed_with_ether_as_output_for_exact_input ... 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::worst_execution_price::exact_output::returns_exact_if_0 ... 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_input::throws_if_less_than_0 - should panic ... 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::ether_to_token1 ... ok [INFO] [stdout] test entities::trade::tests::worst_execution_price::exact_input::returns_exact_if_0 ... ok [INFO] [stdout] test router::tests::exact_in::token0_to_token1 ... ok [INFO] [stdout] test router::tests::exact_out::ether_to_token1 ... ok [INFO] [stdout] test router::tests::exact_out::token0_to_token1 ... 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::exact_in::token1_to_ether ... 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_in::ether_to_token1 ... 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::token1_to_ether - should panic ... ok [INFO] [stdout] test router::tests::fee_on_transfer::exact_in::token1_to_ether ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 84 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [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.48s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bec4162ca4679c680056296d0900a9daeaf9771d5d3590d63b83d8f071a10cde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bec4162ca4679c680056296d0900a9daeaf9771d5d3590d63b83d8f071a10cde", kill_on_drop: false }` [INFO] [stdout] bec4162ca4679c680056296d0900a9daeaf9771d5d3590d63b83d8f071a10cde