[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#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falbertp007%2FRustQ" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/albertp007/RustQ on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-3/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f221afae05e9e3746e291cc3c15b1224c1669f3753b55ef3bccc2944125478e0 [INFO] running `Command { std: "docker" "start" "-a" "f221afae05e9e3746e291cc3c15b1224c1669f3753b55ef3bccc2944125478e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f221afae05e9e3746e291cc3c15b1224c1669f3753b55ef3bccc2944125478e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f221afae05e9e3746e291cc3c15b1224c1669f3753b55ef3bccc2944125478e0", kill_on_drop: false }` [INFO] [stdout] f221afae05e9e3746e291cc3c15b1224c1669f3753b55ef3bccc2944125478e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bc1f53d0813771bd69699b4680e180cc789107e6cd00ece0c6ba2b6c2ddd6278 [INFO] running `Command { std: "docker" "start" "-a" "bc1f53d0813771bd69699b4680e180cc789107e6cd00ece0c6ba2b6c2ddd6278", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: 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: 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.13s [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bc1f53d0813771bd69699b4680e180cc789107e6cd00ece0c6ba2b6c2ddd6278", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc1f53d0813771bd69699b4680e180cc789107e6cd00ece0c6ba2b6c2ddd6278", kill_on_drop: false }` [INFO] [stdout] bc1f53d0813771bd69699b4680e180cc789107e6cd00ece0c6ba2b6c2ddd6278