[INFO] cloning repository https://github.com/syynis/robotac [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/syynis/robotac" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsyynis%2Frobotac", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsyynis%2Frobotac'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a41cca861f6c76a2864dd254f35b8373456ee5e0 [INFO] checking syynis/robotac against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsyynis%2Frobotac" "/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/syynis/robotac on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/syynis/robotac [INFO] finished tweaking git repo https://github.com/syynis/robotac [INFO] tweaked toml for git repo https://github.com/syynis/robotac written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/syynis/robotac 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smallvec v2.0.0-alpha.6 [INFO] [stderr] Downloaded enum-map v2.7.3 [INFO] [stderr] Downloaded crossbeam v0.8.4 [INFO] [stderr] Downloaded enum-map-derive v0.17.0 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c277eccac0892fb9ebf6062f499c7df1a533ab827ce07294d22c5f0a800265e [INFO] running `Command { std: "docker" "start" "-a" "2c277eccac0892fb9ebf6062f499c7df1a533ab827ce07294d22c5f0a800265e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c277eccac0892fb9ebf6062f499c7df1a533ab827ce07294d22c5f0a800265e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c277eccac0892fb9ebf6062f499c7df1a533ab827ce07294d22c5f0a800265e", kill_on_drop: false }` [INFO] [stdout] 2c277eccac0892fb9ebf6062f499c7df1a533ab827ce07294d22c5f0a800265e [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eea31a62cefe2482c629d4c8f7768a7ec3cde76de6f675890316a5c8882787f8 [INFO] running `Command { std: "docker" "start" "-a" "eea31a62cefe2482c629d4c8f7768a7ec3cde76de6f675890316a5c8882787f8", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking smallvec v2.0.0-alpha.6 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Checking enum-map v2.7.3 [INFO] [stderr] Checking tac-types v0.1.0 (/opt/rustwide/workdir/types) [INFO] [stderr] Checking mcts v0.1.0 (/opt/rustwide/workdir/mcts) [INFO] [stdout] warning: unused variable: `child_idx` [INFO] [stdout] --> mcts/src/search.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | let (child, child_idx) = { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_child_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `child_idx` [INFO] [stdout] --> mcts/src/search.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | let (child, child_idx) = { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_child_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eval` [INFO] [stdout] --> mcts/src/search.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | let eval = new_eval.as_ref().unwrap_or(&node.eval); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_eval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eval` [INFO] [stdout] --> mcts/src/search.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | let eval = new_eval.as_ref().unwrap_or(&node.eval); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_eval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> mcts/src/search.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | for i in 0..rollout_length { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> mcts/src/search.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | for i in 0..rollout_length { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reciprocals` is never read [INFO] [stdout] --> mcts/src/policies.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct AlphaGoPolicy { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 74 | exploration_constant: f64, [INFO] [stdout] 75 | reciprocals: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AlphaGoPolicy` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reciprocal` is never used [INFO] [stdout] --> mcts/src/policies.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl AlphaGoPolicy { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | fn reciprocal(&self, x: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `removal` is never used [INFO] [stdout] --> mcts/src/search.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 80 | impl SearchTree { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 157 | fn removal(&mut self, children: &RwLock>>) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reciprocals` is never read [INFO] [stdout] --> mcts/src/policies.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct AlphaGoPolicy { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 74 | exploration_constant: f64, [INFO] [stdout] 75 | reciprocals: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AlphaGoPolicy` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reciprocal` is never used [INFO] [stdout] --> mcts/src/policies.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl AlphaGoPolicy { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | fn reciprocal(&self, x: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `removal` is never used [INFO] [stdout] --> mcts/src/search.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 80 | impl SearchTree { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 157 | fn removal(&mut self, children: &RwLock>>) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking robotac v0.1.0 (/opt/rustwide/workdir/robotac) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> robotac/src/board.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 321 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 322 | / steps [INFO] [stdout] 323 | | .iter() [INFO] [stdout] 324 | | .sorted_by_key(|s| match s { [INFO] [stdout] 325 | | TacAction::Step { from, to } => to.0, [INFO] [stdout] ... | [INFO] [stdout] 331 | | }) [INFO] [stdout] 332 | | .rev(); [INFO] [stdout] | |___________________________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> robotac/src/board.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 321 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 322 | / steps [INFO] [stdout] 323 | | .iter() [INFO] [stdout] 324 | | .sorted_by_key(|s| match s { [INFO] [stdout] 325 | | TacAction::Step { from, to } => to.0, [INFO] [stdout] ... | [INFO] [stdout] 331 | | }) [INFO] [stdout] 332 | | .rev(); [INFO] [stdout] | |___________________________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `steps` [INFO] [stdout] --> robotac/src/board.rs:320:37 [INFO] [stdout] | [INFO] [stdout] 320 | TacAction::SevenSteps { steps } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `steps: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> robotac/src/board.rs:325:43 [INFO] [stdout] | [INFO] [stdout] 325 | TacAction::Step { from, to } => to.0, [INFO] [stdout] | ^^^^ help: try ignoring the field: `from: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> robotac/src/board.rs:326:53 [INFO] [stdout] | [INFO] [stdout] 326 | TacAction::StepHome { from, to } => 64 + from, [INFO] [stdout] | ^^ help: try ignoring the field: `to: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> robotac/src/board.rs:327:55 [INFO] [stdout] | [INFO] [stdout] 327 | TacAction::StepInHome { from, to } => { [INFO] [stdout] | ^^ help: try ignoring the field: `to: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `steps` [INFO] [stdout] --> robotac/src/board.rs:392:37 [INFO] [stdout] | [INFO] [stdout] 392 | TacAction::SevenSteps { steps } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `steps: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `steps` [INFO] [stdout] --> robotac/src/board.rs:320:37 [INFO] [stdout] | [INFO] [stdout] 320 | TacAction::SevenSteps { steps } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `steps: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> robotac/src/board.rs:325:43 [INFO] [stdout] | [INFO] [stdout] 325 | TacAction::Step { from, to } => to.0, [INFO] [stdout] | ^^^^ help: try ignoring the field: `from: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> robotac/src/board.rs:326:53 [INFO] [stdout] | [INFO] [stdout] 326 | TacAction::StepHome { from, to } => 64 + from, [INFO] [stdout] | ^^ help: try ignoring the field: `to: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> robotac/src/board.rs:327:55 [INFO] [stdout] | [INFO] [stdout] 327 | TacAction::StepInHome { from, to } => { [INFO] [stdout] | ^^ help: try ignoring the field: `to: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `steps` [INFO] [stdout] --> robotac/src/board.rs:392:37 [INFO] [stdout] | [INFO] [stdout] 392 | TacAction::SevenSteps { steps } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `steps: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `count_known` is never used [INFO] [stdout] --> mcts/examples/lands.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl HandKnowledge { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn count_known(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `determinize_hand_with_knowledge` is never used [INFO] [stdout] --> mcts/examples/lands.rs:266:8 [INFO] [stdout] | [INFO] [stdout] 172 | impl LandsGame { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 266 | fn determinize_hand_with_knowledge(&mut self, player: Player) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `captured` [INFO] [stdout] --> robotac/src/movegen.rs:284:33 [INFO] [stdout] | [INFO] [stdout] 284 | if let Some((last_move, captured)) = self.past_moves().iter().rev().find(|&(c, _)| { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_captured` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `observer` [INFO] [stdout] --> robotac/src/lib.rs:75:43 [INFO] [stdout] | [INFO] [stdout] 75 | fn randomize_determination(&mut self, observer: Self::Player) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_observer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Rev` that must be used [INFO] [stdout] --> robotac/src/board.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 322 | / steps [INFO] [stdout] 323 | | .iter() [INFO] [stdout] 324 | | .sorted_by_key(|s| match s { [INFO] [stdout] 325 | | TacAction::Step { from, to } => to.0, [INFO] [stdout] ... | [INFO] [stdout] 331 | | }) [INFO] [stdout] 332 | | .rev(); [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 322 | let _ = steps [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `captured` [INFO] [stdout] --> robotac/src/movegen.rs:284:33 [INFO] [stdout] | [INFO] [stdout] 284 | if let Some((last_move, captured)) = self.past_moves().iter().rev().find(|&(c, _)| { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_captured` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `observer` [INFO] [stdout] --> robotac/src/lib.rs:75:43 [INFO] [stdout] | [INFO] [stdout] 75 | fn randomize_determination(&mut self, observer: Self::Player) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_observer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Rev` that must be used [INFO] [stdout] --> robotac/src/board.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 322 | / steps [INFO] [stdout] 323 | | .iter() [INFO] [stdout] 324 | | .sorted_by_key(|s| match s { [INFO] [stdout] 325 | | TacAction::Step { from, to } => to.0, [INFO] [stdout] ... | [INFO] [stdout] 331 | | }) [INFO] [stdout] 332 | | .rev(); [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 322 | let _ = steps [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> robotac/examples/moves.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.01s [INFO] running `Command { std: "docker" "inspect" "eea31a62cefe2482c629d4c8f7768a7ec3cde76de6f675890316a5c8882787f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eea31a62cefe2482c629d4c8f7768a7ec3cde76de6f675890316a5c8882787f8", kill_on_drop: false }` [INFO] [stdout] eea31a62cefe2482c629d4c8f7768a7ec3cde76de6f675890316a5c8882787f8 [INFO] checking syynis/robotac against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsyynis%2Frobotac" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/syynis/robotac on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/syynis/robotac [INFO] finished tweaking git repo https://github.com/syynis/robotac [INFO] tweaked toml for git repo https://github.com/syynis/robotac written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/syynis/robotac 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab9057ef15fcc560b4f41f35eb164f740128188f88d06338e8439352fe8057f1 [INFO] running `Command { std: "docker" "start" "-a" "ab9057ef15fcc560b4f41f35eb164f740128188f88d06338e8439352fe8057f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab9057ef15fcc560b4f41f35eb164f740128188f88d06338e8439352fe8057f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab9057ef15fcc560b4f41f35eb164f740128188f88d06338e8439352fe8057f1", kill_on_drop: false }` [INFO] [stdout] ab9057ef15fcc560b4f41f35eb164f740128188f88d06338e8439352fe8057f1 [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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0324ad7255c1f2587a05e261dbc50ef6763d54e98fd57e8d80692bd53ca12bbc [INFO] running `Command { std: "docker" "start" "-a" "0324ad7255c1f2587a05e261dbc50ef6763d54e98fd57e8d80692bd53ca12bbc", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking smallvec v2.0.0-alpha.6 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Checking enum-map v2.7.3 [INFO] [stderr] Checking tac-types v0.1.0 (/opt/rustwide/workdir/types) [INFO] [stderr] Checking mcts v0.1.0 (/opt/rustwide/workdir/mcts) [INFO] [stdout] warning: unused variable: `child_idx` [INFO] [stdout] --> mcts/src/search.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | let (child, child_idx) = { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_child_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `child_idx` [INFO] [stdout] --> mcts/src/search.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | let (child, child_idx) = { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_child_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eval` [INFO] [stdout] --> mcts/src/search.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | let eval = new_eval.as_ref().unwrap_or(&node.eval); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_eval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eval` [INFO] [stdout] --> mcts/src/search.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | let eval = new_eval.as_ref().unwrap_or(&node.eval); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_eval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> mcts/src/search.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | for i in 0..rollout_length { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> mcts/src/search.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | for i in 0..rollout_length { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reciprocals` is never read [INFO] [stdout] --> mcts/src/policies.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct AlphaGoPolicy { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 74 | exploration_constant: f64, [INFO] [stdout] 75 | reciprocals: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AlphaGoPolicy` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reciprocal` is never used [INFO] [stdout] --> mcts/src/policies.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl AlphaGoPolicy { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | fn reciprocal(&self, x: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `removal` is never used [INFO] [stdout] --> mcts/src/search.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 80 | impl SearchTree { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 157 | fn removal(&mut self, children: &RwLock>>) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> mcts/src/manager.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(state: M::State, manager: M, policy: M::Select, eval: M::Eval) -> Self { [INFO] [stdout] | --------------- ---------- ----------------- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let search_tree = SearchTree::new(state, manager, policy, eval); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | tld: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> mcts/src/manager.rs:89:26 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn make_move(self, mv: Move) -> Self { [INFO] [stdout] | ---- ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | let mut new_state = self.search_tree.root_state().clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 89 | search_tree: self.search_tree.new_root(new_state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> mcts/src/manager.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn make_move(self, mv: Move) -> Self { [INFO] [stdout] | ---- ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | let mut new_state = self.search_tree.root_state().clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | tld: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> mcts/src/policies.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn select_random(&mut self, elts: Iter) -> Option<(usize, T)> [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | elts.enumerate().nth(self.rng.gen_range(0..len)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reciprocals` is never read [INFO] [stdout] --> mcts/src/policies.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct AlphaGoPolicy { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 74 | exploration_constant: f64, [INFO] [stdout] 75 | reciprocals: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AlphaGoPolicy` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reciprocal` is never used [INFO] [stdout] --> mcts/src/policies.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl AlphaGoPolicy { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | fn reciprocal(&self, x: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> mcts/src/search.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | .filter(|x| legal.clone().into_iter().any(|l| x.mv == l)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `removal` is never used [INFO] [stdout] --> mcts/src/search.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 80 | impl SearchTree { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 157 | fn removal(&mut self, children: &RwLock>>) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> mcts/src/search.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn new(state: M::State, manager: M, policy: M::Select, eval: M::Eval) -> Self { [INFO] [stdout] | --------------- ---------- ----------------- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | let root = create_node(&eval, &policy, &state, None, true); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | orphaned: Mutex::new(Vec::new()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> mcts/src/manager.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(state: M::State, manager: M, policy: M::Select, eval: M::Eval) -> Self { [INFO] [stdout] | --------------- ---------- ----------------- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let search_tree = SearchTree::new(state, manager, policy, eval); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | tld: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> mcts/src/search.rs:493:20 [INFO] [stdout] | [INFO] [stdout] 491 | fn empty(eval: StateEval) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 492 | Self { [INFO] [stdout] 493 | moves: Vec::new().into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> mcts/src/manager.rs:89:26 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn make_move(self, mv: Move) -> Self { [INFO] [stdout] | ---- ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | let mut new_state = self.search_tree.root_state().clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 89 | search_tree: self.search_tree.new_root(new_state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> mcts/src/manager.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn make_move(self, mv: Move) -> Self { [INFO] [stdout] | ---- ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | let mut new_state = self.search_tree.root_state().clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | tld: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> mcts/src/policies.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn select_random(&mut self, elts: Iter) -> Option<(usize, T)> [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | elts.enumerate().nth(self.rng.gen_range(0..len)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> mcts/src/search.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | .filter(|x| legal.clone().into_iter().any(|l| x.mv == l)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> mcts/src/search.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn new(state: M::State, manager: M, policy: M::Select, eval: M::Eval) -> Self { [INFO] [stdout] | --------------- ---------- ----------------- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | let root = create_node(&eval, &policy, &state, None, true); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | orphaned: Mutex::new(Vec::new()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> mcts/src/search.rs:493:20 [INFO] [stdout] | [INFO] [stdout] 491 | fn empty(eval: StateEval) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 492 | Self { [INFO] [stdout] 493 | moves: Vec::new().into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mcts` (lib) due to 8 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mcts` (lib test) due to 8 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0324ad7255c1f2587a05e261dbc50ef6763d54e98fd57e8d80692bd53ca12bbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0324ad7255c1f2587a05e261dbc50ef6763d54e98fd57e8d80692bd53ca12bbc", kill_on_drop: false }` [INFO] [stdout] 0324ad7255c1f2587a05e261dbc50ef6763d54e98fd57e8d80692bd53ca12bbc