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 TechTalk_Library, reference yuthfight (4bae7d), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 09:08:25 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/Pheayuth222/TechTalk_Library.git
Reference: yuthfight
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Pheayuth222/TechTalk_Library
 * branch            yuthfight  -> FETCH_HEAD
 * [new branch]      yuthfight  -> origin/yuthfight
HEAD is now at 4bae7df Add Slide Show
Cloned https://github.com/Pheayuth222/TechTalk_Library.git
Revision (git rev-parse @):
4bae7df66e4159926c1d2adc8bcf051816e4e642
SUCCESS checkout https://github.com/Pheayuth222/TechTalk_Library.git at yuthfight
========================================
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": "techtalk_library",
      "name": "TechTalk_Library",
      "url": "https://github.com/Pheayuth222/TechTalk_Library.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TechTalk_Library",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Pheayuth222/TechTalk_Library.git
[1/360] Fetching techtalk_library
Fetched https://github.com/Pheayuth222/TechTalk_Library.git from cache (1.61s)
Creating working copy for https://github.com/Pheayuth222/TechTalk_Library.git
Working copy of https://github.com/Pheayuth222/TechTalk_Library.git resolved at yuthfight (4bae7df)
warning: '.resolve-product-dependencies': dependency 'techtalk_library' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Pheayuth222/TechTalk_Library.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module TechTalk_Library
/Users/admin/builder/spi-builder-workspace/Sources/TechTalk_Library/CustomAlertVC.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | public protocol CustomAlertDelegate: AnyObject {
[4/5] Compiling TechTalk_Library TechTalk_Library.swift
/Users/admin/builder/spi-builder-workspace/Sources/TechTalk_Library/CustomAlertVC.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | public protocol CustomAlertDelegate: AnyObject {
[5/5] Compiling TechTalk_Library CustomAlertVC.swift
/Users/admin/builder/spi-builder-workspace/Sources/TechTalk_Library/CustomAlertVC.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | public protocol CustomAlertDelegate: AnyObject {
warning: 'spi-builder-workspace': Invalid Resource 'TechTalk_Library/CustomAlertVC_iOS.xib': File not found.
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/TechTalk_Library/CustomAlertVC_iOS.xib
BUILD FAILURE 6.0 macosSpm