[INFO] cloning repository https://github.com/NnannaOmoke/matrices [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NnannaOmoke/matrices" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNnannaOmoke%2Fmatrices", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNnannaOmoke%2Fmatrices'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75b2a3589c82cc16cfde45dee56ede9e6a21bd22 [INFO] checking NnannaOmoke/matrices against master#2f3dc46465c04d10cb74d34b1bd80c3ebfdc05bf for pr-128725 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNnannaOmoke%2Fmatrices" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NnannaOmoke/matrices on toolchain 2f3dc46465c04d10cb74d34b1bd80c3ebfdc05bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2f3dc46465c04d10cb74d34b1bd80c3ebfdc05bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/NnannaOmoke/matrices [INFO] finished tweaking git repo https://github.com/NnannaOmoke/matrices [INFO] tweaked toml for git repo https://github.com/NnannaOmoke/matrices written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/NnannaOmoke/matrices 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" "+2f3dc46465c04d10cb74d34b1bd80c3ebfdc05bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking NnannaOmoke/matrices against try#9c7f973c4f483238f1484927772d0446e5686cc0 for pr-128725 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNnannaOmoke%2Fmatrices" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NnannaOmoke/matrices on toolchain 9c7f973c4f483238f1484927772d0446e5686cc0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7f973c4f483238f1484927772d0446e5686cc0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/NnannaOmoke/matrices [INFO] finished tweaking git repo https://github.com/NnannaOmoke/matrices [INFO] tweaked toml for git repo https://github.com/NnannaOmoke/matrices written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/NnannaOmoke/matrices 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" "+9c7f973c4f483238f1484927772d0446e5686cc0" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking NnannaOmoke/matrices against try#9c7f973c4f483238f1484927772d0446e5686cc0 for pr-128725 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNnannaOmoke%2Fmatrices" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NnannaOmoke/matrices on toolchain 9c7f973c4f483238f1484927772d0446e5686cc0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7f973c4f483238f1484927772d0446e5686cc0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/NnannaOmoke/matrices [INFO] finished tweaking git repo https://github.com/NnannaOmoke/matrices [INFO] tweaked toml for git repo https://github.com/NnannaOmoke/matrices written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/NnannaOmoke/matrices 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" "+9c7f973c4f483238f1484927772d0446e5686cc0" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+9c7f973c4f483238f1484927772d0446e5686cc0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53354d3294da497da4db97b79c238187d47cba5265709c54ce78b925a6231af9 [INFO] running `Command { std: "docker" "start" "-a" "53354d3294da497da4db97b79c238187d47cba5265709c54ce78b925a6231af9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53354d3294da497da4db97b79c238187d47cba5265709c54ce78b925a6231af9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53354d3294da497da4db97b79c238187d47cba5265709c54ce78b925a6231af9", kill_on_drop: false }` [INFO] [stdout] 53354d3294da497da4db97b79c238187d47cba5265709c54ce78b925a6231af9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+9c7f973c4f483238f1484927772d0446e5686cc0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f581ea163d2a0f1979c0aca3d1f5ec1ee32785d1d01f33441716d3124f87d670 [INFO] running `Command { std: "docker" "start" "-a" "f581ea163d2a0f1979c0aca3d1f5ec1ee32785d1d01f33441716d3124f87d670", kill_on_drop: false }` [INFO] [stderr] Checking matrices v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let mut res: Vec = Vec::new(); [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] error[E0502]: cannot borrow `matrix[_]` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 179 | for (index, _) in matrix.iter().enumerate(){ [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 190 | matrix[indextwo][indexthree] = matrix[indextwo][indexthree] - ratio * matrix[index][indexthree]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let mut res: Vec = Vec::new(); [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] error[E0502]: cannot borrow `matrix[_]` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 179 | for (index, _) in matrix.iter().enumerate(){ [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 190 | matrix[indextwo][indexthree] = matrix[indextwo][indexthree] - ratio * matrix[index][indexthree]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `matrices` (bin "matrices") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `matrices` (bin "matrices" test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "f581ea163d2a0f1979c0aca3d1f5ec1ee32785d1d01f33441716d3124f87d670", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f581ea163d2a0f1979c0aca3d1f5ec1ee32785d1d01f33441716d3124f87d670", kill_on_drop: false }` [INFO] [stdout] f581ea163d2a0f1979c0aca3d1f5ec1ee32785d1d01f33441716d3124f87d670