Build Information
Failed to build SwiftWin32, reference main (3515be
), with Swift 6.2 (beta) for Wasm on 24 Jun 2025 14:00:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/compnerd/swift-win32.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-win32
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 3515be4 App and Environment: correct minor typo (NFC)
Submodule path 'Packages/SwiftCOM': checked out 'ebbc617d3b7ba3a2023988a74bebd118deea4cc5'
Submodule path 'Packages/cassowary': checked out 'a438611231901f9f350da27857d786f7979d578b'
Submodule path 'Packages/swift-collections': checked out 'c0549b6284aadd5fd13156316f43fcb43c7fca77'
Submodule path 'Packages/swift-log': checked out 'd8af258aecd93cd8604e74ade3c0fe438bac13f8'
Submodule 'Packages/SwiftCOM' (https://github.com/compnerd/swift-com) registered for path 'Packages/SwiftCOM'
Submodule 'Packages/cassowary' (https://github.com/compnerd/cassowary) registered for path 'Packages/cassowary'
Submodule 'Packages/swift-collections' (https://github.com/apple/swift-collections) registered for path 'Packages/swift-collections'
Submodule 'Packages/swift-log' (https://github.com/apple/swift-log) registered for path 'Packages/swift-log'
Cloning into '/host/spi-builder-workspace/Packages/SwiftCOM'...
Cloning into '/host/spi-builder-workspace/Packages/cassowary'...
Cloning into '/host/spi-builder-workspace/Packages/swift-collections'...
Cloning into '/host/spi-builder-workspace/Packages/swift-log'...
Cloned https://github.com/compnerd/swift-win32.git
Revision (git rev-parse @):
3515be4261785796172b6943f834f5d50d89be9a
SUCCESS checkout https://github.com/compnerd/swift-win32.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/compnerd/swift-win32.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/compnerd/cassowary.git
[1/398] Fetching cassowary
Fetched https://github.com/compnerd/cassowary.git from cache (0.28s)
Fetching https://github.com/compnerd/swift-com.git
[1/1100] Fetching swift-com
Fetched https://github.com/compnerd/swift-com.git from cache (0.49s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-collections.git
[1/16640] Fetching swift-collections
[16641/20476] Fetching swift-collections, swift-log
Fetched https://github.com/apple/swift-collections.git from cache (1.61s)
Fetched https://github.com/apple/swift-log.git from cache (1.66s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.6 (2.23s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.74s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/compnerd/swift-com.git
Working copy of https://github.com/compnerd/swift-com.git resolved at ebbc617d3b7ba3a2023988a74bebd118deea4cc5
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.0.6
Creating working copy for https://github.com/compnerd/cassowary.git
Working copy of https://github.com/compnerd/cassowary.git resolved at main (5530573)
Building for debugging...
[0/33] Write sources
[0/33] Copying CoffeeCup.jpg
[0/33] Write sources
[12/33] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/152] Emitting module CoreGraphics
/host/spi-builder-workspace/Sources/SwiftWin32/CoreGraphics/AffineTransform.swift:4:13: error: no such module 'ucrt'
2 | // SPDX-License-Identifier: BSD-3-Clause
3 |
4 | import func ucrt.sin
| `- error: no such module 'ucrt'
5 | import func ucrt.cos
6 |
[15/152] Emitting module OrderedCollections
[16/158] Compiling SwiftCOM IPropertyStore.swift
/host/spi-builder-workspace/.build/checkouts/swift-com/Sources/SwiftCOM/COMBase.swift:8:8: error: no such module 'WinSDK'
6 | **/
7 |
8 | import WinSDK
| `- error: no such module 'WinSDK'
9 |
10 | public func CoInitializeEx(_ pvReserved: LPVOID?,
[17/158] Compiling SwiftCOM IRunningObjectTable.swift
/host/spi-builder-workspace/.build/checkouts/swift-com/Sources/SwiftCOM/COMBase.swift:8:8: error: no such module 'WinSDK'
6 | **/
7 |
8 | import WinSDK
| `- error: no such module 'WinSDK'
9 |
10 | public func CoInitializeEx(_ pvReserved: LPVOID?,
[18/158] Compiling SwiftCOM ISensor.swift
/host/spi-builder-workspace/.build/checkouts/swift-com/Sources/SwiftCOM/COMBase.swift:8:8: error: no such module 'WinSDK'
6 | **/
7 |
8 | import WinSDK
| `- error: no such module 'WinSDK'
9 |
10 | public func CoInitializeEx(_ pvReserved: LPVOID?,
[19/158] Compiling SwiftCOM ISensorCollection.swift
/host/spi-builder-workspace/.build/checkouts/swift-com/Sources/SwiftCOM/COMBase.swift:8:8: error: no such module 'WinSDK'
6 | **/
7 |
8 | import WinSDK
| `- error: no such module 'WinSDK'
9 |
10 | public func CoInitializeEx(_ pvReserved: LPVOID?,
[20/158] Compiling SwiftCOM ISensorDataReport.swift
/host/spi-builder-workspace/.build/checkouts/swift-com/Sources/SwiftCOM/COMBase.swift:8:8: error: no such module 'WinSDK'
6 | **/
7 |
8 | import WinSDK
| `- error: no such module 'WinSDK'
9 |
10 | public func CoInitializeEx(_ pvReserved: LPVOID?,
[21/158] Compiling SwiftCOM ISensorEvents.swift
/host/spi-builder-workspace/.build/checkouts/swift-com/Sources/SwiftCOM/COMBase.swift:8:8: error: no such module 'WinSDK'
6 | **/
7 |
8 | import WinSDK
| `- error: no such module 'WinSDK'
9 |
10 | public func CoInitializeEx(_ pvReserved: LPVOID?,
[22/158] Compiling SwiftCOM ISensorManager.swift
/host/spi-builder-workspace/.build/checkouts/swift-com/Sources/SwiftCOM/COMBase.swift:8:8: error: no such module 'WinSDK'
6 | **/
7 |
8 | import WinSDK
| `- error: no such module 'WinSDK'
9 |
10 | public func CoInitializeEx(_ pvReserved: LPVOID?,
[23/158] Compiling SwiftCOM ISensorManagerEvents.swift
/host/spi-builder-workspace/.build/checkouts/swift-com/Sources/SwiftCOM/COMBase.swift:8:8: error: no such module 'WinSDK'
6 | **/
7 |
8 | import WinSDK
| `- error: no such module 'WinSDK'
9 |
10 | public func CoInitializeEx(_ pvReserved: LPVOID?,
[24/166] Compiling CoreAnimation Transform3D.swift
[25/166] Emitting module CoreAnimation
[26/167] Compiling SwiftCOM IPersist.swift
[27/167] Compiling SwiftCOM IPersistStream.swift
[28/167] Compiling SwiftCOM IPortableDeviceKeyCollection.swift
[29/167] Compiling SwiftCOM IPortableDevicePropVariantCollection.swift
[30/167] Compiling SwiftCOM IPortableDeviceValues.swift
[31/167] Compiling SwiftCOM IPortableDeviceValuesCollection.swift
[32/167] Compiling SwiftCOM IPropertyBag2.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/167] Emitting module TestUtilities
/host/spi-builder-workspace/Tests/Utilities/Utilities.swift:4:8: error: no such module 'XCTest'
2 | // SPDX-License-Identifier: BSD-3-Clause
3 |
4 | import XCTest
| `- error: no such module 'XCTest'
5 |
6 | public class ControlEventObserver {
[34/167] Compiling TestUtilities Utilities.swift
/host/spi-builder-workspace/Tests/Utilities/Utilities.swift:4:8: error: no such module 'XCTest'
2 | // SPDX-License-Identifier: BSD-3-Clause
3 |
4 | import XCTest
| `- error: no such module 'XCTest'
5 |
6 | public class ControlEventObserver {
[36/167] Compiling CoreGraphics Size.swift
/host/spi-builder-workspace/Sources/SwiftWin32/CoreGraphics/AffineTransform.swift:4:13: error: no such module 'ucrt'
2 | // SPDX-License-Identifier: BSD-3-Clause
3 |
4 | import func ucrt.sin
| `- error: no such module 'ucrt'
5 | import func ucrt.cos
6 |
[37/167] Compiling CoreGraphics Vector.swift
/host/spi-builder-workspace/Sources/SwiftWin32/CoreGraphics/AffineTransform.swift:4:13: error: no such module 'ucrt'
2 | // SPDX-License-Identifier: BSD-3-Clause
3 |
4 | import func ucrt.sin
| `- error: no such module 'ucrt'
5 | import func ucrt.cos
6 |
[38/167] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
/host/spi-builder-workspace/.build/checkouts/swift-com/Sources/SwiftCOM/COMBase.swift:8:8: error: no such module 'WinSDK'
6 | **/
7 |
8 | import WinSDK
| `- error: no such module 'WinSDK'
9 |
10 | public func CoInitializeEx(_ pvReserved: LPVOID?,
[39/167] Compiling OrderedCollections OrderedSet.swift
/host/spi-builder-workspace/.build/checkouts/swift-com/Sources/SwiftCOM/COMBase.swift:8:8: error: no such module 'WinSDK'
6 | **/
7 |
8 | import WinSDK
| `- error: no such module 'WinSDK'
9 |
10 | public func CoInitializeEx(_ pvReserved: LPVOID?,
[40/167] Compiling OrderedCollections RandomAccessCollection+Offsets.swift
/host/spi-builder-workspace/.build/checkouts/swift-com/Sources/SwiftCOM/COMBase.swift:8:8: error: no such module 'WinSDK'
6 | **/
7 |
8 | import WinSDK
| `- error: no such module 'WinSDK'
9 |
10 | public func CoInitializeEx(_ pvReserved: LPVOID?,
[41/167] Compiling OrderedCollections _UnsafeBitset.swift
/host/spi-builder-workspace/.build/checkouts/swift-com/Sources/SwiftCOM/COMBase.swift:8:8: error: no such module 'WinSDK'
6 | **/
7 |
8 | import WinSDK
| `- error: no such module 'WinSDK'
9 |
10 | public func CoInitializeEx(_ pvReserved: LPVOID?,
[42/167] Compiling SwiftCOM IWICImagingFactory.swift
/host/spi-builder-workspace/.build/checkouts/swift-com/Sources/SwiftCOM/COMBase.swift:8:8: error: no such module 'WinSDK'
6 | **/
7 |
8 | import WinSDK
| `- error: no such module 'WinSDK'
9 |
10 | public func CoInitializeEx(_ pvReserved: LPVOID?,
[43/167] Compiling SwiftCOM IWICMetadataQueryReader.swift
/host/spi-builder-workspace/.build/checkouts/swift-com/Sources/SwiftCOM/COMBase.swift:8:8: error: no such module 'WinSDK'
6 | **/
7 |
8 | import WinSDK
| `- error: no such module 'WinSDK'
9 |
10 | public func CoInitializeEx(_ pvReserved: LPVOID?,
[44/167] Compiling SwiftCOM IWICMetadataQueryWriter.swift
/host/spi-builder-workspace/.build/checkouts/swift-com/Sources/SwiftCOM/COMBase.swift:8:8: error: no such module 'WinSDK'
6 | **/
7 |
8 | import WinSDK
| `- error: no such module 'WinSDK'
9 |
10 | public func CoInitializeEx(_ pvReserved: LPVOID?,
[45/167] Compiling SwiftCOM IWICPalette.swift
/host/spi-builder-workspace/.build/checkouts/swift-com/Sources/SwiftCOM/COMBase.swift:8:8: error: no such module 'WinSDK'
6 | **/
7 |
8 | import WinSDK
| `- error: no such module 'WinSDK'
9 |
10 | public func CoInitializeEx(_ pvReserved: LPVOID?,
[46/167] Emitting module Logging
[47/167] Compiling CoreGraphics Point.swift
/host/spi-builder-workspace/Sources/SwiftWin32/CoreGraphics/AffineTransform.swift:4:13: error: no such module 'ucrt'
2 | // SPDX-License-Identifier: BSD-3-Clause
3 |
4 | import func ucrt.sin
| `- error: no such module 'ucrt'
5 | import func ucrt.cos
6 |
[48/167] Compiling CoreGraphics AffineTransform.swift
/host/spi-builder-workspace/Sources/SwiftWin32/CoreGraphics/AffineTransform.swift:4:13: error: no such module 'ucrt'
2 | // SPDX-License-Identifier: BSD-3-Clause
3 |
4 | import func ucrt.sin
| `- error: no such module 'ucrt'
5 | import func ucrt.cos
6 |
/host/spi-builder-workspace/Sources/SwiftWin32/CoreGraphics/AffineTransform.swift:4:13: error: no such module 'ucrt'
2 | // SPDX-License-Identifier: BSD-3-Clause
3 |
4 | import func ucrt.sin
| `- error: no such module 'ucrt'
5 | import func ucrt.cos
6 |
BUILD FAILURE 6.2 wasm