[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 master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falbertp007%2FRustQ" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/albertp007/RustQ on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6/source/Cargo.toml [INFO] crate git repo https://github.com/albertp007/RustQ already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4273a9cdc499552be0c7ffe365181e8ac341bf9e670a2e9479013b2e014fdfa0 [INFO] running `Command { std: "docker" "start" "-a" "4273a9cdc499552be0c7ffe365181e8ac341bf9e670a2e9479013b2e014fdfa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4273a9cdc499552be0c7ffe365181e8ac341bf9e670a2e9479013b2e014fdfa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4273a9cdc499552be0c7ffe365181e8ac341bf9e670a2e9479013b2e014fdfa0", kill_on_drop: false }` [INFO] [stdout] 4273a9cdc499552be0c7ffe365181e8ac341bf9e670a2e9479013b2e014fdfa0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b112ac395665b238a5ae114fd349f13409906237107d1687714d8dcc446ff703 [INFO] running `Command { std: "docker" "start" "-a" "b112ac395665b238a5ae114fd349f13409906237107d1687714d8dcc446ff703", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.8 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling random v0.9.2 [INFO] [stderr] Compiling special v0.5.2 [INFO] [stderr] Compiling rand v0.3.14 [INFO] [stderr] Compiling num_cpus v0.2.11 [INFO] [stderr] Compiling kernel32-sys v0.2.1 [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/montecarlo.rs:58:27 [INFO] [stdout] | [INFO] [stdout] 58 | pub type PayoffFunc = Box)->f64>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Vec)->f64` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 | Boxisize>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Binomial, (isize, isize, isize), isize)->isize` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 = Boxf64>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Binomial, (isize, isize, isize))->f64` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 = Boxf64>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Binomial, (isize, isize, isize), f64)->f64` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.25s [INFO] running `Command { std: "docker" "inspect" "b112ac395665b238a5ae114fd349f13409906237107d1687714d8dcc446ff703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b112ac395665b238a5ae114fd349f13409906237107d1687714d8dcc446ff703", kill_on_drop: false }` [INFO] [stdout] b112ac395665b238a5ae114fd349f13409906237107d1687714d8dcc446ff703 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cf42e0261db895f8616ec8b7cb9a36822d44fb2c04826b23c8069f1b82610c6 [INFO] running `Command { std: "docker" "start" "-a" "8cf42e0261db895f8616ec8b7cb9a36822d44fb2c04826b23c8069f1b82610c6", kill_on_drop: false }` [INFO] [stderr] Compiling rustq v0.1.0 (/opt/rustwide/workdir) [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)->f64>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Vec)->f64` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 | Boxisize>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Binomial, (isize, isize, isize), isize)->isize` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 = Boxf64>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Binomial, (isize, isize, isize))->f64` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 = Boxf64>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Binomial, (isize, isize, isize), f64)->f64` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [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)->f64>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Vec)->f64` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [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)]` 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lattice.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | Boxisize>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Binomial, (isize, isize, isize), isize)->isize` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 = Boxf64>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Binomial, (isize, isize, isize))->f64` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 = Boxf64>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Binomial, (isize, isize, isize), f64)->f64` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.35s [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8cf42e0261db895f8616ec8b7cb9a36822d44fb2c04826b23c8069f1b82610c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cf42e0261db895f8616ec8b7cb9a36822d44fb2c04826b23c8069f1b82610c6", kill_on_drop: false }` [INFO] [stdout] 8cf42e0261db895f8616ec8b7cb9a36822d44fb2c04826b23c8069f1b82610c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7e721ae1e530de806961fecd5fcb5d07c89b2c2518e16104a68ffb6677e3f46b [INFO] running `Command { std: "docker" "start" "-a" "7e721ae1e530de806961fecd5fcb5d07c89b2c2518e16104a68ffb6677e3f46b", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] running 12 tests [INFO] [stderr] --> src/montecarlo.rs:58:27 [INFO] [stdout] test lattice::test::test_binomial_populate_and_get_asset_price ... ok [INFO] [stderr] | [INFO] [stdout] test lattice::test::test_payoff_function ... ok [INFO] [stderr] 58 | pub type PayoffFunc = Box)->f64>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Vec)->f64` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lattice.rs:90:9 [INFO] [stderr] | [INFO] [stderr] 90 | Boxisize>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Binomial, (isize, isize, isize), isize)->isize` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 = Boxf64>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Binomial, (isize, isize, isize))->f64` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 = Boxf64>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Binomial, (isize, isize, isize), f64)->f64` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [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)->f64>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Vec)->f64` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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)]` 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: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lattice.rs:90:9 [INFO] [stderr] | [INFO] [stderr] 90 | Boxisize>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Binomial, (isize, isize, isize), isize)->isize` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 = Boxf64>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Binomial, (isize, isize, isize))->f64` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 = Boxf64>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Binomial, (isize, isize, isize), f64)->f64` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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: 11 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rustq-58d3168b40fd7204) [INFO] [stdout] test lattice::test::test_state_transition ... ok [INFO] [stdout] test option::test::put_call_parity ... ok [INFO] [stdout] test montecarlo::test::test_make_antithetic ... ok [INFO] [stdout] test montecarlo::test::test_mc_up_out_call_mt ... 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/deps/rustq-58d3168b40fd7204` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "7e721ae1e530de806961fecd5fcb5d07c89b2c2518e16104a68ffb6677e3f46b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e721ae1e530de806961fecd5fcb5d07c89b2c2518e16104a68ffb6677e3f46b", kill_on_drop: false }` [INFO] [stdout] 7e721ae1e530de806961fecd5fcb5d07c89b2c2518e16104a68ffb6677e3f46b