The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.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: main
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/StanfordBDHG/ResearchKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3f70adf Create XCFramework for release 2.2.30
Updating files:  88% (3527/3981)
Updating files:  89% (3544/3981)
Updating files:  90% (3583/3981)
Updating files:  91% (3623/3981)
Updating files:  92% (3663/3981)
Updating files:  93% (3703/3981)
Updating files:  94% (3743/3981)
Updating files:  95% (3782/3981)
Updating files:  96% (3822/3981)
Updating files:  97% (3862/3981)
Updating files:  98% (3902/3981)
Updating files:  99% (3942/3981)
Updating files: 100% (3981/3981)
Updating files: 100% (3981/3981), done.
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 main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $workDir
https://github.com/StanfordBDHG/ResearchKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/5] Emitting module ResearchKitSwiftUI
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
[2/5] Compiling ResearchKitSwiftUI TaskResult.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
[3/5] Compiling ResearchKitSwiftUI ORKLifecycle.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
[4/5] Compiling ResearchKitSwiftUI ORKOrderedTaskView.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
[5/5] Compiling ResearchKitSwiftUI CancelBehavior.swift
/Users/builder/builds/TDmZkXJm/2/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...
[1/5] Compiling ResearchKitSwiftUI TaskResult.swift
/Users/builder/builds/TDmZkXJm/2/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)
[2/5] Emitting module ResearchKitSwiftUI
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
[3/5] Compiling ResearchKitSwiftUI ORKLifecycle.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
[4/5] Compiling ResearchKitSwiftUI ORKOrderedTaskView.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
[5/5] Compiling ResearchKitSwiftUI CancelBehavior.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
error: fatalError
BUILD FAILURE 5.9 macosSpm