[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 try#f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FConi63%2Fcg_samegame_rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[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-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Coni63/cg_samegame_rust on toolchain f77b5bc6c7c84df104f86b0dd01d9490e3923fa8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 92ef6ffe24b9a64b48b2a98a4450669e8a9a6f4b08452e8879be1813b81aa0a8
[INFO] running `Command { std: "docker" "start" "-a" "92ef6ffe24b9a64b48b2a98a4450669e8a9a6f4b08452e8879be1813b81aa0a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "92ef6ffe24b9a64b48b2a98a4450669e8a9a6f4b08452e8879be1813b81aa0a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "92ef6ffe24b9a64b48b2a98a4450669e8a9a6f4b08452e8879be1813b81aa0a8", kill_on_drop: false }`
[INFO] [stdout] 92ef6ffe24b9a64b48b2a98a4450669e8a9a6f4b08452e8879be1813b81aa0a8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7b87b80a1028e115bc4ebd53660f7ed2f48a98e51ce6ced22ae019a30e7bee04
[INFO] running `Command { std: "docker" "start" "-a" "7b87b80a1028e115bc4ebd53660f7ed2f48a98e51ce6ced22ae019a30e7bee04", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]     Checking allocator-api2 v0.2.18
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling serde v1.0.209
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]     Checking fallible-iterator v0.3.0
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]     Checking either v1.13.0
[INFO] [stderr]     Checking fallible-streaming-iterator v0.1.9
[INFO] [stderr]     Checking itertools v0.13.0
[INFO] [stderr]    Compiling syn v2.0.76
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[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 ahash v0.8.11
[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 serde_json v1.0.127
[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] 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] 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
[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
[INFO] running `Command { std: "docker" "inspect" "7b87b80a1028e115bc4ebd53660f7ed2f48a98e51ce6ced22ae019a30e7bee04", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b87b80a1028e115bc4ebd53660f7ed2f48a98e51ce6ced22ae019a30e7bee04", kill_on_drop: false }`
[INFO] [stdout] 7b87b80a1028e115bc4ebd53660f7ed2f48a98e51ce6ced22ae019a30e7bee04
