[INFO] cloning repository https://github.com/appCryptoCrucible/Dex-Math-Core-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/appCryptoCrucible/Dex-Math-Core-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FappCryptoCrucible%2FDex-Math-Core-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FappCryptoCrucible%2FDex-Math-Core-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8cffa14e581ad4a529a9621965ecb32cb24e41de [INFO] testing appCryptoCrucible/Dex-Math-Core-rs against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FappCryptoCrucible%2FDex-Math-Core-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/appCryptoCrucible/Dex-Math-Core-rs [INFO] finished tweaking git repo https://github.com/appCryptoCrucible/Dex-Math-Core-rs [INFO] tweaked toml for git repo https://github.com/appCryptoCrucible/Dex-Math-Core-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/appCryptoCrucible/Dex-Math-Core-rs on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/appCryptoCrucible/Dex-Math-Core-rs 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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded konst_macro_rules v0.2.19 [INFO] [stderr] Downloaded keccak-asm v0.1.6 [INFO] [stderr] Downloaded alloy-rlp v0.3.15 [INFO] [stderr] Downloaded alloy-rlp-derive v0.3.15 [INFO] [stderr] Downloaded uniswap_v3_math v0.6.2 [INFO] [stderr] Downloaded uniswap-sdk-core v6.0.0 [INFO] [stderr] Downloaded alloy-transport v1.8.3 [INFO] [stderr] Downloaded alloy-transport-http v1.8.3 [INFO] [stderr] Downloaded alloy v1.8.3 [INFO] [stderr] Downloaded alloy-sol-macro-input v1.5.7 [INFO] [stderr] Downloaded alloy-tx-macros v1.8.3 [INFO] [stderr] Downloaded alloy-rpc-types-any v1.8.3 [INFO] [stderr] Downloaded alloy-json-rpc v1.8.3 [INFO] [stderr] Downloaded alloy-sol-macro v1.5.7 [INFO] [stderr] Downloaded const_format v0.2.36 [INFO] [stderr] Downloaded alloy-rpc-types v1.8.3 [INFO] [stderr] Downloaded alloy-serde v1.8.3 [INFO] [stderr] Downloaded alloy-network-primitives v1.8.3 [INFO] [stderr] Downloaded alloy-eip7928 v0.3.4 [INFO] [stderr] Downloaded alloy-signer v1.8.3 [INFO] [stderr] Downloaded alloy-consensus-any v1.8.3 [INFO] [stderr] Downloaded alloy-trie v0.9.5 [INFO] [stderr] Downloaded konst v0.2.20 [INFO] [stderr] Downloaded alloy-sol-macro-expander v1.5.7 [INFO] [stderr] Downloaded alloy-core v1.5.7 [INFO] [stderr] Downloaded uniswap-v2-sdk v2.0.0 [INFO] [stderr] Downloaded bnum v0.12.1 [INFO] [stderr] Downloaded alloy-sol-types v1.5.7 [INFO] [stderr] Downloaded alloy-network v1.8.3 [INFO] [stderr] Downloaded uniswap-sdk-core v5.3.0 [INFO] [stderr] Downloaded alloy-rpc-client v1.8.3 [INFO] [stderr] Downloaded uniswap-v4-sdk v1.1.0 [INFO] [stderr] Downloaded alloy-chains v0.2.34 [INFO] [stderr] Downloaded alloy-contract v1.8.3 [INFO] [stderr] Downloaded syn-solidity v1.5.7 [INFO] [stderr] Downloaded alloy-primitives v0.5.4 [INFO] [stderr] Downloaded uniswap-v3-sdk v6.1.0 [INFO] [stderr] Downloaded uniswap-lens v0.15.0 [INFO] [stderr] Downloaded curve-math v0.1.0-alpha.2 [INFO] [stderr] Downloaded balancer-maths-rust v0.3.0 [INFO] [stderr] Downloaded alloy-dyn-abi v1.5.7 [INFO] [stderr] Downloaded pricelevel v0.7.0 [INFO] [stderr] Downloaded alloy-rpc-types-eth v1.8.3 [INFO] [stderr] Downloaded alloy-consensus v1.8.3 [INFO] [stderr] Downloaded hydra-amm v0.1.2 [INFO] [stderr] Downloaded alloy-provider v1.8.3 [INFO] [stderr] Downloaded fastnum v0.7.4 [INFO] [stderr] Downloaded fastnum v0.2.10 [INFO] [stderr] Downloaded orderbook-rs v0.6.2 [INFO] [stderr] Downloaded alloy-genesis v1.8.3 [INFO] [stderr] Downloaded sha3-asm v0.1.6 [INFO] [stderr] Downloaded alloy-eips v1.8.3 [INFO] [stderr] Downloaded sha3 v0.10.9 [INFO] [stderr] Downloaded tokio v1.52.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] acaaf5bed62d325294b458b70f258ebcd5b8812ac4660fd4eb6b30350aafe2aa [INFO] running `Command { std: "docker" "start" "-a" "acaaf5bed62d325294b458b70f258ebcd5b8812ac4660fd4eb6b30350aafe2aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acaaf5bed62d325294b458b70f258ebcd5b8812ac4660fd4eb6b30350aafe2aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acaaf5bed62d325294b458b70f258ebcd5b8812ac4660fd4eb6b30350aafe2aa", kill_on_drop: false }` [INFO] [stdout] acaaf5bed62d325294b458b70f258ebcd5b8812ac4660fd4eb6b30350aafe2aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10c9a7bdbaf59e5774a856a0f6c243ea7cd910d1cec53cb5e90ee50127d70e70 [INFO] running `Command { std: "docker" "start" "-a" "10c9a7bdbaf59e5774a856a0f6c243ea7cd910d1cec53cb5e90ee50127d70e70", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.185 [INFO] [stderr] Compiling typenum v1.20.0 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling winnow v1.0.2 [INFO] [stderr] Compiling keccak v0.1.6 [INFO] [stderr] Compiling toml_datetime v1.1.1+spec-1.1.0 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling const-hex v1.18.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-segmentation v1.13.2 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling ruint v1.17.2 [INFO] [stderr] Compiling konst_macro_rules v0.2.19 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling konst v0.2.20 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling foldhash v0.2.0 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling rustc-hash v2.1.2 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling hybrid-array v0.4.10 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling const_format v0.2.36 [INFO] [stderr] Compiling sha3 v0.10.9 [INFO] [stderr] Compiling bitflags v2.11.1 [INFO] [stderr] Compiling fastnum v0.7.4 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling toml_parser v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling block-buffer v0.12.0 [INFO] [stderr] Compiling crypto-common v0.2.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling fastnum v0.2.10 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling toml_edit v0.25.11+spec-1.1.0 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling digest v0.11.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling uuid v1.23.1 [INFO] [stderr] Compiling bnum v0.12.1 [INFO] [stderr] Compiling rlp-derive v0.1.0 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling sha2 v0.11.0 [INFO] [stderr] Compiling tokio v1.52.1 [INFO] [stderr] Compiling crossbeam-skiplist v0.1.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling indenter v0.3.4 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling open-fastrlp-derive v0.1.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.8.6 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling macro-string v0.1.4 [INFO] [stderr] Compiling syn-solidity v1.5.7 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling rand v0.9.4 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling num_enum_derive v0.7.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling num_enum v0.7.6 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling alloy-sol-macro-input v1.5.7 [INFO] [stderr] Compiling impl-serde v0.4.0 [INFO] [stderr] Compiling ulid v1.2.1 [INFO] [stderr] Compiling alloy-sol-macro-expander v1.5.7 [INFO] [stderr] Compiling pricelevel v0.7.0 [INFO] [stderr] Compiling rlp v0.5.2 [INFO] [stderr] Compiling alloy-primitives v0.5.4 [INFO] [stderr] Compiling derive_more v2.1.1 [INFO] [stderr] Compiling alloy-primitives v1.5.7 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling impl-codec v0.6.0 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling balancer-maths-rust v0.3.0 [INFO] [stderr] Compiling ethbloom v0.13.0 [INFO] [stderr] Compiling primitive-types v0.12.2 [INFO] [stderr] Compiling uniswap-sdk-core v6.0.0 [INFO] [stderr] Compiling uniswap-sdk-core v5.3.0 [INFO] [stderr] Compiling curve-math v0.1.0-alpha.2 [INFO] [stderr] Compiling uniswap_v3_math v0.6.2 [INFO] [stderr] Compiling alloy-sol-macro v1.5.7 [INFO] [stderr] Compiling alloy-sol-types v1.5.7 [INFO] [stderr] Compiling ethereum-types v0.14.1 [INFO] [stderr] Compiling orderbook-rs v0.6.2 [INFO] [stderr] Compiling open-fastrlp v0.1.4 [INFO] [stderr] Compiling ethabi v18.0.0 [INFO] [stderr] Compiling ethers-core v2.0.14 [INFO] [stderr] Compiling uniswap-v3-sdk v6.1.0 [INFO] [stderr] Compiling uniswap-v2-sdk v2.0.0 [INFO] [stderr] Compiling hydra-amm v0.1.2 [INFO] [stderr] Compiling uniswap-v4-sdk v1.1.0 [INFO] [stderr] Compiling dex-math-core-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `TWO` is never used [INFO] [stdout] --> src/dex/curve/math.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const TWO: U256 = U256::from_limbs([2, 0, 0, 0]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `THREE` is never used [INFO] [stdout] --> src/dex/curve/math.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | const THREE: U256 = U256::from_limbs([3, 0, 0, 0]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FOUR` is never used [INFO] [stdout] --> src/dex/curve/math.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | const FOUR: U256 = U256::from_limbs([4, 0, 0, 0]); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BPS_DENOM` is never used [INFO] [stdout] --> src/dex/curve/math.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | const BPS_DENOM: U256 = U256::from_limbs([10_000, 0, 0, 0]); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pow_u256` is never used [INFO] [stdout] --> src/dex/curve/math.rs:872:4 [INFO] [stdout] | [INFO] [stdout] 872 | fn pow_u256(base: U256, exp: usize) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `effective_fee_bps` is never used [INFO] [stdout] --> src/dex/uniswap_v4/adapter_math.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 159 | impl V4PoolSnapshot { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 160 | fn effective_fee_bps(&self) -> Result<(BasisPoints, bool), DexError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_next_initialized_tick` is never used [INFO] [stdout] --> src/dex/uniswap_v4/adapter_math.rs:513:4 [INFO] [stdout] | [INFO] [stdout] 513 | fn find_next_initialized_tick( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.79s [INFO] running `Command { std: "docker" "inspect" "10c9a7bdbaf59e5774a856a0f6c243ea7cd910d1cec53cb5e90ee50127d70e70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10c9a7bdbaf59e5774a856a0f6c243ea7cd910d1cec53cb5e90ee50127d70e70", kill_on_drop: false }` [INFO] [stdout] 10c9a7bdbaf59e5774a856a0f6c243ea7cd910d1cec53cb5e90ee50127d70e70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21cc798322f00cece188cd53c989f97bab2f02b3c43d9d6ed88bfd7837fa5724 [INFO] running `Command { std: "docker" "start" "-a" "21cc798322f00cece188cd53c989f97bab2f02b3c43d9d6ed88bfd7837fa5724", kill_on_drop: false }` [INFO] [stderr] Compiling dex-math-core-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `TWO` is never used [INFO] [stdout] --> src/dex/curve/math.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const TWO: U256 = U256::from_limbs([2, 0, 0, 0]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `THREE` is never used [INFO] [stdout] --> src/dex/curve/math.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | const THREE: U256 = U256::from_limbs([3, 0, 0, 0]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FOUR` is never used [INFO] [stdout] --> src/dex/curve/math.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | const FOUR: U256 = U256::from_limbs([4, 0, 0, 0]); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BPS_DENOM` is never used [INFO] [stdout] --> src/dex/curve/math.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | const BPS_DENOM: U256 = U256::from_limbs([10_000, 0, 0, 0]); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pow_u256` is never used [INFO] [stdout] --> src/dex/curve/math.rs:872:4 [INFO] [stdout] | [INFO] [stdout] 872 | fn pow_u256(base: U256, exp: usize) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `effective_fee_bps` is never used [INFO] [stdout] --> src/dex/uniswap_v4/adapter_math.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 159 | impl V4PoolSnapshot { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 160 | fn effective_fee_bps(&self) -> Result<(BasisPoints, bool), DexError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_next_initialized_tick` is never used [INFO] [stdout] --> src/dex/uniswap_v4/adapter_math.rs:513:4 [INFO] [stdout] | [INFO] [stdout] 513 | fn find_next_initialized_tick( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.06s [INFO] running `Command { std: "docker" "inspect" "21cc798322f00cece188cd53c989f97bab2f02b3c43d9d6ed88bfd7837fa5724", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21cc798322f00cece188cd53c989f97bab2f02b3c43d9d6ed88bfd7837fa5724", kill_on_drop: false }` [INFO] [stdout] 21cc798322f00cece188cd53c989f97bab2f02b3c43d9d6ed88bfd7837fa5724 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 913fc12da641c2e44096c00fd4d884443b4fe557bbef6d90c4df00d5c3522bbc [INFO] running `Command { std: "docker" "start" "-a" "913fc12da641c2e44096c00fd4d884443b4fe557bbef6d90c4df00d5c3522bbc", kill_on_drop: false }` [INFO] [stderr] warning: constant `TWO` is never used [INFO] [stderr] --> src/dex/curve/math.rs:29:7 [INFO] [stderr] | [INFO] [stderr] 29 | const TWO: U256 = U256::from_limbs([2, 0, 0, 0]); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `THREE` is never used [INFO] [stderr] --> src/dex/curve/math.rs:30:7 [INFO] [stderr] | [INFO] [stderr] 30 | const THREE: U256 = U256::from_limbs([3, 0, 0, 0]); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `FOUR` is never used [INFO] [stderr] --> src/dex/curve/math.rs:31:7 [INFO] [stderr] | [INFO] [stderr] 31 | const FOUR: U256 = U256::from_limbs([4, 0, 0, 0]); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `BPS_DENOM` is never used [INFO] [stderr] --> src/dex/curve/math.rs:32:7 [INFO] [stderr] | [INFO] [stderr] 32 | const BPS_DENOM: U256 = U256::from_limbs([10_000, 0, 0, 0]); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `pow_u256` is never used [INFO] [stderr] --> src/dex/curve/math.rs:872:4 [INFO] [stderr] | [INFO] [stderr] 872 | fn pow_u256(base: U256, exp: usize) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `effective_fee_bps` is never used [INFO] [stderr] --> src/dex/uniswap_v4/adapter_math.rs:160:8 [INFO] [stderr] | [INFO] [stderr] 159 | impl V4PoolSnapshot { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] 160 | fn effective_fee_bps(&self) -> Result<(BasisPoints, bool), DexError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `find_next_initialized_tick` is never used [INFO] [stderr] --> src/dex/uniswap_v4/adapter_math.rs:513:4 [INFO] [stderr] | [INFO] [stderr] 513 | fn find_next_initialized_tick( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `dex-math-core-rs` (lib) generated 7 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dex_math_core_rs-053919c3b6d352f0) [INFO] [stdout] [INFO] [stdout] running 104 tests [INFO] [stdout] test core::precision::tests::test_basis_points ... ok [INFO] [stdout] test core::precision::tests::test_mul_basis_points ... ok [INFO] [stdout] test data::curve_registry::tests::decode_fee_4bps_from_4e6 ... ok [INFO] [stdout] test data::pool_state::tests::test_v2_pool_state ... ok [INFO] [stdout] test data::kyber_pool_state::tests::test_pool_initialization ... ok [INFO] [stdout] test data::kyber_pool_state::tests::test_mint_burn_operations ... ok [INFO] [stdout] test data::pool_state::tests::test_v4_pool_state ... ok [INFO] [stdout] test data::pool_state::tests::test_v3_pool_state ... ok [INFO] [stdout] test data::curve_registry::tests::embedded_registry_parses_and_has_expected_pool_count ... ok [INFO] [stdout] test dex::adapter::tests::test_bps_conversion ... ok [INFO] [stdout] test dex::balancer::adapter_math::tests::quote_exact_input_rejects_invalid_fee ... ok [INFO] [stdout] test dex::balancer::adapter_math::tests::quote_exact_input_rejects_zero_amount ... ok [INFO] [stdout] test dex::adapter::tests::test_execution_price_calculation ... ok [INFO] [stdout] test dex::balancer::adapter_math::tests::quote_exact_input_token0_to_token1 ... ok [INFO] [stdout] test dex::balancer::adapter_math::tests::quote_exact_input_token1_to_token0 ... ok [INFO] [stdout] test dex::balancer::adapter_math::tests::snapshot_try_from_rejects_short_balances ... ok [INFO] [stdout] test dex::adapter::tests::test_invalid_percentage ... ok [INFO] [stdout] test dex::balancer::math::tests::test_calculate_balancer_price ... ok [INFO] [stdout] test dex::balancer::math::tests::test_calculate_swap_output_basic ... ok [INFO] [stdout] test dex::balancer::math::tests::test_zero_balance ... ok [INFO] [stdout] test dex::balancer::math::tests::test_zero_input ... ok [INFO] [stdout] test dex::curve::adapter_math::tests::quote_exact_input_rejects_same_token ... ok [INFO] [stdout] test dex::curve::adapter_math::tests::quote_exact_input_rejects_zero_amount ... ok [INFO] [stdout] test dex::curve::adapter_math::tests::quote_exact_input_basic ... ok [INFO] [stdout] test dex::curve::math::tests::test_calculate_d_simple ... ok [INFO] [stdout] test dex::curve::math::tests::test_calculate_d_3_token ... ok [INFO] [stdout] test dex::curve::math::tests::test_calculate_y_large_amount ... ok [INFO] [stdout] test dex::curve::math::tests::test_calculate_y_consistency_with_calculate_dy ... ok [INFO] [stdout] test dex::curve::math::tests::test_pow_u256_normal ... ok [INFO] [stdout] test dex::curve::math::tests::test_calculate_y_with_overflow_protection ... ok [INFO] [stdout] test dex::curve::math::tests::test_sqrt_u256_convergence ... ok [INFO] [stdout] test dex::curve::math::tests::test_calculate_dy ... ok [INFO] [stdout] test dex::curve::math::tests::test_sqrt_u256_precision ... ok [INFO] [stdout] test dex::curve::math::tests::test_calculate_y_2_token_simple ... ok [INFO] [stdout] test dex::curve::math::tests::test_pow_u256_overflow ... ok [INFO] [stdout] test dex::curve::math::tests::test_calculate_y_3_token ... ok [INFO] [stdout] test dex::curve::math::tests::test_sqrt_u256_edge_cases ... ok [INFO] [stdout] test dex::curve::math::tests::test_pow_u256_edge_cases ... ok [INFO] [stdout] test dex::curve::math::tests::test_calculate_d_with_overflow_protection ... ok [INFO] [stdout] test dex::curve::math::tests::test_calculate_y_small_amount ... ok [INFO] [stdout] test dex::curve::math::tests::test_sqrt_u256_used_in_calculate_y ... ok [INFO] [stdout] test dex::curve::math::tests::test_zero_balance ... ok [INFO] [stdout] test dex::kyber::adapter_math::tests::allows_fallback_when_no_crossing_proven ... ok [INFO] [stdout] test dex::kyber::adapter_math::tests::rejects_fallback_when_crossing_possible ... ok [INFO] [stdout] test dex::kyber::adapter_math::tests::crosses_ticks_when_liquidity_map_available ... ok [INFO] [stdout] test dex::kyber::adapter_math::tests::rejects_missing_initialized_ticks ... ok [INFO] [stdout] test dex::kyber::math::parity_tests::exact_input_consumes_no_more_than_specified ... ok [INFO] [stdout] test dex::kyber::math::parity_tests::exact_output_is_capped_to_requested_amount ... ok [INFO] [stdout] test dex::uniswap_v2::adapter_math::tests::quote_exact_input_rejects_invalid_fee ... ok [INFO] [stdout] test dex::uniswap_v2::adapter_math::tests::quote_exact_input_rejects_zero_amount ... ok [INFO] [stdout] test dex::uniswap_v2::adapter_math::tests::snapshot_try_from_rejects_non_v2_dex_type ... ok [INFO] [stdout] test dex::uniswap_v2::adapter_math::tests::quote_exact_input_token0_to_token1_updates_reserves ... ok [INFO] [stdout] test dex::uniswap_v3::adapter_math::tests::crosses_ticks_when_liquidity_net_available ... ok [INFO] [stdout] test dex::uniswap_v3::adapter_math::tests::fails_closed_if_crossed_tick_missing_liquidity_net ... ok [INFO] [stdout] test dex::uniswap_v3::adapter_math::tests::rejects_when_initialized_ticks_missing ... ok [INFO] [stdout] test dex::uniswap_v3::math::tests::test_calculate_v3_amount_out_token0_to_token1_small ... ok [INFO] [stdout] test dex::uniswap_v3::math::tests::test_calculate_v3_amount_out_direction_consistency ... ok [INFO] [stdout] test dex::uniswap_v3::math::tests::test_calculate_v3_amount_out_different_prices ... ok [INFO] [stdout] test dex::uniswap_v3::adapter_math::tests::rejects_single_range_fallback_when_crossing_possible ... ok [INFO] [stdout] test dex::uniswap_v3::math::tests::test_calculate_v3_amount_out_token0_to_token1_large ... ok [INFO] [stdout] test dex::uniswap_v3::math::tests::test_calculate_v3_amount_out_token1_to_token0_small ... ok [INFO] [stdout] test dex::uniswap_v2::adapter_math::tests::snapshot_try_from_uses_pancake_fee ... ok [INFO] [stdout] test dex::uniswap_v2::math::tests::test_v2_amount_out ... ok [INFO] [stdout] test dex::uniswap_v2::math::tests::test_v2_zero_amount_in ... ok [INFO] [stdout] test dex::uniswap_v2::adapter_math::tests::quote_exact_input_token1_to_token0_updates_reserves ... ok [INFO] [stdout] test dex::uniswap_v2::math::tests::test_v2_zero_reserves ... ok [INFO] [stdout] test dex::uniswap_v2::math::tests::test_v2_matches_solidity_getamountout ... ok [INFO] [stdout] test dex::uniswap_v3::adapter_math::tests::allows_single_range_fallback_when_proven_no_crossing ... ok [INFO] [stdout] test dex::uniswap_v3::math::tests::test_calculate_v3_amount_out_zero_input ... ok [INFO] [stdout] test dex::uniswap_v3::math::tests::test_calculate_v3_amount_out_zero_liquidity ... ok [INFO] [stdout] test dex::uniswap_v3::math::tests::test_calculate_v3_post_swap_state_consistency_with_amount_out ... ok [INFO] [stdout] test dex::uniswap_v3::math::tests::test_calculate_v3_post_swap_state_stays_on_tick_until_boundary ... ok [INFO] [stdout] test dex::uniswap_v3::math::tests::test_calculate_v3_post_swap_state_tick_calculation ... ok [INFO] [stdout] test dex::uniswap_v3::math::tests::test_calculate_v3_post_swap_state_tick_delta ... ok [INFO] [stdout] test dex::uniswap_v3::math::tests::test_calculate_v3_post_swap_state_token0_to_token1 ... ok [INFO] [stdout] test dex::uniswap_v3::math::tests::test_calculate_v3_post_swap_state_token1_to_token0 ... ok [INFO] [stdout] test dex::uniswap_v3::math::tests::test_calculate_v3_post_swap_state_zero_input ... ok [INFO] [stdout] test dex::uniswap_v3::math::tests::test_get_amount0_delta_rounding ... ok [INFO] [stdout] test dex::uniswap_v3::math::tests::test_get_amount1_delta_rounding ... ok [INFO] [stdout] test dex::uniswap_v3::math::tests::test_calculate_v3_post_swap_state_zero_liquidity ... ok [INFO] [stdout] test dex::uniswap_v3::math::tests::test_mul_div_rounding_up_edge_cases ... ok [INFO] [stdout] test dex::uniswap_v3::math::tests::test_mul_div_rounding_up_exact_division ... ok [INFO] [stdout] test dex::uniswap_v3::math::tests::test_mul_div_rounding_up_large_values ... ok [INFO] [stdout] test dex::uniswap_v3::math::tests::test_mul_div_rounding_up_requires_rounding ... ok [INFO] [stdout] test dex::uniswap_v3::math::tests::test_mul_div_rounding_up_vs_mul_div ... ok [INFO] [stdout] test dex::uniswap_v3::math::tests::test_reserves_to_sqrt_price_x96_identity_ratio ... ok [INFO] [stdout] test dex::uniswap_v3::math::tests::test_sqrt_price_to_tick_newton_method_convergence ... ok [INFO] [stdout] test dex::uniswap_v3::math::tests::test_sqrt_price_to_tick_newton_method_edge_cases ... ok [INFO] [stdout] test dex::uniswap_v3::math::tests::test_sqrt_price_to_tick_newton_method_fallback ... ok [INFO] [stdout] test dex::uniswap_v3::math::tests::test_sqrt_price_to_tick_newton_method_correctness ... ok [INFO] [stdout] test dex::uniswap_v3::math::tests::test_sqrt_price_to_tick_newton_method_roundtrip ... ok [INFO] [stdout] test dex::uniswap_v3::math::tests::test_sqrt_price_to_tick_strict_flooring ... ok [INFO] [stdout] test dex::uniswap_v3::math::tests::test_tick_at_zero ... ok [INFO] [stdout] test dex::uniswap_v3::math::tests::test_tick_bounds ... ok [INFO] [stdout] test dex::uniswap_v3::math::tests::test_tick_out_of_bounds ... ok [INFO] [stdout] test dex::uniswap_v3::math::tests::test_v3_price_impact_from_sqrt_prices ... ok [INFO] [stdout] test dex::uniswap_v4::adapter_math::tests::allows_deterministic_fee_override_hook_mode ... ok [INFO] [stdout] test dex::uniswap_v4::adapter_math::tests::external_adapter_enables_twamm_class_quotes ... ok [INFO] [stdout] test dex::uniswap_v4::adapter_math::tests::hook_state_enables_official_class_outputs_without_custom_adapter ... ok [INFO] [stdout] test dex::uniswap_v4::adapter_math::tests::passive_observer_hook_class_uses_core_math ... ok [INFO] [stdout] test dex::uniswap_v4::adapter_math::tests::rejects_missing_tick_liquidity_map ... ok [INFO] [stdout] test dex::uniswap_v4::adapter_math::tests::rejects_hook_state_class_mismatch ... ok [INFO] [stdout] test dex::uniswap_v4::adapter_math::tests::rejects_unsupported_hook_mode_without_deterministic_metadata ... ok [INFO] [stdout] test dex::uniswap_v4::adapter_math::tests::parity_harness_matches_canonical_within_one_wei ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 104 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/competitor_harness.rs (/opt/rustwide/target/debug/deps/competitor_harness-9a179ac2c279b66e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/curve_hydra_diff_report.rs (/opt/rustwide/target/debug/deps/curve_hydra_diff_report-8449c15d3b160d44) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/perf_harness.rs (/opt/rustwide/target/debug/deps/perf_harness-a49c6d5b2e28b081) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests dex_math_core_rs [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "913fc12da641c2e44096c00fd4d884443b4fe557bbef6d90c4df00d5c3522bbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "913fc12da641c2e44096c00fd4d884443b4fe557bbef6d90c4df00d5c3522bbc", kill_on_drop: false }` [INFO] [stdout] 913fc12da641c2e44096c00fd4d884443b4fe557bbef6d90c4df00d5c3522bbc