[INFO] cloning repository https://github.com/adumbidiot/TTT [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adumbidiot/TTT" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadumbidiot%2FTTT", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadumbidiot%2FTTT'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d3628ac897636e5ffb613e1cfcce9dfbc1c9764 [INFO] checking adumbidiot/TTT/0d3628ac897636e5ffb613e1cfcce9dfbc1c9764 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadumbidiot%2FTTT" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adumbidiot/TTT on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/adumbidiot/TTT [INFO] finished tweaking git repo https://github.com/adumbidiot/TTT [INFO] tweaked toml for git repo https://github.com/adumbidiot/TTT written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/adumbidiot/TTT 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.89 [INFO] [stderr] Downloaded serde v1.0.89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a4d64c709439f51506204ec4295fb168ba4e0550002eb25042063375fc3d468 [INFO] running `Command { std: "docker" "start" "-a" "2a4d64c709439f51506204ec4295fb168ba4e0550002eb25042063375fc3d468", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a4d64c709439f51506204ec4295fb168ba4e0550002eb25042063375fc3d468", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a4d64c709439f51506204ec4295fb168ba4e0550002eb25042063375fc3d468", kill_on_drop: false }` [INFO] [stdout] 2a4d64c709439f51506204ec4295fb168ba4e0550002eb25042063375fc3d468 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35c6d66b2b04097f52eb8cf1d2ea70d7331556f581194b57990a62fb1a50e230 [INFO] running `Command { std: "docker" "start" "-a" "35c6d66b2b04097f52eb8cf1d2ea70d7331556f581194b57990a62fb1a50e230", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling syn v0.15.29 [INFO] [stderr] Compiling serde v1.0.89 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling serde_derive v1.0.89 [INFO] [stderr] Checking ttt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:55:33 [INFO] [stdout] | [INFO] [stdout] 55 | pub compilation: Option>, [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | pub compilation: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | fn as_any(&mut self) -> &mut Any; [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | fn as_any(&mut self) -> &mut dyn Any; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:223:61 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn get_compilation(&self) -> CompilationResult<&Box> { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 223 | pub fn get_compilation(&self) -> CompilationResult<&Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:230:73 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn get_compilation_mut(&mut self) -> CompilationResult<&mut Box> { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 230 | pub fn get_compilation_mut(&mut self) -> CompilationResult<&mut Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ttt.rs:98:34 [INFO] [stdout] | [INFO] [stdout] 98 | fn as_any(&mut self) -> &mut Any { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 | fn as_any(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `*` and `ttt::*` [INFO] [stdout] --> src/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | ttt::*, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3 | *, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:55:33 [INFO] [stdout] | [INFO] [stdout] 55 | pub compilation: Option>, [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | pub compilation: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | fn as_any(&mut self) -> &mut Any; [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | fn as_any(&mut self) -> &mut dyn Any; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:223:61 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn get_compilation(&self) -> CompilationResult<&Box> { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 223 | pub fn get_compilation(&self) -> CompilationResult<&Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:230:73 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn get_compilation_mut(&mut self) -> CompilationResult<&mut Box> { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 230 | pub fn get_compilation_mut(&mut self) -> CompilationResult<&mut Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ttt.rs:98:34 [INFO] [stdout] | [INFO] [stdout] 98 | fn as_any(&mut self) -> &mut Any { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 | fn as_any(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tests.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | assert_eq!(0, get_winner_row(&0)); [INFO] [stdout] | ^^^^^^^^^^^^^^---- argument #2 of type `u8` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/ttt.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn get_winner_row(id: &NodeIndex, size: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ -------------- -------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 38 | assert_eq!(0, get_winner_row(&0, /* u8 */)); [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hash_state` in this scope [INFO] [stdout] --> src/tests.rs:44:35 [INFO] [stdout] | [INFO] [stdout] 44 | assert_eq!(1, get_winner_row(&hash_state(&s))); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tests.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | assert_eq!(1, get_winner_row(&hash_state(&s))); [INFO] [stdout] | ^^^^^^^^^^^^^^----------------- argument #2 of type `u8` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/ttt.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn get_winner_row(id: &NodeIndex, size: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ -------------- -------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 44 | assert_eq!(1, get_winner_row(&hash_state(&s), /* u8 */)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hash_state` in this scope [INFO] [stdout] --> src/tests.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | assert_eq!(1, get_winner_row(&hash_state(&s))); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tests.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | assert_eq!(1, get_winner_row(&hash_state(&s))); [INFO] [stdout] | ^^^^^^^^^^^^^^----------------- argument #2 of type `u8` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/ttt.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn get_winner_row(id: &NodeIndex, size: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ -------------- -------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 50 | assert_eq!(1, get_winner_row(&hash_state(&s), /* u8 */)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hash_state` in this scope [INFO] [stdout] --> src/tests.rs:56:35 [INFO] [stdout] | [INFO] [stdout] 56 | assert_eq!(1, get_winner_row(&hash_state(&s))); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tests.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | assert_eq!(1, get_winner_row(&hash_state(&s))); [INFO] [stdout] | ^^^^^^^^^^^^^^----------------- argument #2 of type `u8` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/ttt.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn get_winner_row(id: &NodeIndex, size: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ -------------- -------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 56 | assert_eq!(1, get_winner_row(&hash_state(&s), /* u8 */)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tests.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | assert_eq!(1, get_winner_row(&9641)); [INFO] [stdout] | ^^^^^^^^^^^^^^------- argument #2 of type `u8` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/ttt.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn get_winner_row(id: &NodeIndex, size: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ -------------- -------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 61 | assert_eq!(1, get_winner_row(&9641, /* u8 */)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tests.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | assert_eq!(0, get_winner_col(&0)); [INFO] [stdout] | ^^^^^^^^^^^^^^---- argument #2 of type `u8` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/ttt.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn get_winner_col(id: &NodeIndex, size: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ -------------- -------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 66 | assert_eq!(0, get_winner_col(&0, /* u8 */)); [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hash_state` in this scope [INFO] [stdout] --> src/tests.rs:72:35 [INFO] [stdout] | [INFO] [stdout] 72 | assert_eq!(1, get_winner_col(&hash_state(&s))); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tests.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | assert_eq!(1, get_winner_col(&hash_state(&s))); [INFO] [stdout] | ^^^^^^^^^^^^^^----------------- argument #2 of type `u8` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/ttt.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn get_winner_col(id: &NodeIndex, size: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ -------------- -------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 72 | assert_eq!(1, get_winner_col(&hash_state(&s), /* u8 */)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hash_state` in this scope [INFO] [stdout] --> src/tests.rs:78:35 [INFO] [stdout] | [INFO] [stdout] 78 | assert_eq!(1, get_winner_col(&hash_state(&s))); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tests.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | assert_eq!(1, get_winner_col(&hash_state(&s))); [INFO] [stdout] | ^^^^^^^^^^^^^^----------------- argument #2 of type `u8` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/ttt.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn get_winner_col(id: &NodeIndex, size: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ -------------- -------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 78 | assert_eq!(1, get_winner_col(&hash_state(&s), /* u8 */)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hash_state` in this scope [INFO] [stdout] --> src/tests.rs:84:35 [INFO] [stdout] | [INFO] [stdout] 84 | assert_eq!(1, get_winner_col(&hash_state(&s))); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tests.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | assert_eq!(1, get_winner_col(&hash_state(&s))); [INFO] [stdout] | ^^^^^^^^^^^^^^----------------- argument #2 of type `u8` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/ttt.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn get_winner_col(id: &NodeIndex, size: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ -------------- -------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 84 | assert_eq!(1, get_winner_col(&hash_state(&s), /* u8 */)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tests.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | assert_eq!(0, get_winner_diag(&0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^---- argument #2 of type `u8` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/ttt.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn get_winner_diag(id: &NodeIndex, size: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ -------------- -------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 89 | assert_eq!(0, get_winner_diag(&0, /* u8 */)); [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hash_state` in this scope [INFO] [stdout] --> src/tests.rs:95:36 [INFO] [stdout] | [INFO] [stdout] 95 | assert_eq!(1, get_winner_diag(&hash_state(&s))); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tests.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 95 | assert_eq!(1, get_winner_diag(&hash_state(&s))); [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------- argument #2 of type `u8` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/ttt.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn get_winner_diag(id: &NodeIndex, size: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ -------------- -------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 95 | assert_eq!(1, get_winner_diag(&hash_state(&s), /* u8 */)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hash_state` in this scope [INFO] [stdout] --> src/tests.rs:101:36 [INFO] [stdout] | [INFO] [stdout] 101 | assert_eq!(1, get_winner_diag(&hash_state(&s))); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/tests.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | assert_eq!(1, get_winner_diag(&hash_state(&s))); [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------- argument #2 of type `u8` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/ttt.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn get_winner_diag(id: &NodeIndex, size: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ -------------- -------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 101 | assert_eq!(1, get_winner_diag(&hash_state(&s), /* u8 */)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ttt` (lib test) due to 21 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "35c6d66b2b04097f52eb8cf1d2ea70d7331556f581194b57990a62fb1a50e230", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35c6d66b2b04097f52eb8cf1d2ea70d7331556f581194b57990a62fb1a50e230", kill_on_drop: false }` [INFO] [stdout] 35c6d66b2b04097f52eb8cf1d2ea70d7331556f581194b57990a62fb1a50e230