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 FDBarGuage, reference 5.0.0 (dc6980), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 01:17:44 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/fulldecent/FDBarGauge.git
Reference: 5.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fulldecent/FDBarGauge
 * tag               5.0.0      -> FETCH_HEAD
HEAD is now at dc6980e Release 5.0.0
Cloned https://github.com/fulldecent/FDBarGauge.git
Revision (git rev-parse @):
dc6980e22fbcee087870a271849d720a110617c7
SUCCESS checkout https://github.com/fulldecent/FDBarGauge.git at 5.0.0
========================================
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": "fdbargauge",
      "name": "FDBarGuage",
      "url": "https://github.com/fulldecent/FDBarGauge.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FDBarGauge",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/fulldecent/FDBarGauge.git
[1/368] Fetching fdbargauge
Fetched https://github.com/fulldecent/FDBarGauge.git from cache (0.88s)
Creating working copy for https://github.com/fulldecent/FDBarGauge.git
Working copy of https://github.com/fulldecent/FDBarGauge.git resolved at 5.0.0 (dc6980e)
warning: '.resolve-product-dependencies': dependency 'fdbargauge' 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/fulldecent/FDBarGauge.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 FDBarGuage
/Users/admin/builder/spi-builder-workspace/Sources/FDBarGuage/FDBarGuage.swift:12:8: error: no such module 'UIKit'
 10 |
 11 | import Foundation
 12 | import UIKit
    |        `- error: no such module 'UIKit'
 13 |
 14 | /// A view for showing a single number on an LED display
[4/4] Compiling FDBarGuage FDBarGuage.swift
/Users/admin/builder/spi-builder-workspace/Sources/FDBarGuage/FDBarGuage.swift:12:8: error: no such module 'UIKit'
 10 |
 11 | import Foundation
 12 | import UIKit
    |        `- error: no such module 'UIKit'
 13 |
 14 | /// A view for showing a single number on an LED display
BUILD FAILURE 6.0 macosSpm