[INFO] cloning repository https://github.com/umm-csci-3403-fall-2020/sorting-in-rust-benb-halley [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/umm-csci-3403-fall-2020/sorting-in-rust-benb-halley" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fumm-csci-3403-fall-2020%2Fsorting-in-rust-benb-halley", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fumm-csci-3403-fall-2020%2Fsorting-in-rust-benb-halley'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d3d04ed636d461b6bf80d4235f6c968afbbda2c7 [INFO] checking umm-csci-3403-fall-2020/sorting-in-rust-benb-halley against try#da0275e101cdc809ce291ed8b64d6f82c6b65467 for pr-134276 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fumm-csci-3403-fall-2020%2Fsorting-in-rust-benb-halley" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/umm-csci-3403-fall-2020/sorting-in-rust-benb-halley on toolchain da0275e101cdc809ce291ed8b64d6f82c6b65467 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da0275e101cdc809ce291ed8b64d6f82c6b65467" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/umm-csci-3403-fall-2020/sorting-in-rust-benb-halley [INFO] finished tweaking git repo https://github.com/umm-csci-3403-fall-2020/sorting-in-rust-benb-halley [INFO] tweaked toml for git repo https://github.com/umm-csci-3403-fall-2020/sorting-in-rust-benb-halley written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/umm-csci-3403-fall-2020/sorting-in-rust-benb-halley 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" "+da0275e101cdc809ce291ed8b64d6f82c6b65467" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+da0275e101cdc809ce291ed8b64d6f82c6b65467" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 220289279d7db775b3592e60519f4122ba3b62cd90b099082cc77d3348a2667d [INFO] running `Command { std: "docker" "start" "-a" "220289279d7db775b3592e60519f4122ba3b62cd90b099082cc77d3348a2667d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "220289279d7db775b3592e60519f4122ba3b62cd90b099082cc77d3348a2667d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "220289279d7db775b3592e60519f4122ba3b62cd90b099082cc77d3348a2667d", kill_on_drop: false }` [INFO] [stdout] 220289279d7db775b3592e60519f4122ba3b62cd90b099082cc77d3348a2667d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+da0275e101cdc809ce291ed8b64d6f82c6b65467" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a23f25d902c37cd8b0a92ccf602baaa7db9881278dd32502bcdc0033abc7be5c [INFO] running `Command { std: "docker" "start" "-a" "a23f25d902c37cd8b0a92ccf602baaa7db9881278dd32502bcdc0033abc7be5c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking sorting-in-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:178:11 [INFO] [stdout] | [INFO] [stdout] 178 | if (xs[xsIndex] <= ys[ysIndex]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 178 - if (xs[xsIndex] <= ys[ysIndex]) { [INFO] [stdout] 178 + if xs[xsIndex] <= ys[ysIndex] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:182:16 [INFO] [stdout] | [INFO] [stdout] 182 | else if (ys[ysIndex] < xs[xsIndex]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 182 - else if (ys[ysIndex] < xs[xsIndex]) { [INFO] [stdout] 182 + else if ys[ysIndex] < xs[xsIndex] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/main.rs:188:11 [INFO] [stdout] | [INFO] [stdout] 188 | while(xsIndex < xs.len()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 188 - while(xsIndex < xs.len()){ [INFO] [stdout] 188 + while xsIndex < xs.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/main.rs:192:11 [INFO] [stdout] | [INFO] [stdout] 192 | while(ysIndex < ys.len()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 192 - while(ysIndex < ys.len()){ [INFO] [stdout] 192 + while ysIndex < ys.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `smaller` is never read [INFO] [stdout] --> src/main.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let mut smaller = length/2; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let mut last_index = length - 1; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `xsIndex` should have a snake case name [INFO] [stdout] --> src/main.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let mut xsIndex = 0; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `xs_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ysIndex` should have a snake case name [INFO] [stdout] --> src/main.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | let mut ysIndex = 0; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `ys_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:178:11 [INFO] [stdout] | [INFO] [stdout] 178 | if (xs[xsIndex] <= ys[ysIndex]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 178 - if (xs[xsIndex] <= ys[ysIndex]) { [INFO] [stdout] 178 + if xs[xsIndex] <= ys[ysIndex] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:182:16 [INFO] [stdout] | [INFO] [stdout] 182 | else if (ys[ysIndex] < xs[xsIndex]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 182 - else if (ys[ysIndex] < xs[xsIndex]) { [INFO] [stdout] 182 + else if ys[ysIndex] < xs[xsIndex] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/main.rs:188:11 [INFO] [stdout] | [INFO] [stdout] 188 | while(xsIndex < xs.len()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 188 - while(xsIndex < xs.len()){ [INFO] [stdout] 188 + while xsIndex < xs.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/main.rs:192:11 [INFO] [stdout] | [INFO] [stdout] 192 | while(ysIndex < ys.len()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 192 - while(ysIndex < ys.len()){ [INFO] [stdout] 192 + while ysIndex < ys.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `smaller` is never read [INFO] [stdout] --> src/main.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let mut smaller = length/2; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let mut last_index = length - 1; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `xsIndex` should have a snake case name [INFO] [stdout] --> src/main.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let mut xsIndex = 0; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `xs_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ysIndex` should have a snake case name [INFO] [stdout] --> src/main.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | let mut ysIndex = 0; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `ys_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.08s [INFO] running `Command { std: "docker" "inspect" "a23f25d902c37cd8b0a92ccf602baaa7db9881278dd32502bcdc0033abc7be5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a23f25d902c37cd8b0a92ccf602baaa7db9881278dd32502bcdc0033abc7be5c", kill_on_drop: false }` [INFO] [stdout] a23f25d902c37cd8b0a92ccf602baaa7db9881278dd32502bcdc0033abc7be5c