[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/5e068f903a090c6f477250b35e369a4c32d55c51 against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739-1
[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:  60% (1209/1992)
Updating files:  61% (1216/1992)
Updating files:  62% (1236/1992)
Updating files:  63% (1255/1992)
Updating files:  64% (1275/1992)
Updating files:  65% (1295/1992)
Updating files:  66% (1315/1992)
Updating files:  67% (1335/1992)
Updating files:  67% (1348/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% (1450/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:  77% (1541/1992)
Updating files:  78% (1554/1992)
Updating files:  79% (1574/1992)
Updating files:  80% (1594/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 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/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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded simba v0.6.0
[INFO] [stderr]   Downloaded nalgebra-macros v0.1.0
[INFO] [stderr]   Downloaded statrs v0.16.1
[INFO] [stderr]   Downloaded cfg-if v1.0.1
[INFO] [stderr]   Downloaded rustc-demangle v0.1.25
[INFO] [stderr]   Downloaded actix-service v2.0.3
[INFO] [stderr]   Downloaded redox_syscall v0.5.13
[INFO] [stderr]   Downloaded actix-server v2.6.0
[INFO] [stderr]   Downloaded slab v0.4.10
[INFO] [stderr]   Downloaded bytemuck v1.23.1
[INFO] [stderr]   Downloaded indexmap v2.10.0
[INFO] [stderr]   Downloaded io-uring v0.7.8
[INFO] [stderr]   Downloaded cc v1.2.29
[INFO] [stderr]   Downloaded rand v0.9.1
[INFO] [stderr]   Downloaded tokio-util v0.7.15
[INFO] [stderr]   Downloaded hashbrown v0.15.4
[INFO] [stderr]   Downloaded actix-http v3.11.0
[INFO] [stderr]   Downloaded brotli-decompressor v5.0.0
[INFO] [stderr]   Downloaded actix-web v4.11.0
[INFO] [stderr]   Downloaded nalgebra v0.29.0
[INFO] [stderr]   Downloaded libc v0.2.174
[INFO] [stderr]   Downloaded brotli v8.0.1
[INFO] [stderr]   Downloaded tokio v1.46.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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 989ac0090d692dee1ea5d09fee0acc52f499cbf585c5e9435d68350b839d4674
[INFO] running `Command { std: "docker" "start" "-a" "989ac0090d692dee1ea5d09fee0acc52f499cbf585c5e9435d68350b839d4674", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "989ac0090d692dee1ea5d09fee0acc52f499cbf585c5e9435d68350b839d4674", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "989ac0090d692dee1ea5d09fee0acc52f499cbf585c5e9435d68350b839d4674", kill_on_drop: false }`
[INFO] [stdout] 989ac0090d692dee1ea5d09fee0acc52f499cbf585c5e9435d68350b839d4674
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3aef0b175ef8f4b42526c9b38fa3ad9503ae0538ffc6cc05ad7068b064532bd0
[INFO] running `Command { std: "docker" "start" "-a" "3aef0b175ef8f4b42526c9b38fa3ad9503ae0538ffc6cc05ad7068b064532bd0", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling bytemuck v1.23.1
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling local-waker v0.1.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling matrixmultiply v0.3.10
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling hashbrown v0.15.4
[INFO] [stderr]    Compiling safe_arch v0.7.4
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling regex-lite v0.1.6
[INFO] [stderr]    Compiling deranged v0.4.0
[INFO] [stderr]    Compiling brotli-decompressor v5.0.0
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling wide v0.7.33
[INFO] [stderr]    Compiling bytestring v1.4.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling cc v1.2.29
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling actix-utils v3.0.1
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling tokio v1.46.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling actix-service v2.0.3
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling slab v0.4.10
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling sha1 v0.10.6
[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 flate2 v1.1.2
[INFO] [stderr]    Compiling rand_distr v0.4.3
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling brotli v8.0.1
[INFO] [stderr]    Compiling local-channel v0.1.5
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling language-tags v0.3.2
[INFO] [stderr]    Compiling impl-more v0.1.9
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]    Compiling nalgebra-macros v0.1.0
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling nalgebra v0.29.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling actix-rt v2.10.0
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling actix-server v2.6.0
[INFO] [stderr]    Compiling actix-codec v0.5.2
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling zstd v0.13.3
[INFO] [stderr]    Compiling derive_more v2.0.1
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling actix-http v3.11.0
[INFO] [stderr]    Compiling statrs v0.16.1
[INFO] [stderr]    Compiling actix-web v4.11.0
[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 32s
[INFO] running `Command { std: "docker" "inspect" "3aef0b175ef8f4b42526c9b38fa3ad9503ae0538ffc6cc05ad7068b064532bd0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3aef0b175ef8f4b42526c9b38fa3ad9503ae0538ffc6cc05ad7068b064532bd0", kill_on_drop: false }`
[INFO] [stdout] 3aef0b175ef8f4b42526c9b38fa3ad9503ae0538ffc6cc05ad7068b064532bd0
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 30a017f1b3d74f507785a0109959e9450f418f24e228f7cf73c789a4be419b43
[INFO] running `Command { std: "docker" "start" "-a" "30a017f1b3d74f507785a0109959e9450f418f24e228f7cf73c789a4be419b43", 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.06s
[INFO] running `Command { std: "docker" "inspect" "30a017f1b3d74f507785a0109959e9450f418f24e228f7cf73c789a4be419b43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "30a017f1b3d74f507785a0109959e9450f418f24e228f7cf73c789a4be419b43", kill_on_drop: false }`
[INFO] [stdout] 30a017f1b3d74f507785a0109959e9450f418f24e228f7cf73c789a4be419b43
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 40ace2ee4a56e6f45430366e4c6fe89bcf93be10e4bfd6ab5b7b6a45e829f4ab
[INFO] running `Command { std: "docker" "start" "-a" "40ace2ee4a56e6f45430366e4c6fe89bcf93be10e4bfd6ab5b7b6a45e829f4ab", kill_on_drop: false }`
[INFO] [stderr] warning: unnecessary parentheses around method argument
[INFO] [stderr]   --> src/models/mod.rs:58:32
[INFO] [stderr]    |
[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]    = 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.24s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/option_pricing-6001a5fa665d9902)
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test models::tests::test_black_scholes_call ... ok
[INFO] [stdout] test models::tests::test_crr_binomial_american_call ... ok
[INFO] [stdout] test models::tests::test_crr_binomial_call ... ok
[INFO] [stdout] test models::tests::test_digital_option_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.60s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "40ace2ee4a56e6f45430366e4c6fe89bcf93be10e4bfd6ab5b7b6a45e829f4ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "40ace2ee4a56e6f45430366e4c6fe89bcf93be10e4bfd6ab5b7b6a45e829f4ab", kill_on_drop: false }`
[INFO] [stdout] 40ace2ee4a56e6f45430366e4c6fe89bcf93be10e4bfd6ab5b7b6a45e829f4ab
