[INFO] cloning repository https://github.com/lanPN85/area-cov [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lanPN85/area-cov" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FlanPN85%2Farea-cov", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FlanPN85%2Farea-cov'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d33649d498d058faaceb2ec1591933616e27f3fd [INFO] testing lanPN85/area-cov against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FlanPN85%2Farea-cov" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lanPN85/area-cov on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lanPN85/area-cov [INFO] finished tweaking git repo https://github.com/lanPN85/area-cov [INFO] tweaked toml for git repo https://github.com/lanPN85/area-cov written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/lanPN85/area-cov already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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] d364d30f17481fc05a1c1152a584961c5604717cc42d633ae22caffaf0d30766 [INFO] running `Command { std: "docker" "start" "-a" "d364d30f17481fc05a1c1152a584961c5604717cc42d633ae22caffaf0d30766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d364d30f17481fc05a1c1152a584961c5604717cc42d633ae22caffaf0d30766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d364d30f17481fc05a1c1152a584961c5604717cc42d633ae22caffaf0d30766", kill_on_drop: false }` [INFO] [stdout] d364d30f17481fc05a1c1152a584961c5604717cc42d633ae22caffaf0d30766 [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fada81eca948691ec72e1b0c619e3545907fc6536fca67ee6ae2b2991d80c133 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fada81eca948691ec72e1b0c619e3545907fc6536fca67ee6ae2b2991d80c133", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.36 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling quickersort v3.0.1 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling atty v0.2.6 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling time v0.1.39 [INFO] [stderr] Compiling clap v2.29.4 [INFO] [stderr] Compiling area_cov v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ga/select.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn best(adapt_fn: &Fn(&Configuration, &Vec)->f32, conf: &Configuration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Configuration, &Vec)->f32` [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/ga/hungarian.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | weight_fn: &Fn(&T, &T)->f32) -> HugarianSolver { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T, &T)->f32` [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/ga/hungarian.rs:44:40 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn augment(&mut self, weight_fn: &Fn(&T, &T)->f32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T, &T)->f32` [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/ga/hungarian.rs:153:60 [INFO] [stdout] | [INFO] [stdout] 153 | fn add_to_tree(&mut self, x: i32, prevx: i32, weight_fn: &Fn(&T, &T)->f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T, &T)->f32` [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/ga/hungarian.rs:196:86 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn apply_hungarian(g1: &mut Vec, g2: &mut Vec, weight_fn: &Fn(&T, &T)->f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T, &T)->f32` [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/ga/mod.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | const SELECT_ALG: fn(&Fn(&Configuration, &Vec)->f32, &Configuration, &Vec>, usize)->Vec> = best; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Configuration, &Vec)->f32` [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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.90s [INFO] running `Command { std: "docker" "inspect" "fada81eca948691ec72e1b0c619e3545907fc6536fca67ee6ae2b2991d80c133", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fada81eca948691ec72e1b0c619e3545907fc6536fca67ee6ae2b2991d80c133", kill_on_drop: false }` [INFO] [stdout] fada81eca948691ec72e1b0c619e3545907fc6536fca67ee6ae2b2991d80c133 [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9ef2bca909b6bb59bd8d6a7a2fdf625f76793bc9f432909791e72acce3c83d9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f9ef2bca909b6bb59bd8d6a7a2fdf625f76793bc9f432909791e72acce3c83d9", kill_on_drop: false }` [INFO] [stderr] Compiling area_cov v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ga/select.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn best(adapt_fn: &Fn(&Configuration, &Vec)->f32, conf: &Configuration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Configuration, &Vec)->f32` [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/ga/hungarian.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | weight_fn: &Fn(&T, &T)->f32) -> HugarianSolver { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T, &T)->f32` [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/ga/hungarian.rs:44:40 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn augment(&mut self, weight_fn: &Fn(&T, &T)->f32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T, &T)->f32` [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/ga/hungarian.rs:153:60 [INFO] [stdout] | [INFO] [stdout] 153 | fn add_to_tree(&mut self, x: i32, prevx: i32, weight_fn: &Fn(&T, &T)->f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T, &T)->f32` [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/ga/hungarian.rs:196:86 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn apply_hungarian(g1: &mut Vec, g2: &mut Vec, weight_fn: &Fn(&T, &T)->f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T, &T)->f32` [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/ga/mod.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | const SELECT_ALG: fn(&Fn(&Configuration, &Vec)->f32, &Configuration, &Vec>, usize)->Vec> = best; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Configuration, &Vec)->f32` [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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.09s [INFO] running `Command { std: "docker" "inspect" "f9ef2bca909b6bb59bd8d6a7a2fdf625f76793bc9f432909791e72acce3c83d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9ef2bca909b6bb59bd8d6a7a2fdf625f76793bc9f432909791e72acce3c83d9", kill_on_drop: false }` [INFO] [stdout] f9ef2bca909b6bb59bd8d6a7a2fdf625f76793bc9f432909791e72acce3c83d9 [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fdb83abded1a92f29191c7941c42d8f086c3c9c2fd9bd48ea44129b140dc2780 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fdb83abded1a92f29191c7941c42d8f086c3c9c2fd9bd48ea44129b140dc2780", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ga/select.rs:6:24 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn best(adapt_fn: &Fn(&Configuration, &Vec)->f32, conf: &Configuration, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Configuration, &Vec)->f32` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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/ga/hungarian.rs:18:16 [INFO] [stderr] | [INFO] [stderr] 18 | weight_fn: &Fn(&T, &T)->f32) -> HugarianSolver { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T, &T)->f32` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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/ga/hungarian.rs:44:40 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn augment(&mut self, weight_fn: &Fn(&T, &T)->f32) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T, &T)->f32` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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/ga/hungarian.rs:153:60 [INFO] [stderr] | [INFO] [stderr] 153 | fn add_to_tree(&mut self, x: i32, prevx: i32, weight_fn: &Fn(&T, &T)->f32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T, &T)->f32` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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/ga/hungarian.rs:196:86 [INFO] [stderr] | [INFO] [stderr] 196 | pub fn apply_hungarian(g1: &mut Vec, g2: &mut Vec, weight_fn: &Fn(&T, &T)->f32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T, &T)->f32` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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/ga/mod.rs:27:24 [INFO] [stderr] | [INFO] [stderr] 27 | const SELECT_ALG: fn(&Fn(&Configuration, &Vec)->f32, &Configuration, &Vec>, usize)->Vec> = best; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Configuration, &Vec)->f32` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/area_cov-c5ddcd27d3229313) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test fileio::tests::test_file_out ... ignored [INFO] [stdout] test fileio::tests::test_file_inp ... ok [INFO] [stdout] test ga::hungarian::tests::test_hungarian ... ok [INFO] [stdout] test ga::cross::tests::test_homogenize ... ok [INFO] [stdout] test ga::cross::tests::test_blx ... ok [INFO] [stdout] test ga::init::tests::test_heuristic_init ... ok [INFO] [stdout] test ga::init::tests::test_random_init ... ok [INFO] [stdout] test ga::init::tests::test_random_state ... ok [INFO] [stdout] test ga::mutate::tests::test_static_gaussian ... ok [INFO] [stdout] test ga::mutate::tests::test_dynamic_gaussian ... ok [INFO] [stdout] test ga::select::tests::test_best_selector ... ok [INFO] [stdout] test models::adaptive::tests::test_overlap ... ok [INFO] [stdout] test models::adaptive::tests::test_coverage_area ... ok [INFO] [stdout] test ga::tests::test_ga ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.70s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fdb83abded1a92f29191c7941c42d8f086c3c9c2fd9bd48ea44129b140dc2780", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdb83abded1a92f29191c7941c42d8f086c3c9c2fd9bd48ea44129b140dc2780", kill_on_drop: false }` [INFO] [stdout] fdb83abded1a92f29191c7941c42d8f086c3c9c2fd9bd48ea44129b140dc2780