Build Information
Failed to build SpiderWebService, reference main (bd95fd
), with Swift 6.0 for macOS (SPM) on 14 Sep 2024 02:29:42 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.53.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.0
Building package at path: $PWD
https://github.com/Nomi-ngj/SpiderWebService.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-117DEE11B69C53C9.txt
[3/10] Compiling SpiderWebService NetworkError.swift
[4/10] Compiling SpiderWebService HTTPMethod.swift
[5/10] Compiling SpiderWebService Request.swift
[6/10] Compiling SpiderWebService HTTPURLResponse.swift
[7/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 |
[8/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 {
[9/10] Compiling SpiderWebService Decodable+decoding.swift
[10/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 {
BUILD FAILURE 6.0 macosSpm