[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] checking ZapAnton/sortings against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZapAnton%2Fsortings" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ZapAnton/sortings on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", 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-3/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" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "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] d5c767018ea5c7537a3eaf7c840a964a3324bfc47c123da3c6d4f75e93d30271 [INFO] running `Command { std: "docker" "start" "-a" "d5c767018ea5c7537a3eaf7c840a964a3324bfc47c123da3c6d4f75e93d30271", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5c767018ea5c7537a3eaf7c840a964a3324bfc47c123da3c6d4f75e93d30271", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5c767018ea5c7537a3eaf7c840a964a3324bfc47c123da3c6d4f75e93d30271", kill_on_drop: false }` [INFO] [stdout] d5c767018ea5c7537a3eaf7c840a964a3324bfc47c123da3c6d4f75e93d30271 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 242d7511e219f77d42473dfb75324238626c375550f1785b37cfe0e1a9684b4e [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" "242d7511e219f77d42473dfb75324238626c375550f1785b37cfe0e1a9684b4e", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.39 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking sortings v0.1.0 (/opt/rustwide/workdir) [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32, i32) -> bool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32, i32) -> bool` [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32, i32) -> bool` [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32, i32) -> bool` [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32, i32) -> bool` [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32, i32) -> bool` [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32, i32) -> bool` [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] | ^^^^^^^^^ help: use `dyn`: `dyn SortSlice` [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] | ^^^^^^^^^ help: use `dyn`: `dyn SortSlice` [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] | ^^^^^^^^^ help: use `dyn`: `dyn SortSlice` [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] | ^^^^^^^^^ help: use `dyn`: `dyn SortSlice` [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] | ^^^^^^^^^ help: use `dyn`: `dyn SortSlice` [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] | ^^^^^^^^^ help: use `dyn`: `dyn SortSlice` [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32, i32) -> bool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32, i32) -> bool` [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32, i32) -> bool` [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32, i32) -> bool` [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32, i32) -> bool` [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32, i32) -> bool` [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32, i32) -> bool` [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32, i32) -> bool` [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] | ^^^^^^^^^ help: use `dyn`: `dyn SortSlice` [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32, i32) -> bool` [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32, i32) -> bool` [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] | ^^^^^^^^^ help: use `dyn`: `dyn SortSlice` [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] | ^^^^^^^^^ help: use `dyn`: `dyn SortSlice` [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] | ^^^^^^^^^ help: use `dyn`: `dyn SortSlice` [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] | ^^^^^^^^^ help: use `dyn`: `dyn SortSlice` [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] | ^^^^^^^^^ help: use `dyn`: `dyn SortSlice` [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] | ^^^^^^^^^ help: use `dyn`: `dyn SortSlice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.15s [INFO] running `Command { std: "docker" "inspect" "242d7511e219f77d42473dfb75324238626c375550f1785b37cfe0e1a9684b4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "242d7511e219f77d42473dfb75324238626c375550f1785b37cfe0e1a9684b4e", kill_on_drop: false }` [INFO] [stdout] 242d7511e219f77d42473dfb75324238626c375550f1785b37cfe0e1a9684b4e