Build Information
Failed to build StorageSenseKit, reference main (a3476d), with Swift 6.3 for macOS (SPM) on 21 Apr 2026 18:37:16 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/c2p-cmd/StorageSenseKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/c2p-cmd/StorageSenseKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a3476d8 Update README.md
Cloned https://github.com/c2p-cmd/StorageSenseKit.git
Revision (git rev-parse @):
a3476d87e21c3104205ac6a8008c0f49d9ab5c21
SUCCESS checkout https://github.com/c2p-cmd/StorageSenseKit.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": "storagesensekit",
"name": "StorageSenseKit",
"url": "https://github.com/c2p-cmd/StorageSenseKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/StorageSenseKit",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/c2p-cmd/StorageSenseKit.git
[1/38] Fetching storagesensekit
Fetched https://github.com/c2p-cmd/StorageSenseKit.git from cache (0.97s)
Creating working copy for https://github.com/c2p-cmd/StorageSenseKit.git
Working copy of https://github.com/c2p-cmd/StorageSenseKit.git resolved at main (a3476d8)
warning: '.resolve-product-dependencies': dependency 'storagesensekit' 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/c2p-cmd/StorageSenseKit.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 StorageSenseKit
/Users/admin/builder/spi-builder-workspace/Sources/StorageSenseKit/StorageSenseKit.swift:4:26: error: 'Logger' is only available in macOS 11.0 or newer
2 | import OSLog
3 |
4 | fileprivate let logger = Logger(subsystem: "StorageSenceKit", category: "StorageStatus")
| | `- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add '@available' attribute to enclosing let
5 |
6 | /// StorageSenseKit is a library for getting storage status of the device
[4/4] Compiling StorageSenseKit StorageSenseKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/StorageSenseKit/StorageSenseKit.swift:4:26: error: 'Logger' is only available in macOS 11.0 or newer
2 | import OSLog
3 |
4 | fileprivate let logger = Logger(subsystem: "StorageSenceKit", category: "StorageStatus")
| | `- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add '@available' attribute to enclosing let
5 |
6 | /// StorageSenseKit is a library for getting storage status of the device
/Users/admin/builder/spi-builder-workspace/Sources/StorageSenseKit/StorageSenseKit.swift:76:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
55 |
56 | /// Create a new storage status object
57 | extension StorageStatus {
| `- note: add '@available' attribute to enclosing extension
58 | /// Create a new storage status object
59 | /// - Throws: `StorageError` if the storage status cannot be retrieved
60 | /// - Returns: A new `StorageStatus` object
61 | public static func create() throws(StorageError) -> StorageStatus {
| `- note: add '@available' attribute to enclosing static method
62 | let url = URL(fileURLWithPath: NSHomeDirectory(), isDirectory: true)
63 | do {
:
74 | return StorageStatus(systemSize: systemSize, freeSpace: freeSpace)
75 | } catch {
76 | logger.error("Failed with error: \(error)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
77 | throw StorageError()
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/StorageSenseKit/StorageSenseKit.swift:76:47: error: 'appendInterpolation(_:privacy:attributes:)' is only available in macOS 11.0 or newer
55 |
56 | /// Create a new storage status object
57 | extension StorageStatus {
| `- note: add '@available' attribute to enclosing extension
58 | /// Create a new storage status object
59 | /// - Throws: `StorageError` if the storage status cannot be retrieved
60 | /// - Returns: A new `StorageStatus` object
61 | public static func create() throws(StorageError) -> StorageStatus {
| `- note: add '@available' attribute to enclosing static method
62 | let url = URL(fileURLWithPath: NSHomeDirectory(), isDirectory: true)
63 | do {
:
74 | return StorageStatus(systemSize: systemSize, freeSpace: freeSpace)
75 | } catch {
76 | logger.error("Failed with error: \(error)")
| |- error: 'appendInterpolation(_:privacy:attributes:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
77 | throw StorageError()
78 | }
BUILD FAILURE 6.3 macosSpm