[INFO] cloning repository https://github.com/wangxuefeng2023/optionPricing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wangxuefeng2023/optionPricing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangxuefeng2023%2FoptionPricing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangxuefeng2023%2FoptionPricing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e068f903a090c6f477250b35e369a4c32d55c51 [INFO] testing wangxuefeng2023/optionPricing against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangxuefeng2023%2FoptionPricing" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 63% (1261/1992) Updating files: 64% (1275/1992) Updating files: 65% (1295/1992) Updating files: 66% (1315/1992) Updating files: 67% (1335/1992) Updating files: 68% (1355/1992) Updating files: 69% (1375/1992) Updating files: 70% (1395/1992) Updating files: 71% (1415/1992) Updating files: 72% (1435/1992) Updating files: 72% (1438/1992) Updating files: 73% (1455/1992) Updating files: 74% (1475/1992) Updating files: 75% (1494/1992) Updating files: 76% (1514/1992) Updating files: 77% (1534/1992) Updating files: 78% (1554/1992) Updating files: 79% (1574/1992) Updating files: 80% (1594/1992) Updating files: 80% (1596/1992) Updating files: 81% (1614/1992) Updating files: 82% (1634/1992) Updating files: 83% (1654/1992) Updating files: 84% (1674/1992) Updating files: 85% (1694/1992) Updating files: 86% (1714/1992) Updating files: 87% (1734/1992) Updating files: 88% (1753/1992) Updating files: 89% (1773/1992) Updating files: 90% (1793/1992) Updating files: 91% (1813/1992) Updating files: 92% (1833/1992) Updating files: 93% (1853/1992) Updating files: 94% (1873/1992) Updating files: 95% (1893/1992) Updating files: 96% (1913/1992) Updating files: 97% (1933/1992) Updating files: 98% (1953/1992) Updating files: 99% (1973/1992) Updating files: 100% (1992/1992) Updating files: 100% (1992/1992), done. [INFO] started tweaking git repo https://github.com/wangxuefeng2023/optionPricing [INFO] finished tweaking git repo https://github.com/wangxuefeng2023/optionPricing [INFO] tweaked toml for git repo https://github.com/wangxuefeng2023/optionPricing written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wangxuefeng2023/optionPricing on toolchain 1ef7943ee607160a564655b6596f83670ef95df5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wangxuefeng2023/optionPricing 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" "+1ef7943ee607160a564655b6596f83670ef95df5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded statrs v0.16.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f347225287bb1892b71f44182624c180b51652c590ac41adaed037a3942e28af [INFO] running `Command { std: "docker" "start" "-a" "f347225287bb1892b71f44182624c180b51652c590ac41adaed037a3942e28af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f347225287bb1892b71f44182624c180b51652c590ac41adaed037a3942e28af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f347225287bb1892b71f44182624c180b51652c590ac41adaed037a3942e28af", kill_on_drop: false }` [INFO] [stdout] f347225287bb1892b71f44182624c180b51652c590ac41adaed037a3942e28af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e3c7fd26c7b5ef3687cc2420a469a58d7698ea5c48b3ffdd5bc4e6a936e1d54 [INFO] running `Command { std: "docker" "start" "-a" "0e3c7fd26c7b5ef3687cc2420a469a58d7698ea5c48b3ffdd5bc4e6a936e1d54", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling brotli v8.0.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling simba v0.6.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling nalgebra v0.29.0 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling statrs v0.16.1 [INFO] [stderr] Compiling option_pricing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/models/mod.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | prices[i] = s * u.powi((steps as i32 - i as i32)) * d.powi(i as i32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 58 - prices[i] = s * u.powi((steps as i32 - i as i32)) * d.powi(i as i32); [INFO] [stdout] 58 + prices[i] = s * u.powi(steps as i32 - i as i32) * d.powi(i as i32); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `optionType` should have a snake case name [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | optionType: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `option_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "0e3c7fd26c7b5ef3687cc2420a469a58d7698ea5c48b3ffdd5bc4e6a936e1d54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e3c7fd26c7b5ef3687cc2420a469a58d7698ea5c48b3ffdd5bc4e6a936e1d54", kill_on_drop: false }` [INFO] [stdout] 0e3c7fd26c7b5ef3687cc2420a469a58d7698ea5c48b3ffdd5bc4e6a936e1d54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1d6da9c9be04fc5fc4c2c93b88df6c3f1375dadf6a73810ba06f328f9897432 [INFO] running `Command { std: "docker" "start" "-a" "e1d6da9c9be04fc5fc4c2c93b88df6c3f1375dadf6a73810ba06f328f9897432", kill_on_drop: false }` [INFO] [stderr] Compiling option_pricing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/models/mod.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | prices[i] = s * u.powi((steps as i32 - i as i32)) * d.powi(i as i32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 58 - prices[i] = s * u.powi((steps as i32 - i as i32)) * d.powi(i as i32); [INFO] [stdout] 58 + prices[i] = s * u.powi(steps as i32 - i as i32) * d.powi(i as i32); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `optionType` should have a snake case name [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | optionType: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `option_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.29s [INFO] running `Command { std: "docker" "inspect" "e1d6da9c9be04fc5fc4c2c93b88df6c3f1375dadf6a73810ba06f328f9897432", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1d6da9c9be04fc5fc4c2c93b88df6c3f1375dadf6a73810ba06f328f9897432", kill_on_drop: false }` [INFO] [stdout] e1d6da9c9be04fc5fc4c2c93b88df6c3f1375dadf6a73810ba06f328f9897432 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 093698dac52145e6e6456a7036a77a7b6b755c528a0bf3cbb4183a27c723191e [INFO] running `Command { std: "docker" "start" "-a" "093698dac52145e6e6456a7036a77a7b6b755c528a0bf3cbb4183a27c723191e", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around method argument [INFO] [stdout] [INFO] [stderr] --> src/models/mod.rs:58:32 [INFO] [stdout] running 7 tests [INFO] [stderr] | [INFO] [stdout] test models::tests::test_black_scholes_call ... ok [INFO] [stderr] 58 | prices[i] = s * u.powi((steps as i32 - i as i32)) * d.powi(i as i32); [INFO] [stdout] test models::tests::test_digital_option_call ... ok [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 58 - prices[i] = s * u.powi((steps as i32 - i as i32)) * d.powi(i as i32); [INFO] [stderr] 58 + prices[i] = s * u.powi(steps as i32 - i as i32) * d.powi(i as i32); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: structure field `optionType` should have a snake case name [INFO] [stderr] --> src/main.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | optionType: String, [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `option_type` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `option_pricing` (bin "option_pricing" test) generated 2 warnings (run `cargo fix --bin "option_pricing" -p option_pricing --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/option_pricing-7fd5cb4409ee6fb2) [INFO] [stdout] test models::tests::test_crr_binomial_call ... ok [INFO] [stdout] test models::tests::test_crr_binomial_american_call ... ok [INFO] [stdout] test models::tests::test_monte_carlo_call ... ok [INFO] [stdout] test models::tests::test_barrier_option_mc_call_knock_in ... ok [INFO] [stdout] test models::tests::test_asian_arithmetic_mc_call ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.09s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "093698dac52145e6e6456a7036a77a7b6b755c528a0bf3cbb4183a27c723191e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "093698dac52145e6e6456a7036a77a7b6b755c528a0bf3cbb4183a27c723191e", kill_on_drop: false }` [INFO] [stdout] 093698dac52145e6e6456a7036a77a7b6b755c528a0bf3cbb4183a27c723191e