Build Information
Failed to build SpiderWebService, reference main (bd95fd), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 03:17:27 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Nomi-ngj/SpiderWebService.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Nomi-ngj/SpiderWebService
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at bd95fdf added test cases
Cloned https://github.com/Nomi-ngj/SpiderWebService.git
Revision (git rev-parse @):
bd95fdfcac428c4fa0e2db5542dbeace10dd375e
SUCCESS checkout https://github.com/Nomi-ngj/SpiderWebService.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/Nomi-ngj/SpiderWebService.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/10] Compiling SpiderWebService URL+Expressible.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpiderWebService/Extension/URL+Expressible.swift:10:1: warning: extension declares a conformance of imported type 'Optional' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
8 | import Foundation
9 |
10 | extension URL?: ExpressibleByStringLiteral,
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
11 | ExpressibleByUnicodeScalarLiteral,
12 | ExpressibleByExtendedGraphemeClusterLiteral {
[4/10] Compiling SpiderWebService NetworkError.swift
[5/10] Emitting module SpiderWebService
/Users/admin/builder/spi-builder-workspace/Sources/SpiderWebService/Extension/URL+Expressible.swift:10:1: warning: extension declares a conformance of imported type 'Optional' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
8 | import Foundation
9 |
10 | extension URL?: ExpressibleByStringLiteral,
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
11 | ExpressibleByUnicodeScalarLiteral,
12 | ExpressibleByExtendedGraphemeClusterLiteral {
[6/10] Compiling SpiderWebService Request.swift
[7/10] Compiling SpiderWebService HTTPURLResponse.swift
[8/10] Compiling SpiderWebService Decodable+decoding.swift
[9/10] Compiling SpiderWebService HTTPMethod.swift
[10/10] Compiling SpiderWebService URLRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpiderWebService/Extension/URLRequest.swift:25:37: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
8 | import Foundation
9 |
10 | public extension URLRequest {
| `- note: add @available attribute to enclosing extension
11 | init(
12 | url: URL?,
:
22 | }
23 |
24 | func perform() async throws -> (Data, URLResponse) {
| `- note: add @available attribute to enclosing instance method
25 | try await URLSession.shared.data(for: self)
| |- error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
26 | }
27 |
BUILD FAILURE 6.2 macosSpm