Build Information
Failed to build SwiftyNetworking, reference 0.7.0 (c66198
), with Swift 5.8 for macOS (SPM) on 30 Sep 2024 12:53:50 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.54.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/antonio-war/SwiftyNetworking.git
Reference: 0.7.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/antonio-war/SwiftyNetworking
* tag 0.7.0 -> FETCH_HEAD
HEAD is now at c66198a Merge branch 'release/0.7.0'
Cloned https://github.com/antonio-war/SwiftyNetworking.git
Revision (git rev-parse @):
c66198a58a74f1bce815f30828e3a31ebcc7e70d
SUCCESS checkout https://github.com/antonio-war/SwiftyNetworking.git at 0.7.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.8
Building package at path: $PWD
https://github.com/antonio-war/SwiftyNetworking.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[1/16] Emitting module SwiftyNetworking
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNetworking/PropertyWrappers/Request.swift:15:24: warning: stored property '_response' of 'Sendable'-conforming generic struct 'Request' has non-sendable type 'State<Response<Model>>'
@State private var response: Response<Model> = .loading
^
SwiftUI.State:2:40: note: generic struct 'State' does not conform to the 'Sendable' protocol
@frozen @propertyWrapper public struct State<Value> : DynamicProperty {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNetworking/PropertyWrappers/Request.swift:10:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUI'
import SwiftUI
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNetworking/PropertyWrappers/Request.swift:16:24: warning: stored property '_fetching' of 'Sendable'-conforming generic struct 'Request' has non-sendable type 'State<Bool>'
@State private var fetching: Bool = false
^
SwiftUI.State:2:40: note: generic struct 'State' does not conform to the 'Sendable' protocol
@frozen @propertyWrapper public struct State<Value> : DynamicProperty {
^
[2/17] Compiling SwiftyNetworking SwiftyNetworkingClient.swift
[3/17] Compiling SwiftyNetworking SwiftyNetworkingDelegate.swift
[4/17] Compiling SwiftyNetworking SwiftyNetworkingRouter+.swift
[5/17] Compiling SwiftyNetworking URLSession+.swift
[6/17] Compiling SwiftyNetworking SwiftyNetworkingRequest.swift
[7/17] Compiling SwiftyNetworking SwiftyNetworkingResponse.swift
[8/17] Compiling SwiftyNetworking SwiftyNetworkingRequest+.swift
[9/17] Compiling SwiftyNetworking SwiftyNetworkingResponse+.swift
[10/17] Compiling SwiftyNetworking SwiftyNetworkingModel.swift
[11/17] Compiling SwiftyNetworking SwiftyNetworkingRouter.swift
[12/17] Compiling SwiftyNetworking FetchType.swift
[13/17] Compiling SwiftyNetworking Response.swift
[14/17] Compiling SwiftyNetworking NSCache+.swift
[15/17] Compiling SwiftyNetworking CachePolicy.swift
[16/17] Compiling SwiftyNetworking Request.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNetworking/PropertyWrappers/Request.swift:15:24: warning: stored property '_response' of 'Sendable'-conforming generic struct 'Request' has non-sendable type 'State<Response<Model>>'
@State private var response: Response<Model> = .loading
^
SwiftUI.State:2:40: note: generic struct 'State' does not conform to the 'Sendable' protocol
@frozen @propertyWrapper public struct State<Value> : DynamicProperty {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNetworking/PropertyWrappers/Request.swift:10:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUI'
import SwiftUI
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNetworking/PropertyWrappers/Request.swift:16:24: warning: stored property '_fetching' of 'Sendable'-conforming generic struct 'Request' has non-sendable type 'State<Bool>'
@State private var fetching: Bool = false
^
SwiftUI.State:2:40: note: generic struct 'State' does not conform to the 'Sendable' protocol
@frozen @propertyWrapper public struct State<Value> : DynamicProperty {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNetworking/PropertyWrappers/Request.swift:79:24: warning: result of operator '!' is unused
case .loading: !fetching
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNetworking/PropertyWrappers/Request.swift:80:18: warning: boolean literal is unused
default: false
^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNetworking/PropertyWrappers/Request.swift:82:5: error: missing return in getter expected to return 'Bool'
}
^
[17/17] Compiling SwiftyNetworking Refreshable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNetworking/PropertyWrappers/Request.swift:15:24: warning: stored property '_response' of 'Sendable'-conforming generic struct 'Request' has non-sendable type 'State<Response<Model>>'
@State private var response: Response<Model> = .loading
^
SwiftUI.State:2:40: note: generic struct 'State' does not conform to the 'Sendable' protocol
@frozen @propertyWrapper public struct State<Value> : DynamicProperty {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNetworking/PropertyWrappers/Request.swift:10:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUI'
import SwiftUI
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNetworking/PropertyWrappers/Request.swift:16:24: warning: stored property '_fetching' of 'Sendable'-conforming generic struct 'Request' has non-sendable type 'State<Bool>'
@State private var fetching: Bool = false
^
SwiftUI.State:2:40: note: generic struct 'State' does not conform to the 'Sendable' protocol
@frozen @propertyWrapper public struct State<Value> : DynamicProperty {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNetworking/PropertyWrappers/Request.swift:79:24: warning: result of operator '!' is unused
case .loading: !fetching
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNetworking/PropertyWrappers/Request.swift:80:18: warning: boolean literal is unused
default: false
^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNetworking/PropertyWrappers/Request.swift:82:5: error: missing return in getter expected to return 'Bool'
}
^
BUILD FAILURE 5.8 macosSpm