Build Information
Failed to build ZTUserDefault, reference main (f59456), with Swift 6.3 for macOS (SPM) on 16 Apr 2026 00:37:32 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/willonboy/ZTUserDefault.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/willonboy/ZTUserDefault
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f594565 opt code
Cloned https://github.com/willonboy/ZTUserDefault.git
Revision (git rev-parse @):
f594565ee5ef7a93bc4d1bae7d4c744e3b975f21
SUCCESS checkout https://github.com/willonboy/ZTUserDefault.git at main
========================================
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",
"traits": [
"default"
],
"dependencies": [
{
"identity": "ztuserdefault",
"name": "ZTUserDefault",
"url": "https://github.com/willonboy/ZTUserDefault.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ZTUserDefault",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/willonboy/ZTUserDefault.git
[1/109] Fetching ztuserdefault
Fetched https://github.com/willonboy/ZTUserDefault.git from cache (0.65s)
Creating working copy for https://github.com/willonboy/ZTUserDefault.git
Working copy of https://github.com/willonboy/ZTUserDefault.git resolved at main (f594565)
warning: '.resolve-product-dependencies': dependency 'ztuserdefault' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/willonboy/ZTUserDefault.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module ZTUserDefault
<unknown>:0: error: invalid value '5.2' in '-swift-version 5.2'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[4/4] Compiling ZTUserDefault ZTUserDefault.swift
<unknown>:0: error: invalid value '5.2' in '-swift-version 5.2'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
BUILD FAILURE 6.3 macosSpm