[INFO] fetching crate vjoy-sys 0.4.1... [INFO] building vjoy-sys-0.4.1 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate vjoy-sys 0.4.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate vjoy-sys 0.4.1 [INFO] finished tweaking crates.io crate vjoy-sys 0.4.1 [INFO] tweaked toml for crates.io crate vjoy-sys 0.4.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate vjoy-sys 0.4.1 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 49 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.64.0 (available: v0.72.1) [INFO] [stderr] Adding libloading v0.7.4 (available: v0.8.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e69906960d137914542c90b68c5b7b09fb2fdb4dc210ebc62ac2cea86954315 [INFO] running `Command { std: "docker" "start" "-a" "3e69906960d137914542c90b68c5b7b09fb2fdb4dc210ebc62ac2cea86954315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e69906960d137914542c90b68c5b7b09fb2fdb4dc210ebc62ac2cea86954315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e69906960d137914542c90b68c5b7b09fb2fdb4dc210ebc62ac2cea86954315", kill_on_drop: false }` [INFO] [stdout] 3e69906960d137914542c90b68c5b7b09fb2fdb4dc210ebc62ac2cea86954315 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0fb8412afa109281542fab0d05a043195b438d42e94e53d75c87562b398ff28 [INFO] running `Command { std: "docker" "start" "-a" "d0fb8412afa109281542fab0d05a043195b438d42e94e53d75c87562b398ff28", kill_on_drop: false }` [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling bindgen v0.64.0 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling vjoy-sys v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] error: failed to run custom build command for `vjoy-sys v0.4.1 (/opt/rustwide/workdir)` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/vjoy-sys-d5fbb45640040882/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rustc-link-lib[KIND:dylib]=vJoyInterface [INFO] [stderr] cargo:rerun-if-changed=vjoy/wrapper.h [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] vjoy/vjoyinterface.h:128:15: warning: '__stdcall' calling convention is not supported for this target [-Wignored-attributes] [INFO] [stderr] vjoy/vjoyinterface.h:276:15: warning: '__stdcall' calling convention is not supported for this target [-Wignored-attributes] [INFO] [stderr] vjoy/vjoyinterface.h:293:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes [INFO] [stderr] vjoy/vjoyinterface.h:294:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes [INFO] [stderr] vjoy/vjoyinterface.h:295:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes [INFO] [stderr] vjoy/vjoyinterface.h:296:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes [INFO] [stderr] vjoy/vjoyinterface.h:297:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes [INFO] [stderr] vjoy/vjoyinterface.h:298:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes [INFO] [stderr] vjoy/vjoyinterface.h:299:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes [INFO] [stderr] vjoy/vjoyinterface.h:300:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes [INFO] [stderr] vjoy/vjoyinterface.h:301:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes [INFO] [stderr] vjoy/vjoyinterface.h:302:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes [INFO] [stderr] vjoy/vjoyinterface.h:306:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes [INFO] [stderr] vjoy/vjoyinterface.h:307:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes [INFO] [stderr] vjoy/vjoyinterface.h:308:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes [INFO] [stderr] vjoy/vjoyinterface.h:309:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes [INFO] [stderr] vjoy/vjoyinterface.h:310:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes [INFO] [stderr] vjoy/vjoyinterface.h:311:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes [INFO] [stderr] vjoy/vjoyinterface.h:312:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes [INFO] [stderr] vjoy/vjoyinterface.h:314:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes [INFO] [stderr] vjoy/vjoyinterface.h:316:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes [INFO] [stderr] fatal error: too many errors emitted, stopping now [-ferror-limit=] [INFO] [stderr] clang diag: vjoy/vjoyinterface.h:128:15: warning: '__stdcall' calling convention is not supported for this target [-Wignored-attributes] [INFO] [stderr] clang diag: vjoy/vjoyinterface.h:276:15: warning: '__stdcall' calling convention is not supported for this target [-Wignored-attributes] [INFO] [stderr] [INFO] [stderr] thread 'main' (402) panicked at build.rs:56:10: [INFO] [stderr] Unable to generate bindings: ClangDiagnostic("vjoy/vjoyinterface.h:293:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes\nvjoy/vjoyinterface.h:294:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes\nvjoy/vjoyinterface.h:295:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes\nvjoy/vjoyinterface.h:296:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes\nvjoy/vjoyinterface.h:297:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes\nvjoy/vjoyinterface.h:298:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes\nvjoy/vjoyinterface.h:299:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes\nvjoy/vjoyinterface.h:300:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes\nvjoy/vjoyinterface.h:301:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes\nvjoy/vjoyinterface.h:302:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes\nvjoy/vjoyinterface.h:306:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes\nvjoy/vjoyinterface.h:307:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes\nvjoy/vjoyinterface.h:308:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes\nvjoy/vjoyinterface.h:309:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes\nvjoy/vjoyinterface.h:310:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes\nvjoy/vjoyinterface.h:311:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes\nvjoy/vjoyinterface.h:312:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes\nvjoy/vjoyinterface.h:314:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes\nvjoy/vjoyinterface.h:316:2: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes\nfatal error: too many errors emitted, stopping now [-ferror-limit=]\n") [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x62e28a38c232 - std::backtrace_rs::backtrace::libunwind::trace::h52580dd202462214 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x62e28a38c232 - std::backtrace_rs::backtrace::trace_unsynchronized::hc969519abce0f52b [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x62e28a38c232 - std::sys::backtrace::_print_fmt::hfd5825900b6e0030 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x62e28a38c232 - ::fmt::h427144ad75cfb218 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x62e28a39d4bf - core::fmt::rt::Argument::fmt::hd5ccc9cf97cea7f7 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x62e28a39d4bf - core::fmt::write::h593aaf5adf0f5dae [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/mod.rs:1468:25 [INFO] [stderr] 6: 0x62e28a35e391 - std::io::default_write_fmt::hf108c2855e591a7c [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x62e28a35e391 - std::io::Write::write_fmt::h6e02e29a2bcc97c1 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x62e28a3691f2 - std::sys::backtrace::BacktraceLock::print::h3953113552dca3ca [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x62e28a36c0cf - std::panicking::default_hook::{{closure}}::h486b96ad75eafbb8 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x62e28a36bf29 - std::panicking::default_hook::h99456317c5a1a20c [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x62e28a36c805 - std::panicking::panic_with_hook::h67ab0df20212e4ea [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:834:13 [INFO] [stderr] 12: 0x62e28a36c5ea - std::panicking::panic_handler::{{closure}}::hc9e4a933ae92e208 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:707:13 [INFO] [stderr] 13: 0x62e28a369339 - std::sys::backtrace::__rust_end_short_backtrace::hbfa72df9b68c2d19 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 14: 0x62e28a351edd - __rustc[8cce077e14951490]::rust_begin_unwind [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:698:5 [INFO] [stderr] 15: 0x62e28a3a73a0 - core::panicking::panic_fmt::h49931053d20abf41 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:75:14 [INFO] [stderr] 16: 0x62e28a3a6656 - core::result::unwrap_failed::h7f5a2d4cf85d933f [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/result.rs:1854:5 [INFO] [stderr] 17: 0x62e289e74c14 - core::result::Result::expect::h32894cc3b07d4fe6 [INFO] [stderr] 18: 0x62e289e73710 - build_script_build::main::had92ff6817924556 [INFO] [stderr] 19: 0x62e289e74243 - core::ops::function::FnOnce::call_once::h8702697166af1ada [INFO] [stderr] 20: 0x62e289e74146 - std::sys::backtrace::__rust_begin_short_backtrace::h735b45724c01f61a [INFO] [stderr] 21: 0x62e289e74129 - std::rt::lang_start::{{closure}}::h8fe4975c073eaeb3 [INFO] [stderr] 22: 0x62e28a35fda0 - core::ops::function::impls:: for &F>::call_once::hb84e9e033646564e [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:290:21 [INFO] [stderr] 23: 0x62e28a35fda0 - std::panicking::catch_unwind::do_call::hbd46cd07e9e2b512 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stderr] 24: 0x62e28a35fda0 - std::panicking::catch_unwind::hd048d6861d343544 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stderr] 25: 0x62e28a35fda0 - std::panic::catch_unwind::h141ca8973277f822 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stderr] 26: 0x62e28a35fda0 - std::rt::lang_start_internal::{{closure}}::hc1f3273d5e4e0426 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/rt.rs:175:24 [INFO] [stderr] 27: 0x62e28a35fda0 - std::panicking::catch_unwind::do_call::hc215ba2b02ac1f8c [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stderr] 28: 0x62e28a35fda0 - std::panicking::catch_unwind::h67f54bbdc14963b0 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stderr] 29: 0x62e28a35fda0 - std::panic::catch_unwind::h7d01c664f3f34538 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stderr] 30: 0x62e28a35fda0 - std::rt::lang_start_internal::hcbf1d15fae983a0f [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/rt.rs:171:5 [INFO] [stderr] 31: 0x62e289e74111 - std::rt::lang_start::h79a204089943291b [INFO] [stderr] 32: 0x62e289e760e5 - main [INFO] [stderr] 33: 0x7e1ec983a1ca - [INFO] [stderr] 34: 0x7e1ec983a28b - __libc_start_main [INFO] [stderr] 35: 0x62e289e72bc5 - _start [INFO] [stderr] 36: 0x0 - [INFO] running `Command { std: "docker" "inspect" "d0fb8412afa109281542fab0d05a043195b438d42e94e53d75c87562b398ff28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0fb8412afa109281542fab0d05a043195b438d42e94e53d75c87562b398ff28", kill_on_drop: false }` [INFO] [stdout] d0fb8412afa109281542fab0d05a043195b438d42e94e53d75c87562b398ff28