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.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordBDHG/ResearchKit.git
Reference: 3.0.3
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/StanfordBDHG/ResearchKit
* tag 3.0.3 -> FETCH_HEAD
HEAD is now at 08ab029 Create XCFrameworks for release 3.0.3
Cloned https://github.com/StanfordBDHG/ResearchKit.git
Revision (git rev-parse @):
08ab0290140e5a5e0e81d46cade1f09c7282facf
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/StanfordBDHG/ResearchKit.git at 3.0.3
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/3/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/3/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 (1.00s)
Creating working copy for https://github.com/StanfordBDHG/ResearchKit.git
Working copy of https://github.com/StanfordBDHG/ResearchKit.git resolved at 3.0.3 (08ab029)
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/8] Emitting module ResearchKitSwiftUI
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ResearchKitSwiftUI/Export.swift:9:19: error: no such module 'ResearchKit'
@_exported import ResearchKit
^
[4/8] Compiling ResearchKitSwiftUI CancelBehavior.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ResearchKitSwiftUI/Export.swift:9:19: error: no such module 'ResearchKit'
@_exported import ResearchKit
^
[5/8] Compiling ResearchKitSwiftUI Export.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ResearchKitSwiftUI/Export.swift:9:19: error: no such module 'ResearchKit'
@_exported import ResearchKit
^
[6/8] Compiling ResearchKitSwiftUI TaskResult.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ResearchKitSwiftUI/Export.swift:9:19: error: no such module 'ResearchKit'
@_exported import ResearchKit
^
[7/8] Compiling ResearchKitSwiftUI ORKOrderedTaskView.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ResearchKitSwiftUI/Export.swift:9:19: error: no such module 'ResearchKit'
@_exported import ResearchKit
^
[8/8] Compiling ResearchKitSwiftUI ORKLifecycle.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ResearchKitSwiftUI/Export.swift:9:19: error: no such module 'ResearchKit'
@_exported import ResearchKit
^
error: fatalError
BUILD FAILURE 5.10 macosSpm