The Swift Package Index logo.Swift Package Index

Build Information

Failed to build StorageSenseKit, reference v1.0.1 (1f2eca), with Swift 6.3 for macOS (SPM) on 21 Apr 2026 18:37:38 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/c2p-cmd/StorageSenseKit.git
Reference: v1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/c2p-cmd/StorageSenseKit
 * tag               v1.0.1     -> FETCH_HEAD
HEAD is now at 1f2eca4 makes `create` public
Cloned https://github.com/c2p-cmd/StorageSenseKit.git
Revision (git rev-parse @):
1f2eca40d50bfe2ad6033772bedf82cb12e97598
SUCCESS checkout https://github.com/c2p-cmd/StorageSenseKit.git at v1.0.1
========================================
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.67s)
Creating working copy for https://github.com/c2p-cmd/StorageSenseKit.git
Working copy of https://github.com/c2p-cmd/StorageSenseKit.git resolved at v1.0.1 (1f2eca4)
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