[INFO] fetching crate ultimate-ttt 0.1.0... [INFO] building ultimate-ttt-0.1.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate ultimate-ttt 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate ultimate-ttt 0.1.0 [INFO] finished tweaking crates.io crate ultimate-ttt 0.1.0 [INFO] tweaked toml for crates.io crate ultimate-ttt 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ultimate-ttt 0.1.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e75ed1c4603bfae8ca817909d3bccefb5ecb34e02d94d29978d4f2dfa4914b6 [INFO] running `Command { std: "docker" "start" "-a" "3e75ed1c4603bfae8ca817909d3bccefb5ecb34e02d94d29978d4f2dfa4914b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e75ed1c4603bfae8ca817909d3bccefb5ecb34e02d94d29978d4f2dfa4914b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e75ed1c4603bfae8ca817909d3bccefb5ecb34e02d94d29978d4f2dfa4914b6", kill_on_drop: false }` [INFO] [stdout] 3e75ed1c4603bfae8ca817909d3bccefb5ecb34e02d94d29978d4f2dfa4914b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6825428c7d07ca5fe3b0c03c5054d24c0f17352fcd67373b102d4bdc7898cf8c [INFO] running `Command { std: "docker" "start" "-a" "6825428c7d07ca5fe3b0c03c5054d24c0f17352fcd67373b102d4bdc7898cf8c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling ultimate-ttt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `tic_tac_toe` should have an upper camel case name [INFO] [stdout] --> src/ttt/mod.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct tic_tac_toe { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `TicTacToe` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/ttt/mod.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(size: u8) -> tic_tac_toe { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(_size: u8) -> tic_tac_toe { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `OPPONENT` [INFO] [stdout] | [INFO] [stdout] 22 - pub fn new(size: u8) -> tic_tac_toe { [INFO] [stdout] 22 + pub fn new(inner_ttt::tic_tac_toe::OPPONENT: u8) -> tic_tac_toe { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ME` is never used [INFO] [stdout] --> src/ttt/mod.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | const ME: u8 = 0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPPONENT` is never used [INFO] [stdout] --> src/ttt/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | const OPPONENT: u8 = 1; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RESULT_WIN` is never used [INFO] [stdout] --> src/ttt/mod.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | const RESULT_WIN: i8 = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RESULT_LOSE` is never used [INFO] [stdout] --> src/ttt/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | const RESULT_LOSE: i8 = 1; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `player`, `sub_board_index`, and `main_index` are never read [INFO] [stdout] --> src/ttt/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Cell { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 10 | player: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | sub_board_index: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | main_index: u32 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `winner` is never read [INFO] [stdout] --> src/ttt/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct tic_tac_toe { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | winner: i8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] running `Command { std: "docker" "inspect" "6825428c7d07ca5fe3b0c03c5054d24c0f17352fcd67373b102d4bdc7898cf8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6825428c7d07ca5fe3b0c03c5054d24c0f17352fcd67373b102d4bdc7898cf8c", kill_on_drop: false }` [INFO] [stdout] 6825428c7d07ca5fe3b0c03c5054d24c0f17352fcd67373b102d4bdc7898cf8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c74a3ca9917bebe1ebae8cea2abc346003863b5f56a9a61746212237da4cd6f [INFO] running `Command { std: "docker" "start" "-a" "3c74a3ca9917bebe1ebae8cea2abc346003863b5f56a9a61746212237da4cd6f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: type `tic_tac_toe` should have an upper camel case name [INFO] [stdout] --> src/ttt/mod.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct tic_tac_toe { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `TicTacToe` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/ttt/mod.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(size: u8) -> tic_tac_toe { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(_size: u8) -> tic_tac_toe { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `OPPONENT` [INFO] [stdout] | [INFO] [stdout] 22 - pub fn new(size: u8) -> tic_tac_toe { [INFO] [stdout] 22 + pub fn new(inner_ttt::tic_tac_toe::OPPONENT: u8) -> tic_tac_toe { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ME` is never used [INFO] [stdout] --> src/ttt/mod.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | const ME: u8 = 0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPPONENT` is never used [INFO] [stdout] --> src/ttt/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | const OPPONENT: u8 = 1; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RESULT_WIN` is never used [INFO] [stdout] --> src/ttt/mod.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | const RESULT_WIN: i8 = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ultimate-ttt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `RESULT_LOSE` is never used [INFO] [stdout] --> src/ttt/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | const RESULT_LOSE: i8 = 1; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `player`, `sub_board_index`, and `main_index` are never read [INFO] [stdout] --> src/ttt/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Cell { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 10 | player: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | sub_board_index: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | main_index: u32 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `winner` is never read [INFO] [stdout] --> src/ttt/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct tic_tac_toe { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | winner: i8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `tic_tac_toe` should have an upper camel case name [INFO] [stdout] --> src/ttt/mod.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct tic_tac_toe { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `TicTacToe` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/ttt/mod.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(size: u8) -> tic_tac_toe { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(_size: u8) -> tic_tac_toe { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `OPPONENT` [INFO] [stdout] | [INFO] [stdout] 22 - pub fn new(size: u8) -> tic_tac_toe { [INFO] [stdout] 22 + pub fn new(inner_ttt::tic_tac_toe::OPPONENT: u8) -> tic_tac_toe { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ME` is never used [INFO] [stdout] --> src/ttt/mod.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | const ME: u8 = 0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPPONENT` is never used [INFO] [stdout] --> src/ttt/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | const OPPONENT: u8 = 1; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RESULT_WIN` is never used [INFO] [stdout] --> src/ttt/mod.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | const RESULT_WIN: i8 = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RESULT_LOSE` is never used [INFO] [stdout] --> src/ttt/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | const RESULT_LOSE: i8 = 1; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `player`, `sub_board_index`, and `main_index` are never read [INFO] [stdout] --> src/ttt/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Cell { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 10 | player: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | sub_board_index: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | main_index: u32 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `winner` is never read [INFO] [stdout] --> src/ttt/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct tic_tac_toe { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | winner: i8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] running `Command { std: "docker" "inspect" "3c74a3ca9917bebe1ebae8cea2abc346003863b5f56a9a61746212237da4cd6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c74a3ca9917bebe1ebae8cea2abc346003863b5f56a9a61746212237da4cd6f", kill_on_drop: false }` [INFO] [stdout] 3c74a3ca9917bebe1ebae8cea2abc346003863b5f56a9a61746212237da4cd6f