[INFO] cloning repository https://github.com/sergemalo/sm-checkers-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sergemalo/sm-checkers-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsergemalo%2Fsm-checkers-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsergemalo%2Fsm-checkers-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8bf7bba1b4f67f8cf07ad8e699698442e9669486 [INFO] checking sergemalo/sm-checkers-engine against master#b2728d5426bab1d8c39709768c7e22b7f66dde5d for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsergemalo%2Fsm-checkers-engine" "/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/sergemalo/sm-checkers-engine on toolchain b2728d5426bab1d8c39709768c7e22b7f66dde5d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sergemalo/sm-checkers-engine [INFO] finished tweaking git repo https://github.com/sergemalo/sm-checkers-engine [INFO] tweaked toml for git repo https://github.com/sergemalo/sm-checkers-engine written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sergemalo/sm-checkers-engine 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" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9175343a4324239ce6baca5e154e5aae45467ff4699f45162bf59f133c65a787 [INFO] running `Command { std: "docker" "start" "-a" "9175343a4324239ce6baca5e154e5aae45467ff4699f45162bf59f133c65a787", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9175343a4324239ce6baca5e154e5aae45467ff4699f45162bf59f133c65a787", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9175343a4324239ce6baca5e154e5aae45467ff4699f45162bf59f133c65a787", kill_on_drop: false }` [INFO] [stdout] 9175343a4324239ce6baca5e154e5aae45467ff4699f45162bf59f133c65a787 [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c22f1dfeccd4c12ab0dd94c5eed06ef757d6227ea297e04c65e45218a68ed808 [INFO] running `Command { std: "docker" "start" "-a" "c22f1dfeccd4c12ab0dd94c5eed06ef757d6227ea297e04c65e45218a68ed808", kill_on_drop: false }` [INFO] [stderr] Checking sm-checkers-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current target [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / pub extern "stdcall" fn getmove( [INFO] [stdout] 48 | | board: *mut [c_int; BOARD_SIZE], // int board[8][8], [INFO] [stdout] 49 | | color:c_int, // int color, [INFO] [stdout] 50 | | maxtime: c_double, // double maxtime, [INFO] [stdout] ... | [INFO] [stdout] 54 | | moreinfo: c_int, // int moreinfo, [INFO] [stdout] 55 | | cb_move: *mut CBmove) -> c_int { // struct CBmove *move [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current target [INFO] [stdout] --> src/lib.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub extern "stdcall" fn enginecommand(command: *mut c_char, reply: *mut c_char) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current target [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / pub extern "stdcall" fn getmove( [INFO] [stdout] 48 | | board: *mut [c_int; BOARD_SIZE], // int board[8][8], [INFO] [stdout] 49 | | color:c_int, // int color, [INFO] [stdout] 50 | | maxtime: c_double, // double maxtime, [INFO] [stdout] ... | [INFO] [stdout] 54 | | moreinfo: c_int, // int moreinfo, [INFO] [stdout] 55 | | cb_move: *mut CBmove) -> c_int { // struct CBmove *move [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current target [INFO] [stdout] --> src/lib.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub extern "stdcall" fn enginecommand(command: *mut c_char, reply: *mut c_char) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/lib.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | board: *mut [c_int; BOARD_SIZE], // int board[8][8], [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/lib.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | board: *mut [c_int; BOARD_SIZE], // int board[8][8], [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/lib.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | color:c_int, // int color, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/lib.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | color:c_int, // int color, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maxtime` [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | maxtime: c_double, // double maxtime, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maxtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maxtime` [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | maxtime: c_double, // double maxtime, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maxtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str` [INFO] [stdout] --> src/lib.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | str: *mut c_char, // char str[1024], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str` [INFO] [stdout] --> src/lib.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | str: *mut c_char, // char str[1024], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `playnow` [INFO] [stdout] --> src/lib.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | playnow: *mut c_int, // int *playnow, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_playnow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `playnow` [INFO] [stdout] --> src/lib.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | playnow: *mut c_int, // int *playnow, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_playnow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/lib.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | info: c_int, // int info, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/lib.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | info: c_int, // int info, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `moreinfo` [INFO] [stdout] --> src/lib.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | moreinfo: c_int, // int moreinfo, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_moreinfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `moreinfo` [INFO] [stdout] --> src/lib.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | moreinfo: c_int, // int moreinfo, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_moreinfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cb_move` [INFO] [stdout] --> src/lib.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | cb_move: *mut CBmove) -> c_int { // struct CBmove *move [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cb_move` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cb_move` [INFO] [stdout] --> src/lib.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | cb_move: *mut CBmove) -> c_int { // struct CBmove *move [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cb_move` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0570`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0570`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sm-checkers-engine` (lib test) due to 2 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `sm-checkers-engine` (lib) due to 2 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c22f1dfeccd4c12ab0dd94c5eed06ef757d6227ea297e04c65e45218a68ed808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c22f1dfeccd4c12ab0dd94c5eed06ef757d6227ea297e04c65e45218a68ed808", kill_on_drop: false }` [INFO] [stdout] c22f1dfeccd4c12ab0dd94c5eed06ef757d6227ea297e04c65e45218a68ed808