[INFO] cloning repository https://github.com/AuroransSolis/fractions_and_matrices [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AuroransSolis/fractions_and_matrices" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAuroransSolis%2Ffractions_and_matrices", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAuroransSolis%2Ffractions_and_matrices'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1c9dc186e532e4fe050bd19d9dfdadb6e3931d69 [INFO] checking AuroransSolis/fractions_and_matrices/1c9dc186e532e4fe050bd19d9dfdadb6e3931d69 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAuroransSolis%2Ffractions_and_matrices" "/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/AuroransSolis/fractions_and_matrices on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AuroransSolis/fractions_and_matrices [INFO] finished tweaking git repo https://github.com/AuroransSolis/fractions_and_matrices [INFO] tweaked toml for git repo https://github.com/AuroransSolis/fractions_and_matrices written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/AuroransSolis/fractions_and_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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-bigint v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47ed1a1e60d23e3e007c276425ac0d9aaaa744f90161264166b01a0ba2cd0939 [INFO] running `Command { std: "docker" "start" "-a" "47ed1a1e60d23e3e007c276425ac0d9aaaa744f90161264166b01a0ba2cd0939", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47ed1a1e60d23e3e007c276425ac0d9aaaa744f90161264166b01a0ba2cd0939", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47ed1a1e60d23e3e007c276425ac0d9aaaa744f90161264166b01a0ba2cd0939", kill_on_drop: false }` [INFO] [stdout] 47ed1a1e60d23e3e007c276425ac0d9aaaa744f90161264166b01a0ba2cd0939 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aeebb046a4303d6960fac7103a4af7c5f8aebf263e8793173cb57787b8a68cb9 [INFO] running `Command { std: "docker" "start" "-a" "aeebb046a4303d6960fac7103a4af7c5f8aebf263e8793173cb57787b8a68cb9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling num-bigint v0.2.0 [INFO] [stderr] Compiling num-complex v0.2.0 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking fractions_and_matrices v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0502]: cannot borrow `*self` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/matrices/transforms.rs:141:42 [INFO] [stdout] | [INFO] [stdout] 141 | self[(target, b)] += self[(tool, b)].clone(); [INFO] [stdout] | ---------------------^^^^------------------- [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow occurs here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | mutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 1028 | transforms_impl!{Matrix: Matrix, AugmentedMatrix: AugmentedMatrix} [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: try adding a local storing this... [INFO] [stdout] --> src/matrices/transforms.rs:141:46 [INFO] [stdout] | [INFO] [stdout] 141 | self[(target, b)] += self[(tool, b)].clone(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1028 | transforms_impl!{Matrix: Matrix, AugmentedMatrix: AugmentedMatrix} [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] help: ...and then using that local here [INFO] [stdout] --> src/matrices/transforms.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | self[(target, b)] += self[(tool, b)].clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1028 | transforms_impl!{Matrix: Matrix, AugmentedMatrix: AugmentedMatrix} [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this error originates in the macro `transforms_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/matrices/transforms.rs:141:42 [INFO] [stdout] | [INFO] [stdout] 141 | self[(target, b)] += self[(tool, b)].clone(); [INFO] [stdout] | ---------------------^^^^------------------- [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow occurs here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | mutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 1028 | transforms_impl!{Matrix: Matrix, AugmentedMatrix: AugmentedMatrix} [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: try adding a local storing this... [INFO] [stdout] --> src/matrices/transforms.rs:141:46 [INFO] [stdout] | [INFO] [stdout] 141 | self[(target, b)] += self[(tool, b)].clone(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1028 | transforms_impl!{Matrix: Matrix, AugmentedMatrix: AugmentedMatrix} [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] help: ...and then using that local here [INFO] [stdout] --> src/matrices/transforms.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | self[(target, b)] += self[(tool, b)].clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1028 | transforms_impl!{Matrix: Matrix, AugmentedMatrix: AugmentedMatrix} [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this error originates in the macro `transforms_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/matrices/transforms.rs:149:42 [INFO] [stdout] | [INFO] [stdout] 149 | self[(target, b)] -= self[(tool, b)].clone(); [INFO] [stdout] | ---------------------^^^^------------------- [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow occurs here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | mutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 1028 | transforms_impl!{Matrix: Matrix, AugmentedMatrix: AugmentedMatrix} [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: try adding a local storing this... [INFO] [stdout] --> src/matrices/transforms.rs:149:46 [INFO] [stdout] | [INFO] [stdout] 149 | self[(target, b)] -= self[(tool, b)].clone(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1028 | transforms_impl!{Matrix: Matrix, AugmentedMatrix: AugmentedMatrix} [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] help: ...and then using that local here [INFO] [stdout] --> src/matrices/transforms.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | self[(target, b)] -= self[(tool, b)].clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1028 | transforms_impl!{Matrix: Matrix, AugmentedMatrix: AugmentedMatrix} [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this error originates in the macro `transforms_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/matrices/transforms.rs:149:42 [INFO] [stdout] | [INFO] [stdout] 149 | self[(target, b)] -= self[(tool, b)].clone(); [INFO] [stdout] | ---------------------^^^^------------------- [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow occurs here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | mutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 1028 | transforms_impl!{Matrix: Matrix, AugmentedMatrix: AugmentedMatrix} [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: try adding a local storing this... [INFO] [stdout] --> src/matrices/transforms.rs:149:46 [INFO] [stdout] | [INFO] [stdout] 149 | self[(target, b)] -= self[(tool, b)].clone(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1028 | transforms_impl!{Matrix: Matrix, AugmentedMatrix: AugmentedMatrix} [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] help: ...and then using that local here [INFO] [stdout] --> src/matrices/transforms.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | self[(target, b)] -= self[(tool, b)].clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1028 | transforms_impl!{Matrix: Matrix, AugmentedMatrix: AugmentedMatrix} [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this error originates in the macro `transforms_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fractions_and_matrices` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `fractions_and_matrices` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "aeebb046a4303d6960fac7103a4af7c5f8aebf263e8793173cb57787b8a68cb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aeebb046a4303d6960fac7103a4af7c5f8aebf263e8793173cb57787b8a68cb9", kill_on_drop: false }` [INFO] [stdout] aeebb046a4303d6960fac7103a4af7c5f8aebf263e8793173cb57787b8a68cb9