[INFO] cloning repository https://github.com/Erzhan004/ddd
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Erzhan004/ddd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErzhan004%2Fddd", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErzhan004%2Fddd'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3fb921488a04d0f58843cb04415e0b8d1c037181
[INFO] building Erzhan004/ddd against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErzhan004%2Fddd" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Erzhan004/ddd on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Erzhan004/ddd
[INFO] finished tweaking git repo https://github.com/Erzhan004/ddd
[INFO] tweaked toml for git repo https://github.com/Erzhan004/ddd written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Erzhan004/ddd already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c123622f60d50e3048e574f7fd6a44963e8b7a5151ea2f8215e338b0026364d3
[INFO] running `Command { std: "docker" "start" "-a" "c123622f60d50e3048e574f7fd6a44963e8b7a5151ea2f8215e338b0026364d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c123622f60d50e3048e574f7fd6a44963e8b7a5151ea2f8215e338b0026364d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c123622f60d50e3048e574f7fd6a44963e8b7a5151ea2f8215e338b0026364d3", kill_on_drop: false }`
[INFO] [stdout] c123622f60d50e3048e574f7fd6a44963e8b7a5151ea2f8215e338b0026364d3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e7bbae41d7eba743db750b30d1614dd4b5d8cccb6fd6f336c8cc8a866db085d8
[INFO] running `Command { std: "docker" "start" "-a" "e7bbae41d7eba743db750b30d1614dd4b5d8cccb6fd6f336c8cc8a866db085d8", kill_on_drop: false }`
[INFO] [stderr]    Compiling sorting_library v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0502]: cannot borrow `*arr` as mutable because it is also borrowed as immutable
[INFO] [stdout]   --> src/quick_sort.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let pivot = &arr[arr.len() / 2];
[INFO] [stdout]    |                 ------------------- immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 15 |         while arr[i] < *pivot {
[INFO] [stdout]    |                        ------ immutable borrow later used here
[INFO] [stdout] ...
[INFO] [stdout] 22 |             arr.swap(i, j);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sorting_library` (lib) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "e7bbae41d7eba743db750b30d1614dd4b5d8cccb6fd6f336c8cc8a866db085d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e7bbae41d7eba743db750b30d1614dd4b5d8cccb6fd6f336c8cc8a866db085d8", kill_on_drop: false }`
[INFO] [stdout] e7bbae41d7eba743db750b30d1614dd4b5d8cccb6fd6f336c8cc8a866db085d8
