The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ResearchKit with Swift 5.10 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.34.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordBDHG/ResearchKit.git
Reference: 2.2.30
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/StanfordBDHG/ResearchKit
 * tag               2.2.30     -> FETCH_HEAD
HEAD is now at 3f70adf Create XCFramework for release 2.2.30
Cloned https://github.com/StanfordBDHG/ResearchKit.git
Revision (git rev-parse @):
3f70adf898b5985ba15e25d5074d86a9c657d305
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/StanfordBDHG/ResearchKit.git at 2.2.30
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "researchkit",
      "name": "ResearchKit",
      "url": "https://github.com/StanfordBDHG/ResearchKit.git",
      "version": "unspecified",
      "path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ResearchKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/StanfordBDHG/ResearchKit.git from cache
Fetched https://github.com/StanfordBDHG/ResearchKit.git from cache (0.22s)
Creating working copy for https://github.com/StanfordBDHG/ResearchKit.git
Working copy of https://github.com/StanfordBDHG/ResearchKit.git resolved at 2.2.30 (3f70adf)
warning: '.resolve-product-dependencies': dependency 'researchkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/StanfordBDHG/ResearchKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6044DDE57671499D.txt
[3/7] Compiling ResearchKitSwiftUI TaskResult.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
[4/7] Compiling ResearchKitSwiftUI ORKOrderedTaskView.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/7] Emitting module ResearchKitSwiftUI
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
[6/7] Compiling ResearchKitSwiftUI ORKLifecycle.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
[7/7] Compiling ResearchKitSwiftUI CancelBehavior.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-6044DDE57671499D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/6] Emitting module ResearchKitSwiftUI
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
[3/6] Compiling ResearchKitSwiftUI ORKLifecycle.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
[4/6] Compiling ResearchKitSwiftUI TaskResult.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
[5/6] Compiling ResearchKitSwiftUI CancelBehavior.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
[6/6] Compiling ResearchKitSwiftUI ORKOrderedTaskView.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
error: fatalError
BUILD FAILURE 5.10 macosSpm