Build Information
Failed to build SpeziMedication, reference 0.4.2 (8c160a
), with Swift 6.0 for macOS (SPM) on 3 Dec 2024 01:55:05 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
Build Log
========================================
RunAll
========================================
Builder version: 4.58.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordSpezi/SpeziMedication.git
Reference: 0.4.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/StanfordSpezi/SpeziMedication
* tag 0.4.2 -> FETCH_HEAD
HEAD is now at 8c160af Enable Swift 6 Language Mode (#14)
Cloned https://github.com/StanfordSpezi/SpeziMedication.git
Revision (git rev-parse @):
8c160afbeb20fea296947cbf9255fe1dfefaf33c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziMedication.git at 0.4.2
Fetching https://github.com/StanfordSpezi/SpeziViews.git
[1/2485] Fetching speziviews
Fetched https://github.com/StanfordSpezi/SpeziViews.git from cache (1.25s)
Computing version for https://github.com/StanfordSpezi/SpeziViews.git
Computed https://github.com/StanfordSpezi/SpeziViews.git at 1.7.0 (0.58s)
Fetching https://github.com/StanfordSpezi/Spezi.git
Fetching https://github.com/apple/swift-collections.git
[1/8926] Fetching spezi
[983/24529] Fetching spezi, swift-collections
Fetched https://github.com/StanfordSpezi/Spezi.git from cache (1.25s)
[937/15603] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.01s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (2.33s)
Computing version for https://github.com/StanfordSpezi/Spezi.git
Computed https://github.com/StanfordSpezi/Spezi.git at 1.8.0 (0.57s)
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
[8/374] Fetching xctruntimeassertions
[129/834] Fetching xctruntimeassertions, spezifoundation
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (0.76s)
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.76s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.0.0 (0.57s)
Fetching https://github.com/apple/swift-atomics.git
[1/1569] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (1.04s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.43s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 1.1.3 (0.58s)
Creating working copy for https://github.com/StanfordSpezi/SpeziFoundation.git
Working copy of https://github.com/StanfordSpezi/SpeziFoundation.git resolved at 2.0.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/StanfordSpezi/Spezi.git
Working copy of https://github.com/StanfordSpezi/Spezi.git resolved at 1.8.0
Creating working copy for https://github.com/StanfordSpezi/SpeziViews.git
Working copy of https://github.com/StanfordSpezi/SpeziViews.git resolved at 1.7.0
Creating working copy for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Working copy of https://github.com/StanfordBDHG/XCTRuntimeAssertions.git resolved at 1.1.3
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
========================================
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": "spezimedication",
"name": "SpeziMedication",
"url": "https://github.com/StanfordSpezi/SpeziMedication.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SpeziMedication",
"dependencies": [
{
"identity": "speziviews",
"name": "SpeziViews",
"url": "https://github.com/StanfordSpezi/SpeziViews.git",
"version": "1.7.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SpeziViews",
"dependencies": [
{
"identity": "spezi",
"name": "Spezi",
"url": "https://github.com/StanfordSpezi/Spezi.git",
"version": "1.8.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spezi",
"dependencies": [
{
"identity": "spezifoundation",
"name": "SpeziFoundation",
"url": "https://github.com/StanfordSpezi/SpeziFoundation.git",
"version": "2.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SpeziFoundation",
"dependencies": [
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics.git",
"version": "1.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"dependencies": [
]
}
]
},
{
"identity": "xctruntimeassertions",
"name": "XCTRuntimeAssertions",
"url": "https://github.com/StanfordBDHG/XCTRuntimeAssertions.git",
"version": "1.1.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/XCTRuntimeAssertions",
"dependencies": [
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.1.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"dependencies": [
]
}
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.1.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/StanfordSpezi/SpeziMedication.git
[10/965] Fetching spezimedication
Fetched https://github.com/StanfordSpezi/SpeziMedication.git from cache (1.07s)
Fetching https://github.com/StanfordSpezi/SpeziViews.git from cache
Fetched https://github.com/StanfordSpezi/SpeziViews.git from cache (0.47s)
Computing version for https://github.com/StanfordSpezi/SpeziViews.git
Computed https://github.com/StanfordSpezi/SpeziViews.git at 1.7.0 (0.02s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/StanfordSpezi/Spezi.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.57s)
Fetched https://github.com/StanfordSpezi/Spezi.git from cache (0.57s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.02s)
Computing version for https://github.com/StanfordSpezi/Spezi.git
Computed https://github.com/StanfordSpezi/Spezi.git at 1.8.0 (0.02s)
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git from cache
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (0.47s)
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.47s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.0.0 (0.02s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.45s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.03s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 1.1.3 (0.02s)
Creating working copy for https://github.com/StanfordSpezi/Spezi.git
Working copy of https://github.com/StanfordSpezi/Spezi.git resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Working copy of https://github.com/StanfordBDHG/XCTRuntimeAssertions.git resolved at 1.1.3
Creating working copy for https://github.com/StanfordSpezi/SpeziMedication.git
Working copy of https://github.com/StanfordSpezi/SpeziMedication.git resolved at 0.4.2 (8c160af)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/StanfordSpezi/SpeziViews.git
Working copy of https://github.com/StanfordSpezi/SpeziViews.git resolved at 1.7.0
Creating working copy for https://github.com/StanfordSpezi/SpeziFoundation.git
Working copy of https://github.com/StanfordSpezi/SpeziFoundation.git resolved at 2.0.0
warning: '.resolve-product-dependencies': dependency 'spezimedication' is not used by any target
Found 1 product dependencies
- SpeziViews
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/StanfordSpezi/SpeziMedication.git
{
"default_localization" : "en",
"dependencies" : [
{
"identity" : "speziviews",
"requirement" : {
"range" : [
{
"lower_bound" : "1.7.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/StanfordSpezi/SpeziViews.git"
}
],
"manifest_display_name" : "SpeziMedication",
"name" : "SpeziMedication",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
}
],
"products" : [
{
"name" : "SpeziMedication",
"targets" : [
"SpeziMedication"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SpeziMedicationTests",
"module_type" : "SwiftTarget",
"name" : "SpeziMedicationTests",
"path" : "Tests/SpeziMedicationTests",
"sources" : [
"SpeziMedicationTests.swift"
],
"target_dependencies" : [
"SpeziMedication"
],
"type" : "test"
},
{
"c99name" : "SpeziMedication",
"module_type" : "SwiftTarget",
"name" : "SpeziMedication",
"path" : "Sources/SpeziMedication",
"product_dependencies" : [
"SpeziViews"
],
"product_memberships" : [
"SpeziMedication"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpeziMedication/Resources/Localizable.xcstrings",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpeziMedication/Resources/Localizable.xcstrings.license",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Extensions/String+LocalizedError.swift",
"Extensions/UIDatePicker+SwiftUI.swift",
"InternalMedicationSettingsViewModel.swift",
"MedicationList.swift",
"MedicationSettings.swift",
"MedicationSettingsViewModel.swift",
"Models/Dosage.swift",
"Models/Frequency.swift",
"Models/Medication.swift",
"Models/MedicationInstance.swift",
"Models/MedicationInstanceInitializable.swift",
"Models/Schedule.swift",
"Models/ScheduledTime.swift",
"Models/Weekdays.swift",
"ModifyMedication/AddMedication.swift",
"ModifyMedication/AddMedicationDosage.swift",
"ModifyMedication/AddMedicationSchedule.swift",
"ModifyMedication/EditDosage.swift",
"ModifyMedication/EditFrequency.swift",
"ModifyMedication/EditMedication.swift",
"ModifyMedication/EditScheduleTime.swift",
"ModifyMedication/EditScheduleTimeRow.swift",
"ModifyMedication/ScheduleFrequency.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
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
warning: 'speziviews': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SpeziViews/Sources/SpeziViews/Resources/Localizable.xcstrings
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SpeziViews/Sources/SpeziViews/Resources/Localizable.xcstrings.license
error: the library 'SpeziMedication' requires macos 10.13, but depends on the product 'SpeziViews' which requires macos 14.0; consider changing the library 'SpeziMedication' to require macos 14.0 or later, or the product 'SpeziViews' to require macos 10.13 or earlier.
BUILD FAILURE 6.0 macosSpm