Build Information
Failed to build UserDefaultsSnapshotLib, reference 1.4.1 (26e906
), with Swift 5.8 for macOS (SPM) on 1 Jul 2024 05:48:46 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.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: 1.4.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/VergeGroup/UserDefaultsSnapshot
* tag 1.4.1 -> FETCH_HEAD
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 1.4.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.8
Building package at path: $workDir
https://github.com/VergeGroup/UserDefaultsSnapshot.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[1/7] Compiling UserDefaultsSnapshotLib _UserDefaultsPrimitiveValueType.swift
[2/7] Compiling UserDefaultsSnapshotLib UserDefaultsSnapshot.swift
[3/7] Compiling UserDefaultsSnapshotLib UserDefaultsPersistentStoreSinkCancellable.swift
[4/7] Compiling UserDefaultsSnapshotLib UserDefaultsPersistentStoreBase.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/7] Compiling UserDefaultsSnapshotLib UserDefaultsObject.swift
[6/7] Emitting module UserDefaultsSnapshotLib
/Users/admin/builder/spi-builder-workspace/Sources/UserDefaultsSnapshotLib/UserDefaultsPersistentStore.swift:47:51: error: expected ':' following argument label and parameter name
public final func write(write: (borrowing Schema) throws -> Void) rethrows {
^
/Users/admin/builder/spi-builder-workspace/Sources/UserDefaultsSnapshotLib/UserDefaultsPersistentStore.swift:47:51: error: expected type
public final func write(write: (borrowing Schema) throws -> Void) rethrows {
^
<#type#>
[7/7] Compiling UserDefaultsSnapshotLib UserDefaultsPersistentStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/UserDefaultsSnapshotLib/UserDefaultsPersistentStore.swift:47:51: error: expected ':' following argument label and parameter name
public final func write(write: (borrowing Schema) throws -> Void) rethrows {
^
/Users/admin/builder/spi-builder-workspace/Sources/UserDefaultsSnapshotLib/UserDefaultsPersistentStore.swift:47:51: error: expected type
public final func write(write: (borrowing Schema) throws -> Void) rethrows {
^
<#type#>
/Users/admin/builder/spi-builder-workspace/Sources/UserDefaultsSnapshotLib/UserDefaultsPersistentStore.swift:51:17: error: argument passed to call that takes no arguments
try write(object)
~^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/UserDefaultsSnapshotLib/UserDefaultsPersistentStore.swift:88:19: error: type 'MainActor' has no member 'assumeIsolated'
MainActor.assumeIsolated {
~~~~~~~~~ ^~~~~~~~~~~~~~
BUILD FAILURE 5.8 macosSpm