Build Information
Failed to build LightSessionKit, reference main (1ac7c5), with Swift 6.3 for macOS (SPM) on 21 Apr 2026 13:36:09 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/Arafo/LightSessionKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Arafo/LightSessionKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1ac7c52 Add async to RequestAdapter
Cloned https://github.com/Arafo/LightSessionKit.git
Revision (git rev-parse @):
1ac7c5254c296d42c5b983df305601a857806d4c
SUCCESS checkout https://github.com/Arafo/LightSessionKit.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": "lightsessionkit",
"name": "LightSessionKit",
"url": "https://github.com/Arafo/LightSessionKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LightSessionKit",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/Arafo/LightSessionKit.git
[1/34] Fetching lightsessionkit
Fetched https://github.com/Arafo/LightSessionKit.git from cache (0.64s)
Creating working copy for https://github.com/Arafo/LightSessionKit.git
Working copy of https://github.com/Arafo/LightSessionKit.git resolved at main (1ac7c52)
warning: '.resolve-product-dependencies': dependency 'lightsessionkit' 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/Arafo/LightSessionKit.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/10] Compiling LightSessionKit HTTPMethod.swift
[4/10] Compiling LightSessionKit Response.swift
[5/10] Compiling LightSessionKit InternalError.swift
[6/10] Emitting module LightSessionKit
/Users/admin/builder/spi-builder-workspace/Sources/LightSessionKit/Response/Response+Decode.swift:18:120: error: 'TopLevelDecoder' is only available in macOS 10.15 or newer
8 | import Combine
9 |
10 | extension Response {
| `- note: add '@available' attribute to enclosing extension
11 |
12 | /// Decodes the output from the upstream using a specified decoder.
:
16 | /// - decoder: A decoder that implements the TopLevelDecoder protocol.
17 | /// - Returns: The decoded data.
18 | public func decode<Item, Coder>(_ type: Item.Type, decoder: Coder) throws -> Item? where Item : Decodable, Coder : TopLevelDecoder {
| | `- error: 'TopLevelDecoder' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
19 | guard let input = self.data as? Coder.Input else {
20 | return nil
[7/10] Compiling LightSessionKit RequestAdapter.swift
[8/10] Compiling LightSessionKit RequestEncoder.swift
[9/10] Compiling LightSessionKit LightSessionManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/LightSessionKit/LightSessionManager.swift:148:54: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
140 | }
141 |
142 | private extension URLRequest {
| `- note: add '@available' attribute to enclosing extension
143 | func prepare(_ transform: @escaping (Self) async -> Self) async -> Self {
144 | return await transform(self)
145 | }
146 |
147 | func fetch(with session: URLSession) async throws -> Response {
| `- note: add '@available' attribute to enclosing instance method
148 | let (data, httpResponse) = try await session.data(for: self)
| |- error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
149 | return Response(request: self, httpResponse: httpResponse, data: data)
150 | }
[10/10] Compiling LightSessionKit Response+Decode.swift
/Users/admin/builder/spi-builder-workspace/Sources/LightSessionKit/Response/Response+Decode.swift:18:120: error: 'TopLevelDecoder' is only available in macOS 10.15 or newer
8 | import Combine
9 |
10 | extension Response {
| `- note: add '@available' attribute to enclosing extension
11 |
12 | /// Decodes the output from the upstream using a specified decoder.
:
16 | /// - decoder: A decoder that implements the TopLevelDecoder protocol.
17 | /// - Returns: The decoded data.
18 | public func decode<Item, Coder>(_ type: Item.Type, decoder: Coder) throws -> Item? where Item : Decodable, Coder : TopLevelDecoder {
| | `- error: 'TopLevelDecoder' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
19 | guard let input = self.data as? Coder.Input else {
20 | return nil
BUILD FAILURE 6.3 macosSpm