[INFO] cloning repository https://github.com/mAru0090/dxlib-ffi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mAru0090/dxlib-ffi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmAru0090%2Fdxlib-ffi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmAru0090%2Fdxlib-ffi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 004e920a05b49ea1101be43951dd4af561ecb3fc [INFO] testing mAru0090/dxlib-ffi against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmAru0090%2Fdxlib-ffi" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mAru0090/dxlib-ffi [INFO] finished tweaking git repo https://github.com/mAru0090/dxlib-ffi [INFO] tweaked toml for git repo https://github.com/mAru0090/dxlib-ffi written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mAru0090/dxlib-ffi on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mAru0090/dxlib-ffi 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0485ab6264f2bd27fd5e859b94b46c1eff86dc740e7ae3b9cc5d247eae1c65af [INFO] running `Command { std: "docker" "start" "-a" "0485ab6264f2bd27fd5e859b94b46c1eff86dc740e7ae3b9cc5d247eae1c65af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0485ab6264f2bd27fd5e859b94b46c1eff86dc740e7ae3b9cc5d247eae1c65af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0485ab6264f2bd27fd5e859b94b46c1eff86dc740e7ae3b9cc5d247eae1c65af", kill_on_drop: false }` [INFO] [stdout] 0485ab6264f2bd27fd5e859b94b46c1eff86dc740e7ae3b9cc5d247eae1c65af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b7a5ed9fa60a3b6ce14c4afb496c41d0cb2ab127c5d53f6492986dfcaf5fca8 [INFO] running `Command { std: "docker" "start" "-a" "5b7a5ed9fa60a3b6ce14c4afb496c41d0cb2ab127c5d53f6492986dfcaf5fca8", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling dxlib-ffi v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling dxlib-ffi-macro v0.1.0 (/opt/rustwide/workdir/dxlib-ffi-macro) [INFO] [stdout] warning: unused import: `Ident` [INFO] [stdout] --> dxlib-ffi-macro/src/lib.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | FnArg, Ident, LitStr, Pat, PatType, Signature, Token, TypePath, Type, TypeReference, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dxlib_constants::*` [INFO] [stdout] --> src/dxlib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::dxlib_constants::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/dxlib_constants.rs:218:38 [INFO] [stdout] | [INFO] [stdout] 218 | pub const MV1_SAVETYPE_NORMAL: i32 = (MV1_SAVETYPE_MESH | MV1_SAVETYPE_ANIM); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 218 - pub const MV1_SAVETYPE_NORMAL: i32 = (MV1_SAVETYPE_MESH | MV1_SAVETYPE_ANIM); [INFO] [stdout] 218 + pub const MV1_SAVETYPE_NORMAL: i32 = MV1_SAVETYPE_MESH | MV1_SAVETYPE_ANIM; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/dxlib_constants.rs:261:35 [INFO] [stdout] | [INFO] [stdout] 261 | pub const DX_PLAYTYPE_BACK: i32 = (DX_PLAYTYPE_BACKBIT); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 261 - pub const DX_PLAYTYPE_BACK: i32 = (DX_PLAYTYPE_BACKBIT); [INFO] [stdout] 261 + pub const DX_PLAYTYPE_BACK: i32 = DX_PLAYTYPE_BACKBIT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/dxlib_constants.rs:262:35 [INFO] [stdout] | [INFO] [stdout] 262 | pub const DX_PLAYTYPE_LOOP: i32 = (DX_PLAYTYPE_LOOPBIT | DX_PLAYTYPE_BACKBIT); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 262 - pub const DX_PLAYTYPE_LOOP: i32 = (DX_PLAYTYPE_LOOPBIT | DX_PLAYTYPE_BACKBIT); [INFO] [stdout] 262 + pub const DX_PLAYTYPE_LOOP: i32 = DX_PLAYTYPE_LOOPBIT | DX_PLAYTYPE_BACKBIT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/dxlib_constants.rs:323:34 [INFO] [stdout] | [INFO] [stdout] 323 | pub const DX_ZCMP_DEFAULT: i32 = (DX_CMP_LESSEQUAL); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 323 - pub const DX_ZCMP_DEFAULT: i32 = (DX_CMP_LESSEQUAL); [INFO] [stdout] 323 + pub const DX_ZCMP_DEFAULT: i32 = DX_CMP_LESSEQUAL; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/dxlib_constants.rs:324:34 [INFO] [stdout] | [INFO] [stdout] 324 | pub const DX_ZCMP_REVERSE: i32 = (DX_CMP_GREATEREQUAL); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 324 - pub const DX_ZCMP_REVERSE: i32 = (DX_CMP_GREATEREQUAL); [INFO] [stdout] 324 + pub const DX_ZCMP_REVERSE: i32 = DX_CMP_GREATEREQUAL; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dxlib::*` [INFO] [stdout] --> src/lib.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::dxlib::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dxlib_constants::*` [INFO] [stdout] --> src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::dxlib_constants::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dxlib_types::*` [INFO] [stdout] --> src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::dxlib_types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result as R` [INFO] [stdout] --> src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | use anyhow::Result as R; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: "stdcall" is not a supported ABI for the current target [INFO] [stdout] --> src/dxlib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / dxlib_gen! { [INFO] [stdout] 15 | | // ライブラリ名 [INFO] [stdout] 16 | | "DxLib_x64", [INFO] [stdout] ... | [INFO] [stdout] 49 | | fn DrawString(x: CInt, y: CInt, string: &str, color: CInt) -> CInt, [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] = note: this error originates in the macro `dxlib_gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0570`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dxlib-ffi` (lib) due to 1 previous error; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5b7a5ed9fa60a3b6ce14c4afb496c41d0cb2ab127c5d53f6492986dfcaf5fca8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b7a5ed9fa60a3b6ce14c4afb496c41d0cb2ab127c5d53f6492986dfcaf5fca8", kill_on_drop: false }` [INFO] [stdout] 5b7a5ed9fa60a3b6ce14c4afb496c41d0cb2ab127c5d53f6492986dfcaf5fca8