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 FDTake, reference main (24aa8a), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 23:46:31 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/FDTake.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fulldecent/FDTake
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 24aa8ae Update README.md
Cloned https://github.com/fulldecent/FDTake.git
Revision (git rev-parse @):
24aa8ae6a90cec025c4adca028aea8e20d613642
SUCCESS checkout https://github.com/fulldecent/FDTake.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": "fdtake",
      "name": "FDTake",
      "url": "https://github.com/fulldecent/FDTake.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FDTake",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/fulldecent/FDTake.git
[1/1807] Fetching fdtake
Fetched https://github.com/fulldecent/FDTake.git from cache (1.00s)
Creating working copy for https://github.com/fulldecent/FDTake.git
Working copy of https://github.com/fulldecent/FDTake.git resolved at main (24aa8ae)
warning: '.resolve-product-dependencies': dependency 'fdtake' 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/FDTake.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/6] Emitting module FDTake
/Users/admin/builder/spi-builder-workspace/Sources/FDTake/FDTakeController.swift:9:8: error: no such module 'MobileCoreServices'
  7 |
  8 | import Foundation
  9 | import MobileCoreServices
    |        `- error: no such module 'MobileCoreServices'
 10 | import UIKit
 11 | import Photos
[4/6] Compiling FDTake FDTakeControllerLocalizableStrings.swift
/Users/admin/builder/spi-builder-workspace/Sources/FDTake/FDTakeController.swift:9:8: error: no such module 'MobileCoreServices'
  7 |
  8 | import Foundation
  9 | import MobileCoreServices
    |        `- error: no such module 'MobileCoreServices'
 10 | import UIKit
 11 | import Photos
[5/6] Compiling FDTake Bundle+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/FDTake/FDTakeController.swift:9:8: error: no such module 'MobileCoreServices'
  7 |
  8 | import Foundation
  9 | import MobileCoreServices
    |        `- error: no such module 'MobileCoreServices'
 10 | import UIKit
 11 | import Photos
[6/6] Compiling FDTake FDTakeController.swift
/Users/admin/builder/spi-builder-workspace/Sources/FDTake/FDTakeController.swift:9:8: error: no such module 'MobileCoreServices'
  7 |
  8 | import Foundation
  9 | import MobileCoreServices
    |        `- error: no such module 'MobileCoreServices'
 10 | import UIKit
 11 | import Photos
BUILD FAILURE 6.0 macosSpm