[INFO] cloning repository https://github.com/ZapAnton/sortings [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZapAnton/sortings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZapAnton%2Fsortings", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZapAnton%2Fsortings'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee837d5f10470fa2c9eabbb8dea73ab98436830e [INFO] testing ZapAnton/sortings against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZapAnton%2Fsortings" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ZapAnton/sortings on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ZapAnton/sortings [INFO] finished tweaking git repo https://github.com/ZapAnton/sortings [INFO] tweaked toml for git repo https://github.com/ZapAnton/sortings written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/ZapAnton/sortings already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8db35f877d27891847bb37f5e136391b60bcb9e3b6f9910812e82cab826971bf [INFO] running `Command { std: "docker" "start" "-a" "8db35f877d27891847bb37f5e136391b60bcb9e3b6f9910812e82cab826971bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8db35f877d27891847bb37f5e136391b60bcb9e3b6f9910812e82cab826971bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8db35f877d27891847bb37f5e136391b60bcb9e3b6f9910812e82cab826971bf", kill_on_drop: false }` [INFO] [stdout] 8db35f877d27891847bb37f5e136391b60bcb9e3b6f9910812e82cab826971bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1fff4150ec6d7e49fa565e598bc9d30e10776947f1f21f042a3cfb833923f2c8 [INFO] running `Command { std: "docker" "start" "-a" "1fff4150ec6d7e49fa565e598bc9d30e10776947f1f21f042a3cfb833923f2c8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.39 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling sortings v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/sort.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | fn sort(&self, &mut [i32], &Box bool>); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut [i32]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/sort.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | fn sort(&self, &mut [i32], &Box bool>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Box bool>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sort.rs:58:53 [INFO] [stdout] | [INFO] [stdout] 58 | fn partition_slice(slice: &mut [i32], compare: &Box bool>) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 - fn partition_slice(slice: &mut [i32], compare: &Box bool>) -> usize { [INFO] [stdout] 58 + fn partition_slice(slice: &mut [i32], compare: &Box bool>) -> usize { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sort.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | fn sort(&self, &mut [i32], &Box bool>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 2 - fn sort(&self, &mut [i32], &Box bool>); [INFO] [stdout] 2 + fn sort(&self, &mut [i32], &Box bool>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sort.rs:11:53 [INFO] [stdout] | [INFO] [stdout] 11 | fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stdout] 11 + fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sort.rs:23:53 [INFO] [stdout] | [INFO] [stdout] 23 | fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stdout] 23 + fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sort.rs:41:53 [INFO] [stdout] | [INFO] [stdout] 41 | fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stdout] 41 + fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sort.rs:81:53 [INFO] [stdout] | [INFO] [stdout] 81 | fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 - fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stdout] 81 + fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:38:43 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn choose_comparison_closure() -> Box bool> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - pub fn choose_comparison_closure() -> Box bool> { [INFO] [stdout] 38 + pub fn choose_comparison_closure() -> Box bool> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:61:39 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn choose_sorting_method() -> Box { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 - pub fn choose_sorting_method() -> Box { [INFO] [stdout] 61 + pub fn choose_sorting_method() -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:73:44 [INFO] [stdout] | [INFO] [stdout] 73 | 1 => Box::new(BubbleSorter) as Box, [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 - 1 => Box::new(BubbleSorter) as Box, [INFO] [stdout] 73 + 1 => Box::new(BubbleSorter) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:74:44 [INFO] [stdout] | [INFO] [stdout] 74 | 2 => Box::new(InsertSorter) as Box, [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 - 2 => Box::new(InsertSorter) as Box, [INFO] [stdout] 74 + 2 => Box::new(InsertSorter) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:75:43 [INFO] [stdout] | [INFO] [stdout] 75 | 3 => Box::new(QuickSorter) as Box, [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - 3 => Box::new(QuickSorter) as Box, [INFO] [stdout] 75 + 3 => Box::new(QuickSorter) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:76:47 [INFO] [stdout] | [INFO] [stdout] 76 | 4 => Box::new(SelectionSorter) as Box, [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 - 4 => Box::new(SelectionSorter) as Box, [INFO] [stdout] 76 + 4 => Box::new(SelectionSorter) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:79:42 [INFO] [stdout] | [INFO] [stdout] 79 | Box::new(QuickSorter) as Box [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 79 - Box::new(QuickSorter) as Box [INFO] [stdout] 79 + Box::new(QuickSorter) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.60s [INFO] running `Command { std: "docker" "inspect" "1fff4150ec6d7e49fa565e598bc9d30e10776947f1f21f042a3cfb833923f2c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fff4150ec6d7e49fa565e598bc9d30e10776947f1f21f042a3cfb833923f2c8", kill_on_drop: false }` [INFO] [stdout] 1fff4150ec6d7e49fa565e598bc9d30e10776947f1f21f042a3cfb833923f2c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77c9aca5ddbc39180939686827c29544de56686d65b857015a954361a08b331e [INFO] running `Command { std: "docker" "start" "-a" "77c9aca5ddbc39180939686827c29544de56686d65b857015a954361a08b331e", kill_on_drop: false }` [INFO] [stderr] Compiling sortings v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/sort.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | fn sort(&self, &mut [i32], &Box bool>); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut [i32]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/sort.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | fn sort(&self, &mut [i32], &Box bool>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Box bool>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sort.rs:58:53 [INFO] [stdout] | [INFO] [stdout] 58 | fn partition_slice(slice: &mut [i32], compare: &Box bool>) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 - fn partition_slice(slice: &mut [i32], compare: &Box bool>) -> usize { [INFO] [stdout] 58 + fn partition_slice(slice: &mut [i32], compare: &Box bool>) -> usize { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sort.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | fn sort(&self, &mut [i32], &Box bool>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 2 - fn sort(&self, &mut [i32], &Box bool>); [INFO] [stdout] 2 + fn sort(&self, &mut [i32], &Box bool>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sort.rs:11:53 [INFO] [stdout] | [INFO] [stdout] 11 | fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stdout] 11 + fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sort.rs:23:53 [INFO] [stdout] | [INFO] [stdout] 23 | fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stdout] 23 + fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sort.rs:41:53 [INFO] [stdout] | [INFO] [stdout] 41 | fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stdout] 41 + fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sort.rs:81:53 [INFO] [stdout] | [INFO] [stdout] 81 | fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 - fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stdout] 81 + fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:38:43 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn choose_comparison_closure() -> Box bool> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - pub fn choose_comparison_closure() -> Box bool> { [INFO] [stdout] 38 + pub fn choose_comparison_closure() -> Box bool> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:61:39 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn choose_sorting_method() -> Box { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 - pub fn choose_sorting_method() -> Box { [INFO] [stdout] 61 + pub fn choose_sorting_method() -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:73:44 [INFO] [stdout] | [INFO] [stdout] 73 | 1 => Box::new(BubbleSorter) as Box, [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 - 1 => Box::new(BubbleSorter) as Box, [INFO] [stdout] 73 + 1 => Box::new(BubbleSorter) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:74:44 [INFO] [stdout] | [INFO] [stdout] 74 | 2 => Box::new(InsertSorter) as Box, [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 - 2 => Box::new(InsertSorter) as Box, [INFO] [stdout] 74 + 2 => Box::new(InsertSorter) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:75:43 [INFO] [stdout] | [INFO] [stdout] 75 | 3 => Box::new(QuickSorter) as Box, [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - 3 => Box::new(QuickSorter) as Box, [INFO] [stdout] 75 + 3 => Box::new(QuickSorter) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:76:47 [INFO] [stdout] | [INFO] [stdout] 76 | 4 => Box::new(SelectionSorter) as Box, [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 - 4 => Box::new(SelectionSorter) as Box, [INFO] [stdout] 76 + 4 => Box::new(SelectionSorter) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:79:42 [INFO] [stdout] | [INFO] [stdout] 79 | Box::new(QuickSorter) as Box [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 79 - Box::new(QuickSorter) as Box [INFO] [stdout] 79 + Box::new(QuickSorter) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sort.rs:111:58 [INFO] [stdout] | [INFO] [stdout] 111 | let compare_less = Box::new(|x, y| x > y) as Box bool>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 111 - let compare_less = Box::new(|x, y| x > y) as Box bool>; [INFO] [stdout] 111 + let compare_less = Box::new(|x, y| x > y) as Box bool>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sort.rs:113:61 [INFO] [stdout] | [INFO] [stdout] 113 | let compare_greater = Box::new(|x, y| x < y) as Box bool>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 - let compare_greater = Box::new(|x, y| x < y) as Box bool>; [INFO] [stdout] 113 + let compare_greater = Box::new(|x, y| x < y) as Box bool>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sort.rs:132:30 [INFO] [stdout] | [INFO] [stdout] 132 | let sorters: Vec> = vec![ [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 132 - let sorters: Vec> = vec![ [INFO] [stdout] 132 + let sorters: Vec> = vec![ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sort.rs:139:26 [INFO] [stdout] | [INFO] [stdout] 139 | let compare: Box bool> = Box::new(|x, y| x < y); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 139 - let compare: Box bool> = Box::new(|x, y| x < y); [INFO] [stdout] 139 + let compare: Box bool> = Box::new(|x, y| x < y); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.73s [INFO] running `Command { std: "docker" "inspect" "77c9aca5ddbc39180939686827c29544de56686d65b857015a954361a08b331e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77c9aca5ddbc39180939686827c29544de56686d65b857015a954361a08b331e", kill_on_drop: false }` [INFO] [stdout] 77c9aca5ddbc39180939686827c29544de56686d65b857015a954361a08b331e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 093b9855abd5ce96961079a6f12e059be06f403386b8972cbec362ec897e44bd [INFO] running `Command { std: "docker" "start" "-a" "093b9855abd5ce96961079a6f12e059be06f403386b8972cbec362ec897e44bd", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/sort.rs:2:20 [INFO] [stderr] | [INFO] [stderr] 2 | fn sort(&self, &mut [i32], &Box bool>); [INFO] [stderr] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut [i32]` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/sort.rs:2:32 [INFO] [stderr] | [INFO] [stderr] 2 | fn sort(&self, &mut [i32], &Box bool>); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Box bool>` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/sort.rs:58:53 [INFO] [stderr] | [INFO] [stderr] 58 | fn partition_slice(slice: &mut [i32], compare: &Box bool>) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 58 - fn partition_slice(slice: &mut [i32], compare: &Box bool>) -> usize { [INFO] [stderr] 58 + fn partition_slice(slice: &mut [i32], compare: &Box bool>) -> usize { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/sort.rs:2:37 [INFO] [stderr] | [INFO] [stderr] 2 | fn sort(&self, &mut [i32], &Box bool>); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 2 - fn sort(&self, &mut [i32], &Box bool>); [INFO] [stderr] 2 + fn sort(&self, &mut [i32], &Box bool>); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/sort.rs:11:53 [INFO] [stderr] | [INFO] [stderr] 11 | fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 11 - fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stderr] 11 + fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/sort.rs:23:53 [INFO] [stderr] | [INFO] [stderr] 23 | fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 23 - fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stderr] 23 + fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/sort.rs:41:53 [INFO] [stderr] | [INFO] [stderr] 41 | fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 41 - fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stderr] 41 + fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/sort.rs:81:53 [INFO] [stderr] | [INFO] [stderr] 81 | fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 81 - fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stderr] 81 + fn sort(&self, slice: &mut [i32], compare: &Box bool>) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/utils.rs:38:43 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn choose_comparison_closure() -> Box bool> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 38 - pub fn choose_comparison_closure() -> Box bool> { [INFO] [stderr] 38 + pub fn choose_comparison_closure() -> Box bool> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/utils.rs:61:39 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn choose_sorting_method() -> Box { [INFO] [stderr] | ^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 61 - pub fn choose_sorting_method() -> Box { [INFO] [stderr] 61 + pub fn choose_sorting_method() -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/utils.rs:73:44 [INFO] [stderr] | [INFO] [stderr] 73 | 1 => Box::new(BubbleSorter) as Box, [INFO] [stderr] | ^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 73 - 1 => Box::new(BubbleSorter) as Box, [INFO] [stderr] 73 + 1 => Box::new(BubbleSorter) as Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/utils.rs:74:44 [INFO] [stderr] | [INFO] [stderr] 74 | 2 => Box::new(InsertSorter) as Box, [INFO] [stderr] | ^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 74 - 2 => Box::new(InsertSorter) as Box, [INFO] [stderr] 74 + 2 => Box::new(InsertSorter) as Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/utils.rs:75:43 [INFO] [stderr] | [INFO] [stderr] 75 | 3 => Box::new(QuickSorter) as Box, [INFO] [stderr] | ^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 75 - 3 => Box::new(QuickSorter) as Box, [INFO] [stderr] 75 + 3 => Box::new(QuickSorter) as Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/utils.rs:76:47 [INFO] [stderr] | [INFO] [stderr] 76 | 4 => Box::new(SelectionSorter) as Box, [INFO] [stderr] | ^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 76 - 4 => Box::new(SelectionSorter) as Box, [INFO] [stderr] 76 + 4 => Box::new(SelectionSorter) as Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/utils.rs:79:42 [INFO] [stderr] | [INFO] [stderr] 79 | Box::new(QuickSorter) as Box [INFO] [stderr] | ^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 79 - Box::new(QuickSorter) as Box [INFO] [stderr] 79 + Box::new(QuickSorter) as Box [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/sort.rs:111:58 [INFO] [stderr] | [INFO] [stderr] 111 | let compare_less = Box::new(|x, y| x > y) as Box bool>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 111 - let compare_less = Box::new(|x, y| x > y) as Box bool>; [INFO] [stderr] 111 + let compare_less = Box::new(|x, y| x > y) as Box bool>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/sort.rs:113:61 [INFO] [stderr] | [INFO] [stderr] 113 | let compare_greater = Box::new(|x, y| x < y) as Box bool>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 113 - let compare_greater = Box::new(|x, y| x < y) as Box bool>; [INFO] [stderr] 113 + let compare_greater = Box::new(|x, y| x < y) as Box bool>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/sort.rs:132:30 [INFO] [stderr] | [INFO] [stderr] 132 | let sorters: Vec> = vec![ [INFO] [stderr] | ^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 132 - let sorters: Vec> = vec![ [INFO] [stderr] 132 + let sorters: Vec> = vec![ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/sort.rs:139:26 [INFO] [stderr] | [INFO] [stderr] 139 | let compare: Box bool> = Box::new(|x, y| x < y); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 139 - let compare: Box bool> = Box::new(|x, y| x < y); [INFO] [stderr] 139 + let compare: Box bool> = Box::new(|x, y| x < y); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `sortings` (bin "sortings" test) generated 19 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.49s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/sortings-5e209adf1fc2e098) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test sort::tests::selection_sort_test ... ok [INFO] [stdout] test sort::tests::general_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "093b9855abd5ce96961079a6f12e059be06f403386b8972cbec362ec897e44bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "093b9855abd5ce96961079a6f12e059be06f403386b8972cbec362ec897e44bd", kill_on_drop: false }` [INFO] [stdout] 093b9855abd5ce96961079a6f12e059be06f403386b8972cbec362ec897e44bd