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 6.0 for macOS (SPM) on 6 Nov 2024 01:48:14 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.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/434] Fetching swift-cwinrt
Fetched https://github.com/thebrowsercompany/swift-cwinrt from cache (1.18s)
Fetching https://github.com/thebrowsercompany/swift-uwp
[1/195] Fetching swift-uwp
Fetched https://github.com/thebrowsercompany/swift-uwp from cache (1.11s)
Fetching https://github.com/thebrowsercompany/swift-windowsappsdk
[1/157] Fetching swift-windowsappsdk
Fetched https://github.com/thebrowsercompany/swift-windowsappsdk from cache (1.00s)
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-uwp
Working copy of https://github.com/thebrowsercompany/swift-uwp resolved at main (e373f4f)
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-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.99s)
Fetching https://github.com/thebrowsercompany/swift-cwinrt from cache
Fetched https://github.com/thebrowsercompany/swift-cwinrt from cache (0.53s)
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.50s)
Fetching https://github.com/thebrowsercompany/swift-windowsfoundation from cache
Fetched https://github.com/thebrowsercompany/swift-windowsfoundation from cache (0.49s)
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)
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-winui.git
Working copy of https://github.com/thebrowsercompany/swift-winui.git resolved at main (c7a5cf4)
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:             6.0
Building package at path:  $PWD
https://github.com/thebrowsercompany/swift-winui.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/18] Write sources
[3/18] Copying Microsoft.WindowsAppRuntime.Bootstrap.dll
[3/18] Write sources
[5/18] Compiling CWinRT shim.c
[6/18] Write swift-version--7754E27361AE5C74.txt
[7/18] Write Objects.LinkFileList
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-windowsappsdk/Sources/CWinAppSDK/delayloadhelper.c:1:10: fatal error: 'wtypesbase.h' file not found
    1 | #include <wtypesbase.h>
      |          ^~~~~~~~~~~~~~
1 error generated.
[8/18] Compiling CWinAppSDK delayloadhelper.c
[8/18] Linking libCWinRT.dylib
BUILD FAILURE 6.0 macosSpm