[INFO] cloning repository https://github.com/zeerorg/A-I-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zeerorg/A-I-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzeerorg%2FA-I-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzeerorg%2FA-I-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 712666ec65c352fffb65ed245fd47a3dea07b90a [INFO] checking zeerorg/A-I-Rust against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzeerorg%2FA-I-Rust" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zeerorg/A-I-Rust on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zeerorg/A-I-Rust [INFO] finished tweaking git repo https://github.com/zeerorg/A-I-Rust [INFO] tweaked toml for git repo https://github.com/zeerorg/A-I-Rust written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/zeerorg/A-I-Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 903122babea3e23924d1ae5ba35ab56b4fa141750e9c65c9d419b89dd252c94a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "903122babea3e23924d1ae5ba35ab56b4fa141750e9c65c9d419b89dd252c94a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "903122babea3e23924d1ae5ba35ab56b4fa141750e9c65c9d419b89dd252c94a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "903122babea3e23924d1ae5ba35ab56b4fa141750e9c65c9d419b89dd252c94a", kill_on_drop: false }` [INFO] [stdout] 903122babea3e23924d1ae5ba35ab56b4fa141750e9c65c9d419b89dd252c94a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee178c96f996016a49fceee3cf620fef53d32487e1068e4f7bab69c8d04a5e34 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ee178c96f996016a49fceee3cf620fef53d32487e1068e4f7bab69c8d04a5e34", kill_on_drop: false }` [INFO] [stderr] Checking artificial_intelligence v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/algo/dfs.rs:5:84 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn dfs (start: &T, goal_function: &Fn(&T) -> bool, _functions: Vec<&Fn(&T) -> T>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> bool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/algo/dfs.rs:5:117 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn dfs (start: &T, goal_function: &Fn(&T) -> bool, _functions: Vec<&Fn(&T) -> T>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/algo/dfs.rs:5:84 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn dfs (start: &T, goal_function: &Fn(&T) -> bool, _functions: Vec<&Fn(&T) -> T>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> bool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/algo/bfs.rs:5:84 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn bfs (start: &T, goal_function: &Fn(&T) -> bool, _functions: Vec<&Fn(&T) -> T>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/algo/bfs.rs:5:117 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn bfs (start: &T, goal_function: &Fn(&T) -> bool, _functions: Vec<&Fn(&T) -> T>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/algo/dfs.rs:5:117 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn dfs (start: &T, goal_function: &Fn(&T) -> bool, _functions: Vec<&Fn(&T) -> T>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/algo/bfs.rs:5:84 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn bfs (start: &T, goal_function: &Fn(&T) -> bool, _functions: Vec<&Fn(&T) -> T>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/algo/bfs.rs:5:117 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn bfs (start: &T, goal_function: &Fn(&T) -> bool, _functions: Vec<&Fn(&T) -> T>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/algo/dfid.rs:6:85 [INFO] [stdout] | [INFO] [stdout] 6 | ...e + Display> (start: &T, goal_function: &Fn(&T) -> bool, _functions: &Vec<&Fn(&T) -> T>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/algo/dfid.rs:6:119 [INFO] [stdout] | [INFO] [stdout] 6 | ...unction: &Fn(&T) -> bool, _functions: &Vec<&Fn(&T) -> T>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/algo/dfid.rs:24:86 [INFO] [stdout] | [INFO] [stdout] 24 | ...e + Display> (start: &T, goal_function: &Fn(&T) -> bool, _functions: &Vec<&Fn(&T) -> T>, max_depth: i32) -> (bool, i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/algo/dfid.rs:24:120 [INFO] [stdout] | [INFO] [stdout] 24 | ...unction: &Fn(&T) -> bool, _functions: &Vec<&Fn(&T) -> T>, max_depth: i32) -> (bool, i32) { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/algo/dfid.rs:6:85 [INFO] [stdout] | [INFO] [stdout] 6 | ...e + Display> (start: &T, goal_function: &Fn(&T) -> bool, _functions: &Vec<&Fn(&T) -> T>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/algo/dfid.rs:6:119 [INFO] [stdout] | [INFO] [stdout] 6 | ...unction: &Fn(&T) -> bool, _functions: &Vec<&Fn(&T) -> T>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/algo/dfid.rs:24:86 [INFO] [stdout] | [INFO] [stdout] 24 | ...e + Display> (start: &T, goal_function: &Fn(&T) -> bool, _functions: &Vec<&Fn(&T) -> T>, max_depth: i32) -> (bool, i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/algo/dfid.rs:24:120 [INFO] [stdout] | [INFO] [stdout] 24 | ...unction: &Fn(&T) -> bool, _functions: &Vec<&Fn(&T) -> T>, max_depth: i32) -> (bool, i32) { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dfs` [INFO] [stdout] --> src/algo/dfs.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn dfs (start: &T, goal_function: &Fn(&T) -> bool, _functions: Vec<&Fn(&T) -> T>) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bfs` [INFO] [stdout] --> src/algo/bfs.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn bfs (start: &T, goal_function: &Fn(&T) -> bool, _functions: Vec<&Fn(&T) -> T>) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dfid` [INFO] [stdout] --> src/algo/dfid.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn dfid (start: &T, goal_function: &Fn(&T) -> bool, _functions: &Vec<&Fn(&T) -> T>) -> bo... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dfs_depth` [INFO] [stdout] --> src/algo/dfid.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn dfs_depth (start: &T, goal_function: &Fn(&T) -> bool, _functions: &Vec<&Fn(&T) -> T>, max_... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `start_game` [INFO] [stdout] --> src/algo/tic_tac_toe_algo.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn start_game() -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problems/water_jug.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(jug_a: i32, jug_b: i32, max_a: i32, max_b: i32) -> Jugs { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fill_a` [INFO] [stdout] --> src/problems/water_jug.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn fill_a(jugs: &Jugs) -> Jugs { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fill_b` [INFO] [stdout] --> src/problems/water_jug.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn fill_b(jugs: &Jugs) -> Jugs { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `empty_a` [INFO] [stdout] --> src/problems/water_jug.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn empty_a(jugs: &Jugs) -> Jugs { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `empty_b` [INFO] [stdout] --> src/problems/water_jug.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn empty_b(jugs: &Jugs) -> Jugs { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `trn_a_to_b` [INFO] [stdout] --> src/problems/water_jug.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn trn_a_to_b(jugs: &Jugs) -> Jugs { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `trn_b_to_a` [INFO] [stdout] --> src/problems/water_jug.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn trn_b_to_a(jugs: &Jugs) -> Jugs { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problems/eight_puzz.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(puzzle: [[i32; 3] ; 3]) -> Puzzle { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `from_up` [INFO] [stdout] --> src/problems/eight_puzz.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_up(x: &Puzzle) -> Puzzle { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `from_down` [INFO] [stdout] --> src/problems/eight_puzz.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn from_down(x: &Puzzle) -> Puzzle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `from_left` [INFO] [stdout] --> src/problems/eight_puzz.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn from_left(x: &Puzzle) -> Puzzle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `from_right` [INFO] [stdout] --> src/problems/eight_puzz.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn from_right(x: &Puzzle) -> Puzzle { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Blank` [INFO] [stdout] --> src/problems/tic_tac_toe.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Blank = 2, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `X` [INFO] [stdout] --> src/problems/tic_tac_toe.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | X = 3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `O` [INFO] [stdout] --> src/problems/tic_tac_toe.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | O = 5 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problems/tic_tac_toe.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new() -> Board { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_2` [INFO] [stdout] --> src/problems/tic_tac_toe.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn make_2(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `poss_win` [INFO] [stdout] --> src/problems/tic_tac_toe.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn poss_win(&self, p: Moves) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `go` [INFO] [stdout] --> src/problems/tic_tac_toe.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn go(&mut self, pos: &i32, mv: Moves) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_blank` [INFO] [stdout] --> src/problems/tic_tac_toe.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn get_blank(&self, positions: &[i32]) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_product` [INFO] [stdout] --> src/problems/tic_tac_toe.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | fn get_product(&self, positions: &[i32]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `NodeDepth` [INFO] [stdout] --> src/helper/node.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct NodeDepth { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/helper/node.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(data: T, depth: i32) -> NodeDepth { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `start_game` [INFO] [stdout] --> src/algo/tic_tac_toe_algo.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn start_game() -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Blank` [INFO] [stdout] --> src/problems/tic_tac_toe.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Blank = 2, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `X` [INFO] [stdout] --> src/problems/tic_tac_toe.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | X = 3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `O` [INFO] [stdout] --> src/problems/tic_tac_toe.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | O = 5 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problems/tic_tac_toe.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new() -> Board { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_2` [INFO] [stdout] --> src/problems/tic_tac_toe.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn make_2(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `poss_win` [INFO] [stdout] --> src/problems/tic_tac_toe.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn poss_win(&self, p: Moves) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `go` [INFO] [stdout] --> src/problems/tic_tac_toe.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn go(&mut self, pos: &i32, mv: Moves) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_blank` [INFO] [stdout] --> src/problems/tic_tac_toe.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn get_blank(&self, positions: &[i32]) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_product` [INFO] [stdout] --> src/problems/tic_tac_toe.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | fn get_product(&self, positions: &[i32]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.01s [INFO] running `Command { std: "docker" "inspect" "ee178c96f996016a49fceee3cf620fef53d32487e1068e4f7bab69c8d04a5e34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee178c96f996016a49fceee3cf620fef53d32487e1068e4f7bab69c8d04a5e34", kill_on_drop: false }` [INFO] [stdout] ee178c96f996016a49fceee3cf620fef53d32487e1068e4f7bab69c8d04a5e34