[INFO] cloning repository https://github.com/alycege/learn-simulation
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alycege/learn-simulation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falycege%2Flearn-simulation", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falycege%2Flearn-simulation'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b8ee55e0bb71c8364eac0c714518849dd3dfd9c3
[INFO] testing alycege/learn-simulation against beta-2023-04-20 for beta-1.70-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falycege%2Flearn-simulation" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/alycege/learn-simulation on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/alycege/learn-simulation
[INFO] finished tweaking git repo https://github.com/alycege/learn-simulation
[INFO] tweaked toml for git repo https://github.com/alycege/learn-simulation written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/alycege/learn-simulation 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-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded structopt v0.3.19
[INFO] [stderr]   Downloaded structopt-derive v0.4.12
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 847210cf18d261e92d15e9f7540169b2755a18b467a817f995624499940fefd6
[INFO] running `Command { std: "docker" "start" "-a" "847210cf18d261e92d15e9f7540169b2755a18b467a817f995624499940fefd6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "847210cf18d261e92d15e9f7540169b2755a18b467a817f995624499940fefd6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "847210cf18d261e92d15e9f7540169b2755a18b467a817f995624499940fefd6", kill_on_drop: false }`
[INFO] [stdout] 847210cf18d261e92d15e9f7540169b2755a18b467a817f995624499940fefd6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bdcbc2aa08dfdc831dc962c937c3c5cd0517852aaac59cdf7b70cbd1f0ad3439
[INFO] running `Command { std: "docker" "start" "-a" "bdcbc2aa08dfdc831dc962c937c3c5cd0517852aaac59cdf7b70cbd1f0ad3439", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]    Compiling syn v1.0.44
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling libm v0.2.1
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.9
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling rand_distr v0.3.0
[INFO] [stderr]    Compiling structopt-derive v0.4.12
[INFO] [stderr]    Compiling structopt v0.3.19
[INFO] [stderr]    Compiling coral_reef v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::cmp::max;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `structopt::StructOpt`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use structopt::StructOpt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]   --> src/main.rs:40:56
[INFO] [stdout]    |
[INFO] [stdout] 40 |             (BarrierDirection::Up, BarrierType::In) => (underlying_price > self.barrier_price),
[INFO] [stdout]    |                                                        ^                                     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 40 -             (BarrierDirection::Up, BarrierType::In) => (underlying_price > self.barrier_price),
[INFO] [stdout] 40 +             (BarrierDirection::Up, BarrierType::In) => underlying_price > self.barrier_price,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]   --> src/main.rs:41:57
[INFO] [stdout]    |
[INFO] [stdout] 41 |             (BarrierDirection::Up, BarrierType::Out) => (underlying_price < self.barrier_price),
[INFO] [stdout]    |                                                         ^                                     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 41 -             (BarrierDirection::Up, BarrierType::Out) => (underlying_price < self.barrier_price),
[INFO] [stdout] 41 +             (BarrierDirection::Up, BarrierType::Out) => underlying_price < self.barrier_price,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]   --> src/main.rs:42:58
[INFO] [stdout]    |
[INFO] [stdout] 42 |             (BarrierDirection::Down, BarrierType::In) => (underlying_price < self.barrier_price),
[INFO] [stdout]    |                                                          ^                                     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 42 -             (BarrierDirection::Down, BarrierType::In) => (underlying_price < self.barrier_price),
[INFO] [stdout] 42 +             (BarrierDirection::Down, BarrierType::In) => underlying_price < self.barrier_price,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]   --> src/main.rs:43:59
[INFO] [stdout]    |
[INFO] [stdout] 43 |             (BarrierDirection::Down, BarrierType::Out) => (underlying_price > self.barrier_price)
[INFO] [stdout]    |                                                           ^                                     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 43 -             (BarrierDirection::Down, BarrierType::Out) => (underlying_price > self.barrier_price)
[INFO] [stdout] 43 +             (BarrierDirection::Down, BarrierType::Out) => underlying_price > self.barrier_price
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `rand::distributions::StandardNormal`: moved to rand_distr crate
[INFO] [stdout]  --> src/bin/secretary_problem.rs:1:41
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::distributions::{Distribution, StandardNormal};
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated unit struct `rand::distributions::StandardNormal`: moved to rand_distr crate
[INFO] [stdout]  --> src/bin/secretary_problem.rs:1:41
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::distributions::{Distribution, StandardNormal};
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated unit struct `rand::distributions::StandardNormal`: moved to rand_distr crate
[INFO] [stdout]   --> src/bin/secretary_problem.rs:45:23
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let v: Vec<f64> = StandardNormal.sample_iter(rng).take(n).collect();
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `number_generator` is never used
[INFO] [stdout]   --> src/bin/secretary_problem.rs:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn number_generator(n: usize) -> std::vec::Vec<f64> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 6 arguments but 7 arguments were supplied
[INFO] [stdout]   --> src/main.rs:49:24
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let option_price = simulate_option_price(1000, 100.0, 10, 0.25, 5.0, 140.0, 145.0);
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^                             -----  ----- unexpected argument of type `{float}`
[INFO] [stdout]    |                                                                          |
[INFO] [stdout]    |                                                                          expected `BarrierOption`, found floating-point number
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/main.rs:89:4
[INFO] [stdout]    |
[INFO] [stdout] 89 | fn simulate_option_price(num_iterations: usize, init_price: f64, n_steps: usize, mu: f64, sigma_sq: f64, barrier: BarrierOption) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^ ---------------------  ---------------  --------------  -------  -------------  ----------------------
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] 49 -     let option_price = simulate_option_price(1000, 100.0, 10, 0.25, 5.0, 140.0, 145.0);
[INFO] [stdout] 49 +     let option_price = simulate_option_price(1000, 100.0, 10, 0.25, 5.0, /* BarrierOption */);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `coral_reef` (bin "coral_reef") due to 2 previous errors; 6 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "bdcbc2aa08dfdc831dc962c937c3c5cd0517852aaac59cdf7b70cbd1f0ad3439", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bdcbc2aa08dfdc831dc962c937c3c5cd0517852aaac59cdf7b70cbd1f0ad3439", kill_on_drop: false }`
[INFO] [stdout] bdcbc2aa08dfdc831dc962c937c3c5cd0517852aaac59cdf7b70cbd1f0ad3439
