[INFO] cloning repository https://github.com/TTedy/Rust-Verkefni-1
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TTedy/Rust-Verkefni-1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTTedy%2FRust-Verkefni-1", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTTedy%2FRust-Verkefni-1'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e00266b0e632c944fd58451db0430e0e9946a31a
[INFO] testing TTedy/Rust-Verkefni-1 against 1.98.0-beta.8+cargoflags=--release for beta-release-1.99-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTTedy%2FRust-Verkefni-1" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/TTedy/Rust-Verkefni-1
[INFO] finished tweaking git repo https://github.com/TTedy/Rust-Verkefni-1
[INFO] tweaked toml for git repo https://github.com/TTedy/Rust-Verkefni-1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/TTedy/Rust-Verkefni-1 on toolchain 1.98.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/TTedy/Rust-Verkefni-1 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" "+1.98.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1c022260c2dfe52bc7eac9298c40e34890775f5511bf5ffb33a2b4a8c998d803
[INFO] running `Command { std: "docker" "start" "1c022260c2dfe52bc7eac9298c40e34890775f5511bf5ffb33a2b4a8c998d803", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1c022260c2dfe52bc7eac9298c40e34890775f5511bf5ffb33a2b4a8c998d803", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1c022260c2dfe52bc7eac9298c40e34890775f5511bf5ffb33a2b4a8c998d803" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1c022260c2dfe52bc7eac9298c40e34890775f5511bf5ffb33a2b4a8c998d803", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1c022260c2dfe52bc7eac9298c40e34890775f5511bf5ffb33a2b4a8c998d803" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling arrays v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find value `half` in this scope
[INFO] [stdout]   --> src/main.rs:13:27
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut current = arr[half];  
[INFO] [stdout]    |                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `half` in this scope
[INFO] [stdout]   --> src/main.rs:17:25
[INFO] [stdout]    |
[INFO] [stdout] 17 |             return Some(half)
[INFO] [stdout]    |                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `lind` in this scope
[INFO] [stdout]   --> src/main.rs:19:33
[INFO] [stdout]    |
[INFO] [stdout] 19 |         else if current < find{ lind = half + 1; } else if current > find {
[INFO] [stdout]    |                                 ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 19 -         else if current < find{ lind = half + 1; } else if current > find {
[INFO] [stdout] 19 +         else if current < find{ find = half + 1; } else if current > find {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `half` in this scope
[INFO] [stdout]   --> src/main.rs:19:40
[INFO] [stdout]    |
[INFO] [stdout] 19 |         else if current < find{ lind = half + 1; } else if current > find {
[INFO] [stdout]    |                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for enum `Option`
[INFO] [stdout]  --> src/main.rs:8:47
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn binary_search(arr: &[usize],find:usize) -> Option {
[INFO] [stdout]   |                                               ^^^^^^ expected 1 generic argument
[INFO] [stdout]   |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn binary_search(arr: &[usize],find:usize) -> Option<T> {
[INFO] [stdout]   |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/main.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     binary_search(&mut arr);
[INFO] [stdout]    |     ^^^^^^^^^^^^^----------
[INFO] [stdout]    |                  ||
[INFO] [stdout]    |                  |expected `&[usize]`, found `&mut [i32; 5]`
[INFO] [stdout]    |                  argument #2 of type `usize` is missing
[INFO] [stdout]    |
[INFO] [stdout]    = note:      expected reference `&[usize]`
[INFO] [stdout]            found mutable reference `&mut [i32; 5]`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/main.rs:8:4
[INFO] [stdout]    |
[INFO] [stdout]  8 | fn binary_search(arr: &[usize],find:usize) -> Option {
[INFO] [stdout]    |    ^^^^^^^^^^^^^ ------------- ----------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 32 -     binary_search(&mut arr);
[INFO] [stdout] 32 +     binary_search(/* &[usize] */, /* usize */);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0107, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `arrays` (bin "arrays") due to 6 previous errors
[INFO] running `Command { std: "docker" "inspect" "1c022260c2dfe52bc7eac9298c40e34890775f5511bf5ffb33a2b4a8c998d803", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1c022260c2dfe52bc7eac9298c40e34890775f5511bf5ffb33a2b4a8c998d803", kill_on_drop: false }`
[INFO] [stdout] 1c022260c2dfe52bc7eac9298c40e34890775f5511bf5ffb33a2b4a8c998d803
