[INFO] fetching crate metaheuristics 1.0.15... [INFO] checking metaheuristics-1.0.15 against try#8de4b308b608cded0ebccf658a0fc719bce87d4e for pr-89056 [INFO] extracting crate metaheuristics 1.0.15 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate metaheuristics 1.0.15 on toolchain 8de4b308b608cded0ebccf658a0fc719bce87d4e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate metaheuristics 1.0.15 [INFO] finished tweaking crates.io crate metaheuristics 1.0.15 [INFO] tweaked toml for crates.io crate metaheuristics 1.0.15 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9bd356dad998b892ea3f025e9d7281d1a4a76083365dd0b32cf971b57f8a72c7 [INFO] running `Command { std: "docker" "start" "-a" "9bd356dad998b892ea3f025e9d7281d1a4a76083365dd0b32cf971b57f8a72c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bd356dad998b892ea3f025e9d7281d1a4a76083365dd0b32cf971b57f8a72c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bd356dad998b892ea3f025e9d7281d1a4a76083365dd0b32cf971b57f8a72c7", kill_on_drop: false }` [INFO] [stdout] 9bd356dad998b892ea3f025e9d7281d1a4a76083365dd0b32cf971b57f8a72c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2dfd72fa876aaae40f5db2185244cbad1b99a5f74ca3bac96dc5559c4d4641d [INFO] running `Command { std: "docker" "start" "-a" "e2dfd72fa876aaae40f5db2185244cbad1b99a5f74ca3bac96dc5559c4d4641d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking metaheuristics v1.0.15 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hill_climbing/random_restarts/mod.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn solve(problem: &mut Metaheuristics, runtime: Duration, probability: f64) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Metaheuristics` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hill_climbing/random_restarts/mod.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn solve(problem: &mut Metaheuristics, runtime: Duration, probability: f64) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Metaheuristics` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hill_climbing/mod.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn solve(problem: &mut Metaheuristics, runtime: Duration) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Metaheuristics` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hill_climbing/mod.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn solve(problem: &mut Metaheuristics, runtime: Duration) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Metaheuristics` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/random_search/mod.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn solve(problem: &mut Metaheuristics, runtime: Duration) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Metaheuristics` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simulated_annealing/mod.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn solve(problem: &mut Metaheuristics, runtime: Duration) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Metaheuristics` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/random_search/mod.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn solve(problem: &mut Metaheuristics, runtime: Duration) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Metaheuristics` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/simulated_annealing/mod.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn solve(problem: &mut Metaheuristics, runtime: Duration) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Metaheuristics` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.94s [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e2dfd72fa876aaae40f5db2185244cbad1b99a5f74ca3bac96dc5559c4d4641d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2dfd72fa876aaae40f5db2185244cbad1b99a5f74ca3bac96dc5559c4d4641d", kill_on_drop: false }` [INFO] [stdout] e2dfd72fa876aaae40f5db2185244cbad1b99a5f74ca3bac96dc5559c4d4641d