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 ResearchKit, reference main (bb32d1), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 03:08:41 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/StanfordBDHG/ResearchKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/StanfordBDHG/ResearchKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at bb32d10 Support Strict Concurrency (#30)
Cloned https://github.com/StanfordBDHG/ResearchKit.git
Revision (git rev-parse @):
bb32d100eee6da94e07f30bc32d4457da87a4028
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordBDHG/ResearchKit.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": "researchkit",
      "name": "ResearchKit",
      "url": "https://github.com/StanfordBDHG/ResearchKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ResearchKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/StanfordBDHG/ResearchKit.git
[1/39281] Fetching researchkit
Fetched https://github.com/StanfordBDHG/ResearchKit.git from cache (7.90s)
Creating working copy for https://github.com/StanfordBDHG/ResearchKit.git
Working copy of https://github.com/StanfordBDHG/ResearchKit.git resolved at main (bb32d10)
warning: '.resolve-product-dependencies': dependency 'researchkit' 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/StanfordBDHG/ResearchKit.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 ResearchKitSwiftUI TaskResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/ResearchKitSwiftUI/Export.swift:9:19: error: no such module 'ResearchKit'
 7 | //
 8 |
 9 | @_exported import ResearchKit
   |                   `- error: no such module 'ResearchKit'
10 | @_exported import ResearchKitUI
11 | #if os(iOS)
[4/8] Compiling ResearchKitSwiftUI ORKOrderedTaskView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ResearchKitSwiftUI/Export.swift:9:19: error: no such module 'ResearchKit'
 7 | //
 8 |
 9 | @_exported import ResearchKit
   |                   `- error: no such module 'ResearchKit'
10 | @_exported import ResearchKitUI
11 | #if os(iOS)
[5/8] Compiling ResearchKitSwiftUI Export.swift
/Users/admin/builder/spi-builder-workspace/Sources/ResearchKitSwiftUI/Export.swift:9:19: error: no such module 'ResearchKit'
 7 | //
 8 |
 9 | @_exported import ResearchKit
   |                   `- error: no such module 'ResearchKit'
10 | @_exported import ResearchKitUI
11 | #if os(iOS)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/8] Emitting module ResearchKitSwiftUI
/Users/admin/builder/spi-builder-workspace/Sources/ResearchKitSwiftUI/Export.swift:9:19: error: no such module 'ResearchKit'
 7 | //
 8 |
 9 | @_exported import ResearchKit
   |                   `- error: no such module 'ResearchKit'
10 | @_exported import ResearchKitUI
11 | #if os(iOS)
[7/8] Compiling ResearchKitSwiftUI ORKLifecycle.swift
/Users/admin/builder/spi-builder-workspace/Sources/ResearchKitSwiftUI/Export.swift:9:19: error: no such module 'ResearchKit'
 7 | //
 8 |
 9 | @_exported import ResearchKit
   |                   `- error: no such module 'ResearchKit'
10 | @_exported import ResearchKitUI
11 | #if os(iOS)
[8/8] Compiling ResearchKitSwiftUI CancelBehavior.swift
/Users/admin/builder/spi-builder-workspace/Sources/ResearchKitSwiftUI/Export.swift:9:19: error: no such module 'ResearchKit'
 7 | //
 8 |
 9 | @_exported import ResearchKit
   |                   `- error: no such module 'ResearchKit'
10 | @_exported import ResearchKitUI
11 | #if os(iOS)
BUILD FAILURE 6.0 macosSpm