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 Descriptors, reference main (2e2ae5), with Swift 6.0 for macOS (SPM) on 23 Jan 2025 05:50:22 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FluidGroup/Descriptors.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/FluidGroup/Descriptors
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2e2ae59 Add revered() (#3)
Cloned https://github.com/FluidGroup/Descriptors.git
Revision (git rev-parse @):
2e2ae59ff83365697963e9c7e8c259b0bdc5859e
SUCCESS checkout https://github.com/FluidGroup/Descriptors.git at main
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package.swift:8:21: warning: 'v10' is deprecated: iOS 12.0 is the oldest supported version
 6 | let package = Package(
 7 |   name: "Descriptors",
 8 |   platforms: [.iOS(.v10)],
   |                     `- warning: 'v10' is deprecated: iOS 12.0 is the oldest supported version
 9 |   products: [
10 |     // Products define the executables and libraries a package produces, and make them visible to other packages.
========================================
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": "descriptors",
      "name": "Descriptors",
      "url": "https://github.com/FluidGroup/Descriptors.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Descriptors",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/FluidGroup/Descriptors.git
[1/139] Fetching descriptors
Fetched https://github.com/FluidGroup/Descriptors.git from cache (0.72s)
warning: 'descriptors': /Package.swift:8:21: warning: 'v10' is deprecated: iOS 12.0 is the oldest supported version
 6 | let package = Package(
 7 |   name: "Descriptors",
 8 |   platforms: [.iOS(.v10)],
   |                     `- warning: 'v10' is deprecated: iOS 12.0 is the oldest supported version
 9 |   products: [
10 |     // Products define the executables and libraries a package produces, and make them visible to other packages.
Creating working copy for https://github.com/FluidGroup/Descriptors.git
Working copy of https://github.com/FluidGroup/Descriptors.git resolved at main (2e2ae59)
warning: 'descriptors': /Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Descriptors/Package.swift:8:21: warning: 'v10' is deprecated: iOS 12.0 is the oldest supported version
 6 | let package = Package(
 7 |   name: "Descriptors",
 8 |   platforms: [.iOS(.v10)],
   |                     `- warning: 'v10' is deprecated: iOS 12.0 is the oldest supported version
 9 |   products: [
10 |     // Products define the executables and libraries a package produces, and make them visible to other packages.
warning: '.resolve-product-dependencies': dependency 'descriptors' 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/FluidGroup/Descriptors.git
https://github.com/FluidGroup/Descriptors.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Descriptors",
  "name" : "Descriptors",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "Descriptors",
      "targets" : [
        "Descriptors"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DescriptorsTests",
      "module_type" : "SwiftTarget",
      "name" : "DescriptorsTests",
      "path" : "Tests/DescriptorsTests",
      "sources" : [
        "DescriptorsTests.swift"
      ],
      "target_dependencies" : [
        "Descriptors"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Descriptors",
      "module_type" : "SwiftTarget",
      "name" : "Descriptors",
      "path" : "Sources/Descriptors",
      "product_memberships" : [
        "Descriptors"
      ],
      "sources" : [
        "HapticsDescriptor.swift",
        "HighlightAnimationDescriptor.swift",
        "LinearGradientDescriptor.swift",
        "LinearGradientDrawer.swift",
        "ShapeDisplaying.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[3/8] Compiling Descriptors ShapeDisplaying.swift
/Users/admin/builder/spi-builder-workspace/Sources/Descriptors/HapticsDescriptor.swift:22:8: error: no such module 'UIKit'
20 | // THE SOFTWARE.
21 |
22 | import UIKit
   |        `- error: no such module 'UIKit'
23 |
24 | public struct HapticsDescriptor: Sendable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/8] Emitting module Descriptors
/Users/admin/builder/spi-builder-workspace/Sources/Descriptors/HapticsDescriptor.swift:22:8: error: no such module 'UIKit'
20 | // THE SOFTWARE.
21 |
22 | import UIKit
   |        `- error: no such module 'UIKit'
23 |
24 | public struct HapticsDescriptor: Sendable {
[5/8] Compiling Descriptors HighlightAnimationDescriptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Descriptors/HapticsDescriptor.swift:22:8: error: no such module 'UIKit'
20 | // THE SOFTWARE.
21 |
22 | import UIKit
   |        `- error: no such module 'UIKit'
23 |
24 | public struct HapticsDescriptor: Sendable {
[6/8] Compiling Descriptors HapticsDescriptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Descriptors/HapticsDescriptor.swift:22:8: error: no such module 'UIKit'
20 | // THE SOFTWARE.
21 |
22 | import UIKit
   |        `- error: no such module 'UIKit'
23 |
24 | public struct HapticsDescriptor: Sendable {
[7/8] Compiling Descriptors LinearGradientDescriptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Descriptors/HapticsDescriptor.swift:22:8: error: no such module 'UIKit'
20 | // THE SOFTWARE.
21 |
22 | import UIKit
   |        `- error: no such module 'UIKit'
23 |
24 | public struct HapticsDescriptor: Sendable {
[8/8] Compiling Descriptors LinearGradientDrawer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Descriptors/HapticsDescriptor.swift:22:8: error: no such module 'UIKit'
20 | // THE SOFTWARE.
21 |
22 | import UIKit
   |        `- error: no such module 'UIKit'
23 |
24 | public struct HapticsDescriptor: Sendable {
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package.swift:8:21: warning: 'v10' is deprecated: iOS 12.0 is the oldest supported version
 6 | let package = Package(
 7 |   name: "Descriptors",
 8 |   platforms: [.iOS(.v10)],
   |                     `- warning: 'v10' is deprecated: iOS 12.0 is the oldest supported version
 9 |   products: [
10 |     // Products define the executables and libraries a package produces, and make them visible to other packages.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/7] Emitting module Descriptors
/Users/admin/builder/spi-builder-workspace/Sources/Descriptors/HapticsDescriptor.swift:22:8: error: no such module 'UIKit'
20 | // THE SOFTWARE.
21 |
22 | import UIKit
   |        `- error: no such module 'UIKit'
23 |
24 | public struct HapticsDescriptor: Sendable {
[3/7] Compiling Descriptors HighlightAnimationDescriptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Descriptors/HapticsDescriptor.swift:22:8: error: no such module 'UIKit'
20 | // THE SOFTWARE.
21 |
22 | import UIKit
   |        `- error: no such module 'UIKit'
23 |
24 | public struct HapticsDescriptor: Sendable {
[4/7] Compiling Descriptors LinearGradientDrawer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Descriptors/HapticsDescriptor.swift:22:8: error: no such module 'UIKit'
20 | // THE SOFTWARE.
21 |
22 | import UIKit
   |        `- error: no such module 'UIKit'
23 |
24 | public struct HapticsDescriptor: Sendable {
[5/7] Compiling Descriptors LinearGradientDescriptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Descriptors/HapticsDescriptor.swift:22:8: error: no such module 'UIKit'
20 | // THE SOFTWARE.
21 |
22 | import UIKit
   |        `- error: no such module 'UIKit'
23 |
24 | public struct HapticsDescriptor: Sendable {
[6/7] Compiling Descriptors HapticsDescriptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Descriptors/HapticsDescriptor.swift:22:8: error: no such module 'UIKit'
20 | // THE SOFTWARE.
21 |
22 | import UIKit
   |        `- error: no such module 'UIKit'
23 |
24 | public struct HapticsDescriptor: Sendable {
[7/7] Compiling Descriptors ShapeDisplaying.swift
/Users/admin/builder/spi-builder-workspace/Sources/Descriptors/HapticsDescriptor.swift:22:8: error: no such module 'UIKit'
20 | // THE SOFTWARE.
21 |
22 | import UIKit
   |        `- error: no such module 'UIKit'
23 |
24 | public struct HapticsDescriptor: Sendable {
BUILD FAILURE 6.0 macosSpm