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 0.3.0 (1ec4fc), with Swift 6.0 for macOS (SPM) on 2 Dec 2024 23:35: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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FluidGroup/Descriptors.git
Reference: 0.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/FluidGroup/Descriptors
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at 1ec4fcd Swift 6 (#1)
Cloned https://github.com/FluidGroup/Descriptors.git
Revision (git rev-parse @):
1ec4fcd01b7e3a6df9dfafcca8155e297a7a1d9f
SUCCESS checkout https://github.com/FluidGroup/Descriptors.git at 0.3.0
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/133] Fetching descriptors
Fetched https://github.com/FluidGroup/Descriptors.git from cache (0.66s)
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 0.3.0 (1ec4fcd)
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
{
  "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.1.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--7754E27361AE5C74.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 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/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 {
[7/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 {
[8/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 {
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.
BUILD FAILURE 6.0 macosSpm