Build Information
Failed to build UserDefaultsSnapshotLib, reference main (26e906
), with Swift 5.9 for macOS (SPM) on 1 Jul 2024 05:39:59 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.44.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/VergeGroup/UserDefaultsSnapshot.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/VergeGroup/UserDefaultsSnapshot
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 26e9064 Update ignore
Cloned https://github.com/VergeGroup/UserDefaultsSnapshot.git
Revision (git rev-parse @):
26e9064cf45e48ced6220073071eeaf3dd60c62c
SUCCESS checkout https://github.com/VergeGroup/UserDefaultsSnapshot.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $workDir
https://github.com/VergeGroup/UserDefaultsSnapshot.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/7] Compiling UserDefaultsSnapshotLib UserDefaultsSnapshot.swift
[2/7] Compiling UserDefaultsSnapshotLib _UserDefaultsPrimitiveValueType.swift
[3/7] Compiling UserDefaultsSnapshotLib UserDefaultsPersistentStoreBase.swift
[4/7] Compiling UserDefaultsSnapshotLib UserDefaultsPersistentStoreSinkCancellable.swift
[5/7] Compiling UserDefaultsSnapshotLib UserDefaultsPersistentStore.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UserDefaultsSnapshotLib/UserDefaultsPersistentStore.swift:88:19: error: 'assumeIsolated(_:file:line:)' is only available in macOS 14.0 or newer
MainActor.assumeIsolated {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UserDefaultsSnapshotLib/UserDefaultsPersistentStore.swift:88:19: note: add 'if #available' version check
MainActor.assumeIsolated {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UserDefaultsSnapshotLib/UserDefaultsPersistentStore.swift:81:21: note: add @available attribute to enclosing instance method
public final func sinkSnapshotOnMain(_ sink: @escaping @MainActor (UserDefaultsSnapshot<Schema>) -> Void) -> UserDefaultsPersistentStoreSinkCancellable {
^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UserDefaultsSnapshotLib/UserDefaultsPersistentStore.swift:13:12: note: add @available attribute to enclosing generic class
open class UserDefaultsPersistentStore<Schema: UserDefaultsObject>: UserDefaultsPersistentStoreBase, @unchecked Sendable {
^
[6/7] Compiling UserDefaultsSnapshotLib UserDefaultsObject.swift
[7/7] Emitting module UserDefaultsSnapshotLib
error: fatalError
BUILD FAILURE 5.9 macosSpm