[INFO] cloning repository https://github.com/albertp007/RustQ
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/albertp007/RustQ" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falbertp007%2FRustQ", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falbertp007%2FRustQ'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1a058909edf8046d012232fb0e9393849316ed8a
[INFO] testing albertp007/RustQ against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falbertp007%2FRustQ" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/albertp007/RustQ
[INFO] finished tweaking git repo https://github.com/albertp007/RustQ
[INFO] tweaked toml for git repo https://github.com/albertp007/RustQ written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/albertp007/RustQ on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/albertp007/RustQ 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d3cb2f04d175492c674e6315b7e65db88c021f64f6664ffbc37fcf86220a89b4
[INFO] running `Command { std: "docker" "start" "-a" "d3cb2f04d175492c674e6315b7e65db88c021f64f6664ffbc37fcf86220a89b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d3cb2f04d175492c674e6315b7e65db88c021f64f6664ffbc37fcf86220a89b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d3cb2f04d175492c674e6315b7e65db88c021f64f6664ffbc37fcf86220a89b4", kill_on_drop: false }`
[INFO] [stdout] d3cb2f04d175492c674e6315b7e65db88c021f64f6664ffbc37fcf86220a89b4
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 4451ed47106af6db276932cff76fc221b77f67af10879734416b42ac6bd00a26
[INFO] running `Command { std: "docker" "start" "-a" "4451ed47106af6db276932cff76fc221b77f67af10879734416b42ac6bd00a26", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling libc v0.2.8
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling winapi v0.2.6
[INFO] [stderr]    Compiling random v0.9.2
[INFO] [stderr]    Compiling kernel32-sys v0.2.1
[INFO] [stderr]    Compiling special v0.5.2
[INFO] [stderr]    Compiling num_cpus v0.2.11
[INFO] [stderr]    Compiling rand v0.3.14
[INFO] [stderr]    Compiling probability v0.12.4
[INFO] [stderr]    Compiling time v0.1.34
[INFO] [stderr]    Compiling rustq v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lattice.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |     Box<Fn(&Binomial, (isize, isize, isize), isize)->isize>;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 90 |     Box<dyn Fn(&Binomial, (isize, isize, isize), isize)->isize>;
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/montecarlo.rs:58:27
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub type PayoffFunc = Box<Fn(&Vec<f64>)->f64>;
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub type PayoffFunc = Box<dyn Fn(&Vec<f64>)->f64>;
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lattice.rs:99:27
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub type PayoffFunc = Box<Fn(&Binomial, (isize, isize, isize))->f64>;
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub type PayoffFunc = Box<dyn Fn(&Binomial, (isize, isize, isize))->f64>;
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lattice.rs:113:30
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub type NodeValueFunc = Box<Fn(&Binomial, (isize, isize, isize), f64)->f64>;
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub type NodeValueFunc = Box<dyn Fn(&Binomial, (isize, isize, isize), f64)->f64>;
[INFO] [stdout]     |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.53s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: probability v0.12.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "4451ed47106af6db276932cff76fc221b77f67af10879734416b42ac6bd00a26", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4451ed47106af6db276932cff76fc221b77f67af10879734416b42ac6bd00a26", kill_on_drop: false }`
[INFO] [stdout] 4451ed47106af6db276932cff76fc221b77f67af10879734416b42ac6bd00a26
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 87535cf984dd62c10c8bf43171723a9e3731d81b65df78250f3f637afdee9f14
[INFO] running `Command { std: "docker" "start" "-a" "87535cf984dd62c10c8bf43171723a9e3731d81b65df78250f3f637afdee9f14", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lattice.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |     Box<Fn(&Binomial, (isize, isize, isize), isize)->isize>;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 90 |     Box<dyn Fn(&Binomial, (isize, isize, isize), isize)->isize>;
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/montecarlo.rs:58:27
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub type PayoffFunc = Box<Fn(&Vec<f64>)->f64>;
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub type PayoffFunc = Box<dyn Fn(&Vec<f64>)->f64>;
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lattice.rs:99:27
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub type PayoffFunc = Box<Fn(&Binomial, (isize, isize, isize))->f64>;
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub type PayoffFunc = Box<dyn Fn(&Binomial, (isize, isize, isize))->f64>;
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lattice.rs:113:30
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub type NodeValueFunc = Box<Fn(&Binomial, (isize, isize, isize), f64)->f64>;
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub type NodeValueFunc = Box<dyn Fn(&Binomial, (isize, isize, isize), f64)->f64>;
[INFO] [stdout]     |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rustq v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `option::OptionType::*`
[INFO] [stdout]    --> src/montecarlo.rs:374:9
[INFO] [stdout]     |
[INFO] [stdout] 374 |     use option::OptionType::*;
[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: `option::BarrierUpDown::*`
[INFO] [stdout]    --> src/montecarlo.rs:376:9
[INFO] [stdout]     |
[INFO] [stdout] 376 |     use option::BarrierUpDown::*;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `option::BarrierInOut::*`
[INFO] [stdout]    --> src/montecarlo.rs:377:9
[INFO] [stdout]     |
[INFO] [stdout] 377 |     use option::BarrierInOut::*;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `montecarlo::VarianceReduction::*`
[INFO] [stdout]    --> src/montecarlo.rs:379:9
[INFO] [stdout]     |
[INFO] [stdout] 379 |     use montecarlo::VarianceReduction::*;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `option::OptionType::*`
[INFO] [stdout]    --> src/lattice.rs:467:9
[INFO] [stdout]     |
[INFO] [stdout] 467 |     use option::OptionType::*;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `option::BarrierInOut::*`
[INFO] [stdout]    --> src/lattice.rs:469:9
[INFO] [stdout]     |
[INFO] [stdout] 469 |     use option::BarrierInOut::*;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `option::BarrierUpDown::*`
[INFO] [stdout]    --> src/lattice.rs:470:9
[INFO] [stdout]     |
[INFO] [stdout] 470 |     use option::BarrierUpDown::*;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lattice.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |     Box<Fn(&Binomial, (isize, isize, isize), isize)->isize>;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 90 |     Box<dyn Fn(&Binomial, (isize, isize, isize), isize)->isize>;
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/montecarlo.rs:58:27
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub type PayoffFunc = Box<Fn(&Vec<f64>)->f64>;
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub type PayoffFunc = Box<dyn Fn(&Vec<f64>)->f64>;
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lattice.rs:99:27
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub type PayoffFunc = Box<Fn(&Binomial, (isize, isize, isize))->f64>;
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub type PayoffFunc = Box<dyn Fn(&Binomial, (isize, isize, isize))->f64>;
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lattice.rs:113:30
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub type NodeValueFunc = Box<Fn(&Binomial, (isize, isize, isize), f64)->f64>;
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub type NodeValueFunc = Box<dyn Fn(&Binomial, (isize, isize, isize), f64)->f64>;
[INFO] [stdout]     |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.01s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: probability v0.12.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "87535cf984dd62c10c8bf43171723a9e3731d81b65df78250f3f637afdee9f14", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "87535cf984dd62c10c8bf43171723a9e3731d81b65df78250f3f637afdee9f14", kill_on_drop: false }`
[INFO] [stdout] 87535cf984dd62c10c8bf43171723a9e3731d81b65df78250f3f637afdee9f14
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 5b4417fadb2c0418a7c22b6d48121d48cfb88b89c5bf8fa4823027b9b57c89ef
[INFO] running `Command { std: "docker" "start" "-a" "5b4417fadb2c0418a7c22b6d48121d48cfb88b89c5bf8fa4823027b9b57c89ef", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/lattice.rs:90:9
[INFO] [stderr]    |
[INFO] [stderr] 90 |     Box<Fn(&Binomial, (isize, isize, isize), isize)->isize>;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 90 |     Box<dyn Fn(&Binomial, (isize, isize, isize), isize)->isize>;
[INFO] [stderr]    |         +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/montecarlo.rs:58:27
[INFO] [stderr]    |
[INFO] [stderr] 58 | pub type PayoffFunc = Box<Fn(&Vec<f64>)->f64>;
[INFO] [stderr]    |                           ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 58 | pub type PayoffFunc = Box<dyn Fn(&Vec<f64>)->f64>;
[INFO] [stderr]    |                           +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/lattice.rs:99:27
[INFO] [stderr]    |
[INFO] [stderr] 99 | pub type PayoffFunc = Box<Fn(&Binomial, (isize, isize, isize))->f64>;
[INFO] [stderr]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 99 | pub type PayoffFunc = Box<dyn Fn(&Binomial, (isize, isize, isize))->f64>;
[INFO] [stderr]    |                           +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/lattice.rs:113:30
[INFO] [stderr]     |
[INFO] [stderr] 113 | pub type NodeValueFunc = Box<Fn(&Binomial, (isize, isize, isize), f64)->f64>;
[INFO] [stderr]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 113 | pub type NodeValueFunc = Box<dyn Fn(&Binomial, (isize, isize, isize), f64)->f64>;
[INFO] [stderr]     |                              +++
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `option::OptionType::*`
[INFO] [stderr]    --> src/montecarlo.rs:374:9
[INFO] [stderr]     |
[INFO] [stderr] 374 |     use option::OptionType::*;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `option::BarrierUpDown::*`
[INFO] [stderr]    --> src/montecarlo.rs:376:9
[INFO] [stderr]     |
[INFO] [stderr] 376 |     use option::BarrierUpDown::*;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `option::BarrierInOut::*`
[INFO] [stderr]    --> src/montecarlo.rs:377:9
[INFO] [stderr]     |
[INFO] [stderr] 377 |     use option::BarrierInOut::*;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `montecarlo::VarianceReduction::*`
[INFO] [stderr]    --> src/montecarlo.rs:379:9
[INFO] [stderr]     |
[INFO] [stderr] 379 |     use montecarlo::VarianceReduction::*;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `option::OptionType::*`
[INFO] [stderr]    --> src/lattice.rs:467:9
[INFO] [stderr]     |
[INFO] [stderr] 467 |     use option::OptionType::*;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `option::BarrierInOut::*`
[INFO] [stderr]    --> src/lattice.rs:469:9
[INFO] [stderr]     |
[INFO] [stderr] 469 |     use option::BarrierInOut::*;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `option::BarrierUpDown::*`
[INFO] [stderr]    --> src/lattice.rs:470:9
[INFO] [stderr]     |
[INFO] [stderr] 470 |     use option::BarrierUpDown::*;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rustq` (lib) generated 4 warnings (run `cargo fix --lib -p rustq` to apply 4 suggestions)
[INFO] [stderr] warning: `rustq` (lib test) generated 11 warnings (4 duplicates) (run `cargo fix --lib -p rustq --tests` to apply 7 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: probability v0.12.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/rustq/b00b0a540a5ae03b/deps/rustq-b00b0a540a5ae03b)
[INFO] [stdout] 
[INFO] [stdout] running 12 tests
[INFO] [stdout] test lattice::test::test_payoff_function ... ok
[INFO] [stdout] test lattice::test::test_binomial_populate_and_get_asset_price ... ok
[INFO] [stdout] test lattice::test::test_state_transition ... ok
[INFO] [stdout] test montecarlo::test::test_make_antithetic ... ok
[INFO] [stdout] test option::test::put_call_parity ... ok
[INFO] [stdout] test montecarlo::test::test_draw_normal ... ok
[INFO] [stdout] test montecarlo::test::test_mc_up_out_call_mt ... ok
[INFO] [stdout] test lattice::test::test_vanilla_call ... ok
[INFO] [stdout] test lattice::test::test_barrier ... ok
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/rustq/b00b0a540a5ae03b/deps/rustq-b00b0a540a5ae03b` (signal: 9, SIGKILL: kill)
[INFO] running `Command { std: "docker" "inspect" "5b4417fadb2c0418a7c22b6d48121d48cfb88b89c5bf8fa4823027b9b57c89ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b4417fadb2c0418a7c22b6d48121d48cfb88b89c5bf8fa4823027b9b57c89ef", kill_on_drop: false }`
[INFO] [stdout] 5b4417fadb2c0418a7c22b6d48121d48cfb88b89c5bf8fa4823027b9b57c89ef
