The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftWin32, reference main (93f15a), with Swift 6.2 for macOS (SPM) on 24 Oct 2026 02:18:01 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
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 93f15a3 Adapt to recent WinSDK changes
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 @):
93f15a3dab6c43e8acbbe74ab30a1bb6df50060c
SUCCESS checkout https://github.com/compnerd/swift-win32.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/compnerd/swift-win32.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/27] Write sources
[1/27] Write UICatalog-entitlement.plist
[2/27] Copying CoffeeCup.jpg
[3/27] Write sources
[11/27] Write Calculator-entitlement.plist
[11/27] Write sources
[14/27] Write swift-version--3CB7CFEC50E0D141.txt
[16/200] Compiling CoreGraphics Vector.swift
/Users/admin/builder/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 |
[17/200] Compiling CoreGraphics Size.swift
/Users/admin/builder/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 |
[18/200] Compiling SwiftCOM COMBase.swift
[19/200] Compiling SwiftCOM DirectX.swift
[20/200] Compiling SwiftCOM COMTypes+Extensions.swift
[21/200] Compiling SwiftCOM DirectX+Extensions.swift
[22/200] Compiling SwiftCOM String+Extensions.swift
[23/200] Compiling SwiftCOM WinSDK+Extensions.swift
[24/205] Compiling Logging LogEvent.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/206] Emitting module CoreGraphics
/Users/admin/builder/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 |
[26/206] Compiling CoreGraphics Rect.swift
/Users/admin/builder/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 |
[27/206] Compiling CoreGraphics AffineTransform.swift
/Users/admin/builder/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 |
[28/206] Compiling CoreGraphics Point.swift
/Users/admin/builder/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 |
[29/206] Emitting module CoreAnimation
[30/206] Compiling CoreAnimation Transform3D.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/206] Emitting module SwiftCOM
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-com/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?,
Fetching https://github.com/compnerd/cassowary.git
[1/395] Fetching cassowary
Fetched https://github.com/compnerd/cassowary.git from cache (1.00s)
Fetching https://github.com/compnerd/swift-com.git
[1/1124] Fetching swift-com
Fetched https://github.com/compnerd/swift-com.git from cache (1.16s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-collections.git
[1/8373] Fetching swift-log
[1676/37674] Fetching swift-log, swift-collections
Fetched https://github.com/apple/swift-log.git from cache (4.45s)
Fetched https://github.com/apple/swift-collections.git from cache (4.45s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.6 (5.14s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.2 (0.57s)
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 00438f801ed3ad378699af75bdbbe82c7983eea8
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.2
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
BUILD FAILURE 6.2 macosSpm