[INFO] cloning repository https://github.com/Grokmoo/rusolve [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Grokmoo/rusolve" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGrokmoo%2Frusolve", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGrokmoo%2Frusolve'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a9ec37dc58f791af2c59ae318b8fcecd8bcdd90f [INFO] checking Grokmoo/rusolve against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGrokmoo%2Frusolve" "/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/Grokmoo/rusolve on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Grokmoo/rusolve [INFO] finished tweaking git repo https://github.com/Grokmoo/rusolve [INFO] tweaked toml for git repo https://github.com/Grokmoo/rusolve written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Grokmoo/rusolve 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aed242f167c76ae9c7505cda9704292ffc4651c2969e383592c33e37215d205f [INFO] running `Command { std: "docker" "start" "-a" "aed242f167c76ae9c7505cda9704292ffc4651c2969e383592c33e37215d205f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aed242f167c76ae9c7505cda9704292ffc4651c2969e383592c33e37215d205f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aed242f167c76ae9c7505cda9704292ffc4651c2969e383592c33e37215d205f", kill_on_drop: false }` [INFO] [stdout] aed242f167c76ae9c7505cda9704292ffc4651c2969e383592c33e37215d205f [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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 033e9f566cd30fb1bd69e064c080f9055a7ab25eb755878083c3c736e37121e0 [INFO] running `Command { std: "docker" "start" "-a" "033e9f566cd30fb1bd69e064c080f9055a7ab25eb755878083c3c736e37121e0", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking regex-syntax v0.6.14 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking rusolve v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking aho-corasick v0.7.8 [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/matrix.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 142 | for col in self.cols() { [INFO] [stdout] | ----------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] 143 | self.swap_values(row1, col, row2, col); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/matrix.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 153 | for col in self.cols() { [INFO] [stdout] | ----------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] 154 | let value = self.value(row, col); [INFO] [stdout] 155 | self.set_value(row, col, value * mult); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/matrix.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 166 | for col in self.cols() { [INFO] [stdout] | ----------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] 167 | let value = self.value(src, col) * mult + self.value(dest, col); [INFO] [stdout] 168 | self.set_value(dest, col, value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `matrix` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/gaussian_elimination.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 79 | for row in matrix.rows_from(pivot_row + 1) { [INFO] [stdout] | ------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] 80 | let coeff = matrix.value(row, pivot_col) / matrix.value(pivot_row, pivot_col); [INFO] [stdout] 81 | matrix.set_value(row, pivot_col, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `matrix` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/gaussian_elimination.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 79 | for row in matrix.rows_from(pivot_row + 1) { [INFO] [stdout] | ------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 85 | matrix.set_value(row, col, value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `matrix` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/simplex.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 49 | for row in matrix.rows() { [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] 50 | for col in matrix.cols_range(last_col - num_artificial, last_col) { [INFO] [stdout] 51 | matrix.set_value(row, col, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*matrix` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/simplex.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 244 | for row in matrix.rows() { [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 248 | matrix.add_row(pivot_row, row, mult); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusolve` (lib) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "033e9f566cd30fb1bd69e064c080f9055a7ab25eb755878083c3c736e37121e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "033e9f566cd30fb1bd69e064c080f9055a7ab25eb755878083c3c736e37121e0", kill_on_drop: false }` [INFO] [stdout] 033e9f566cd30fb1bd69e064c080f9055a7ab25eb755878083c3c736e37121e0