[INFO] cloning repository https://github.com/WannesMalfait/Connect_4 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WannesMalfait/Connect_4" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWannesMalfait%2FConnect_4", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWannesMalfait%2FConnect_4'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b3917324a944b2f5f5c89979a6da86a3192693e5 [INFO] checking WannesMalfait/Connect_4 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWannesMalfait%2FConnect_4" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WannesMalfait/Connect_4 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/WannesMalfait/Connect_4 [INFO] finished tweaking git repo https://github.com/WannesMalfait/Connect_4 [INFO] tweaked toml for git repo https://github.com/WannesMalfait/Connect_4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/WannesMalfait/Connect_4 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 833af3659a0e6dfc714b926fa5195f740e95cabd90b1e27e0a7bf40793c37afc [INFO] running `Command { std: "docker" "start" "-a" "833af3659a0e6dfc714b926fa5195f740e95cabd90b1e27e0a7bf40793c37afc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "833af3659a0e6dfc714b926fa5195f740e95cabd90b1e27e0a7bf40793c37afc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "833af3659a0e6dfc714b926fa5195f740e95cabd90b1e27e0a7bf40793c37afc", kill_on_drop: false }` [INFO] [stdout] 833af3659a0e6dfc714b926fa5195f740e95cabd90b1e27e0a7bf40793c37afc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 0719f70af78cfacc2cde3448d6ae02e1466bd51fe760b280847c704cf9eb3447 [INFO] running `Command { std: "docker" "start" "-a" "0719f70af78cfacc2cde3448d6ae02e1466bd51fe760b280847c704cf9eb3447", kill_on_drop: false }` [INFO] [stderr] Checking connect_4 v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/solver.rs:559:17 [INFO] [stdout] | [INFO] [stdout] 559 | self.launch_searcher(output, pos, weak, i), [INFO] [stdout] | ^^^^-------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `*self` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | argument requires that `*self` is borrowed for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/solver.rs:559:17 [INFO] [stdout] | [INFO] [stdout] 548 | &mut self, [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 559 | self.launch_searcher(output, pos, weak, i), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/solver.rs:559:17 [INFO] [stdout] | [INFO] [stdout] 551 | pos: &Position, [INFO] [stdout] | --- - let's call the lifetime of this reference `'2` [INFO] [stdout] | | [INFO] [stdout] | `pos` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 559 | self.launch_searcher(output, pos, weak, i), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `pos` escapes the method body here [INFO] [stdout] | argument requires that `'2` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/solver.rs:562:31 [INFO] [stdout] | [INFO] [stdout] 559 | self.launch_searcher(output, pos, weak, i), [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*self` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 562 | let mut total_nodes = self.launch_searcher(output, pos, weak, 0)(); [INFO] [stdout] | ^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.shared_context.score` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/solver.rs:569:13 [INFO] [stdout] | [INFO] [stdout] 559 | self.launch_searcher(output, pos, weak, i), [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | argument requires that `*self` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 569 | self.shared_context.score.load(Ordering::Relaxed), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/solver.rs:559:17 [INFO] [stdout] | [INFO] [stdout] 559 | self.launch_searcher(output, pos, weak, i), [INFO] [stdout] | ^^^^-------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `*self` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | argument requires that `*self` is borrowed for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/solver.rs:559:17 [INFO] [stdout] | [INFO] [stdout] 548 | &mut self, [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 559 | self.launch_searcher(output, pos, weak, i), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/solver.rs:559:17 [INFO] [stdout] | [INFO] [stdout] 551 | pos: &Position, [INFO] [stdout] | --- - let's call the lifetime of this reference `'2` [INFO] [stdout] | | [INFO] [stdout] | `pos` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 559 | self.launch_searcher(output, pos, weak, i), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `pos` escapes the method body here [INFO] [stdout] | argument requires that `'2` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/solver.rs:562:31 [INFO] [stdout] | [INFO] [stdout] 559 | self.launch_searcher(output, pos, weak, i), [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*self` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 562 | let mut total_nodes = self.launch_searcher(output, pos, weak, 0)(); [INFO] [stdout] | ^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.shared_context.score` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/solver.rs:569:13 [INFO] [stdout] | [INFO] [stdout] 559 | self.launch_searcher(output, pos, weak, i), [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | argument requires that `*self` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 569 | self.shared_context.score.load(Ordering::Relaxed), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0502, E0521. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `connect_4` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0502, E0521. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `connect_4` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "0719f70af78cfacc2cde3448d6ae02e1466bd51fe760b280847c704cf9eb3447", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0719f70af78cfacc2cde3448d6ae02e1466bd51fe760b280847c704cf9eb3447", kill_on_drop: false }` [INFO] [stdout] 0719f70af78cfacc2cde3448d6ae02e1466bd51fe760b280847c704cf9eb3447