The Swift Package Index logo.Swift Package Index

Build Information

Failed to build JunimoFire, reference release (618144), with Swift 6.2 for macOS (SPM) on 21 Jun 2025 17:28:06 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/J0onYEong/Junimofire.git
Reference: release
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/J0onYEong/Junimofire
 * branch            release    -> FETCH_HEAD
 * [new branch]      release    -> origin/release
HEAD is now at 618144b [Release: 0.2.0] Session기본 interceptor기능 추가(test완료)
Cloned https://github.com/J0onYEong/Junimofire.git
Revision (git rev-parse @):
618144b51bc9335f785525ee8f92d999efd147a5
SUCCESS checkout https://github.com/J0onYEong/Junimofire.git at release
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/J0onYEong/Junimofire.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/12] Compiling JunimoFire JuniosSession.swift
[4/13] Compiling JunimoFire JFValidation.swift
[5/13] Compiling JunimoFire JuniosSessionDelegate.swift
[6/13] Compiling JunimoFire JFDataRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/JunimoFire/Request/DataRequest/JFDataRequest.swift:95:50: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
  8 | import Foundation
  9 |
 10 | public class JFDataRequest {
    |              `- note: add @available attribute to enclosing class
 11 |
 12 |     private var interceptor: JFRequestInterceptor?
    :
 91 |     }
 92 |
 93 |     private func perform() async throws -> (Data, URLResponse) {
    |                  `- note: add @available attribute to enclosing instance method
 94 |
 95 |         let (data, response) = try await session.data(for: currentRequest())
    |                                                  |- error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
    |                                                  `- note: add 'if #available' version check
 96 |
 97 |         let validationInfo = try await startValidation(data: data, response: response)
/Users/admin/builder/spi-builder-workspace/Sources/JunimoFire/Request/DataRequest/JFDataRequest.swift:130:23: error: 'Task' is only available in macOS 10.15 or newer
  8 | import Foundation
  9 |
 10 | public class JFDataRequest {
    |              `- note: add @available attribute to enclosing class
 11 |
 12 |     private var interceptor: JFRequestInterceptor?
    :
116 |     }
117 |
118 |     private func retry(validationInfo: ValidationInfo, response: URLResponse, data: Data) async throws -> (Data, URLResponse) {
    |                  `- note: add @available attribute to enclosing instance method
119 |
120 |         guard let retrier = retrier() else { return (data, response) }
    :
128 |         case .retryWithDelay(let request, let delayAmount):
129 |             await self.requestIsUpdated(request: request)
130 |             try await Task.sleep(nanoseconds: UInt64(delayAmount * 1_000_000_000))
    |                       |- error: 'Task' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
131 |             return try await perform()
132 |         case .finish, .doNotRetry:
/Users/admin/builder/spi-builder-workspace/Sources/JunimoFire/Request/DataRequest/JFDataRequest.swift:130:28: error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
  8 | import Foundation
  9 |
 10 | public class JFDataRequest {
    |              `- note: add @available attribute to enclosing class
 11 |
 12 |     private var interceptor: JFRequestInterceptor?
    :
116 |     }
117 |
118 |     private func retry(validationInfo: ValidationInfo, response: URLResponse, data: Data) async throws -> (Data, URLResponse) {
    |                  `- note: add @available attribute to enclosing instance method
119 |
120 |         guard let retrier = retrier() else { return (data, response) }
    :
128 |         case .retryWithDelay(let request, let delayAmount):
129 |             await self.requestIsUpdated(request: request)
130 |             try await Task.sleep(nanoseconds: UInt64(delayAmount * 1_000_000_000))
    |                            |- error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
131 |             return try await perform()
132 |         case .finish, .doNotRetry:
[7/13] Compiling JunimoFire JF.swift
[8/13] Compiling JunimoFire JFInterceptor.swift
[9/13] Compiling JunimoFire JFRetrier.swift
[10/13] Emitting module JunimoFire
[11/13] Compiling JunimoFire JFAdapter.swift
[12/13] Compiling JunimoFire JFError.swift
[13/13] Compiling JunimoFire MutableProperty.swift
BUILD FAILURE 6.2 macosSpm