[INFO] fetching crate financial-calc 0.1.0-alpha.3... [INFO] testing financial-calc-0.1.0-alpha.3 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate financial-calc 0.1.0-alpha.3 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate financial-calc 0.1.0-alpha.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate financial-calc 0.1.0-alpha.3 [INFO] tweaked toml for crates.io crate financial-calc 0.1.0-alpha.3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate financial-calc 0.1.0-alpha.3 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate financial-calc 0.1.0-alpha.3 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 362f6eb9b997804365fb0d7efe3b6de98ed886c745f1fe03ba127df96c1cc5af [INFO] running `Command { std: "docker" "start" "-a" "362f6eb9b997804365fb0d7efe3b6de98ed886c745f1fe03ba127df96c1cc5af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "362f6eb9b997804365fb0d7efe3b6de98ed886c745f1fe03ba127df96c1cc5af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "362f6eb9b997804365fb0d7efe3b6de98ed886c745f1fe03ba127df96c1cc5af", kill_on_drop: false }` [INFO] [stdout] 362f6eb9b997804365fb0d7efe3b6de98ed886c745f1fe03ba127df96c1cc5af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5c39282769ed499c7b8514b854ac19d2c0314e23600c7bc31dedb7ace6b572c [INFO] running `Command { std: "docker" "start" "-a" "b5c39282769ed499c7b8514b854ac19d2c0314e23600c7bc31dedb7ace6b572c", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rust_decimal v1.40.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling cobs v0.3.0 [INFO] [stderr] Compiling postcard v1.1.3 [INFO] [stderr] Compiling precision-core v0.1.0-alpha.3 [INFO] [stderr] Compiling financial-calc v0.1.0-alpha.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.46s [INFO] running `Command { std: "docker" "inspect" "b5c39282769ed499c7b8514b854ac19d2c0314e23600c7bc31dedb7ace6b572c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5c39282769ed499c7b8514b854ac19d2c0314e23600c7bc31dedb7ace6b572c", kill_on_drop: false }` [INFO] [stdout] b5c39282769ed499c7b8514b854ac19d2c0314e23600c7bc31dedb7ace6b572c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0287846b167ce85a11d729afaba858d2065e8e78840d7fa751fcf8e4871167e [INFO] running `Command { std: "docker" "start" "-a" "c0287846b167ce85a11d729afaba858d2065e8e78840d7fa751fcf8e4871167e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling rust_decimal v1.40.0 [INFO] [stderr] Compiling precision-core v0.1.0-alpha.3 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling financial-calc v0.1.0-alpha.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rusty-fork v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling proptest v1.9.0 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.10s [INFO] running `Command { std: "docker" "inspect" "c0287846b167ce85a11d729afaba858d2065e8e78840d7fa751fcf8e4871167e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0287846b167ce85a11d729afaba858d2065e8e78840d7fa751fcf8e4871167e", kill_on_drop: false }` [INFO] [stdout] c0287846b167ce85a11d729afaba858d2065e8e78840d7fa751fcf8e4871167e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9aac04dd623dec8a84bbf9d6e82ab6aea20c719ba9ce444c2a71a05f8554d9e6 [INFO] running `Command { std: "docker" "start" "-a" "9aac04dd623dec8a84bbf9d6e82ab6aea20c719ba9ce444c2a71a05f8554d9e6", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/financial_calc-a66829f16dad6cdd) [INFO] [stdout] [INFO] [stdout] running 86 tests [INFO] [stdout] test amm::tests::test_impermanent_loss_no_price_change ... ok [INFO] [stdout] test amm::tests::test_impermanent_loss_price_increase ... ok [INFO] [stdout] test amm::tests::test_amounts_from_liquidity_roundtrip ... ok [INFO] [stdout] test amm::tests::test_liquidity_burn ... ok [INFO] [stdout] test amm::tests::test_liquidity_from_amounts_in_range ... ok [INFO] [stdout] test amm::tests::test_liquidity_mint_initial ... ok [INFO] [stdout] test amm::tests::test_liquidity_mint_proportional ... ok [INFO] [stdout] test amm::tests::test_price_impact ... ok [INFO] [stdout] test amm::tests::test_swap_output_with_fee ... ok [INFO] [stdout] test amm::tests::test_swap_output_no_fee ... ok [INFO] [stdout] test amm::tests::test_tick_positive ... ok [INFO] [stdout] test amm::tests::test_tick_zero ... ok [INFO] [stdout] test day_count::tests::test_actual_360 ... ok [INFO] [stdout] test day_count::tests::test_date_days_between ... ok [INFO] [stdout] test amm::tests::test_tick_conversion_roundtrip ... ok [INFO] [stdout] test amm::tests::test_tick_negative ... ok [INFO] [stdout] test day_count::tests::test_thirty_360_end_of_month ... ok [INFO] [stdout] test derivatives::tests::test_average_entry_price ... ok [INFO] [stdout] test day_count::tests::test_thirty_360 ... ok [INFO] [stdout] test day_count::tests::test_leap_year ... ok [INFO] [stdout] test derivatives::tests::test_funding_payment_long_positive_rate ... ok [INFO] [stdout] test derivatives::tests::test_funding_payment_short_positive_rate ... ok [INFO] [stdout] test derivatives::tests::test_funding_rate_capped ... ok [INFO] [stdout] test derivatives::tests::test_breakeven_price ... ok [INFO] [stdout] test derivatives::tests::test_effective_leverage ... ok [INFO] [stdout] test derivatives::tests::test_funding_rate_positive_premium ... ok [INFO] [stdout] test derivatives::tests::test_liquidation_price_long ... ok [INFO] [stdout] test derivatives::tests::test_long_pnl_loss ... ok [INFO] [stdout] test derivatives::tests::test_liquidation_price_short ... ok [INFO] [stdout] test derivatives::tests::test_long_pnl_profit ... ok [INFO] [stdout] test derivatives::tests::test_max_position_size ... ok [INFO] [stdout] test derivatives::tests::test_pnl_percentage ... ok [INFO] [stdout] test derivatives::tests::test_short_pnl_profit ... ok [INFO] [stdout] test interest::tests::compound_interest_monthly ... ok [INFO] [stdout] test derivatives::tests::test_required_collateral ... ok [INFO] [stdout] test interest::tests::compound_interest_annual ... ok [INFO] [stdout] test derivatives::tests::test_short_pnl_loss ... ok [INFO] [stdout] test interest::tests::compound_interest_zero_compounds ... ok [INFO] [stdout] test interest::tests::pow_checked_decimal ... ok [INFO] [stdout] test interest::tests::pow_checked_basic ... ok [INFO] [stdout] test interest::tests::simple_interest_fractional ... ok [INFO] [stdout] test interpolation::tests::test_linear_extrapolation ... ok [INFO] [stdout] test interpolation::tests::test_linear_interpolation ... ok [INFO] [stdout] test interest::tests::effective_annual_rate_continuous_approximation ... ok [INFO] [stdout] test interpolation::tests::test_cubic_spline_smooth ... ok [INFO] [stdout] test interest::tests::effective_annual_rate_monthly ... ok [INFO] [stdout] test interpolation::tests::test_cubic_spline_requires_compute ... ok [INFO] [stdout] test interest::tests::simple_interest_basic ... ok [INFO] [stdout] test interpolation::tests::test_loglinear_rejects_negative ... ok [INFO] [stdout] test options::tests::test_call_delta_bounds ... ok [INFO] [stdout] test options::tests::test_gamma_positive ... ok [INFO] [stdout] test options::tests::test_black_scholes_atm_call ... ok [INFO] [stdout] test interpolation::tests::test_loglinear_preserves_positivity ... ok [INFO] [stdout] test percentage::tests::basis_points_conversion ... ok [INFO] [stdout] test options::tests::test_normal_cdf_standard_values ... ok [INFO] [stdout] test options::tests::test_implied_volatility_recovery ... ok [INFO] [stdout] test percentage::tests::percentage_change_zero_old ... ok [INFO] [stdout] test options::tests::test_put_call_parity ... ok [INFO] [stdout] test options::tests::test_normal_cdf_symmetry ... ok [INFO] [stdout] test percentage::tests::percentage_of_basic ... ok [INFO] [stdout] test percentage::tests::percentage_change_decrease ... ok [INFO] [stdout] test percentage::tests::percentage_change_increase ... ok [INFO] [stdout] test percentage::tests::percentage_of_decimal ... ok [INFO] [stdout] test solver::tests::test_bisection ... ok [INFO] [stdout] test solver::tests::test_newton_numerical ... ok [INFO] [stdout] test solver::tests::test_brent ... ok [INFO] [stdout] test solver::tests::test_brent_vs_bisection_efficiency ... ok [INFO] [stdout] test solver::tests::test_implied_rate_from_discount ... ok [INFO] [stdout] test term_structure::tests::test_flat_structure_discount ... ok [INFO] [stdout] test solver::tests::test_secant ... ok [INFO] [stdout] test solver::tests::test_newton_sqrt2 ... ok [INFO] [stdout] test term_structure::tests::test_exp_approx ... ok [INFO] [stdout] test term_structure::tests::test_flat_structure_forward_rate ... ok [INFO] [stdout] test term_structure::tests::test_flat_structure_zero_rate ... ok [INFO] [stdout] test term_structure::tests::test_forward_rate_calculation ... ok [INFO] [stdout] test term_structure::tests::test_piecewise_extrapolation ... ok [INFO] [stdout] test term_structure::tests::test_piecewise_interpolation ... ok [INFO] [stdout] test time_value::tests::future_value_basic ... ok [INFO] [stdout] test time_value::tests::future_value_multiple_periods ... ok [INFO] [stdout] test time_value::tests::future_value_zero_periods ... ok [INFO] [stdout] test time_value::tests::npv_negative_project ... ok [INFO] [stdout] test time_value::tests::npv_positive_project ... ok [INFO] [stdout] test time_value::tests::npv_zero_rate ... ok [INFO] [stdout] test time_value::tests::present_value_basic ... ok [INFO] [stdout] test time_value::tests::present_value_multiple_periods ... ok [INFO] [stdout] test time_value::tests::pv_fv_inverse ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 86 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/properties.rs (/opt/rustwide/target/debug/deps/properties-5d8952c47d44021a) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test basis_points_100_is_one_percent ... ok [INFO] [stdout] test fv_increases_with_time ... ok [INFO] [stdout] test compound_interest_zero_rate ... ok [INFO] [stdout] test ear_exceeds_nominal ... ok [INFO] [stdout] test fv_increases_with_rate ... ok [INFO] [stdout] test fv_pv_inverse ... ok [INFO] [stdout] test compound_exceeds_simple ... ok [INFO] [stdout] test ear_increases_with_compounding ... ok [INFO] [stdout] test percentage_of_zero ... ok [INFO] [stdout] test percentage_change_double ... ok [INFO] [stdout] test percentage_of_hundred ... ok [INFO] [stdout] test percentage_change_same_value ... ok [INFO] [stdout] test pv_decreases_with_rate ... ok [INFO] [stdout] test simple_interest_positive ... ok [INFO] [stdout] test simple_interest_zero_periods ... ok [INFO] [stdout] test simple_interest_zero_rate ... ok [INFO] [stdout] test zero_rate_preserves_value ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Doc-tests financial_calc [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/derivatives.rs - derivatives (line 9) ... ok [INFO] [stdout] test src/solver.rs - solver::newton_raphson (line 49) ... ok [INFO] [stdout] test src/amm.rs - amm (line 14) ... ok [INFO] [stdout] test src/options.rs - options (line 9) ... ok [INFO] [stdout] test src/solver.rs - solver::brent (line 235) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9aac04dd623dec8a84bbf9d6e82ab6aea20c719ba9ce444c2a71a05f8554d9e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9aac04dd623dec8a84bbf9d6e82ab6aea20c719ba9ce444c2a71a05f8554d9e6", kill_on_drop: false }` [INFO] [stdout] 9aac04dd623dec8a84bbf9d6e82ab6aea20c719ba9ce444c2a71a05f8554d9e6