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 GradientProgressBar, reference main (64fa55), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 14:07: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/fxm90/GradientProgressBar.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fxm90/GradientProgressBar
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 64fa559 Merge pull request #20 from fxm90/task/fix-build
Cloned https://github.com/fxm90/GradientProgressBar.git
Revision (git rev-parse @):
64fa5595631224725a25c4e037cd86da153bccdb
SUCCESS checkout https://github.com/fxm90/GradientProgressBar.git at main
========================================
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": "gradientprogressbar",
      "name": "GradientProgressBar",
      "url": "https://github.com/fxm90/GradientProgressBar.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/GradientProgressBar",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/fxm90/GradientProgressBar.git
[1/3578] Fetching gradientprogressbar
Fetched https://github.com/fxm90/GradientProgressBar.git from cache (7.76s)
Creating working copy for https://github.com/fxm90/GradientProgressBar.git
Working copy of https://github.com/fxm90/GradientProgressBar.git resolved at main (64fa559)
warning: '.resolve-product-dependencies': dependency 'gradientprogressbar' 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/fxm90/GradientProgressBar.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
[3/8] Compiling GradientProgressBar GradientLayerViewModel.swift
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Sources/GradientProgressBar.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Combine
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | /// Protocol for managing a progress bar, as defined by `UIProgressView` from Apple.
[4/8] Compiling GradientProgressBar MaskLayerViewModel.swift
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Sources/GradientProgressBar.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Combine
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | /// Protocol for managing a progress bar, as defined by `UIProgressView` from Apple.
[5/8] Compiling GradientProgressBar Constants.swift
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Sources/GradientProgressBar.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Combine
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | /// Protocol for managing a progress bar, as defined by `UIProgressView` from Apple.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/8] Compiling GradientProgressBar GradientProgressBar.swift
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Sources/GradientProgressBar.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Combine
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | /// Protocol for managing a progress bar, as defined by `UIProgressView` from Apple.
[7/8] Emitting module GradientProgressBar
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Sources/GradientProgressBar.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Combine
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | /// Protocol for managing a progress bar, as defined by `UIProgressView` from Apple.
[8/8] Compiling GradientProgressBar GradientProgressBarViewStyle.swift
/Users/admin/builder/spi-builder-workspace/GradientProgressBar/Sources/GradientProgressBar.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Combine
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | /// Protocol for managing a progress bar, as defined by `UIProgressView` from Apple.
BUILD FAILURE 6.0 macosSpm