The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftCOM, reference main (00438f), with Swift 6.4 for Wasm on 16 Oct 2026 21:54:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/compnerd/swift-com.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/compnerd/swift-com
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 00438f8 Fix DirectX import
Cloned https://github.com/compnerd/swift-com.git
Revision (git rev-parse @):
00438f801ed3ad378699af75bdbbe82c7983eea8
SUCCESS checkout https://github.com/compnerd/swift-com.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/compnerd/swift-com.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:7a2e5502d3bb6640f9b2bbb1dadf9967024364ce9ed0ed0bd80cf1b699d193fd
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Building for debugging...
[Planning deferred tasks]
[18 / 26] SwiftCOM
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

[27 / 35] SwiftCOM
/host/spi-builder-workspace/Sources/SwiftCOM/COMBase.swift:4:8: error: no such module 'WinSDK'
 2 | // SPDX-License-Identifier: BSD-3-Clause
 3 |
 4 | import WinSDK
   |        `- error: no such module 'WinSDK'
 5 |
 6 | public func CoInitializeEx(_ pvReserved: LPVOID?,
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/SwiftCOM/COMBase.swift /host/spi-builder-workspace/Sources/SwiftCOM/DirectX.swift /host/spi-builder-workspace/Sources/SwiftCOM/Extensions/COMTypes+Extensions.swift /host/spi-builder-workspace/Sources/SwiftCOM/Extensions/DirectX+Extensions.swift /host/spi-builder-workspace/Sources/SwiftCOM/Extensions/String+Extensions.swift /host/spi-builder-workspace/Sources/SwiftCOM/Extensions/WinSDK+Extensions.swift /host/spi-builder-workspace/Sources/SwiftCOM/Extensions/stdlib+Extensions.swift /host/spi-builder-workspace/Sources/SwiftCOM/Implementation/Human/IFileOperationProgressSink.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IBindCtx.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/ID3D12CommandAllocator.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/ID3D12CommandList.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/ID3D12CommandQueue.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/ID3D12CommandSignature.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/ID3D12Debug.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/ID3D12DescriptorHeap.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/ID3D12Device.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/ID3D12Device1.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/ID3D12Device2.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/ID3D12DeviceChild.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/ID3D12Fence.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/ID3D12GraphicsCommandList.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/ID3D12Heap.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/ID3D12InfoQueue.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/ID3D12Object.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/ID3D12Pageable.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/ID3D12PipelineState.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/ID3D12QueryHeap.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/ID3D12Resource.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/ID3D12RootSignature.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/ID3D12StateObject.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/ID3D12VersionedRootSignatureDeserializer.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/ID3DBlob.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IDXGIAdapter.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IDXGIAdapter1.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IDXGIAdapter2.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IDXGIAdapter3.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IDXGIAdapter4.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IDXGIDebug.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IDXGIDevice.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IDXGIDeviceSubObject.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IDXGIFactory.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IDXGIFactory1.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IDXGIFactory2.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IDXGIFactory3.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IDXGIFactory4.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IDXGIFactory5.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IDXGIFactory6.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IDXGIObject.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IDXGIOutput.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IDXGISurface.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IDXGISwapChain.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IDXGISwapChain1.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IDXGISwapChain2.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IDXGISwapChain3.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IDXGISwapChain4.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IEnumMoniker.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IEnumString.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IEnumUnknown.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IErrorLog.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IFileOperation.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IMalloc.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IMoniker.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IObjectWithPropertyKey.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IOperationsProgressDialog.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IPersist.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IPersistStream.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IPortableDeviceKeyCollection.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IPortableDevicePropVariantCollection.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IPortableDeviceValues.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IPortableDeviceValuesCollection.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IPropertyBag2.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IPropertyChange.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IPropertyChangeArray.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IPropertyStore.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IRunningObjectTable.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/ISensor.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/ISensorCollection.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/ISensorDataReport.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/ISensorEvents.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/ISensorManager.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/ISensorManagerEvents.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IShellItem.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IStream.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IWICBitmap.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IWICBitmapClipper.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IWICBitmapCodecInfo.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IWICBitmapDecoder.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IWICBitmapDecoderInfo.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IWICBitmapEncoder.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IWICBitmapEncoderInfo.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IWICBitmapFlipRotator.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IWICBitmapFrameDecode.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IWICBitmapFrameEncode.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IWICBitmapLock.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IWICBitmapScaler.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IWICBitmapSource.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IWICColorContext.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IWICColorTransform.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IWICComponentInfo.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IWICFastMetadataEncoder.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IWICFormatConverter.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IWICImagingFactory.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IWICMetadataQueryReader.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IWICMetadataQueryWriter.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IWICPalette.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/Human/IWICStream.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/ITypeComp.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/ITypeInfo.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/ITypeLib.swift /host/spi-builder-workspace/Sources/SwiftCOM/Interfaces/IUnknown.swift /host/spi-builder-workspace/Sources/SwiftCOM/Shell.swift /host/spi-builder-workspace/Sources/SwiftCOM/Support/COMError.swift /host/spi-builder-workspace/Sources/SwiftCOM/Support/Error.swift /host/spi-builder-workspace/Sources/SwiftCOM/Support/RawTyped.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCOM.build/Debug-webassembly-wasm32/SwiftCOM-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCOM.build/Debug-webassembly-wasm32/SwiftCOM-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCOM.build/Debug-webassembly-wasm32/SwiftCOM-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftCOM -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCOM.build/Debug-webassembly-wasm32/SwiftCOM-t.build/Objects-normal/wasm32/SwiftCOM_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCOM.build/Debug-webassembly-wasm32/SwiftCOM-t.build/Objects-normal/wasm32/Modules/SwiftCOM.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCOM.build/Debug-webassembly-wasm32/SwiftCOM-t.build/Objects-normal/wasm32/Modules/SwiftCOM.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCOM.build/Debug-webassembly-wasm32/SwiftCOM-t.build/Objects-normal/wasm32/SwiftCOM-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCOM.build/Debug-webassembly-wasm32/SwiftCOM-t.build/Objects-normal/wasm32/SwiftCOM-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCOM.build/Debug-webassembly-wasm32/SwiftCOM-t.build/Objects-normal/wasm32/SwiftCOM-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCOM.build/Debug-webassembly-wasm32/SwiftCOM-t.build/Objects-normal/wasm32/Modules/SwiftCOM.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm