[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] checking albertp007/RustQ against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falbertp007%2FRustQ" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/albertp007/RustQ on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "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-7/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9f927f7d134c10733c985d9930c137248fee2ed5c6bf60eeb0747207fd2a271 [INFO] running `Command { std: "docker" "start" "-a" "b9f927f7d134c10733c985d9930c137248fee2ed5c6bf60eeb0747207fd2a271", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9f927f7d134c10733c985d9930c137248fee2ed5c6bf60eeb0747207fd2a271", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9f927f7d134c10733c985d9930c137248fee2ed5c6bf60eeb0747207fd2a271", kill_on_drop: false }` [INFO] [stdout] b9f927f7d134c10733c985d9930c137248fee2ed5c6bf60eeb0747207fd2a271 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9273be90f4d4dcbafb181fb17f548add873043ba8116d2127fa3fd1639120625 [INFO] running `Command { std: "docker" "start" "-a" "9273be90f4d4dcbafb181fb17f548add873043ba8116d2127fa3fd1639120625", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.8 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.6 [INFO] [stderr] Checking random v0.9.2 [INFO] [stderr] Compiling kernel32-sys v0.2.1 [INFO] [stderr] Checking special v0.5.2 [INFO] [stderr] Checking rand v0.3.14 [INFO] [stderr] Checking num_cpus v0.2.11 [INFO] [stderr] Checking probability v0.12.4 [INFO] [stderr] Checking time v0.1.34 [INFO] [stderr] Checking 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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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/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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.37s [INFO] running `Command { std: "docker" "inspect" "9273be90f4d4dcbafb181fb17f548add873043ba8116d2127fa3fd1639120625", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9273be90f4d4dcbafb181fb17f548add873043ba8116d2127fa3fd1639120625", kill_on_drop: false }` [INFO] [stdout] 9273be90f4d4dcbafb181fb17f548add873043ba8116d2127fa3fd1639120625