[INFO] cloning repository https://github.com/Coni63/cg_samegame_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Coni63/cg_samegame_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FConi63%2Fcg_samegame_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FConi63%2Fcg_samegame_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c401cd7529b6ea8df9854a3549da73f76c79e08b
[INFO] checking Coni63/cg_samegame_rust against master#46424fb5054f211ec836c5c03159f92e46bb35ac for pr-139042
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FConi63%2Fcg_samegame_rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Coni63/cg_samegame_rust on toolchain 46424fb5054f211ec836c5c03159f92e46bb35ac
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Coni63/cg_samegame_rust
[INFO] finished tweaking git repo https://github.com/Coni63/cg_samegame_rust
[INFO] tweaked toml for git repo https://github.com/Coni63/cg_samegame_rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Coni63/cg_samegame_rust 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" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rusqlite v0.32.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c0a0a96300dfd53e56b593b9beb62698bb44f5ec760d58ab4bc7a35c3c6beb86
[INFO] running `Command { std: "docker" "start" "-a" "c0a0a96300dfd53e56b593b9beb62698bb44f5ec760d58ab4bc7a35c3c6beb86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c0a0a96300dfd53e56b593b9beb62698bb44f5ec760d58ab4bc7a35c3c6beb86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c0a0a96300dfd53e56b593b9beb62698bb44f5ec760d58ab4bc7a35c3c6beb86", kill_on_drop: false }`
[INFO] [stdout] c0a0a96300dfd53e56b593b9beb62698bb44f5ec760d58ab4bc7a35c3c6beb86
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d97560eb99ae4134d0a796cc9f630932f5875954a7cf9a1defa50807de7cbfe5
[INFO] running `Command { std: "docker" "start" "-a" "d97560eb99ae4134d0a796cc9f630932f5875954a7cf9a1defa50807de7cbfe5", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]     Checking allocator-api2 v0.2.18
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling serde v1.0.209
[INFO] [stderr]    Compiling serde_json v1.0.127
[INFO] [stderr]     Checking itoa v1.0.11
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking either v1.13.0
[INFO] [stderr]     Checking fallible-streaming-iterator v0.1.9
[INFO] [stderr]     Checking fallible-iterator v0.3.0
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]     Checking ryu v1.0.18
[INFO] [stderr]     Checking fxhash v0.2.1
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking itertools v0.13.0
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.76
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling serde_derive v1.0.209
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking hashlink v0.9.1
[INFO] [stderr]     Checking lru v0.12.4
[INFO] [stderr]     Checking rusqlite v0.32.1
[INFO] [stderr]     Checking cg_samegame_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find function `get_probs` in this scope
[INFO] [stdout]    --> src/solvers/tabucolor.rs:160:17
[INFO] [stdout]     |
[INFO] [stdout] 160 |         let p = get_probs(&count_color);
[INFO] [stdout]     |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: function `crate::solvers::mcrws::get_probs` exists but is inaccessible
[INFO] [stdout]    --> src/solvers/mcrws.rs:99:1
[INFO] [stdout]     |
[INFO] [stdout] 99  | fn get_probs(colors: &[u8; 5]) -> [f32; 5] {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `pick_index` in this scope
[INFO] [stdout]    --> src/solvers/tabucolor.rs:162:29
[INFO] [stdout]     |
[INFO] [stdout] 162 |         let color_to_pick = pick_index(&p);
[INFO] [stdout]     |                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: function `crate::solvers::mcrws::pick_index` exists but is inaccessible
[INFO] [stdout]    --> src/solvers/mcrws.rs:133:1
[INFO] [stdout]     |
[INFO] [stdout] 133 | fn pick_index(probabilities: &[f32]) -> i8 {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]   --> src/solvers/tabucolor.rs:26:37
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl<'a> Node<'a> {
[INFO] [stdout]    |      -- lifetime `'a` declared here
[INFO] [stdout] 26 |     pub fn new(board: &'a Board) -> Node {
[INFO] [stdout]    |                                     ^^^^ this elided lifetime gets resolved as `'a`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(elided_named_lifetimes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_probs` in this scope
[INFO] [stdout]    --> src/solvers/tabucolor.rs:160:17
[INFO] [stdout]     |
[INFO] [stdout] 160 |         let p = get_probs(&count_color);
[INFO] [stdout]     |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: function `crate::solvers::mcrws::get_probs` exists but is inaccessible
[INFO] [stdout]    --> src/solvers/mcrws.rs:99:1
[INFO] [stdout]     |
[INFO] [stdout] 99  | fn get_probs(colors: &[u8; 5]) -> [f32; 5] {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `pick_index` in this scope
[INFO] [stdout]    --> src/solvers/tabucolor.rs:162:29
[INFO] [stdout]     |
[INFO] [stdout] 162 |         let color_to_pick = pick_index(&p);
[INFO] [stdout]     |                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: function `crate::solvers::mcrws::pick_index` exists but is inaccessible
[INFO] [stdout]    --> src/solvers/mcrws.rs:133:1
[INFO] [stdout]     |
[INFO] [stdout] 133 | fn pick_index(probabilities: &[f32]) -> i8 {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]   --> src/solvers/tabucolor.rs:26:37
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl<'a> Node<'a> {
[INFO] [stdout]    |      -- lifetime `'a` declared here
[INFO] [stdout] 26 |     pub fn new(board: &'a Board) -> Node {
[INFO] [stdout]    |                                     ^^^^ this elided lifetime gets resolved as `'a`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(elided_named_lifetimes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `*node` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> src/solvers/tabucolor.rs:121:9
[INFO] [stdout]     |
[INFO] [stdout] 121 |         node.backpropagate(score);
[INFO] [stdout]     |         ^^^^ `node` is a `&` reference, so the data it refers to cannot be borrowed as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be a mutable reference
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let mut node = &mut root;
[INFO] [stdout]     |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `*node` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> src/solvers/tabucolor.rs:132:17
[INFO] [stdout]     |
[INFO] [stdout] 132 |                 node.set_leaf();
[INFO] [stdout]     |                 ^^^^ `node` is a `&` reference, so the data it refers to cannot be borrowed as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be a mutable reference
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let mut node = &mut root;
[INFO] [stdout]     |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `copy` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> src/solvers/tabucolor.rs:136:17
[INFO] [stdout]     |
[INFO] [stdout] 136 |                 copy.play_region(region);
[INFO] [stdout]     |                 ^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 135 |                 let mut copy = node.get_board().clone();
[INFO] [stdout]     |                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `*node` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> src/solvers/tabucolor.rs:137:17
[INFO] [stdout]     |
[INFO] [stdout] 137 |                 node.add_child(&Node::new(&copy));
[INFO] [stdout]     |                 ^^^^ `node` is a `&` reference, so the data it refers to cannot be borrowed as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be a mutable reference
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let mut node = &mut root;
[INFO] [stdout]     |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/solvers/tabucolor.rs:137:33
[INFO] [stdout]     |
[INFO] [stdout] 135 |                 let copy = node.get_board().clone();
[INFO] [stdout]     |                            ---- borrow later used here
[INFO] [stdout] 136 |                 copy.play_region(region);
[INFO] [stdout] 137 |                 node.add_child(&Node::new(&copy));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^ - temporary value is freed at the end of this statement
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 creates a temporary value which is freed while still in use
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `copy` does not live long enough
[INFO] [stdout]    --> src/solvers/tabucolor.rs:137:43
[INFO] [stdout]     |
[INFO] [stdout] 135 |                 let copy = node.get_board().clone();
[INFO] [stdout]     |                     ----   ---- borrow later used here
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     binding `copy` declared here
[INFO] [stdout] 136 |                 copy.play_region(region);
[INFO] [stdout] 137 |                 node.add_child(&Node::new(&copy));
[INFO] [stdout]     |                                           ^^^^^ borrowed value does not live long enough
[INFO] [stdout] 138 |             }
[INFO] [stdout]     |             - `copy` dropped here while still borrowed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0596, E0597, E0716.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cg_samegame_rust` (bin "cg_samegame_rust") due to 8 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0596]: cannot borrow `*node` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> src/solvers/tabucolor.rs:121:9
[INFO] [stdout]     |
[INFO] [stdout] 121 |         node.backpropagate(score);
[INFO] [stdout]     |         ^^^^ `node` is a `&` reference, so the data it refers to cannot be borrowed as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be a mutable reference
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let mut node = &mut root;
[INFO] [stdout]     |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `*node` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> src/solvers/tabucolor.rs:132:17
[INFO] [stdout]     |
[INFO] [stdout] 132 |                 node.set_leaf();
[INFO] [stdout]     |                 ^^^^ `node` is a `&` reference, so the data it refers to cannot be borrowed as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be a mutable reference
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let mut node = &mut root;
[INFO] [stdout]     |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `copy` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> src/solvers/tabucolor.rs:136:17
[INFO] [stdout]     |
[INFO] [stdout] 136 |                 copy.play_region(region);
[INFO] [stdout]     |                 ^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 135 |                 let mut copy = node.get_board().clone();
[INFO] [stdout]     |                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `*node` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> src/solvers/tabucolor.rs:137:17
[INFO] [stdout]     |
[INFO] [stdout] 137 |                 node.add_child(&Node::new(&copy));
[INFO] [stdout]     |                 ^^^^ `node` is a `&` reference, so the data it refers to cannot be borrowed as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be a mutable reference
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let mut node = &mut root;
[INFO] [stdout]     |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/solvers/tabucolor.rs:137:33
[INFO] [stdout]     |
[INFO] [stdout] 135 |                 let copy = node.get_board().clone();
[INFO] [stdout]     |                            ---- borrow later used here
[INFO] [stdout] 136 |                 copy.play_region(region);
[INFO] [stdout] 137 |                 node.add_child(&Node::new(&copy));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^ - temporary value is freed at the end of this statement
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 creates a temporary value which is freed while still in use
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `copy` does not live long enough
[INFO] [stdout]    --> src/solvers/tabucolor.rs:137:43
[INFO] [stdout]     |
[INFO] [stdout] 135 |                 let copy = node.get_board().clone();
[INFO] [stdout]     |                     ----   ---- borrow later used here
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     binding `copy` declared here
[INFO] [stdout] 136 |                 copy.play_region(region);
[INFO] [stdout] 137 |                 node.add_child(&Node::new(&copy));
[INFO] [stdout]     |                                           ^^^^^ borrowed value does not live long enough
[INFO] [stdout] 138 |             }
[INFO] [stdout]     |             - `copy` dropped here while still borrowed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0596, E0597, E0716.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cg_samegame_rust` (bin "cg_samegame_rust" test) due to 8 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "d97560eb99ae4134d0a796cc9f630932f5875954a7cf9a1defa50807de7cbfe5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d97560eb99ae4134d0a796cc9f630932f5875954a7cf9a1defa50807de7cbfe5", kill_on_drop: false }`
[INFO] [stdout] d97560eb99ae4134d0a796cc9f630932f5875954a7cf9a1defa50807de7cbfe5
