[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 try#9d63f825c0d409b0e1743a2c84b33f86965e5929 for pr-136968 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzeerorg%2FA-I-Rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zeerorg/A-I-Rust on toolchain 9d63f825c0d409b0e1743a2c84b33f86965e5929 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-2-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60aa662b9dde77ec3a6b5147f8e214648ae57366259fa0fe697ed91adb773010 [INFO] running `Command { std: "docker" "start" "-a" "60aa662b9dde77ec3a6b5147f8e214648ae57366259fa0fe697ed91adb773010", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60aa662b9dde77ec3a6b5147f8e214648ae57366259fa0fe697ed91adb773010", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60aa662b9dde77ec3a6b5147f8e214648ae57366259fa0fe697ed91adb773010", kill_on_drop: false }` [INFO] [stdout] 60aa662b9dde77ec3a6b5147f8e214648ae57366259fa0fe697ed91adb773010 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c065b2d1d062545688e303f5bdd7dfe375522f0025a05ede8802ac6e5d39cc1 [INFO] running `Command { std: "docker" "start" "-a" "1c065b2d1d062545688e303f5bdd7dfe375522f0025a05ede8802ac6e5d39cc1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | pub fn dfs (start: &T, goal_function: &dyn Fn(&T) -> bool, _functions: Vec<&Fn(&T) -> T>) -> bool { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | pub fn dfs (start: &T, goal_function: &Fn(&T) -> bool, _functions: Vec<&dyn Fn(&T) -> T>) -> bool { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | pub fn bfs (start: &T, goal_function: &dyn Fn(&T) -> bool, _functions: Vec<&Fn(&T) -> T>) -> bool { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | pub fn bfs (start: &T, goal_function: &Fn(&T) -> bool, _functions: Vec<&dyn Fn(&T) -> T>) -> bool { [INFO] [stdout] | +++ [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 | pub fn dfid (start: &T, goal_function: &Fn(&T) -> bool, _functions: &Vec<&Fn(&T) -> T>) -> bo... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | pub fn dfid (start: &T, goal_function: &dyn Fn(&T) -> bool, _functions: &Vec<&Fn(&T) -> T>) -> bool { [INFO] [stdout] | +++ [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 | pub fn dfid (start: &T, goal_function: &Fn(&T) -> bool, _functions: &Vec<&Fn(&T) -> T>) -> bo... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | pub fn dfid (start: &T, goal_function: &Fn(&T) -> bool, _functions: &Vec<&dyn Fn(&T) -> T>) -> bool { [INFO] [stdout] | +++ [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 | fn dfs_depth (start: &T, goal_function: &Fn(&T) -> bool, _functions: &Vec<&Fn(&T) -> T>, max_... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | fn dfs_depth (start: &T, goal_function: &dyn Fn(&T) -> bool, _functions: &Vec<&Fn(&T) -> T>, max_depth: i32) -> (bool, i32) { [INFO] [stdout] | +++ [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 | fn dfs_depth (start: &T, goal_function: &Fn(&T) -> bool, _functions: &Vec<&Fn(&T) -> T>, max_... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | fn dfs_depth (start: &T, goal_function: &Fn(&T) -> bool, _functions: &Vec<&dyn Fn(&T) -> T>, max_depth: i32) -> (bool, i32) { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | pub fn dfs (start: &T, goal_function: &dyn Fn(&T) -> bool, _functions: Vec<&Fn(&T) -> T>) -> bool { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | pub fn dfs (start: &T, goal_function: &Fn(&T) -> bool, _functions: Vec<&dyn Fn(&T) -> T>) -> bool { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | pub fn bfs (start: &T, goal_function: &dyn Fn(&T) -> bool, _functions: Vec<&Fn(&T) -> T>) -> bool { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | pub fn bfs (start: &T, goal_function: &Fn(&T) -> bool, _functions: Vec<&dyn Fn(&T) -> T>) -> bool { [INFO] [stdout] | +++ [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 | pub fn dfid (start: &T, goal_function: &Fn(&T) -> bool, _functions: &Vec<&Fn(&T) -> T>) -> bo... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | pub fn dfid (start: &T, goal_function: &dyn Fn(&T) -> bool, _functions: &Vec<&Fn(&T) -> T>) -> bool { [INFO] [stdout] | +++ [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 | pub fn dfid (start: &T, goal_function: &Fn(&T) -> bool, _functions: &Vec<&Fn(&T) -> T>) -> bo... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | pub fn dfid (start: &T, goal_function: &Fn(&T) -> bool, _functions: &Vec<&dyn Fn(&T) -> T>) -> bool { [INFO] [stdout] | +++ [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 | fn dfs_depth (start: &T, goal_function: &Fn(&T) -> bool, _functions: &Vec<&Fn(&T) -> T>, max_... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | fn dfs_depth (start: &T, goal_function: &dyn Fn(&T) -> bool, _functions: &Vec<&Fn(&T) -> T>, max_depth: i32) -> (bool, i32) { [INFO] [stdout] | +++ [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 | fn dfs_depth (start: &T, goal_function: &Fn(&T) -> bool, _functions: &Vec<&Fn(&T) -> T>, max_... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | fn dfs_depth (start: &T, goal_function: &Fn(&T) -> bool, _functions: &Vec<&dyn Fn(&T) -> T>, max_depth: i32) -> (bool, i32) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dfs` is never used [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 `bfs` is never used [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 `dfid` is never used [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 `dfs_depth` is never used [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 `start_game` is never used [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 `new` is never used [INFO] [stdout] --> src/problems/water_jug.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Jugs { [INFO] [stdout] | --------- associated function in this implementation [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 `fill_a` is never used [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 `fill_b` is never used [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 `empty_a` is never used [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 `empty_b` is never used [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 `trn_a_to_b` is never used [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 `trn_b_to_a` is never used [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 `new` is never used [INFO] [stdout] --> src/problems/eight_puzz.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Puzzle { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 8 | pub fn new(puzzle: [[i32; 3] ; 3]) -> Puzzle { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_up` is never used [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 `from_down` is never used [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 `from_left` is never used [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 `from_right` is never used [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: variants `Blank`, `X`, and `O` are never constructed [INFO] [stdout] --> src/problems/tic_tac_toe.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Moves { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 7 | Blank = 2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | X = 3, [INFO] [stdout] | ^ [INFO] [stdout] 9 | O = 5 [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Moves` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `make_2`, `poss_win`, `go`, `get_blank`, and `get_product` are never used [INFO] [stdout] --> src/problems/tic_tac_toe.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Board { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 38 | /// Returns a new `Board` instance with all blanks with value 2, and turn set to 0 [INFO] [stdout] 39 | pub fn new() -> Board { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn make_2(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn poss_win(&self, p: Moves) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn go(&mut self, pos: &i32, mv: Moves) { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn get_blank(&self, positions: &[i32]) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn get_product(&self, positions: &[i32]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeDepth` is never constructed [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 `new` is never used [INFO] [stdout] --> src/helper/node.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl NodeDepth { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(data: T, depth: i32) -> NodeDepth { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_game` is never used [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: variants `Blank`, `X`, and `O` are never constructed [INFO] [stdout] --> src/problems/tic_tac_toe.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Moves { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 7 | Blank = 2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | X = 3, [INFO] [stdout] | ^ [INFO] [stdout] 9 | O = 5 [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Moves` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `make_2`, `poss_win`, `go`, `get_blank`, and `get_product` are never used [INFO] [stdout] --> src/problems/tic_tac_toe.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Board { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 38 | /// Returns a new `Board` instance with all blanks with value 2, and turn set to 0 [INFO] [stdout] 39 | pub fn new() -> Board { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn make_2(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn poss_win(&self, p: Moves) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn go(&mut self, pos: &i32, mv: Moves) { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn get_blank(&self, positions: &[i32]) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn get_product(&self, positions: &[i32]) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "1c065b2d1d062545688e303f5bdd7dfe375522f0025a05ede8802ac6e5d39cc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c065b2d1d062545688e303f5bdd7dfe375522f0025a05ede8802ac6e5d39cc1", kill_on_drop: false }` [INFO] [stdout] 1c065b2d1d062545688e303f5bdd7dfe375522f0025a05ede8802ac6e5d39cc1