[INFO] cloning repository https://github.com/ssttevee/rust-mcts-connect-four [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ssttevee/rust-mcts-connect-four" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fssttevee%2Frust-mcts-connect-four", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fssttevee%2Frust-mcts-connect-four'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d09b9e4390457f868b1a414061365653ce75e2a2 [INFO] building ssttevee/rust-mcts-connect-four against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fssttevee%2Frust-mcts-connect-four" "/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/ssttevee/rust-mcts-connect-four on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ssttevee/rust-mcts-connect-four [INFO] finished tweaking git repo https://github.com/ssttevee/rust-mcts-connect-four [INFO] tweaked toml for git repo https://github.com/ssttevee/rust-mcts-connect-four written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ssttevee/rust-mcts-connect-four 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: file `/workspace/builds/worker-0-tc1/source/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `libc4` [INFO] [stderr] * `bin` target `connect-4` [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 414d5fff27af0812f0cc8f9bd4ac99dce6877eb5a59b73789ea6302c482f913c [INFO] running `Command { std: "docker" "start" "-a" "414d5fff27af0812f0cc8f9bd4ac99dce6877eb5a59b73789ea6302c482f913c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "414d5fff27af0812f0cc8f9bd4ac99dce6877eb5a59b73789ea6302c482f913c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "414d5fff27af0812f0cc8f9bd4ac99dce6877eb5a59b73789ea6302c482f913c", kill_on_drop: false }` [INFO] [stdout] 414d5fff27af0812f0cc8f9bd4ac99dce6877eb5a59b73789ea6302c482f913c [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=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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df3139f99c9d9e824dd80aebeb90ddc5784f2a6292b6bece345d21c5d8d77ec0 [INFO] running `Command { std: "docker" "start" "-a" "df3139f99c9d9e824dd80aebeb90ddc5784f2a6292b6bece345d21c5d8d77ec0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `libc4` [INFO] [stderr] * `bin` target `connect-4` [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling spin v0.5.0 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.2.0 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling getrandom v0.1.6 [INFO] [stderr] Compiling termion v1.5.3 [INFO] [stderr] Compiling rand_core v0.5.0 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling connect-4 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/main.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Done` is never constructed [INFO] [stdout] --> src/cli.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Done; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `player_move` is never used [INFO] [stdout] --> src/cli.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn player_move ()>(game: &mut Game, input: &mut io::Lines>, print_board: F) -> Result<(usize, usize), D... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mcts_move` is never used [INFO] [stdout] --> src/cli.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn mcts_move(game: &mut Game, mcts: &MCTS) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hbot_move` is never used [INFO] [stdout] --> src/cli.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn hbot_move(game: &mut Game) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_board_top` is never used [INFO] [stdout] --> src/cli.rs:115:4 [INFO] [stdout] | [INFO] [stdout] 115 | fn print_board_top(cols: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_board` is never used [INFO] [stdout] --> src/cli.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn print_board(game: &Game, last_move: Option<(usize, usize)>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Opponent` is never used [INFO] [stdout] --> src/cli.rs:129:6 [INFO] [stdout] | [INFO] [stdout] 129 | enum Opponent { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_opponent` is never used [INFO] [stdout] --> src/cli.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn select_opponent(input: &mut io::Lines>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/cli.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&Box<[T]> as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to ` as IntoIterator>::into_iter` in Rust 2024 [INFO] [stdout] --> src/cli.rs:230:37 [INFO] [stdout] | [INFO] [stdout] 230 | for (col, row) in cells.into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(boxed_slice_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 230 | for (col, row) in cells.iter() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 230 - for (col, row) in cells.into_iter() { [INFO] [stdout] 230 + for (col, row) in cells { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&Box<[T]> as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to ` as IntoIterator>::into_iter` in Rust 2024 [INFO] [stdout] --> src/cli.rs:230:37 [INFO] [stdout] | [INFO] [stdout] 230 | for (col, row) in cells.into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(boxed_slice_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 230 | for (col, row) in cells.iter() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 230 - for (col, row) in cells.into_iter() { [INFO] [stdout] 230 + for (col, row) in cells { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.69s [INFO] running `Command { std: "docker" "inspect" "df3139f99c9d9e824dd80aebeb90ddc5784f2a6292b6bece345d21c5d8d77ec0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df3139f99c9d9e824dd80aebeb90ddc5784f2a6292b6bece345d21c5d8d77ec0", kill_on_drop: false }` [INFO] [stdout] df3139f99c9d9e824dd80aebeb90ddc5784f2a6292b6bece345d21c5d8d77ec0 [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=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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd881e623f8c1663efd4283fc9ff110012b45d7de28955fac0c9068fa58b3e9d [INFO] running `Command { std: "docker" "start" "-a" "dd881e623f8c1663efd4283fc9ff110012b45d7de28955fac0c9068fa58b3e9d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `libc4` [INFO] [stderr] * `bin` target `connect-4` [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/main.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Done` is never constructed [INFO] [stdout] --> src/cli.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Done; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `player_move` is never used [INFO] [stdout] --> src/cli.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn player_move ()>(game: &mut Game, input: &mut io::Lines>, print_board: F) -> Result<(usize, usize), D... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mcts_move` is never used [INFO] [stdout] --> src/cli.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn mcts_move(game: &mut Game, mcts: &MCTS) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hbot_move` is never used [INFO] [stdout] --> src/cli.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn hbot_move(game: &mut Game) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_board_top` is never used [INFO] [stdout] --> src/cli.rs:115:4 [INFO] [stdout] | [INFO] [stdout] 115 | fn print_board_top(cols: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_board` is never used [INFO] [stdout] --> src/cli.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn print_board(game: &Game, last_move: Option<(usize, usize)>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling connect-4 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `Opponent` is never used [INFO] [stdout] --> src/cli.rs:129:6 [INFO] [stdout] | [INFO] [stdout] 129 | enum Opponent { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_opponent` is never used [INFO] [stdout] --> src/cli.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn select_opponent(input: &mut io::Lines>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/cli.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn start() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&Box<[T]> as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to ` as IntoIterator>::into_iter` in Rust 2024 [INFO] [stdout] --> src/cli.rs:230:37 [INFO] [stdout] | [INFO] [stdout] 230 | for (col, row) in cells.into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(boxed_slice_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 230 | for (col, row) in cells.iter() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 230 - for (col, row) in cells.into_iter() { [INFO] [stdout] 230 + for (col, row) in cells { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&Box<[T]> as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to ` as IntoIterator>::into_iter` in Rust 2024 [INFO] [stdout] --> src/cli.rs:230:37 [INFO] [stdout] | [INFO] [stdout] 230 | for (col, row) in cells.into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(boxed_slice_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 230 | for (col, row) in cells.iter() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 230 - for (col, row) in cells.into_iter() { [INFO] [stdout] 230 + for (col, row) in cells { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&Box<[T]> as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to ` as IntoIterator>::into_iter` in Rust 2024 [INFO] [stdout] --> src/cli.rs:230:37 [INFO] [stdout] | [INFO] [stdout] 230 | for (col, row) in cells.into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(boxed_slice_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 230 | for (col, row) in cells.iter() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 230 - for (col, row) in cells.into_iter() { [INFO] [stdout] 230 + for (col, row) in cells { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.62s [INFO] running `Command { std: "docker" "inspect" "dd881e623f8c1663efd4283fc9ff110012b45d7de28955fac0c9068fa58b3e9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd881e623f8c1663efd4283fc9ff110012b45d7de28955fac0c9068fa58b3e9d", kill_on_drop: false }` [INFO] [stdout] dd881e623f8c1663efd4283fc9ff110012b45d7de28955fac0c9068fa58b3e9d