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 SCountLabel, reference 0.0.7 (372f58), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 13:24:55 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/shial4/SCountLabel.git
Reference: 0.0.7
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/shial4/SCountLabel
 * tag               0.0.7      -> FETCH_HEAD
HEAD is now at 372f58e [0.0.7] Update to swift 5
Cloned https://github.com/shial4/SCountLabel.git
Revision (git rev-parse @):
372f58ed4cd09348f027272b2be7885a773db5b2
SUCCESS checkout https://github.com/shial4/SCountLabel.git at 0.0.7
========================================
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": "scountlabel",
      "name": "SCountLabel",
      "url": "https://github.com/shial4/SCountLabel.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SCountLabel",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/shial4/SCountLabel.git
[1/86] Fetching scountlabel
Fetched https://github.com/shial4/SCountLabel.git from cache (0.80s)
Creating working copy for https://github.com/shial4/SCountLabel.git
Working copy of https://github.com/shial4/SCountLabel.git resolved at 0.0.7 (372f58e)
warning: '.resolve-product-dependencies': dependency 'scountlabel' 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/shial4/SCountLabel.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/4] Emitting module SCountLabel
/Users/admin/builder/spi-builder-workspace/Sources/SCountLabel/SCountLabel.swift:10:8: error: no such module 'UIKit'
 8 |
 9 | import Foundation
10 | import UIKit
   |        `- error: no such module 'UIKit'
11 |
12 | extension UILabel {
[4/4] Compiling SCountLabel SCountLabel.swift
/Users/admin/builder/spi-builder-workspace/Sources/SCountLabel/SCountLabel.swift:10:8: error: no such module 'UIKit'
 8 |
 9 | import Foundation
10 | import UIKit
   |        `- error: no such module 'UIKit'
11 |
12 | extension UILabel {
BUILD FAILURE 6.0 macosSpm