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 Bagel, reference 1.4.0 (003390), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 09:21:35 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/yagiz/Bagel.git
Reference: 1.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/yagiz/Bagel
 * tag               1.4.0      -> FETCH_HEAD
HEAD is now at 0033906 version++
Cloned https://github.com/yagiz/Bagel.git
Revision (git rev-parse @):
00339064dc727aefed2d92594fe7dfd899ec9bc8
SUCCESS checkout https://github.com/yagiz/Bagel.git at 1.4.0
Fetching https://github.com/robbiehanson/CocoaAsyncSocket.git
[1/6417] Fetching cocoaasyncsocket
Fetched https://github.com/robbiehanson/CocoaAsyncSocket.git from cache (1.49s)
Computing version for https://github.com/robbiehanson/CocoaAsyncSocket.git
Computed https://github.com/robbiehanson/CocoaAsyncSocket.git at 7.6.5 (2.61s)
Creating working copy for https://github.com/robbiehanson/CocoaAsyncSocket.git
Working copy of https://github.com/robbiehanson/CocoaAsyncSocket.git resolved at 7.6.5
========================================
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": "bagel",
      "name": "Bagel",
      "url": "https://github.com/yagiz/Bagel.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Bagel",
      "dependencies": [
        {
          "identity": "cocoaasyncsocket",
          "name": "CocoaAsyncSocket",
          "url": "https://github.com/robbiehanson/CocoaAsyncSocket.git",
          "version": "7.6.5",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CocoaAsyncSocket",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/yagiz/Bagel.git
[1/2466] Fetching bagel
Fetched https://github.com/yagiz/Bagel.git from cache (1.55s)
Fetching https://github.com/robbiehanson/CocoaAsyncSocket.git from cache
Fetched https://github.com/robbiehanson/CocoaAsyncSocket.git from cache (0.56s)
Computing version for https://github.com/robbiehanson/CocoaAsyncSocket.git
Computed https://github.com/robbiehanson/CocoaAsyncSocket.git at 7.6.5 (0.03s)
Creating working copy for https://github.com/robbiehanson/CocoaAsyncSocket.git
Working copy of https://github.com/robbiehanson/CocoaAsyncSocket.git resolved at 7.6.5
Creating working copy for https://github.com/yagiz/Bagel.git
Working copy of https://github.com/yagiz/Bagel.git resolved at 1.4.0 (0033906)
warning: '.resolve-product-dependencies': dependency 'bagel' is not used by any target
Found 1 product dependencies
  - CocoaAsyncSocket
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/yagiz/Bagel.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...
In file included from /Users/admin/builder/spi-builder-workspace/iOS/Source/BagelUtility.m:22:
/Users/admin/builder/spi-builder-workspace/iOS/Source/BagelUtility.h:23:9: fatal error: 'UIKit/UIKit.h' file not found
   23 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[0/13] Compiling Bagel BagelUtility.m
[0/13] Compiling Bagel BagelRequestCarrier.m
[0/13] Compiling Bagel BagelDeviceModel.m
[0/13] Compiling Bagel BagelConfiguration.m
[0/13] Compiling Bagel BagelBaseModel.m
[0/13] Compiling Bagel BagelController.m
In file included from /Users/admin/builder/spi-builder-workspace/iOS/Source/Bagel.m:22:
/Users/admin/builder/spi-builder-workspace/iOS/Source/Bagel.h:22:9: fatal error: 'UIKit/UIKit.h' file not found
   22 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
[0/13] Compiling Bagel Bagel.m
[0/13] Compiling Bagel BagelBrowser.m
[0/13] Compiling Bagel BagelProjectModel.m
[0/13] Compiling Bagel BagelURLSessionInjector.m
BUILD FAILURE 6.0 macosSpm