[INFO] updating cached repository alexlai97/tictactoe-rust [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/alexlai97/tictactoe-rust [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/alexlai97/tictactoe-rust" "work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/alexlai97/tictactoe-rust"` [INFO] [stderr] Cloning into 'work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/alexlai97/tictactoe-rust'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/alexlai97/tictactoe-rust" "work/ex/pr-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/gh/alexlai97/tictactoe-rust"` [INFO] [stderr] Cloning into 'work/ex/pr-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/gh/alexlai97/tictactoe-rust'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 0dea2ca07bde6e760faded653b4c8592fb5575a3 [INFO] sha for GitHub repo alexlai97/tictactoe-rust: 0dea2ca07bde6e760faded653b4c8592fb5575a3 [INFO] validating manifest of alexlai97/tictactoe-rust on toolchain master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of alexlai97/tictactoe-rust on toolchain try#58b21121d0b447ceb3f1a655155d802191acf044 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing alexlai97/tictactoe-rust [INFO] finished frobbing alexlai97/tictactoe-rust [INFO] frobbed toml for alexlai97/tictactoe-rust written to work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/alexlai97/tictactoe-rust/Cargo.toml [INFO] started frobbing alexlai97/tictactoe-rust [INFO] finished frobbing alexlai97/tictactoe-rust [INFO] frobbed toml for alexlai97/tictactoe-rust written to work/ex/pr-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/gh/alexlai97/tictactoe-rust/Cargo.toml [INFO] crate alexlai97/tictactoe-rust already has a lockfile, it will not be regenerated [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/crater-raid/crater/work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/alexlai97/tictactoe-rust/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking alexlai97/tictactoe-rust against master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504 for pr-61100 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-61100/worker-0/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/alexlai97/tictactoe-rust:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 59cf289efb0a117e16bd7c454488fe052bf2232f5b7ab4954186400aefab839c [INFO] running `"docker" "start" "-a" "59cf289efb0a117e16bd7c454488fe052bf2232f5b7ab4954186400aefab839c"` [INFO] [stderr] Checking tictactoe-rust v0.1.4 (/opt/crater/workdir) [INFO] [stderr] warning: the item `Players` is imported redundantly [INFO] [stderr] --> src/interface/mod.rs:416:33 [INFO] [stderr] | [INFO] [stderr] 282 | use super::game::Players; [INFO] [stderr] | -------------------- the item `Players` is already imported here [INFO] [stderr] ... [INFO] [stderr] 416 | use super::game::{Mode, Players}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: the item `Players` is imported redundantly [INFO] [stderr] --> src/interface/mod.rs:416:33 [INFO] [stderr] | [INFO] [stderr] 282 | use super::game::Players; [INFO] [stderr] | -------------------- the item `Players` is already imported here [INFO] [stderr] ... [INFO] [stderr] 416 | use super::game::{Mode, Players}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied [INFO] [stderr] --> src/ai/tests.rs:16:17 [INFO] [stderr] | [INFO] [stderr] 16 | let moves = Ai::ask_ai_move_input(&board, Players::Player1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters [INFO] [stderr] | [INFO] [stderr] ::: src/ai/mod.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn ask_ai_move_input(board: &Board, player: Players, level: SmartLevel) -> (usize, usize) { [INFO] [stderr] | --------------------------------------------------------------------------------------------- defined here [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0061`. [INFO] [stderr] error: Could not compile `tictactoe-rust`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "59cf289efb0a117e16bd7c454488fe052bf2232f5b7ab4954186400aefab839c"` [INFO] running `"docker" "rm" "-f" "59cf289efb0a117e16bd7c454488fe052bf2232f5b7ab4954186400aefab839c"` [INFO] [stdout] 59cf289efb0a117e16bd7c454488fe052bf2232f5b7ab4954186400aefab839c