[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZapAnton%2Fsortings" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ZapAnton/sortings on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-9/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" "+1.60.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b377f468494290cb8e0c4656237ebbef55ef597dfdb46b706f6039a4567bbd24 [INFO] running `Command { std: "docker" "start" "-a" "b377f468494290cb8e0c4656237ebbef55ef597dfdb46b706f6039a4567bbd24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b377f468494290cb8e0c4656237ebbef55ef597dfdb46b706f6039a4567bbd24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b377f468494290cb8e0c4656237ebbef55ef597dfdb46b706f6039a4567bbd24", kill_on_drop: false }` [INFO] [stdout] b377f468494290cb8e0c4656237ebbef55ef597dfdb46b706f6039a4567bbd24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c805b3f1951fab0e03618da491d24a3d3d950886146c9a56955c565d1bf86232 [INFO] running `Command { std: "docker" "start" "-a" "c805b3f1951fab0e03618da491d24a3d3d950886146c9a56955c565d1bf86232", 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 3.39s [INFO] running `Command { std: "docker" "inspect" "c805b3f1951fab0e03618da491d24a3d3d950886146c9a56955c565d1bf86232", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c805b3f1951fab0e03618da491d24a3d3d950886146c9a56955c565d1bf86232", kill_on_drop: false }` [INFO] [stdout] c805b3f1951fab0e03618da491d24a3d3d950886146c9a56955c565d1bf86232 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b10dfd9254ecd69c4cadfcbd6947a3446aebec556c766e9a738a1b2d1a93e9f [INFO] running `Command { std: "docker" "start" "-a" "9b10dfd9254ecd69c4cadfcbd6947a3446aebec556c766e9a738a1b2d1a93e9f", 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.52s [INFO] running `Command { std: "docker" "inspect" "9b10dfd9254ecd69c4cadfcbd6947a3446aebec556c766e9a738a1b2d1a93e9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b10dfd9254ecd69c4cadfcbd6947a3446aebec556c766e9a738a1b2d1a93e9f", kill_on_drop: false }` [INFO] [stdout] 9b10dfd9254ecd69c4cadfcbd6947a3446aebec556c766e9a738a1b2d1a93e9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 988b731a4f9cec355a638f580656aa22dbbf8ea6883610c72e8ed41bd98f3daa [INFO] running `Command { std: "docker" "start" "-a" "988b731a4f9cec355a638f580656aa22dbbf8ea6883610c72e8ed41bd98f3daa", kill_on_drop: false }` [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 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/sortings-87c38ac267331946) [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.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "988b731a4f9cec355a638f580656aa22dbbf8ea6883610c72e8ed41bd98f3daa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "988b731a4f9cec355a638f580656aa22dbbf8ea6883610c72e8ed41bd98f3daa", kill_on_drop: false }` [INFO] [stdout] 988b731a4f9cec355a638f580656aa22dbbf8ea6883610c72e8ed41bd98f3daa