[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#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falbertp007%2FRustQ" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/albertp007/RustQ on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-10/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded probability v0.12.4 [INFO] [stderr] Downloaded random v0.9.2 [INFO] [stderr] Downloaded special v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00aec71b49db33002238885aba3063821af14b694a5443056feb333377784424 [INFO] running `Command { std: "docker" "start" "-a" "00aec71b49db33002238885aba3063821af14b694a5443056feb333377784424", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00aec71b49db33002238885aba3063821af14b694a5443056feb333377784424", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00aec71b49db33002238885aba3063821af14b694a5443056feb333377784424", kill_on_drop: false }` [INFO] [stdout] 00aec71b49db33002238885aba3063821af14b694a5443056feb333377784424 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f25d8e7ad04fc438d69177fd69b43b96ce98e7cb292da98a35bf745298946c92 [INFO] running `Command { std: "docker" "start" "-a" "f25d8e7ad04fc438d69177fd69b43b96ce98e7cb292da98a35bf745298946c92", kill_on_drop: false }` [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 special v0.5.2 [INFO] [stderr] Compiling num_cpus v0.2.11 [INFO] [stderr] Compiling rand v0.3.14 [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.21s [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f25d8e7ad04fc438d69177fd69b43b96ce98e7cb292da98a35bf745298946c92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f25d8e7ad04fc438d69177fd69b43b96ce98e7cb292da98a35bf745298946c92", kill_on_drop: false }` [INFO] [stdout] f25d8e7ad04fc438d69177fd69b43b96ce98e7cb292da98a35bf745298946c92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f9cd7c99eb4586d512b9b6d9701e065bcc880d2ecfeda0c448e889e453f3e22 [INFO] running `Command { std: "docker" "start" "-a" "4f9cd7c99eb4586d512b9b6d9701e065bcc880d2ecfeda0c448e889e453f3e22", kill_on_drop: false }` [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] 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: 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] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.46s [INFO] running `Command { std: "docker" "inspect" "4f9cd7c99eb4586d512b9b6d9701e065bcc880d2ecfeda0c448e889e453f3e22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f9cd7c99eb4586d512b9b6d9701e065bcc880d2ecfeda0c448e889e453f3e22", kill_on_drop: false }` [INFO] [stdout] 4f9cd7c99eb4586d512b9b6d9701e065bcc880d2ecfeda0c448e889e453f3e22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 533690a15608f4886a75a614c1567f202fa2b55edf2451a1ee35a47885ff4333 [INFO] running `Command { std: "docker" "start" "-a" "533690a15608f4886a75a614c1567f202fa2b55edf2451a1ee35a47885ff4333", kill_on_drop: false }` [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: 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] [stdout] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stdout] running 12 tests [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 option::test::put_call_parity ... ok [INFO] [stdout] test lattice::test::test_binomial_populate_and_get_asset_price ... ok [INFO] [stdout] test montecarlo::test::test_make_antithetic ... ok [INFO] [stdout] test lattice::test::test_payoff_function ... ok [INFO] [stdout] test lattice::test::test_state_transition ... 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" "533690a15608f4886a75a614c1567f202fa2b55edf2451a1ee35a47885ff4333", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "533690a15608f4886a75a614c1567f202fa2b55edf2451a1ee35a47885ff4333", kill_on_drop: false }` [INFO] [stdout] 533690a15608f4886a75a614c1567f202fa2b55edf2451a1ee35a47885ff4333