[INFO] cloning repository https://github.com/malik672/uniswap-sdk-core-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/malik672/uniswap-sdk-core-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmalik672%2Funiswap-sdk-core-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmalik672%2Funiswap-sdk-core-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 42b321d9889f8781bd8e13fe996544f66865fc62 [INFO] testing malik672/uniswap-sdk-core-rust/42b321d9889f8781bd8e13fe996544f66865fc62 against master#ebf0cf75d368c035f4c7e7246d203bd469ee4a51 for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmalik672%2Funiswap-sdk-core-rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/malik672/uniswap-sdk-core-rust on toolchain ebf0cf75d368c035f4c7e7246d203bd469ee4a51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/malik672/uniswap-sdk-core-rust [INFO] finished tweaking git repo https://github.com/malik672/uniswap-sdk-core-rust [INFO] tweaked toml for git repo https://github.com/malik672/uniswap-sdk-core-rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 178 packages to latest compatible versions [INFO] [stderr] Adding bnum v0.12.1 (available: v0.13.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded alloy-rlp v0.3.11 [INFO] [stderr] Downloaded eth_checksum v0.1.2 [INFO] [stderr] Downloaded base64ct v1.7.3 [INFO] [stderr] Downloaded semver-parser v0.10.3 [INFO] [stderr] Downloaded fastrlp v0.4.0 [INFO] [stderr] Downloaded byte-slice-cast v1.2.3 [INFO] [stderr] Downloaded ruint v1.13.1 [INFO] [stderr] Downloaded bnum v0.12.1 [INFO] [stderr] Downloaded fastnum v0.2.2 [INFO] [stderr] Downloaded alloy-primitives v0.8.23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22b4f9de130f7360efaf646a796fba81c103d950687f956c070bcbf90a2e6964 [INFO] running `Command { std: "docker" "start" "-a" "22b4f9de130f7360efaf646a796fba81c103d950687f956c070bcbf90a2e6964", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22b4f9de130f7360efaf646a796fba81c103d950687f956c070bcbf90a2e6964", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22b4f9de130f7360efaf646a796fba81c103d950687f956c070bcbf90a2e6964", kill_on_drop: false }` [INFO] [stdout] 22b4f9de130f7360efaf646a796fba81c103d950687f956c070bcbf90a2e6964 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f28e58eac1fe21ca56c98dfdbe86e8cb3a05583bf542d493c08001399904a129 [INFO] running `Command { std: "docker" "start" "-a" "f28e58eac1fe21ca56c98dfdbe86e8cb3a05583bf542d493c08001399904a129", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling const-hex v1.14.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling fastnum v0.2.2 [INFO] [stderr] Compiling ruint v1.13.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling bnum v0.12.1 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling alloy-primitives v0.8.23 [INFO] [stderr] Compiling uniswap-sdk-core v4.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.34s [INFO] running `Command { std: "docker" "inspect" "f28e58eac1fe21ca56c98dfdbe86e8cb3a05583bf542d493c08001399904a129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f28e58eac1fe21ca56c98dfdbe86e8cb3a05583bf542d493c08001399904a129", kill_on_drop: false }` [INFO] [stdout] f28e58eac1fe21ca56c98dfdbe86e8cb3a05583bf542d493c08001399904a129 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c26e405bcbf59c07430390cce36f505708a50b4455d1fce0629470b5987f766e [INFO] running `Command { std: "docker" "start" "-a" "c26e405bcbf59c07430390cce36f505708a50b4455d1fce0629470b5987f766e", kill_on_drop: false }` [INFO] [stderr] Compiling uniswap-sdk-core v4.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.29s [INFO] running `Command { std: "docker" "inspect" "c26e405bcbf59c07430390cce36f505708a50b4455d1fce0629470b5987f766e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c26e405bcbf59c07430390cce36f505708a50b4455d1fce0629470b5987f766e", kill_on_drop: false }` [INFO] [stdout] c26e405bcbf59c07430390cce36f505708a50b4455d1fce0629470b5987f766e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5d5a61ee55afffa96ceab901059508636021c0fe020424297ca111a82b27a4f0 [INFO] running `Command { std: "docker" "start" "-a" "5d5a61ee55afffa96ceab901059508636021c0fe020424297ca111a82b27a4f0", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/uniswap_sdk_core-c8496f9e62eb0242) [INFO] [stdout] [INFO] [stdout] running 90 tests [INFO] [stdout] test addresses::tests::test_swap_router_02_addresses_arbritum_goerli ... ok [INFO] [stdout] test addresses::tests::test_swap_router_02_addresses_base ... ok [INFO] [stdout] test addresses::tests::test_swap_router_02_addresses_avalanche ... ok [INFO] [stdout] test addresses::tests::test_swap_router_02_addresses_base_goerli ... ok [INFO] [stdout] test addresses::tests::test_swap_router_02_addresses_bnb ... ok [INFO] [stdout] test addresses::tests::test_swap_router_02_addresses_optimism_sepolia ... ok [INFO] [stdout] test addresses::tests::test_swap_router_02_addresses_sepolia ... ok [INFO] [stdout] test entities::currency::tests::equals_ether_is_not_token0 ... ok [INFO] [stdout] test entities::currency::tests::equals_ether_on_same_chains_is_ether ... ok [INFO] [stdout] test entities::currency::tests::equals_token0_is_equal_to_another_token0 ... ok [INFO] [stdout] test entities::currency::tests::equals_token0_is_token0 ... ok [INFO] [stdout] test entities::currency::tests::equals_token1_is_not_token0 ... ok [INFO] [stdout] test entities::ether::tests::test_caches_once_per_chain_id ... ok [INFO] [stdout] test entities::ether::tests::test_equals_returns_false_for_different_chains ... ok [INFO] [stdout] test entities::ether::tests::test_equals_returns_true_for_same_chains ... ok [INFO] [stdout] test entities::ether::tests::test_static_constructor_uses_cache ... ok [INFO] [stdout] test entities::fractions::currency_amount::tests::test_constructor ... ok [INFO] [stdout] test entities::fractions::currency_amount::tests::test_ether ... ok [INFO] [stdout] test addresses::tests::test_swap_router_02_addresses_blast ... ok [INFO] [stdout] test entities::fractions::currency_amount::tests::test_quotient ... ok [INFO] [stdout] test entities::fractions::currency_amount::tests::test_token_amount_max_uint256 ... ok [INFO] [stdout] test entities::fractions::currency_amount::tests::test_token_amount_numerator_gt_uint256 ... ok [INFO] [stdout] test entities::fractions::currency_amount::tests::to_fixed_0_decimals ... ok [INFO] [stdout] test entities::fractions::currency_amount::tests::to_fixed_decimals_exceeds_currency_decimals ... ok [INFO] [stdout] test entities::fractions::currency_amount::tests::to_fixed_18_decimals ... ok [INFO] [stdout] test entities::fractions::currency_amount::tests::to_significant_0_decimals ... ok [INFO] [stdout] test entities::fractions::currency_amount::tests::to_significant_does_not_throw ... ok [INFO] [stdout] test entities::fractions::fraction::tests::test_as_faction ... ok [INFO] [stdout] test entities::fractions::fraction::tests::test_add ... ok [INFO] [stdout] test entities::fractions::fraction::tests::test_divide ... ok [INFO] [stdout] test entities::fractions::fraction::tests::test_invert ... ok [INFO] [stdout] test entities::fractions::fraction::tests::test_greater_than ... ok [INFO] [stdout] test entities::fractions::currency_amount::tests::to_exact_18_decimals ... ok [INFO] [stdout] test entities::fractions::fraction::tests::test_equal_to ... ok [INFO] [stdout] test entities::fractions::currency_amount::tests::to_exact_does_not_throw ... ok [INFO] [stdout] test entities::fractions::fraction::tests::test_less_than ... ok [INFO] [stdout] test entities::fractions::fraction::tests::test_quotient ... ok [INFO] [stdout] test entities::fractions::currency_amount::tests::to_significant_18_decimals ... ok [INFO] [stdout] test entities::fractions::currency_amount::tests::to_exact_0_decimals ... ok [INFO] [stdout] test entities::fractions::fraction::tests::test_remainder ... ok [INFO] [stdout] test entities::fractions::fraction::tests::test_subtract ... ok [INFO] [stdout] test entities::fractions::percent::tests::test_add ... ok [INFO] [stdout] test entities::fractions::percent::tests::test_divide ... ok [INFO] [stdout] test entities::fractions::percent::tests::test_multiply ... ok [INFO] [stdout] test entities::fractions::fraction::tests::test_multiply ... ok [INFO] [stdout] test entities::fractions::percent::tests::test_to_fixed ... ok [INFO] [stdout] test entities::fractions::percent::tests::test_to_significant ... ok [INFO] [stdout] test entities::fractions::percent::tests::test_subtract ... ok [INFO] [stdout] test entities::fractions::price::test::constructor::array_format_works ... ok [INFO] [stdout] test entities::fractions::price::test::test_quote_returns_correct_value ... ok [INFO] [stdout] test entities::fractions::price::test::constructor::object_format_works ... ok [INFO] [stdout] test entities::fractions::price::test::to_significant::no_decimals ... ok [INFO] [stdout] test entities::token::tests::test_diff_name ... ok [INFO] [stdout] test entities::fractions::price::test::to_significant::with_decimal_difference_flipped_base_quote_flipped ... ok [INFO] [stdout] test entities::fractions::price::test::to_significant::with_decimal_difference ... ok [INFO] [stdout] test entities::token::tests::test_diff_symbol ... ok [INFO] [stdout] test entities::fractions::price::test::to_significant::no_decimals_flip_ratio ... ok [INFO] [stdout] test entities::fractions::price::test::to_significant::with_decimal_difference_flipped ... ok [INFO] [stdout] test utils::sorted_insert::tests::test_add_if_empty ... ok [INFO] [stdout] test utils::compute_zksync_create2_address::tests::test_compute_zksync_create2_address ... ok [INFO] [stdout] test entities::token::tests::test_expect_revert_overflow_dec ... ok [INFO] [stdout] test entities::token::tests::test_false_if_diff_address ... ok [INFO] [stdout] test entities::token::tests::test_false_if_diff_chain_id ... ok [INFO] [stdout] test entities::token::tests::test_token ... ok [INFO] [stdout] test utils::sorted_insert::tests::test_add_if_not_full ... ok [INFO] [stdout] test entities::token::tests::test_true_if_diff_decimals ... ok [INFO] [stdout] test entities::token::tests::test_true_if_one_token_is_checksummed_and_the_other_is_not ... ok [INFO] [stdout] test entities::token::tests::test_true_if_same_address ... ok [INFO] [stdout] test entities::token::tests::test_true_on_reference_equality ... ok [INFO] [stdout] test entities::token::tests::test_assert_both_tokens ... ok [INFO] [stdout] test utils::sorted_insert::tests::test_max_size_of_1_full_add_greater ... ok [INFO] [stdout] test utils::sorted_insert::tests::test_max_size_of_1_empty_add ... ok [INFO] [stdout] test utils::compute_price_impact::tests::test_compute_price_impact ... ok [INFO] [stdout] test utils::sorted_insert::tests::test_max_size_of_1_full_add_lesser ... ok [INFO] [stdout] test utils::sorted_insert::tests::test_remove_from_end_if_full ... ok [INFO] [stdout] test utils::sorted_insert::tests::test_return_add_if_sorts_after_last ... ok [INFO] [stdout] test utils::sqrt::tests::test_sqrt_max_uint256 ... ok [INFO] [stdout] test utils::types::tests::test_decimal_to_big ... ok [INFO] [stdout] test utils::types::tests::test_signed_to_big ... ok [INFO] [stdout] test utils::types::tests::test_uint_from_big ... ok [INFO] [stdout] test utils::types::tests::test_signed_from_big ... ok [INFO] [stdout] test utils::sorted_insert::tests::test_add_if_will_not_be_full_after ... ok [INFO] [stdout] test utils::sorted_insert::tests::test_uses_comparator ... ok [INFO] [stdout] test utils::sqrt::tests::test_sqrt_0_1000 ... ok [INFO] [stdout] test utils::types::tests::test_uint_to_big ... ok [INFO] [stdout] test utils::sqrt::tests::test_sqrt_2_powers ... ok [INFO] [stdout] test entities::fractions::currency_amount::tests::test_token_amount_exceeds_max_uint256 - should panic ... ok [INFO] [stdout] test entities::fractions::currency_amount::tests::test_token_amount_quotient_exceeds_max_uint256 - should panic ... ok [INFO] [stdout] test utils::sorted_insert::tests::test_length_greater_than_max_size - should panic ... ok [INFO] [stdout] test utils::sorted_insert::tests::test_max_size_zero - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 90 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Doc-tests uniswap_sdk_core [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 22) ... ok [INFO] [stdout] test src/entities/token.rs - entities::token::token (line 116) ... ok [INFO] [stdout] test src/lib.rs - (line 38) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5d5a61ee55afffa96ceab901059508636021c0fe020424297ca111a82b27a4f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d5a61ee55afffa96ceab901059508636021c0fe020424297ca111a82b27a4f0", kill_on_drop: false }` [INFO] [stdout] 5d5a61ee55afffa96ceab901059508636021c0fe020424297ca111a82b27a4f0