[INFO] cloning repository https://github.com/brundonsmith/data_structures_and_algorithms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brundonsmith/data_structures_and_algorithms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrundonsmith%2Fdata_structures_and_algorithms", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrundonsmith%2Fdata_structures_and_algorithms'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b854c5e099c8880c8d0543ed4782c8f12c426fda [INFO] testing brundonsmith/data_structures_and_algorithms against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrundonsmith%2Fdata_structures_and_algorithms" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brundonsmith/data_structures_and_algorithms on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/brundonsmith/data_structures_and_algorithms [INFO] finished tweaking git repo https://github.com/brundonsmith/data_structures_and_algorithms [INFO] tweaked toml for git repo https://github.com/brundonsmith/data_structures_and_algorithms written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/brundonsmith/data_structures_and_algorithms already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] 4b3ea253019de0b8299583badfae5d9a4d40628441a62d79f4eb44b2de08faa6 [INFO] running `Command { std: "docker" "start" "-a" "4b3ea253019de0b8299583badfae5d9a4d40628441a62d79f4eb44b2de08faa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b3ea253019de0b8299583badfae5d9a4d40628441a62d79f4eb44b2de08faa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b3ea253019de0b8299583badfae5d9a4d40628441a62d79f4eb44b2de08faa6", kill_on_drop: false }` [INFO] [stdout] 4b3ea253019de0b8299583badfae5d9a4d40628441a62d79f4eb44b2de08faa6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", 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] 87d9949b5ce3d92025cfa80c5f3f45a32649da4106d8461adc4ec18a207f3b5a [INFO] running `Command { std: "docker" "start" "-a" "87d9949b5ce3d92025cfa80c5f3f45a32649da4106d8461adc4ec18a207f3b5a", kill_on_drop: false }` [INFO] [stderr] Compiling data_structures_and_algorithms v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0601]: `main` function not found in crate `data_structures_and_algorithms` [INFO] [stdout] --> src/main.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | mod data_structures; [INFO] [stdout] | ^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/algorithms/sort.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | pub type SortFn = Fn(&mut [T]) -> (); [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 2018) 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 - pub type SortFn = Fn(&mut [T]) -> (); [INFO] [stdout] 2 + pub type SortFn = dyn Fn(&mut [T]) -> (); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `data_structures_and_algorithms` due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "87d9949b5ce3d92025cfa80c5f3f45a32649da4106d8461adc4ec18a207f3b5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87d9949b5ce3d92025cfa80c5f3f45a32649da4106d8461adc4ec18a207f3b5a", kill_on_drop: false }` [INFO] [stdout] 87d9949b5ce3d92025cfa80c5f3f45a32649da4106d8461adc4ec18a207f3b5a