[INFO] fetching crate libwhp 0.1.3...
[INFO] testing libwhp-0.1.3 against beta-2023-04-20 for beta-1.70-1
[INFO] extracting crate libwhp 0.1.3 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate libwhp 0.1.3 on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate libwhp 0.1.3
[INFO] finished tweaking crates.io crate libwhp 0.1.3
[INFO] tweaked toml for crates.io crate libwhp 0.1.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2887a12015df5ae4b27e434a87288417c50dce1f2f87f45d152012bdbcb451d3
[INFO] running `Command { std: "docker" "start" "-a" "2887a12015df5ae4b27e434a87288417c50dce1f2f87f45d152012bdbcb451d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2887a12015df5ae4b27e434a87288417c50dce1f2f87f45d152012bdbcb451d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2887a12015df5ae4b27e434a87288417c50dce1f2f87f45d152012bdbcb451d3", kill_on_drop: false }`
[INFO] [stdout] 2887a12015df5ae4b27e434a87288417c50dce1f2f87f45d152012bdbcb451d3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 39d549412aec0d641a7de3a43df2f3e2671e894d62b32cbfe217b5894db87464
[INFO] running `Command { std: "docker" "start" "-a" "39d549412aec0d641a7de3a43df2f3e2671e894d62b32cbfe217b5894db87464", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.142
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling libwhp v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of calling convention not supported on this target
[INFO] [stdout]   --> src/win_hv_emulation.rs:70:1
[INFO] [stdout]    |
[INFO] [stdout] 70 | / extern "stdcall" {
[INFO] [stdout] 71 | |     pub fn WHvEmulatorCreateEmulator(
[INFO] [stdout] 72 | |         Callbacks: *const WHV_EMULATOR_CALLBACKS,
[INFO] [stdout] 73 | |         Emulator: *mut WHV_EMULATOR_HANDLE,
[INFO] [stdout] ...  |
[INFO] [stdout] 89 | |     ) -> HRESULT;
[INFO] [stdout] 90 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>
[INFO] [stdout]    = note: `#[warn(unsupported_calling_conventions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of calling convention not supported on this target
[INFO] [stdout]   --> src/win_hv_platform.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | / extern "stdcall" {
[INFO] [stdout] 23 | |     pub fn WHvCreatePartition(Partition: *mut WHV_PARTITION_HANDLE) -> HRESULT;
[INFO] [stdout] 24 | |     pub fn WHvSetupPartition(Partition: WHV_PARTITION_HANDLE) -> HRESULT;
[INFO] [stdout] 25 | |     pub fn WHvDeletePartition(Partition: WHV_PARTITION_HANDLE) -> HRESULT;
[INFO] [stdout] ...  |
[INFO] [stdout] 95 | |     ) -> HRESULT;
[INFO] [stdout] 96 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of calling convention not supported on this target
[INFO] [stdout]   --> src/win_memory.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | / extern "stdcall" {
[INFO] [stdout] 27 | |     pub fn VirtualAlloc(
[INFO] [stdout] 28 | |         lpAddress: *mut VOID,
[INFO] [stdout] 29 | |         dwSize: SIZE_T,
[INFO] [stdout] ...  |
[INFO] [stdout] 33 | |     pub fn VirtualFree(lpAddress: *mut VOID, dwSize: SIZE_T, dwFreeType: DWORD) -> BOOL;
[INFO] [stdout] 34 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of calling convention not supported on this target
[INFO] [stdout]    --> src/instruction_emulator.rs:98:5
[INFO] [stdout]     |
[INFO] [stdout] 98  | /     extern "stdcall" fn io_port_cb(
[INFO] [stdout] 99  | |         context: *mut VOID,
[INFO] [stdout] 100 | |         io_access: *mut WHV_EMULATOR_IO_ACCESS_INFO,
[INFO] [stdout] 101 | |     ) -> HRESULT {
[INFO] [stdout]     | |________________^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of calling convention not supported on this target
[INFO] [stdout]    --> src/instruction_emulator.rs:108:5
[INFO] [stdout]     |
[INFO] [stdout] 108 | /     extern "stdcall" fn memory_cb(
[INFO] [stdout] 109 | |         context: *mut VOID,
[INFO] [stdout] 110 | |         memory_access: *mut WHV_EMULATOR_MEMORY_ACCESS_INFO,
[INFO] [stdout] 111 | |     ) -> HRESULT {
[INFO] [stdout]     | |________________^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of calling convention not supported on this target
[INFO] [stdout]    --> src/instruction_emulator.rs:119:5
[INFO] [stdout]     |
[INFO] [stdout] 119 | /     extern "stdcall" fn get_vp_registers_cb(
[INFO] [stdout] 120 | |         context: *mut VOID,
[INFO] [stdout] 121 | |         register_names: *const WHV_REGISTER_NAME,
[INFO] [stdout] 122 | |         register_count: UINT32,
[INFO] [stdout] 123 | |         register_values: *mut WHV_REGISTER_VALUE,
[INFO] [stdout] 124 | |     ) -> HRESULT {
[INFO] [stdout]     | |________________^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of calling convention not supported on this target
[INFO] [stdout]    --> src/instruction_emulator.rs:135:5
[INFO] [stdout]     |
[INFO] [stdout] 135 | /     extern "stdcall" fn set_vp_registers_cb(
[INFO] [stdout] 136 | |         context: *mut VOID,
[INFO] [stdout] 137 | |         register_names: *const WHV_REGISTER_NAME,
[INFO] [stdout] 138 | |         register_count: UINT32,
[INFO] [stdout] 139 | |         register_values: *const WHV_REGISTER_VALUE,
[INFO] [stdout] 140 | |     ) -> HRESULT {
[INFO] [stdout]     | |________________^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of calling convention not supported on this target
[INFO] [stdout]    --> src/instruction_emulator.rs:151:5
[INFO] [stdout]     |
[INFO] [stdout] 151 | /     extern "stdcall" fn translate_gva_page_cb(
[INFO] [stdout] 152 | |         context: *mut VOID,
[INFO] [stdout] 153 | |         gva: WHV_GUEST_VIRTUAL_ADDRESS,
[INFO] [stdout] 154 | |         translate_flags: WHV_TRANSLATE_GVA_FLAGS,
[INFO] [stdout] 155 | |         translation_result: *mut WHV_TRANSLATE_GVA_RESULT_CODE,
[INFO] [stdout] 156 | |         gpa: *mut WHV_GUEST_PHYSICAL_ADDRESS,
[INFO] [stdout] 157 | |     ) -> HRESULT {
[INFO] [stdout]     | |________________^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this arithmetic operation will overflow
[INFO] [stdout]    --> src/macros.rs:30:29
[INFO] [stdout]     |
[INFO] [stdout] 30  |                   let mask = ((1 << ($r.end - $r.start)) - 1) << $r.start;
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to shift left by `64_i32`, which would overflow
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/win_hv_platform_defs.rs:374:1
[INFO] [stdout]     |
[INFO] [stdout] 374 | / bitfield!(WHV_CAPABILITY_FEATURES AsUINT64: UINT64 [
[INFO] [stdout] 375 | |     Reserved set_Reserved[0..64],
[INFO] [stdout] 376 | | ]);
[INFO] [stdout]     | |__- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(arithmetic_overflow)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/rustcIJZiZP/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcIJZiZP/symbols.o" "/opt/rustwide/target/debug/deps/libwhp.libwhp.464ead1c-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/libwhp.libwhp.464ead1c-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/libwhp.libwhp.464ead1c-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/libwhp.libwhp.464ead1c-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/libwhp.libwhp.464ead1c-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/libwhp.libwhp.464ead1c-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/libwhp.libwhp.464ead1c-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/libwhp.libwhp.464ead1c-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/libwhp.libwhp.464ead1c-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/libwhp.libwhp.464ead1c-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/libwhp.libwhp.464ead1c-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/libwhp.libwhp.464ead1c-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/libwhp.libwhp.464ead1c-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/libwhp.libwhp.464ead1c-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/libwhp.libwhp.464ead1c-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/libwhp.libwhp.464ead1c-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/libwhp.6fro4fxn9dtvhqw.rcgu.rmeta" "/opt/rustwide/target/debug/deps/libwhp.929f4ffk7jzdkgp.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lWinHvEmulation" "-lWinHvPlatform" "-lKernel32" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libbitflags-610a73087f46ba3b.rlib" "/opt/rustwide/target/debug/deps/liblibc-437468c9c78eaf61.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-0e29cc23c5e02021.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-d903621768a861d9.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-6d0225e655f31c13.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-9dbaf4eac7eaa079.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-27f05b3d42a66dd0.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-4d73f1030321c9a2.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-2846c9e58abd0acb.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-a53d0f50415947be.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-d48e4b6abc25b9dc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-2991859439ef1207.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-8a687517e4221bae.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-e07b554f6a67f5b3.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-b68238b7c3c619dd.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-d5e213e896c017e4.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0211a3b2e61d8689.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-b371f055239ba51f.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-e60518d2760eb01e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1ad943f92a4b1081.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f0d6e4d0fc1e80b4.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/liblibwhp.so" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: cannot find -lWinHvEmulation: No such file or directory
[INFO] [stdout]           /usr/bin/ld: cannot find -lWinHvPlatform: No such file or directory
[INFO] [stdout]           /usr/bin/ld: cannot find -lKernel32: No such file or directory
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libwhp` (lib) due to 2 previous errors; 9 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "39d549412aec0d641a7de3a43df2f3e2671e894d62b32cbfe217b5894db87464", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "39d549412aec0d641a7de3a43df2f3e2671e894d62b32cbfe217b5894db87464", kill_on_drop: false }`
[INFO] [stdout] 39d549412aec0d641a7de3a43df2f3e2671e894d62b32cbfe217b5894db87464
