Build Information
Failed to build SwiftWin32, reference main (3515be
), with Swift 5.10 for macOS (SPM) on 11 Jun 2025 00:25:31 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/compnerd/swift-win32.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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 '/Users/admin/builder/spi-builder-workspace/Packages/SwiftCOM'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Packages/cassowary'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Packages/swift-collections'...
Cloning into '/Users/admin/builder/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: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/compnerd/swift-win32.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/27] Write sources
[4/27] Write UICatalog-entitlement.plist
[4/27] Write sources
[8/27] Copying CoffeeCup.jpg
[9/27] Write Calculator-entitlement.plist
[12/27] Write sources
[14/27] Write swift-version-33747A42983211AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/149] Emitting module SwiftCOM
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-com/Sources/SwiftCOM/COMBase.swift:8:8: error: no such module 'WinSDK'
import WinSDK
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/155] Emitting module CoreGraphics
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWin32/CoreGraphics/AffineTransform.swift:4:13: error: no such module 'ucrt'
import func ucrt.sin
^
[18/155] Compiling CoreGraphics Size.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWin32/CoreGraphics/AffineTransform.swift:4:13: error: no such module 'ucrt'
import func ucrt.sin
^
[19/155] Compiling CoreGraphics Vector.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWin32/CoreGraphics/AffineTransform.swift:4:13: error: no such module 'ucrt'
import func ucrt.sin
^
[20/155] Emitting module CoreAnimation
[21/155] Compiling CoreAnimation Transform3D.swift
[22/155] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[23/155] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[24/155] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[25/155] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Operations.swift
[26/155] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Predicates.swift
[27/160] Compiling CoreGraphics Rect.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWin32/CoreGraphics/AffineTransform.swift:4:13: error: no such module 'ucrt'
import func ucrt.sin
^
[28/160] Compiling CoreGraphics Point.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWin32/CoreGraphics/AffineTransform.swift:4:13: error: no such module 'ucrt'
import func ucrt.sin
^
[29/160] Compiling CoreGraphics AffineTransform.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWin32/CoreGraphics/AffineTransform.swift:4:13: error: no such module 'ucrt'
import func ucrt.sin
^
error: fatalError
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-com/Sources/SwiftCOM/COMBase.swift:8:8: error: no such module 'WinSDK'
import WinSDK
^
Fetching https://github.com/compnerd/cassowary.git
[4/398] Fetching cassowary
Fetched https://github.com/compnerd/cassowary.git from cache (1.11s)
Fetching https://github.com/compnerd/swift-com.git
[1/1100] Fetching swift-com
Fetched https://github.com/compnerd/swift-com.git from cache (0.72s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-log.git
[1/16591] Fetching swift-collections
[2/20427] Fetching swift-collections, swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.74s)
Fetched https://github.com/apple/swift-collections.git from cache (1.74s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.6 (0.43s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.33s)
Creating working copy for https://github.com/compnerd/cassowary.git
Working copy of https://github.com/compnerd/cassowary.git resolved at main (5530573)
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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
BUILD FAILURE 5.10 macosSpm