[INFO] cloning repository https://github.com/mstangierska/digital-option-pricing
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mstangierska/digital-option-pricing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmstangierska%2Fdigital-option-pricing", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmstangierska%2Fdigital-option-pricing'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ce7feac14d26a57c412dbe2ca5ebcd31ff000482
[INFO] testing mstangierska/digital-option-pricing against beta-2026-04-21 for beta-1.96-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmstangierska%2Fdigital-option-pricing" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mstangierska/digital-option-pricing
[INFO] finished tweaking git repo https://github.com/mstangierska/digital-option-pricing
[INFO] tweaked toml for git repo https://github.com/mstangierska/digital-option-pricing written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mstangierska/digital-option-pricing on toolchain beta-2026-04-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mstangierska/digital-option-pricing 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" "+beta-2026-04-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+beta-2026-04-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 04008ca62efe24e6f6578966a862f9adbc4baea25ee3d6cf805979524bd992b7
[INFO] running `Command { std: "docker" "start" "-a" "04008ca62efe24e6f6578966a862f9adbc4baea25ee3d6cf805979524bd992b7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "04008ca62efe24e6f6578966a862f9adbc4baea25ee3d6cf805979524bd992b7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "04008ca62efe24e6f6578966a862f9adbc4baea25ee3d6cf805979524bd992b7", kill_on_drop: false }`
[INFO] [stdout] 04008ca62efe24e6f6578966a862f9adbc4baea25ee3d6cf805979524bd992b7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2026-04-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4ecdda2f34ed3c4b59a484b3e5102c67b3034333303782c522e4a30c0bf44e28
[INFO] running `Command { std: "docker" "start" "-a" "4ecdda2f34ed3c4b59a484b3e5102c67b3034333303782c522e4a30c0bf44e28", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.85
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.92
[INFO] [stderr]    Compiling bytemuck v1.16.0
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling matrixmultiply v0.1.15
[INFO] [stderr]    Compiling bumpalo v3.16.0
[INFO] [stderr]    Compiling rawpointer v0.1.0
[INFO] [stderr]    Compiling wasm-bindgen v0.2.92
[INFO] [stderr]    Compiling cumsum v1.0.0
[INFO] [stderr]    Compiling safe_arch v0.7.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling matrixmultiply v0.3.8
[INFO] [stderr]    Compiling wide v0.7.24
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling num v0.1.42
[INFO] [stderr]    Compiling rulinalg v0.3.7
[INFO] [stderr]    Compiling ndarray v0.15.6
[INFO] [stderr]    Compiling simba v0.7.3
[INFO] [stderr]    Compiling rand_distr v0.4.3
[INFO] [stderr]    Compiling rusty-machine v0.5.4
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.92
[INFO] [stderr]    Compiling nalgebra-macros v0.1.0
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.92
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.92
[INFO] [stderr]    Compiling nalgebra v0.30.1
[INFO] [stderr]    Compiling digital v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `wasm_bindgen::prelude::*`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use wasm_bindgen::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand_distr::StandardNormal`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand_distr::StandardNormal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Zip` and `indices`
[INFO] [stdout]  --> src/main.rs:4:30
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ndarray::{Array2, stack, indices, prelude::*, Zip};
[INFO] [stdout]   |                              ^^^^^^^              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `indices` and `stack`
[INFO] [stdout]  --> src/utils.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ndarray::{Array2, stack, indices, prelude::*};
[INFO] [stdout]   |                       ^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed for `ndarray::ArrayBase<OwnedRepr<_>, ndarray::Dim<[usize; 1]>>`
[INFO] [stdout]    --> src/main.rs:92:13
[INFO] [stdout]     |
[INFO] [stdout]  92 |         let mut continuations = Array1::zeros(filtered_elements.len());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^   -------------------------------------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type must implement `Clone`
[INFO] [stdout] note: required by a bound in `ndarray::impl_constructors::<impl ndarray::ArrayBase<S, D>>::zeros`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/impl_constructors.rs:342:12
[INFO] [stdout]     |
[INFO] [stdout] 340 |     pub fn zeros<Sh>(shape: Sh) -> Self
[INFO] [stdout]     |            ----- required by a bound in this associated function
[INFO] [stdout] 341 |     where
[INFO] [stdout] 342 |         A: Clone + Zero,
[INFO] [stdout]     |            ^^^^^ required by this bound in `ndarray::impl_constructors::<impl ArrayBase<S, D>>::zeros`
[INFO] [stdout] help: consider giving `continuations` an explicit type, where the type for type parameter `A` is specified
[INFO] [stdout]     |
[INFO] [stdout]  92 |         let mut continuations: ndarray::ArrayBase<OwnedRepr<A>, _> = Array1::zeros(filtered_elements.len());
[INFO] [stdout]     |                              +++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]    --> src/main.rs:102:97
[INFO] [stdout]     |
[INFO] [stdout] 102 | ...volatility: f64, p_type: &str, t: f64, observation_type: &str) -> f64 {
[INFO] [stdout]     |                                   ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `result` is never read
[INFO] [stdout]    --> src/main.rs:111:22
[INFO] [stdout]     |
[INFO] [stdout] 111 |     let mut result = 0.0;
[INFO] [stdout]     |                      ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 124 |         result = mc_american(paths, strike, q, m, n);
[INFO] [stdout]     |         -------------------------------------------- `result` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]    --> src/main.rs:145:13
[INFO] [stdout]     |
[INFO] [stdout] 145 |         let result = monte_carlo(spot_price, strike, n, m, volatility, p_type, t, observation_type);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0283`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `digital` (bin "digital") due to 1 previous error; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "4ecdda2f34ed3c4b59a484b3e5102c67b3034333303782c522e4a30c0bf44e28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ecdda2f34ed3c4b59a484b3e5102c67b3034333303782c522e4a30c0bf44e28", kill_on_drop: false }`
[INFO] [stdout] 4ecdda2f34ed3c4b59a484b3e5102c67b3034333303782c522e4a30c0bf44e28
