[INFO] cloning repository https://github.com/C-J-Cooper/athena-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/C-J-Cooper/athena-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FC-J-Cooper%2Fathena-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FC-J-Cooper%2Fathena-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 851aeb9ea467172432a17f1986856ebc80f6dd9d [INFO] testing C-J-Cooper/athena-engine against beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FC-J-Cooper%2Fathena-engine" "/workspace/builds/worker-73/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-73/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/C-J-Cooper/athena-engine on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/C-J-Cooper/athena-engine [INFO] finished tweaking git repo https://github.com/C-J-Cooper/athena-engine [INFO] tweaked toml for git repo https://github.com/C-J-Cooper/athena-engine written to /workspace/builds/worker-73/source/Cargo.toml [INFO] crate git repo https://github.com/C-J-Cooper/athena-engine already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-73/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-73/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d0d454693b101419261899a7a127632aebbf4b54fbd2132e8376087e68f999a [INFO] running `Command { std: "docker" "start" "-a" "0d0d454693b101419261899a7a127632aebbf4b54fbd2132e8376087e68f999a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d0d454693b101419261899a7a127632aebbf4b54fbd2132e8376087e68f999a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d0d454693b101419261899a7a127632aebbf4b54fbd2132e8376087e68f999a", kill_on_drop: false }` [INFO] [stdout] 0d0d454693b101419261899a7a127632aebbf4b54fbd2132e8376087e68f999a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-73/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-73/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c30b8c88ac2482d84386b7245034a404098dd79de845f3e53dc28e6ffbaa4568 [INFO] running `Command { std: "docker" "start" "-a" "c30b8c88ac2482d84386b7245034a404098dd79de845f3e53dc28e6ffbaa4568", kill_on_drop: false }` [INFO] [stderr] warning: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.74 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bumpalo v3.7.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.74 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.74 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.74 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.74 [INFO] [stderr] Compiling js-sys v0.3.51 [INFO] [stderr] Compiling console_error_panic_hook v0.1.6 [INFO] [stderr] Compiling web-sys v0.3.51 [INFO] [stderr] Compiling athena-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `coord_to_rank_file` [INFO] [stdout] --> src/engine.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::utils::{log, coord_to_rank_file}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `en_passant_sq` [INFO] [stdout] --> src/board.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | en_passant_sq : [usize; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear_board` [INFO] [stdout] --> src/board.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | fn clear_board(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `best_move` [INFO] [stdout] --> src/engine.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn best_move(_board: &Board) -> ChessMove { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_slide_clear_for_capture` [INFO] [stdout] --> src/pieces.rs:396:4 [INFO] [stdout] | [INFO] [stdout] 396 | fn is_slide_clear_for_capture(board: &Board, src: [usize; 2], dest: [usize; 2], is_white: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.25s [INFO] running `Command { std: "docker" "inspect" "c30b8c88ac2482d84386b7245034a404098dd79de845f3e53dc28e6ffbaa4568", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c30b8c88ac2482d84386b7245034a404098dd79de845f3e53dc28e6ffbaa4568", kill_on_drop: false }` [INFO] [stdout] c30b8c88ac2482d84386b7245034a404098dd79de845f3e53dc28e6ffbaa4568 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-73/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-73/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2458d7c171f9ed42425e846c7a73a7ce05b181d771a1fa3884cb211eb228e9ac [INFO] running `Command { std: "docker" "start" "-a" "2458d7c171f9ed42425e846c7a73a7ce05b181d771a1fa3884cb211eb228e9ac", kill_on_drop: false }` [INFO] [stderr] warning: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stdout] warning: unused import: `coord_to_rank_file` [INFO] [stdout] --> src/engine.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::utils::{log, coord_to_rank_file}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `en_passant_sq` [INFO] [stdout] --> src/board.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | en_passant_sq : [usize; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear_board` [INFO] [stdout] --> src/board.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | fn clear_board(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `best_move` [INFO] [stdout] --> src/engine.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn best_move(_board: &Board) -> ChessMove { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_slide_clear_for_capture` [INFO] [stdout] --> src/pieces.rs:396:4 [INFO] [stdout] | [INFO] [stdout] 396 | fn is_slide_clear_for_capture(board: &Board, src: [usize; 2], dest: [usize; 2], is_white: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling wasm-bindgen-futures v0.3.27 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.2.50 [INFO] [stderr] Compiling wasm-bindgen-test v0.2.50 [INFO] [stderr] Compiling athena-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `log` in this scope [INFO] [stdout] --> src/utils.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | ($($t:tt)*) => (log(&format_args!($($t)*).to_string())) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/pieces.rs:451:9 [INFO] [stdout] | [INFO] [stdout] 451 | console_log!("top of is slide clear"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 444 | use crate::Math::log; [INFO] [stdout] | [INFO] [stdout] 444 | use crate::log; [INFO] [stdout] | [INFO] [stdout] 444 | use js_sys::Math::log; [INFO] [stdout] | [INFO] [stdout] 444 | use wasm_bindgen_test::__rt::log; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `log` in this scope [INFO] [stdout] --> src/utils.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | ($($t:tt)*) => (log(&format_args!($($t)*).to_string())) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/pieces.rs:453:9 [INFO] [stdout] | [INFO] [stdout] 453 | console_log!("created board"); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 444 | use crate::Math::log; [INFO] [stdout] | [INFO] [stdout] 444 | use crate::log; [INFO] [stdout] | [INFO] [stdout] 444 | use js_sys::Math::log; [INFO] [stdout] | [INFO] [stdout] 444 | use wasm_bindgen_test::__rt::log; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `log` in this scope [INFO] [stdout] --> src/utils.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | ($($t:tt)*) => (log(&format_args!($($t)*).to_string())) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/pieces.rs:455:9 [INFO] [stdout] | [INFO] [stdout] 455 | console_log!("set board"); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 444 | use crate::Math::log; [INFO] [stdout] | [INFO] [stdout] 444 | use crate::log; [INFO] [stdout] | [INFO] [stdout] 444 | use js_sys::Math::log; [INFO] [stdout] | [INFO] [stdout] 444 | use wasm_bindgen_test::__rt::log; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `coord_to_rank_file` [INFO] [stdout] --> src/engine.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::utils::{log, coord_to_rank_file}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `athena-engine` due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2458d7c171f9ed42425e846c7a73a7ce05b181d771a1fa3884cb211eb228e9ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2458d7c171f9ed42425e846c7a73a7ce05b181d771a1fa3884cb211eb228e9ac", kill_on_drop: false }` [INFO] [stdout] 2458d7c171f9ed42425e846c7a73a7ce05b181d771a1fa3884cb211eb228e9ac