[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 master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWannesMalfait%2FConnect_4" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WannesMalfait/Connect_4 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-0-tc1/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" "+506512391b1a75ae450d36c9420978402a91abcc" "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-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3efd0e60bd1b5dac5e24a4b88a575f4008b2ba13f02b8bc113f50e7b031bb6cf [INFO] running `Command { std: "docker" "start" "-a" "3efd0e60bd1b5dac5e24a4b88a575f4008b2ba13f02b8bc113f50e7b031bb6cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3efd0e60bd1b5dac5e24a4b88a575f4008b2ba13f02b8bc113f50e7b031bb6cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3efd0e60bd1b5dac5e24a4b88a575f4008b2ba13f02b8bc113f50e7b031bb6cf", kill_on_drop: false }` [INFO] [stdout] 3efd0e60bd1b5dac5e24a4b88a575f4008b2ba13f02b8bc113f50e7b031bb6cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 010bf6a40e62472ddb400889492816bb067bb7bd882a9ae11cb80246f6458873 [INFO] running `Command { std: "docker" "start" "-a" "010bf6a40e62472ddb400889492816bb067bb7bd882a9ae11cb80246f6458873", kill_on_drop: false }` [INFO] [stderr] Checking connect_4 v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 0.33s [INFO] running `Command { std: "docker" "inspect" "010bf6a40e62472ddb400889492816bb067bb7bd882a9ae11cb80246f6458873", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "010bf6a40e62472ddb400889492816bb067bb7bd882a9ae11cb80246f6458873", kill_on_drop: false }` [INFO] [stdout] 010bf6a40e62472ddb400889492816bb067bb7bd882a9ae11cb80246f6458873 [INFO] checking WannesMalfait/Connect_4 against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWannesMalfait%2FConnect_4" "/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/WannesMalfait/Connect_4 on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "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-0-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" "+dae34b759e282c069aa28752564694effd121a63" "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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c7c613c4e7ff93f314f661401f363b8dcf75becb2338d7a7e53bfc7fc3d265d [INFO] running `Command { std: "docker" "start" "-a" "5c7c613c4e7ff93f314f661401f363b8dcf75becb2338d7a7e53bfc7fc3d265d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c7c613c4e7ff93f314f661401f363b8dcf75becb2338d7a7e53bfc7fc3d265d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c7c613c4e7ff93f314f661401f363b8dcf75becb2338d7a7e53bfc7fc3d265d", kill_on_drop: false }` [INFO] [stdout] 5c7c613c4e7ff93f314f661401f363b8dcf75becb2338d7a7e53bfc7fc3d265d [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=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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 644a93a1c7b32113a4884d51c7026f0876bfd92212d05d5568d63367efc616b2 [INFO] running `Command { std: "docker" "start" "-a" "644a93a1c7b32113a4884d51c7026f0876bfd92212d05d5568d63367efc616b2", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Checking connect_4 v0.2.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 0.55s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking connect_4 v0.2.0 (/tmp/fixit) [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[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 test) due to 6 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "644a93a1c7b32113a4884d51c7026f0876bfd92212d05d5568d63367efc616b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "644a93a1c7b32113a4884d51c7026f0876bfd92212d05d5568d63367efc616b2", kill_on_drop: false }` [INFO] [stdout] 644a93a1c7b32113a4884d51c7026f0876bfd92212d05d5568d63367efc616b2