[INFO] cloning repository https://github.com/TheCheesyWiggle/Mergesort-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheCheesyWiggle/Mergesort-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheCheesyWiggle%2FMergesort-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheCheesyWiggle%2FMergesort-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2538bdb239e59c162594bc5b8bdc0f165ad4c11e [INFO] testing TheCheesyWiggle/Mergesort-Rust 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%2FTheCheesyWiggle%2FMergesort-Rust" "/workspace/builds/worker-17/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-17/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheCheesyWiggle/Mergesort-Rust 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/TheCheesyWiggle/Mergesort-Rust [INFO] finished tweaking git repo https://github.com/TheCheesyWiggle/Mergesort-Rust [INFO] tweaked toml for git repo https://github.com/TheCheesyWiggle/Mergesort-Rust written to /workspace/builds/worker-17/source/Cargo.toml [INFO] crate git repo https://github.com/TheCheesyWiggle/Mergesort-Rust 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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] a1af8639c7983884e6c0434c45ce4a049b14b8e4f086d010be0b434dba2a61be [INFO] running `Command { std: "docker" "start" "-a" "a1af8639c7983884e6c0434c45ce4a049b14b8e4f086d010be0b434dba2a61be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1af8639c7983884e6c0434c45ce4a049b14b8e4f086d010be0b434dba2a61be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1af8639c7983884e6c0434c45ce4a049b14b8e4f086d010be0b434dba2a61be", kill_on_drop: false }` [INFO] [stdout] a1af8639c7983884e6c0434c45ce4a049b14b8e4f086d010be0b434dba2a61be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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] b5c04906d1d13d5c785051b8b88a29dd3c632cfbea2ffe0bb85e6eafdbec8b98 [INFO] running `Command { std: "docker" "start" "-a" "b5c04906d1d13d5c785051b8b88a29dd3c632cfbea2ffe0bb85e6eafdbec8b98", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling merge_sort v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the type `[i32]` cannot be indexed by `&mut i32` [INFO] [stdout] --> src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | array[z] == rand::random(); [INFO] [stdout] | ^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[i32]>` is not implemented for `&mut i32` [INFO] [stdout] = note: required because of the requirements on the impl of `Index<&mut i32>` for `[i32]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let &mut left = [mid..]; [INFO] [stdout] | ^^^^^^^^^ ------- this expression has type `[RangeFrom; 1]` [INFO] [stdout] | | [INFO] [stdout] | expected array of 1 element, found `&mut _` [INFO] [stdout] | [INFO] [stdout] = note: expected array `[RangeFrom; 1]` [INFO] [stdout] found mutable reference `&mut _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let &mut right = [..mid]; [INFO] [stdout] | ^^^^^^^^^^ ------- this expression has type `[RangeTo; 1]` [INFO] [stdout] | | [INFO] [stdout] | expected array of 1 element, found `&mut _` [INFO] [stdout] | [INFO] [stdout] = note: expected array `[RangeTo; 1]` [INFO] [stdout] found mutable reference `&mut _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `merge_sort` due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "b5c04906d1d13d5c785051b8b88a29dd3c632cfbea2ffe0bb85e6eafdbec8b98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5c04906d1d13d5c785051b8b88a29dd3c632cfbea2ffe0bb85e6eafdbec8b98", kill_on_drop: false }` [INFO] [stdout] b5c04906d1d13d5c785051b8b88a29dd3c632cfbea2ffe0bb85e6eafdbec8b98