[INFO] cloning repository https://github.com/breitnw/square_game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/breitnw/square_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbreitnw%2Fsquare_game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbreitnw%2Fsquare_game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bee3f09f4e19e2f8f2f71ae236c8a80f3e5904dd [INFO] checking breitnw/square_game against master#73252d51d13c0e4f872c3c51defcf48174860ef6 for pr-119989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbreitnw%2Fsquare_game" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/breitnw/square_game on toolchain 73252d51d13c0e4f872c3c51defcf48174860ef6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+73252d51d13c0e4f872c3c51defcf48174860ef6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/breitnw/square_game [INFO] finished tweaking git repo https://github.com/breitnw/square_game [INFO] tweaked toml for git repo https://github.com/breitnw/square_game written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/breitnw/square_game 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" "+73252d51d13c0e4f872c3c51defcf48174860ef6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking breitnw/square_game against try#5d004039df46bb665b8ed6385386e3b1b007a6a8 for pr-119989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbreitnw%2Fsquare_game" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/breitnw/square_game on toolchain 5d004039df46bb665b8ed6385386e3b1b007a6a8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5d004039df46bb665b8ed6385386e3b1b007a6a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/breitnw/square_game [INFO] finished tweaking git repo https://github.com/breitnw/square_game [INFO] tweaked toml for git repo https://github.com/breitnw/square_game written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/breitnw/square_game 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" "+5d004039df46bb665b8ed6385386e3b1b007a6a8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded args v2.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5d004039df46bb665b8ed6385386e3b1b007a6a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 255a77f349ee63f2c43b839be10891977d319f628128328b66f687b0c8e24972 [INFO] running `Command { std: "docker" "start" "-a" "255a77f349ee63f2c43b839be10891977d319f628128328b66f687b0c8e24972", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "255a77f349ee63f2c43b839be10891977d319f628128328b66f687b0c8e24972", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "255a77f349ee63f2c43b839be10891977d319f628128328b66f687b0c8e24972", kill_on_drop: false }` [INFO] [stdout] 255a77f349ee63f2c43b839be10891977d319f628128328b66f687b0c8e24972 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5d004039df46bb665b8ed6385386e3b1b007a6a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a53336cd9318f078753248ca969782a2a662b3fb0b6306ed994eaac076a951ee [INFO] running `Command { std: "docker" "start" "-a" "a53336cd9318f078753248ca969782a2a662b3fb0b6306ed994eaac076a951ee", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking args v2.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling rust-embed-utils v8.0.0 [INFO] [stderr] Compiling rust-embed-impl v8.0.0 [INFO] [stderr] Checking rust-embed v8.0.0 [INFO] [stderr] Checking square-game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | Board::new(vec![1, 0, 0, 0, 0], Player::RED), [INFO] [stdout] | ^^^^^^^^^^---------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |an argument of type `Option` is missing [INFO] [stdout] | an argument of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(filename: Option, row_lengths: Vec, starting_turn: Player, auto: bool) -> Self { [INFO] [stdout] | ^^^ ------------------------ -------------------- --------------------- ---------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 5 | Board::new(/* Option */, vec![1, 0, 0, 0, 0], Player::RED, /* bool */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | Board::new(vec![2, 1], Player::RED), [INFO] [stdout] | ^^^^^^^^^^------------------------- [INFO] [stdout] | || [INFO] [stdout] | |an argument of type `Option` is missing [INFO] [stdout] | an argument of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(filename: Option, row_lengths: Vec, starting_turn: Player, auto: bool) -> Self { [INFO] [stdout] | ^^^ ------------------------ -------------------- --------------------- ---------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 6 | Board::new(/* Option */, vec![2, 1], Player::RED, /* bool */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | Board::new(vec![2, 2, 3], Player::RED), [INFO] [stdout] | ^^^^^^^^^^---------------------------- [INFO] [stdout] | || [INFO] [stdout] | |an argument of type `Option` is missing [INFO] [stdout] | an argument of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(filename: Option, row_lengths: Vec, starting_turn: Player, auto: bool) -> Self { [INFO] [stdout] | ^^^ ------------------------ -------------------- --------------------- ---------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 7 | Board::new(/* Option */, vec![2, 2, 3], Player::RED, /* bool */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | Board::new(vec![2, 1, 1, 1], Player::RED), [INFO] [stdout] | ^^^^^^^^^^------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |an argument of type `Option` is missing [INFO] [stdout] | an argument of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(filename: Option, row_lengths: Vec, starting_turn: Player, auto: bool) -> Self { [INFO] [stdout] | ^^^ ------------------------ -------------------- --------------------- ---------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 8 | Board::new(/* Option */, vec![2, 1, 1, 1], Player::RED, /* bool */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | Board::new(vec![6, 1, 1, 5], Player::RED), [INFO] [stdout] | ^^^^^^^^^^------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |an argument of type `Option` is missing [INFO] [stdout] | an argument of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(filename: Option, row_lengths: Vec, starting_turn: Player, auto: bool) -> Self { [INFO] [stdout] | ^^^ ------------------------ -------------------- --------------------- ---------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 9 | Board::new(/* Option */, vec![6, 1, 1, 5], Player::RED, /* bool */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | Board::new(vec![7, 7, 4, 3, 2, 4], Player::RED), [INFO] [stdout] | ^^^^^^^^^^------------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |an argument of type `Option` is missing [INFO] [stdout] | an argument of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(filename: Option, row_lengths: Vec, starting_turn: Player, auto: bool) -> Self { [INFO] [stdout] | ^^^ ------------------------ -------------------- --------------------- ---------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 10 | Board::new(/* Option */, vec![7, 7, 4, 3, 2, 4], Player::RED, /* bool */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | Board::new(vec![1, 0, 0, 0, 0], Player::RED), [INFO] [stdout] | ^^^^^^^^^^---------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |an argument of type `Option` is missing [INFO] [stdout] | an argument of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(filename: Option, row_lengths: Vec, starting_turn: Player, auto: bool) -> Self { [INFO] [stdout] | ^^^ ------------------------ -------------------- --------------------- ---------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 14 | Board::new(/* Option */, vec![1, 0, 0, 0, 0], Player::RED, /* bool */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Board::new(vec![1, 3], Player::RED), [INFO] [stdout] | ^^^^^^^^^^------------------------- [INFO] [stdout] | || [INFO] [stdout] | |an argument of type `Option` is missing [INFO] [stdout] | an argument of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(filename: Option, row_lengths: Vec, starting_turn: Player, auto: bool) -> Self { [INFO] [stdout] | ^^^ ------------------------ -------------------- --------------------- ---------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 15 | Board::new(/* Option */, vec![1, 3], Player::RED, /* bool */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | Board::new(vec![1, 2, 6], Player::RED), [INFO] [stdout] | ^^^^^^^^^^---------------------------- [INFO] [stdout] | || [INFO] [stdout] | |an argument of type `Option` is missing [INFO] [stdout] | an argument of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(filename: Option, row_lengths: Vec, starting_turn: Player, auto: bool) -> Self { [INFO] [stdout] | ^^^ ------------------------ -------------------- --------------------- ---------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 16 | Board::new(/* Option */, vec![1, 2, 6], Player::RED, /* bool */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | Board::new(vec![1, 1, 1, 5], Player::RED), [INFO] [stdout] | ^^^^^^^^^^------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |an argument of type `Option` is missing [INFO] [stdout] | an argument of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(filename: Option, row_lengths: Vec, starting_turn: Player, auto: bool) -> Self { [INFO] [stdout] | ^^^ ------------------------ -------------------- --------------------- ---------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 17 | Board::new(/* Option */, vec![1, 1, 1, 5], Player::RED, /* bool */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | assert!(board.test_optimal(0, 1)) [INFO] [stdout] | ^^^^^^^^^^^^ - - unexpected argument of type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | expected `Meal`, found integer [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/main.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn test_optimal(&self, test_meal: Meal) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ --------------- [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 21 - assert!(board.test_optimal(0, 1)) [INFO] [stdout] 21 + assert!(board.test_optimal(/* Meal */)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | assert!(!board.test_optimal(0, 0)) [INFO] [stdout] | ^^^^^^^^^^^^ - - unexpected argument of type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | expected `Meal`, found integer [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/main.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn test_optimal(&self, test_meal: Meal) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ --------------- [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 24 - assert!(!board.test_optimal(0, 0)) [INFO] [stdout] 24 + assert!(!board.test_optimal(/* Meal */)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | assert!(board.test_optimal(i, 1 + i as u8)) [INFO] [stdout] | ^^^^^^^^^^^^ - ----------- unexpected argument of type `u8` [INFO] [stdout] | | [INFO] [stdout] | expected `Meal`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/main.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn test_optimal(&self, test_meal: Meal) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ --------------- [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 27 - assert!(board.test_optimal(i, 1 + i as u8)) [INFO] [stdout] 27 + assert!(board.test_optimal(/* Meal */)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | Board::new(vec![0, 0, 0, 0, 0], Player::RED), [INFO] [stdout] | ^^^^^^^^^^---------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |an argument of type `Option` is missing [INFO] [stdout] | an argument of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(filename: Option, row_lengths: Vec, starting_turn: Player, auto: bool) -> Self { [INFO] [stdout] | ^^^ ------------------------ -------------------- --------------------- ---------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 34 | Board::new(/* Option */, vec![0, 0, 0, 0, 0], Player::RED, /* bool */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | Board::new(vec![1, 1], Player::RED), [INFO] [stdout] | ^^^^^^^^^^------------------------- [INFO] [stdout] | || [INFO] [stdout] | |an argument of type `Option` is missing [INFO] [stdout] | an argument of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(filename: Option, row_lengths: Vec, starting_turn: Player, auto: bool) -> Self { [INFO] [stdout] | ^^^ ------------------------ -------------------- --------------------- ---------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 35 | Board::new(/* Option */, vec![1, 1], Player::RED, /* bool */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | Board::new(vec![1, 2, 3], Player::RED), [INFO] [stdout] | ^^^^^^^^^^---------------------------- [INFO] [stdout] | || [INFO] [stdout] | |an argument of type `Option` is missing [INFO] [stdout] | an argument of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(filename: Option, row_lengths: Vec, starting_turn: Player, auto: bool) -> Self { [INFO] [stdout] | ^^^ ------------------------ -------------------- --------------------- ---------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 36 | Board::new(/* Option */, vec![1, 2, 3], Player::RED, /* bool */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | Board::new(vec![1, 1, 1, 1], Player::RED), [INFO] [stdout] | ^^^^^^^^^^------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |an argument of type `Option` is missing [INFO] [stdout] | an argument of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(filename: Option, row_lengths: Vec, starting_turn: Player, auto: bool) -> Self { [INFO] [stdout] | ^^^ ------------------------ -------------------- --------------------- ---------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 37 | Board::new(/* Option */, vec![1, 1, 1, 1], Player::RED, /* bool */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | Board::new(vec![5, 1, 1, 5], Player::RED), [INFO] [stdout] | ^^^^^^^^^^------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |an argument of type `Option` is missing [INFO] [stdout] | an argument of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(filename: Option, row_lengths: Vec, starting_turn: Player, auto: bool) -> Self { [INFO] [stdout] | ^^^ ------------------------ -------------------- --------------------- ---------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 38 | Board::new(/* Option */, vec![5, 1, 1, 5], Player::RED, /* bool */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | Board::new(vec![6, 7, 4, 3, 2, 4], Player::RED), [INFO] [stdout] | ^^^^^^^^^^------------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |an argument of type `Option` is missing [INFO] [stdout] | an argument of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(filename: Option, row_lengths: Vec, starting_turn: Player, auto: bool) -> Self { [INFO] [stdout] | ^^^ ------------------------ -------------------- --------------------- ---------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 39 | Board::new(/* Option */, vec![6, 7, 4, 3, 2, 4], Player::RED, /* bool */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | Board::new(vec![0, 1, 0, 0, 0], Player::RED), [INFO] [stdout] | ^^^^^^^^^^---------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |an argument of type `Option` is missing [INFO] [stdout] | an argument of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(filename: Option, row_lengths: Vec, starting_turn: Player, auto: bool) -> Self { [INFO] [stdout] | ^^^ ------------------------ -------------------- --------------------- ---------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 42 | Board::new(/* Option */, vec![0, 1, 0, 0, 0], Player::RED, /* bool */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | Board::new(vec![1, 1, 1], Player::RED), [INFO] [stdout] | ^^^^^^^^^^---------------------------- [INFO] [stdout] | || [INFO] [stdout] | |an argument of type `Option` is missing [INFO] [stdout] | an argument of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(filename: Option, row_lengths: Vec, starting_turn: Player, auto: bool) -> Self { [INFO] [stdout] | ^^^ ------------------------ -------------------- --------------------- ---------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 43 | Board::new(/* Option */, vec![1, 1, 1], Player::RED, /* bool */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | Board::new(vec![1, 2, 4], Player::RED), [INFO] [stdout] | ^^^^^^^^^^---------------------------- [INFO] [stdout] | || [INFO] [stdout] | |an argument of type `Option` is missing [INFO] [stdout] | an argument of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(filename: Option, row_lengths: Vec, starting_turn: Player, auto: bool) -> Self { [INFO] [stdout] | ^^^ ------------------------ -------------------- --------------------- ---------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 44 | Board::new(/* Option */, vec![1, 2, 4], Player::RED, /* bool */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | Board::new(vec![5, 1, 2, 5], Player::RED), [INFO] [stdout] | ^^^^^^^^^^------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |an argument of type `Option` is missing [INFO] [stdout] | an argument of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(filename: Option, row_lengths: Vec, starting_turn: Player, auto: bool) -> Self { [INFO] [stdout] | ^^^ ------------------------ -------------------- --------------------- ---------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 45 | Board::new(/* Option */, vec![5, 1, 2, 5], Player::RED, /* bool */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | Board::new(vec![6, 7, 4, 3, 2, 5], Player::RED), [INFO] [stdout] | ^^^^^^^^^^------------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |an argument of type `Option` is missing [INFO] [stdout] | an argument of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(filename: Option, row_lengths: Vec, starting_turn: Player, auto: bool) -> Self { [INFO] [stdout] | ^^^ ------------------------ -------------------- --------------------- ---------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 46 | Board::new(/* Option */, vec![6, 7, 4, 3, 2, 5], Player::RED, /* bool */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | Board::new(vec![1, 0, 0, 0, 0], Player::RED), [INFO] [stdout] | ^^^^^^^^^^---------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |an argument of type `Option` is missing [INFO] [stdout] | an argument of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(filename: Option, row_lengths: Vec, starting_turn: Player, auto: bool) -> Self { [INFO] [stdout] | ^^^ ------------------------ -------------------- --------------------- ---------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 49 | Board::new(/* Option */, vec![1, 0, 0, 0, 0], Player::RED, /* bool */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | Board::new(vec![2, 1], Player::RED), [INFO] [stdout] | ^^^^^^^^^^------------------------- [INFO] [stdout] | || [INFO] [stdout] | |an argument of type `Option` is missing [INFO] [stdout] | an argument of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(filename: Option, row_lengths: Vec, starting_turn: Player, auto: bool) -> Self { [INFO] [stdout] | ^^^ ------------------------ -------------------- --------------------- ---------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 50 | Board::new(/* Option */, vec![2, 1], Player::RED, /* bool */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | Board::new(vec![2, 2, 3], Player::RED), [INFO] [stdout] | ^^^^^^^^^^---------------------------- [INFO] [stdout] | || [INFO] [stdout] | |an argument of type `Option` is missing [INFO] [stdout] | an argument of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(filename: Option, row_lengths: Vec, starting_turn: Player, auto: bool) -> Self { [INFO] [stdout] | ^^^ ------------------------ -------------------- --------------------- ---------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 51 | Board::new(/* Option */, vec![2, 2, 3], Player::RED, /* bool */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | Board::new(vec![2, 1, 1, 1], Player::RED), [INFO] [stdout] | ^^^^^^^^^^------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |an argument of type `Option` is missing [INFO] [stdout] | an argument of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(filename: Option, row_lengths: Vec, starting_turn: Player, auto: bool) -> Self { [INFO] [stdout] | ^^^ ------------------------ -------------------- --------------------- ---------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 52 | Board::new(/* Option */, vec![2, 1, 1, 1], Player::RED, /* bool */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | Board::new(vec![6, 1, 1, 5], Player::RED), [INFO] [stdout] | ^^^^^^^^^^------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |an argument of type `Option` is missing [INFO] [stdout] | an argument of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(filename: Option, row_lengths: Vec, starting_turn: Player, auto: bool) -> Self { [INFO] [stdout] | ^^^ ------------------------ -------------------- --------------------- ---------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 53 | Board::new(/* Option */, vec![6, 1, 1, 5], Player::RED, /* bool */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | Board::new(vec![7, 7, 4, 3, 2, 4], Player::RED), [INFO] [stdout] | ^^^^^^^^^^------------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |an argument of type `Option` is missing [INFO] [stdout] | an argument of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(filename: Option, row_lengths: Vec, starting_turn: Player, auto: bool) -> Self { [INFO] [stdout] | ^^^ ------------------------ -------------------- --------------------- ---------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 54 | Board::new(/* Option */, vec![7, 7, 4, 3, 2, 4], Player::RED, /* bool */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | Board::new(vec![1, 0, 0, 0, 0], Player::RED), [INFO] [stdout] | ^^^^^^^^^^---------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |an argument of type `Option` is missing [INFO] [stdout] | an argument of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(filename: Option, row_lengths: Vec, starting_turn: Player, auto: bool) -> Self { [INFO] [stdout] | ^^^ ------------------------ -------------------- --------------------- ---------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 58 | Board::new(/* Option */, vec![1, 0, 0, 0, 0], Player::RED, /* bool */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | Board::new(vec![1, 3], Player::RED), [INFO] [stdout] | ^^^^^^^^^^------------------------- [INFO] [stdout] | || [INFO] [stdout] | |an argument of type `Option` is missing [INFO] [stdout] | an argument of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(filename: Option, row_lengths: Vec, starting_turn: Player, auto: bool) -> Self { [INFO] [stdout] | ^^^ ------------------------ -------------------- --------------------- ---------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 59 | Board::new(/* Option */, vec![1, 3], Player::RED, /* bool */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | Board::new(vec![1, 2, 6], Player::RED), [INFO] [stdout] | ^^^^^^^^^^---------------------------- [INFO] [stdout] | || [INFO] [stdout] | |an argument of type `Option` is missing [INFO] [stdout] | an argument of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(filename: Option, row_lengths: Vec, starting_turn: Player, auto: bool) -> Self { [INFO] [stdout] | ^^^ ------------------------ -------------------- --------------------- ---------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 60 | Board::new(/* Option */, vec![1, 2, 6], Player::RED, /* bool */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | Board::new(vec![1, 1, 1, 5], Player::RED), [INFO] [stdout] | ^^^^^^^^^^------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |an argument of type `Option` is missing [INFO] [stdout] | an argument of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn new(filename: Option, row_lengths: Vec, starting_turn: Player, auto: bool) -> Self { [INFO] [stdout] | ^^^ ------------------------ -------------------- --------------------- ---------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 61 | Board::new(/* Option */, vec![1, 1, 1, 5], Player::RED, /* bool */), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:276:65 [INFO] [stdout] | [INFO] [stdout] 276 | args.parse(env::args().collect::>()).unwrap_or_else(|a| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `square-game` (bin "square-game" test) due to 35 previous errors [INFO] running `Command { std: "docker" "inspect" "a53336cd9318f078753248ca969782a2a662b3fb0b6306ed994eaac076a951ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a53336cd9318f078753248ca969782a2a662b3fb0b6306ed994eaac076a951ee", kill_on_drop: false }` [INFO] [stdout] a53336cd9318f078753248ca969782a2a662b3fb0b6306ed994eaac076a951ee