The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build swift-winui, reference main (c7a5cf), with Swift 5.10 for macOS (SPM) on 10 Sep 2024 00:26:37 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.52.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/thebrowsercompany/swift-winui.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/thebrowsercompany/swift-winui
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c7a5cf4 fix encoding in generate bindings script
Cloned https://github.com/thebrowsercompany/swift-winui.git
Revision (git rev-parse @):
c7a5cf4881479132c2d00e63b84a711e87670856
SUCCESS checkout https://github.com/thebrowsercompany/swift-winui.git at main
Fetching https://github.com/thebrowsercompany/swift-cwinrt
[1/433] Fetching swift-cwinrt
Fetched https://github.com/thebrowsercompany/swift-cwinrt from cache (1.63s)
Fetching https://github.com/thebrowsercompany/swift-uwp
[1/195] Fetching swift-uwp
Fetched https://github.com/thebrowsercompany/swift-uwp from cache (1.06s)
Fetching https://github.com/thebrowsercompany/swift-windowsappsdk
[1/157] Fetching swift-windowsappsdk
Fetched https://github.com/thebrowsercompany/swift-windowsappsdk from cache (0.95s)
Fetching https://github.com/thebrowsercompany/swift-windowsfoundation
[1/66] Fetching swift-windowsfoundation
Fetched https://github.com/thebrowsercompany/swift-windowsfoundation from cache (0.75s)
Creating working copy for https://github.com/thebrowsercompany/swift-cwinrt
Working copy of https://github.com/thebrowsercompany/swift-cwinrt resolved at main (ef09b9d)
Creating working copy for https://github.com/thebrowsercompany/swift-windowsfoundation
Working copy of https://github.com/thebrowsercompany/swift-windowsfoundation resolved at main (ba7a8b5)
Creating working copy for https://github.com/thebrowsercompany/swift-uwp
Working copy of https://github.com/thebrowsercompany/swift-uwp resolved at main (e373f4f)
Creating working copy for https://github.com/thebrowsercompany/swift-windowsappsdk
Working copy of https://github.com/thebrowsercompany/swift-windowsappsdk resolved at main (9a92d35)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swift-winui",
      "name": "swift-winui",
      "url": "https://github.com/thebrowsercompany/swift-winui.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-winui",
      "dependencies": [
        {
          "identity": "swift-cwinrt",
          "name": "swift-cwinrt",
          "url": "https://github.com/thebrowsercompany/swift-cwinrt",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-cwinrt",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-uwp",
          "name": "swift-uwp",
          "url": "https://github.com/thebrowsercompany/swift-uwp",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-uwp",
          "dependencies": [
            {
              "identity": "swift-cwinrt",
              "name": "swift-cwinrt",
              "url": "https://github.com/thebrowsercompany/swift-cwinrt",
              "version": "unspecified",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-cwinrt",
              "dependencies": [
              ]
            },
            {
              "identity": "swift-windowsfoundation",
              "name": "swift-windowsfoundation",
              "url": "https://github.com/thebrowsercompany/swift-windowsfoundation",
              "version": "unspecified",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-windowsfoundation",
              "dependencies": [
                {
                  "identity": "swift-cwinrt",
                  "name": "swift-cwinrt",
                  "url": "https://github.com/thebrowsercompany/swift-cwinrt",
                  "version": "unspecified",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-cwinrt",
                  "dependencies": [
                  ]
                }
              ]
            }
          ]
        },
        {
          "identity": "swift-windowsappsdk",
          "name": "swift-windowsappsdk",
          "url": "https://github.com/thebrowsercompany/swift-windowsappsdk",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-windowsappsdk",
          "dependencies": [
            {
              "identity": "swift-cwinrt",
              "name": "swift-cwinrt",
              "url": "https://github.com/thebrowsercompany/swift-cwinrt",
              "version": "unspecified",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-cwinrt",
              "dependencies": [
              ]
            },
            {
              "identity": "swift-uwp",
              "name": "swift-uwp",
              "url": "https://github.com/thebrowsercompany/swift-uwp",
              "version": "unspecified",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-uwp",
              "dependencies": [
                {
                  "identity": "swift-cwinrt",
                  "name": "swift-cwinrt",
                  "url": "https://github.com/thebrowsercompany/swift-cwinrt",
                  "version": "unspecified",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-cwinrt",
                  "dependencies": [
                  ]
                },
                {
                  "identity": "swift-windowsfoundation",
                  "name": "swift-windowsfoundation",
                  "url": "https://github.com/thebrowsercompany/swift-windowsfoundation",
                  "version": "unspecified",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-windowsfoundation",
                  "dependencies": [
                    {
                      "identity": "swift-cwinrt",
                      "name": "swift-cwinrt",
                      "url": "https://github.com/thebrowsercompany/swift-cwinrt",
                      "version": "unspecified",
                      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-cwinrt",
                      "dependencies": [
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "identity": "swift-windowsfoundation",
              "name": "swift-windowsfoundation",
              "url": "https://github.com/thebrowsercompany/swift-windowsfoundation",
              "version": "unspecified",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-windowsfoundation",
              "dependencies": [
                {
                  "identity": "swift-cwinrt",
                  "name": "swift-cwinrt",
                  "url": "https://github.com/thebrowsercompany/swift-cwinrt",
                  "version": "unspecified",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-cwinrt",
                  "dependencies": [
                  ]
                }
              ]
            }
          ]
        },
        {
          "identity": "swift-windowsfoundation",
          "name": "swift-windowsfoundation",
          "url": "https://github.com/thebrowsercompany/swift-windowsfoundation",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-windowsfoundation",
          "dependencies": [
            {
              "identity": "swift-cwinrt",
              "name": "swift-cwinrt",
              "url": "https://github.com/thebrowsercompany/swift-cwinrt",
              "version": "unspecified",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-cwinrt",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/thebrowsercompany/swift-winui.git
[1/102] Fetching swift-winui
Fetched https://github.com/thebrowsercompany/swift-winui.git from cache (0.98s)
Fetching https://github.com/thebrowsercompany/swift-cwinrt from cache
Fetched https://github.com/thebrowsercompany/swift-cwinrt from cache (0.47s)
Fetching https://github.com/thebrowsercompany/swift-uwp from cache
Fetched https://github.com/thebrowsercompany/swift-uwp from cache (0.49s)
Fetching https://github.com/thebrowsercompany/swift-windowsappsdk from cache
Fetched https://github.com/thebrowsercompany/swift-windowsappsdk from cache (0.48s)
Fetching https://github.com/thebrowsercompany/swift-windowsfoundation from cache
Fetched https://github.com/thebrowsercompany/swift-windowsfoundation from cache (0.51s)
Creating working copy for https://github.com/thebrowsercompany/swift-winui.git
Working copy of https://github.com/thebrowsercompany/swift-winui.git resolved at main (c7a5cf4)
Creating working copy for https://github.com/thebrowsercompany/swift-windowsfoundation
Working copy of https://github.com/thebrowsercompany/swift-windowsfoundation resolved at main (ba7a8b5)
Creating working copy for https://github.com/thebrowsercompany/swift-cwinrt
Working copy of https://github.com/thebrowsercompany/swift-cwinrt resolved at main (ef09b9d)
Creating working copy for https://github.com/thebrowsercompany/swift-uwp
Working copy of https://github.com/thebrowsercompany/swift-uwp resolved at main (e373f4f)
Creating working copy for https://github.com/thebrowsercompany/swift-windowsappsdk
Working copy of https://github.com/thebrowsercompany/swift-windowsappsdk resolved at main (9a92d35)
warning: '.resolve-product-dependencies': dependency 'swift-winui' is not used by any target
Found 4 product dependencies
  - swift-cwinrt
  - swift-uwp
  - swift-windowsappsdk
  - swift-windowsfoundation
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/thebrowsercompany/swift-winui.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/18] Write sources
[2/18] Copying Microsoft.WindowsAppRuntime.Bootstrap.dll
[3/18] Write sources
[5/18] Write swift-version-33747A42983211AE.txt
[6/18] Compiling CWinRT shim.c
[7/18] Write Objects.LinkFileList
warning: no debug symbols in executable (-arch arm64)
[8/18] Linking libCWinRT.dylib
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-windowsappsdk/Sources/CWinAppSDK/delayloadhelper.c:1:10: fatal error: 'wtypesbase.h' file not found
#include <wtypesbase.h>
         ^~~~~~~~~~~~~~
1 error generated.
[9/63] Compiling CWinAppSDK delayloadhelper.c
BUILD FAILURE 5.10 macosSpm