[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-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheCheesyWiggle%2FMergesort-Rust" "/workspace/builds/worker-113/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-113/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheCheesyWiggle/Mergesort-Rust 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/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-113/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-04-10" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33c8ac6577ae857868660545ea6f67bb68ea244610b5229b493b2175ee5eec0f [INFO] running `Command { std: "docker" "start" "-a" "33c8ac6577ae857868660545ea6f67bb68ea244610b5229b493b2175ee5eec0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33c8ac6577ae857868660545ea6f67bb68ea244610b5229b493b2175ee5eec0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33c8ac6577ae857868660545ea6f67bb68ea244610b5229b493b2175ee5eec0f", kill_on_drop: false }` [INFO] [stdout] 33c8ac6577ae857868660545ea6f67bb68ea244610b5229b493b2175ee5eec0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef503e4c953c9061156e10e4257d8e103a549c606a33605467ecaba364c6430d [INFO] running `Command { std: "docker" "start" "-a" "ef503e4c953c9061156e10e4257d8e103a549c606a33605467ecaba364c6430d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling getrandom v0.1.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" "ef503e4c953c9061156e10e4257d8e103a549c606a33605467ecaba364c6430d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef503e4c953c9061156e10e4257d8e103a549c606a33605467ecaba364c6430d", kill_on_drop: false }` [INFO] [stdout] ef503e4c953c9061156e10e4257d8e103a549c606a33605467ecaba364c6430d