[INFO] fetching crate libwhp 0.1.3...
[INFO] testing libwhp-0.1.3 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] extracting crate libwhp 0.1.3 into /workspace/builds/worker-1-tc2/source
[INFO] validating manifest of crates.io crate libwhp 0.1.3 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "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-1-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 2 packages to latest compatible versions
[INFO] [stderr]       Adding bitflags v1.3.2 (available: v2.6.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a2e4a3bdfe9f5ab448aafb1ea6382dd9701b7e05b7e623c83fce56a70c117296
[INFO] running `Command { std: "docker" "start" "-a" "a2e4a3bdfe9f5ab448aafb1ea6382dd9701b7e05b7e623c83fce56a70c117296", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a2e4a3bdfe9f5ab448aafb1ea6382dd9701b7e05b7e623c83fce56a70c117296", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a2e4a3bdfe9f5ab448aafb1ea6382dd9701b7e05b7e623c83fce56a70c117296", kill_on_drop: false }`
[INFO] [stdout] a2e4a3bdfe9f5ab448aafb1ea6382dd9701b7e05b7e623c83fce56a70c117296
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2067c1e68f4161bd8cdf967d9390ddae2d1602509cc3fb4f17ea887d33b06f58
[INFO] running `Command { std: "docker" "start" "-a" "2067c1e68f4161bd8cdf967d9390ddae2d1602509cc3fb4f17ea887d33b06f58", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr]    Compiling libwhp v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the calling convention "stdcall" is not supported on this target
[INFO] [stdout]   --> src/win_hv_emulation.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     extern "stdcall" fn(Context: *mut VOID, IoAccess: *mut WHV_EMULATOR_IO_ACCESS_INFO) -> 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 #130260 <https://github.com/rust-lang/rust/issues/130260>
[INFO] [stdout]    = note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the calling convention "stdcall" is not supported on this target
[INFO] [stdout]   --> src/win_hv_emulation.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | /     extern "stdcall" fn(Context: *mut VOID, MemoryAccess: *mut WHV_EMULATOR_MEMORY_ACCESS_INFO)
[INFO] [stdout] 26 | |         -> 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 #130260 <https://github.com/rust-lang/rust/issues/130260>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the calling convention "stdcall" is not supported on this target
[INFO] [stdout]   --> src/win_hv_emulation.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | /     extern "stdcall" fn(
[INFO] [stdout] 30 | |         Context: *mut VOID,
[INFO] [stdout] 31 | |         RegisterNames: *const WHV_REGISTER_NAME,
[INFO] [stdout] 32 | |         RegisterCount: UINT32,
[INFO] [stdout] 33 | |         RegisterValues: *mut WHV_REGISTER_VALUE,
[INFO] [stdout] 34 | |     ) -> 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 #130260 <https://github.com/rust-lang/rust/issues/130260>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the calling convention "stdcall" is not supported on this target
[INFO] [stdout]   --> src/win_hv_emulation.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | /     extern "stdcall" fn(
[INFO] [stdout] 38 | |         Context: *mut VOID,
[INFO] [stdout] 39 | |         RegisterNames: *const WHV_REGISTER_NAME,
[INFO] [stdout] 40 | |         RegisterCount: UINT32,
[INFO] [stdout] 41 | |         RegisterValues: *const WHV_REGISTER_VALUE,
[INFO] [stdout] 42 | |     ) -> 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 #130260 <https://github.com/rust-lang/rust/issues/130260>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the calling convention "stdcall" is not supported on this target
[INFO] [stdout]   --> src/win_hv_emulation.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | /     extern "stdcall" fn(
[INFO] [stdout] 46 | |         Context: *mut VOID,
[INFO] [stdout] 47 | |         Gva: WHV_GUEST_VIRTUAL_ADDRESS,
[INFO] [stdout] 48 | |         TranslateFlags: WHV_TRANSLATE_GVA_FLAGS,
[INFO] [stdout] 49 | |         TranslationResult: *mut WHV_TRANSLATE_GVA_RESULT_CODE,
[INFO] [stdout] 50 | |         Gpa: *mut WHV_GUEST_PHYSICAL_ADDRESS,
[INFO] [stdout] 51 | |     ) -> 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 #130260 <https://github.com/rust-lang/rust/issues/130260>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current 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] 
[INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current 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] 
[INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current 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] 
[INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current 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] 
[INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current 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] 
[INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current 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] 
[INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current 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] 
[INFO] [stdout] error[E0570]: `"stdcall"` is not a supported ABI for the current 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] 
[INFO] [stdout] error: 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: `#[deny(arithmetic_overflow)]` on by default
[INFO] [stdout]     = note: this error originates in the macro `bitfield` (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 `libwhp` (lib) due to 9 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2067c1e68f4161bd8cdf967d9390ddae2d1602509cc3fb4f17ea887d33b06f58", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2067c1e68f4161bd8cdf967d9390ddae2d1602509cc3fb4f17ea887d33b06f58", kill_on_drop: false }`
[INFO] [stdout] 2067c1e68f4161bd8cdf967d9390ddae2d1602509cc3fb4f17ea887d33b06f58
