Build Information
Failed to build TSCommunication, reference main (4df518), with Swift 6.3 for Linux on 28 Jun 2026 18:38:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
44 | public init(always value : Out) where Out : Sendable {
45 | let response : @Sendable (Data,URLRequest) async throws -> (Out,URLResponse) = { _,_ in
46 | return (value,URLResponse())
| `- error: cannot convert value of type '(Out, URLResponse?)' to specified type '(Out, URLResponse)'
47 | }
48 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockUpServer/MockUpServer.swift:46:39: error: missing argument for parameter 'coder' in call
44 | public init(always value : Out) where Out : Sendable {
45 | let response : @Sendable (Data,URLRequest) async throws -> (Out,URLResponse) = { _,_ in
46 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
47 | }
48 |
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
[442/1436] Compiling TSClient MockGetServer.swift
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockFileServer/MockFileServer.swift:47:20: error: cannot convert value of type '(Out, URLResponse?)' to specified type '(Out, URLResponse)'
45 | public init(always value : Out) where Out : Sendable {
46 | let response : @Sendable (URL,URLRequest) async throws -> (Out, URLResponse) = { _,_ in
47 | return (value,URLResponse())
| `- error: cannot convert value of type '(Out, URLResponse?)' to specified type '(Out, URLResponse)'
48 | }
49 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockFileServer/MockFileServer.swift:47:39: error: missing argument for parameter 'coder' in call
45 | public init(always value : Out) where Out : Sendable {
46 | let response : @Sendable (URL,URLRequest) async throws -> (Out, URLResponse) = { _,_ in
47 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
48 | }
49 |
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockGetSever/MockGetServer+initializers.swift:35:20: error: tuple type '(O, URLResponse?)' is not convertible to tuple type '(O, URLResponse)'
33 |
34 | self.download = { _ in
35 | return (value,URLResponse())
| `- error: tuple type '(O, URLResponse?)' is not convertible to tuple type '(O, URLResponse)'
36 | }
37 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockGetSever/MockGetServer+initializers.swift:35:39: error: missing argument for parameter 'coder' in call
33 |
34 | self.download = { _ in
35 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
36 | }
37 |
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockGetSever/MockGetServer+initializers.swift:50:20: error: tuple type '(O, URLResponse?)' is not convertible to tuple type '(O, URLResponse)'
48 |
49 | self.download = { _ in
50 | return (value,URLResponse())
| `- error: tuple type '(O, URLResponse?)' is not convertible to tuple type '(O, URLResponse)'
51 | }
52 | self.encoder = T.failureEncoder
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockGetSever/MockGetServer+initializers.swift:50:39: error: missing argument for parameter 'coder' in call
48 |
49 | self.download = { _ in
50 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
51 | }
52 | self.encoder = T.failureEncoder
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockGetSever/MockGetServer.swift:45:20: error: tuple type '(O, URLResponse?)' is not convertible to tuple type '(O, URLResponse)'
43 | public init(always value : O) where O : Sendable{
44 | self.download = { _ in
45 | return (value,URLResponse())
| `- error: tuple type '(O, URLResponse?)' is not convertible to tuple type '(O, URLResponse)'
46 | }
47 | self.encoder = JSONEncoder()
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockGetSever/MockGetServer.swift:45:39: error: missing argument for parameter 'coder' in call
43 | public init(always value : O) where O : Sendable{
44 | self.download = { _ in
45 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
46 | }
47 | self.encoder = JSONEncoder()
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockUpServer/MockUpServer+initalizer.swift:29:20: error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
27 | always value : Out) where Out : Sendable,T:EncoderDecoder {
28 | self.uploadData = { _, _ in
29 | return (value,URLResponse())
| `- error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
30 | }
31 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockUpServer/MockUpServer+initalizer.swift:29:39: error: missing argument for parameter 'coder' in call
27 | always value : Out) where Out : Sendable,T:EncoderDecoder {
28 | self.uploadData = { _, _ in
29 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
30 | }
31 |
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockUpServer/MockUpServer+initalizer.swift:39:20: error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
37 | init<T:OutputableRoute>(for route : T.Type,throws value : T.Failure) where Out : Sendable,T.Failure == Out{
38 | self.uploadData = { _, _ in
39 | return (value,URLResponse())
| `- error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
40 | }
41 | self.encoder = T.failureEncoder
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockUpServer/MockUpServer+initalizer.swift:39:39: error: missing argument for parameter 'coder' in call
37 | init<T:OutputableRoute>(for route : T.Type,throws value : T.Failure) where Out : Sendable,T.Failure == Out{
38 | self.uploadData = { _, _ in
39 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
40 | }
41 | self.encoder = T.failureEncoder
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockUpServer/MockUpServer.swift:46:20: error: cannot convert value of type '(Out, URLResponse?)' to specified type '(Out, URLResponse)'
44 | public init(always value : Out) where Out : Sendable {
45 | let response : @Sendable (Data,URLRequest) async throws -> (Out,URLResponse) = { _,_ in
46 | return (value,URLResponse())
| `- error: cannot convert value of type '(Out, URLResponse?)' to specified type '(Out, URLResponse)'
47 | }
48 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockUpServer/MockUpServer.swift:46:39: error: missing argument for parameter 'coder' in call
44 | public init(always value : Out) where Out : Sendable {
45 | let response : @Sendable (Data,URLRequest) async throws -> (Out,URLResponse) = { _,_ in
46 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
47 | }
48 |
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
[443/1436] Compiling TSClient MockHttpServer.swift
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockFileServer/MockFileServer.swift:47:20: error: cannot convert value of type '(Out, URLResponse?)' to specified type '(Out, URLResponse)'
45 | public init(always value : Out) where Out : Sendable {
46 | let response : @Sendable (URL,URLRequest) async throws -> (Out, URLResponse) = { _,_ in
47 | return (value,URLResponse())
| `- error: cannot convert value of type '(Out, URLResponse?)' to specified type '(Out, URLResponse)'
48 | }
49 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockFileServer/MockFileServer.swift:47:39: error: missing argument for parameter 'coder' in call
45 | public init(always value : Out) where Out : Sendable {
46 | let response : @Sendable (URL,URLRequest) async throws -> (Out, URLResponse) = { _,_ in
47 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
48 | }
49 |
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockGetSever/MockGetServer+initializers.swift:35:20: error: tuple type '(O, URLResponse?)' is not convertible to tuple type '(O, URLResponse)'
33 |
34 | self.download = { _ in
35 | return (value,URLResponse())
| `- error: tuple type '(O, URLResponse?)' is not convertible to tuple type '(O, URLResponse)'
36 | }
37 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockGetSever/MockGetServer+initializers.swift:35:39: error: missing argument for parameter 'coder' in call
33 |
34 | self.download = { _ in
35 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
36 | }
37 |
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockGetSever/MockGetServer+initializers.swift:50:20: error: tuple type '(O, URLResponse?)' is not convertible to tuple type '(O, URLResponse)'
48 |
49 | self.download = { _ in
50 | return (value,URLResponse())
| `- error: tuple type '(O, URLResponse?)' is not convertible to tuple type '(O, URLResponse)'
51 | }
52 | self.encoder = T.failureEncoder
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockGetSever/MockGetServer+initializers.swift:50:39: error: missing argument for parameter 'coder' in call
48 |
49 | self.download = { _ in
50 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
51 | }
52 | self.encoder = T.failureEncoder
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockGetSever/MockGetServer.swift:45:20: error: tuple type '(O, URLResponse?)' is not convertible to tuple type '(O, URLResponse)'
43 | public init(always value : O) where O : Sendable{
44 | self.download = { _ in
45 | return (value,URLResponse())
| `- error: tuple type '(O, URLResponse?)' is not convertible to tuple type '(O, URLResponse)'
46 | }
47 | self.encoder = JSONEncoder()
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockGetSever/MockGetServer.swift:45:39: error: missing argument for parameter 'coder' in call
43 | public init(always value : O) where O : Sendable{
44 | self.download = { _ in
45 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
46 | }
47 | self.encoder = JSONEncoder()
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockUpServer/MockUpServer+initalizer.swift:29:20: error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
27 | always value : Out) where Out : Sendable,T:EncoderDecoder {
28 | self.uploadData = { _, _ in
29 | return (value,URLResponse())
| `- error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
30 | }
31 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockUpServer/MockUpServer+initalizer.swift:29:39: error: missing argument for parameter 'coder' in call
27 | always value : Out) where Out : Sendable,T:EncoderDecoder {
28 | self.uploadData = { _, _ in
29 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
30 | }
31 |
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockUpServer/MockUpServer+initalizer.swift:39:20: error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
37 | init<T:OutputableRoute>(for route : T.Type,throws value : T.Failure) where Out : Sendable,T.Failure == Out{
38 | self.uploadData = { _, _ in
39 | return (value,URLResponse())
| `- error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
40 | }
41 | self.encoder = T.failureEncoder
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockUpServer/MockUpServer+initalizer.swift:39:39: error: missing argument for parameter 'coder' in call
37 | init<T:OutputableRoute>(for route : T.Type,throws value : T.Failure) where Out : Sendable,T.Failure == Out{
38 | self.uploadData = { _, _ in
39 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
40 | }
41 | self.encoder = T.failureEncoder
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockUpServer/MockUpServer.swift:46:20: error: cannot convert value of type '(Out, URLResponse?)' to specified type '(Out, URLResponse)'
44 | public init(always value : Out) where Out : Sendable {
45 | let response : @Sendable (Data,URLRequest) async throws -> (Out,URLResponse) = { _,_ in
46 | return (value,URLResponse())
| `- error: cannot convert value of type '(Out, URLResponse?)' to specified type '(Out, URLResponse)'
47 | }
48 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockUpServer/MockUpServer.swift:46:39: error: missing argument for parameter 'coder' in call
44 | public init(always value : Out) where Out : Sendable {
45 | let response : @Sendable (Data,URLRequest) async throws -> (Out,URLResponse) = { _,_ in
46 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
47 | }
48 |
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
[444/1436] Compiling TSClient MockUpServer+initalizer.swift
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockFileServer/MockFileServer.swift:47:20: error: cannot convert value of type '(Out, URLResponse?)' to specified type '(Out, URLResponse)'
45 | public init(always value : Out) where Out : Sendable {
46 | let response : @Sendable (URL,URLRequest) async throws -> (Out, URLResponse) = { _,_ in
47 | return (value,URLResponse())
| `- error: cannot convert value of type '(Out, URLResponse?)' to specified type '(Out, URLResponse)'
48 | }
49 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockFileServer/MockFileServer.swift:47:39: error: missing argument for parameter 'coder' in call
45 | public init(always value : Out) where Out : Sendable {
46 | let response : @Sendable (URL,URLRequest) async throws -> (Out, URLResponse) = { _,_ in
47 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
48 | }
49 |
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockGetSever/MockGetServer+initializers.swift:35:20: error: tuple type '(O, URLResponse?)' is not convertible to tuple type '(O, URLResponse)'
33 |
34 | self.download = { _ in
35 | return (value,URLResponse())
| `- error: tuple type '(O, URLResponse?)' is not convertible to tuple type '(O, URLResponse)'
36 | }
37 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockGetSever/MockGetServer+initializers.swift:35:39: error: missing argument for parameter 'coder' in call
33 |
34 | self.download = { _ in
35 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
36 | }
37 |
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockGetSever/MockGetServer+initializers.swift:50:20: error: tuple type '(O, URLResponse?)' is not convertible to tuple type '(O, URLResponse)'
48 |
49 | self.download = { _ in
50 | return (value,URLResponse())
| `- error: tuple type '(O, URLResponse?)' is not convertible to tuple type '(O, URLResponse)'
51 | }
52 | self.encoder = T.failureEncoder
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockGetSever/MockGetServer+initializers.swift:50:39: error: missing argument for parameter 'coder' in call
48 |
49 | self.download = { _ in
50 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
51 | }
52 | self.encoder = T.failureEncoder
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockGetSever/MockGetServer.swift:45:20: error: tuple type '(O, URLResponse?)' is not convertible to tuple type '(O, URLResponse)'
43 | public init(always value : O) where O : Sendable{
44 | self.download = { _ in
45 | return (value,URLResponse())
| `- error: tuple type '(O, URLResponse?)' is not convertible to tuple type '(O, URLResponse)'
46 | }
47 | self.encoder = JSONEncoder()
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockGetSever/MockGetServer.swift:45:39: error: missing argument for parameter 'coder' in call
43 | public init(always value : O) where O : Sendable{
44 | self.download = { _ in
45 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
46 | }
47 | self.encoder = JSONEncoder()
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockUpServer/MockUpServer+initalizer.swift:29:20: error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
27 | always value : Out) where Out : Sendable,T:EncoderDecoder {
28 | self.uploadData = { _, _ in
29 | return (value,URLResponse())
| `- error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
30 | }
31 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockUpServer/MockUpServer+initalizer.swift:29:39: error: missing argument for parameter 'coder' in call
27 | always value : Out) where Out : Sendable,T:EncoderDecoder {
28 | self.uploadData = { _, _ in
29 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
30 | }
31 |
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockUpServer/MockUpServer+initalizer.swift:39:20: error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
37 | init<T:OutputableRoute>(for route : T.Type,throws value : T.Failure) where Out : Sendable,T.Failure == Out{
38 | self.uploadData = { _, _ in
39 | return (value,URLResponse())
| `- error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
40 | }
41 | self.encoder = T.failureEncoder
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockUpServer/MockUpServer+initalizer.swift:39:39: error: missing argument for parameter 'coder' in call
37 | init<T:OutputableRoute>(for route : T.Type,throws value : T.Failure) where Out : Sendable,T.Failure == Out{
38 | self.uploadData = { _, _ in
39 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
40 | }
41 | self.encoder = T.failureEncoder
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockUpServer/MockUpServer.swift:46:20: error: cannot convert value of type '(Out, URLResponse?)' to specified type '(Out, URLResponse)'
44 | public init(always value : Out) where Out : Sendable {
45 | let response : @Sendable (Data,URLRequest) async throws -> (Out,URLResponse) = { _,_ in
46 | return (value,URLResponse())
| `- error: cannot convert value of type '(Out, URLResponse?)' to specified type '(Out, URLResponse)'
47 | }
48 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockUpServer/MockUpServer.swift:46:39: error: missing argument for parameter 'coder' in call
44 | public init(always value : Out) where Out : Sendable {
45 | let response : @Sendable (Data,URLRequest) async throws -> (Out,URLResponse) = { _,_ in
46 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
47 | }
48 |
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
[445/1436] Compiling TSClient MockUpServer.swift
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockFileServer/MockFileServer.swift:47:20: error: cannot convert value of type '(Out, URLResponse?)' to specified type '(Out, URLResponse)'
45 | public init(always value : Out) where Out : Sendable {
46 | let response : @Sendable (URL,URLRequest) async throws -> (Out, URLResponse) = { _,_ in
47 | return (value,URLResponse())
| `- error: cannot convert value of type '(Out, URLResponse?)' to specified type '(Out, URLResponse)'
48 | }
49 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockFileServer/MockFileServer.swift:47:39: error: missing argument for parameter 'coder' in call
45 | public init(always value : Out) where Out : Sendable {
46 | let response : @Sendable (URL,URLRequest) async throws -> (Out, URLResponse) = { _,_ in
47 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
48 | }
49 |
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockGetSever/MockGetServer+initializers.swift:35:20: error: tuple type '(O, URLResponse?)' is not convertible to tuple type '(O, URLResponse)'
33 |
34 | self.download = { _ in
35 | return (value,URLResponse())
| `- error: tuple type '(O, URLResponse?)' is not convertible to tuple type '(O, URLResponse)'
36 | }
37 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockGetSever/MockGetServer+initializers.swift:35:39: error: missing argument for parameter 'coder' in call
33 |
34 | self.download = { _ in
35 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
36 | }
37 |
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockGetSever/MockGetServer+initializers.swift:50:20: error: tuple type '(O, URLResponse?)' is not convertible to tuple type '(O, URLResponse)'
48 |
49 | self.download = { _ in
50 | return (value,URLResponse())
| `- error: tuple type '(O, URLResponse?)' is not convertible to tuple type '(O, URLResponse)'
51 | }
52 | self.encoder = T.failureEncoder
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockGetSever/MockGetServer+initializers.swift:50:39: error: missing argument for parameter 'coder' in call
48 |
49 | self.download = { _ in
50 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
51 | }
52 | self.encoder = T.failureEncoder
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockGetSever/MockGetServer.swift:45:20: error: tuple type '(O, URLResponse?)' is not convertible to tuple type '(O, URLResponse)'
43 | public init(always value : O) where O : Sendable{
44 | self.download = { _ in
45 | return (value,URLResponse())
| `- error: tuple type '(O, URLResponse?)' is not convertible to tuple type '(O, URLResponse)'
46 | }
47 | self.encoder = JSONEncoder()
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockGetSever/MockGetServer.swift:45:39: error: missing argument for parameter 'coder' in call
43 | public init(always value : O) where O : Sendable{
44 | self.download = { _ in
45 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
46 | }
47 | self.encoder = JSONEncoder()
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockUpServer/MockUpServer+initalizer.swift:29:20: error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
27 | always value : Out) where Out : Sendable,T:EncoderDecoder {
28 | self.uploadData = { _, _ in
29 | return (value,URLResponse())
| `- error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
30 | }
31 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockUpServer/MockUpServer+initalizer.swift:29:39: error: missing argument for parameter 'coder' in call
27 | always value : Out) where Out : Sendable,T:EncoderDecoder {
28 | self.uploadData = { _, _ in
29 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
30 | }
31 |
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockUpServer/MockUpServer+initalizer.swift:39:20: error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
37 | init<T:OutputableRoute>(for route : T.Type,throws value : T.Failure) where Out : Sendable,T.Failure == Out{
38 | self.uploadData = { _, _ in
39 | return (value,URLResponse())
| `- error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
40 | }
41 | self.encoder = T.failureEncoder
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockUpServer/MockUpServer+initalizer.swift:39:39: error: missing argument for parameter 'coder' in call
37 | init<T:OutputableRoute>(for route : T.Type,throws value : T.Failure) where Out : Sendable,T.Failure == Out{
38 | self.uploadData = { _, _ in
39 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
40 | }
41 | self.encoder = T.failureEncoder
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockUpServer/MockUpServer.swift:46:20: error: cannot convert value of type '(Out, URLResponse?)' to specified type '(Out, URLResponse)'
44 | public init(always value : Out) where Out : Sendable {
45 | let response : @Sendable (Data,URLRequest) async throws -> (Out,URLResponse) = { _,_ in
46 | return (value,URLResponse())
| `- error: cannot convert value of type '(Out, URLResponse?)' to specified type '(Out, URLResponse)'
47 | }
48 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockUpServer/MockUpServer.swift:46:39: error: missing argument for parameter 'coder' in call
44 | public init(always value : Out) where Out : Sendable {
45 | let response : @Sendable (Data,URLRequest) async throws -> (Out,URLResponse) = { _,_ in
46 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
47 | }
48 |
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
[446/1441] Compiling TSClient ServerPath+URL.swift
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockDownloadServer/MockDownloadServer+inits.swift:21:36: error: tuple type '(Data, URLResponse?)' is not convertible to tuple type '(Data, URLResponse)'
19 | ///A mock get server that will always responds with a constant value
20 | init<T:FileDownloadable>(_ type : T.Type , always value : Data){
21 | self._download = { _, _ in (value, URLResponse()) }
| `- error: tuple type '(Data, URLResponse?)' is not convertible to tuple type '(Data, URLResponse)'
22 | }
23 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockDownloadServer/MockDownloadServer+inits.swift:21:56: error: missing argument for parameter 'coder' in call
19 | ///A mock get server that will always responds with a constant value
20 | init<T:FileDownloadable>(_ type : T.Type , always value : Data){
21 | self._download = { _, _ in (value, URLResponse()) }
| `- error: missing argument for parameter 'coder' in call
22 | }
23 |
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockDownloadServer/MockDownloadServer+inits.swift:27:36: error: tuple type '(Data, URLResponse?)' is not convertible to tuple type '(Data, URLResponse)'
25 | init<T:FileDownloadable>(_ type : T.Type,throws value : T.Failure) throws {
26 | let encoded = try T.failureEncoder.encode(value)
27 | self._download = { _, _ in (encoded, URLResponse()) }
| `- error: tuple type '(Data, URLResponse?)' is not convertible to tuple type '(Data, URLResponse)'
28 | }
29 | }
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockDownloadServer/MockDownloadServer+inits.swift:27:58: error: missing argument for parameter 'coder' in call
25 | init<T:FileDownloadable>(_ type : T.Type,throws value : T.Failure) throws {
26 | let encoded = try T.failureEncoder.encode(value)
27 | self._download = { _, _ in (encoded, URLResponse()) }
| `- error: missing argument for parameter 'coder' in call
28 | }
29 | }
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockFileServer/MockFileServer+initalizers.swift:30:20: error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
28 |
29 | self.uploadFile = { _, _ in
30 | return (value,URLResponse())
| `- error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
31 | }
32 | self.encoder = T.encoder
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockFileServer/MockFileServer+initalizers.swift:30:39: error: missing argument for parameter 'coder' in call
28 |
29 | self.uploadFile = { _, _ in
30 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
31 | }
32 | self.encoder = T.encoder
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockFileServer/MockFileServer+initalizers.swift:39:20: error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
37 | init<T:ClientLargeFileUploadable>(for route : T.Type,throws value : T.Failure) where Out : Sendable , Out == T.Failure{
38 | self.uploadFile = { _, _ in
39 | return (value,URLResponse())
| `- error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
40 | }
41 | self.encoder = T.failureEncoder
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockFileServer/MockFileServer+initalizers.swift:39:39: error: missing argument for parameter 'coder' in call
37 | init<T:ClientLargeFileUploadable>(for route : T.Type,throws value : T.Failure) where Out : Sendable , Out == T.Failure{
38 | self.uploadFile = { _, _ in
39 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
40 | }
41 | self.encoder = T.failureEncoder
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
[447/1441] Compiling TSClient URLSession.swift
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockDownloadServer/MockDownloadServer+inits.swift:21:36: error: tuple type '(Data, URLResponse?)' is not convertible to tuple type '(Data, URLResponse)'
19 | ///A mock get server that will always responds with a constant value
20 | init<T:FileDownloadable>(_ type : T.Type , always value : Data){
21 | self._download = { _, _ in (value, URLResponse()) }
| `- error: tuple type '(Data, URLResponse?)' is not convertible to tuple type '(Data, URLResponse)'
22 | }
23 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockDownloadServer/MockDownloadServer+inits.swift:21:56: error: missing argument for parameter 'coder' in call
19 | ///A mock get server that will always responds with a constant value
20 | init<T:FileDownloadable>(_ type : T.Type , always value : Data){
21 | self._download = { _, _ in (value, URLResponse()) }
| `- error: missing argument for parameter 'coder' in call
22 | }
23 |
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockDownloadServer/MockDownloadServer+inits.swift:27:36: error: tuple type '(Data, URLResponse?)' is not convertible to tuple type '(Data, URLResponse)'
25 | init<T:FileDownloadable>(_ type : T.Type,throws value : T.Failure) throws {
26 | let encoded = try T.failureEncoder.encode(value)
27 | self._download = { _, _ in (encoded, URLResponse()) }
| `- error: tuple type '(Data, URLResponse?)' is not convertible to tuple type '(Data, URLResponse)'
28 | }
29 | }
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockDownloadServer/MockDownloadServer+inits.swift:27:58: error: missing argument for parameter 'coder' in call
25 | init<T:FileDownloadable>(_ type : T.Type,throws value : T.Failure) throws {
26 | let encoded = try T.failureEncoder.encode(value)
27 | self._download = { _, _ in (encoded, URLResponse()) }
| `- error: missing argument for parameter 'coder' in call
28 | }
29 | }
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockFileServer/MockFileServer+initalizers.swift:30:20: error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
28 |
29 | self.uploadFile = { _, _ in
30 | return (value,URLResponse())
| `- error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
31 | }
32 | self.encoder = T.encoder
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockFileServer/MockFileServer+initalizers.swift:30:39: error: missing argument for parameter 'coder' in call
28 |
29 | self.uploadFile = { _, _ in
30 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
31 | }
32 | self.encoder = T.encoder
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockFileServer/MockFileServer+initalizers.swift:39:20: error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
37 | init<T:ClientLargeFileUploadable>(for route : T.Type,throws value : T.Failure) where Out : Sendable , Out == T.Failure{
38 | self.uploadFile = { _, _ in
39 | return (value,URLResponse())
| `- error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
40 | }
41 | self.encoder = T.failureEncoder
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockFileServer/MockFileServer+initalizers.swift:39:39: error: missing argument for parameter 'coder' in call
37 | init<T:ClientLargeFileUploadable>(for route : T.Type,throws value : T.Failure) where Out : Sendable , Out == T.Failure{
38 | self.uploadFile = { _, _ in
39 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
40 | }
41 | self.encoder = T.failureEncoder
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
[448/1441] Compiling TSClient Logger.swift
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockDownloadServer/MockDownloadServer+inits.swift:21:36: error: tuple type '(Data, URLResponse?)' is not convertible to tuple type '(Data, URLResponse)'
19 | ///A mock get server that will always responds with a constant value
20 | init<T:FileDownloadable>(_ type : T.Type , always value : Data){
21 | self._download = { _, _ in (value, URLResponse()) }
| `- error: tuple type '(Data, URLResponse?)' is not convertible to tuple type '(Data, URLResponse)'
22 | }
23 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockDownloadServer/MockDownloadServer+inits.swift:21:56: error: missing argument for parameter 'coder' in call
19 | ///A mock get server that will always responds with a constant value
20 | init<T:FileDownloadable>(_ type : T.Type , always value : Data){
21 | self._download = { _, _ in (value, URLResponse()) }
| `- error: missing argument for parameter 'coder' in call
22 | }
23 |
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockDownloadServer/MockDownloadServer+inits.swift:27:36: error: tuple type '(Data, URLResponse?)' is not convertible to tuple type '(Data, URLResponse)'
25 | init<T:FileDownloadable>(_ type : T.Type,throws value : T.Failure) throws {
26 | let encoded = try T.failureEncoder.encode(value)
27 | self._download = { _, _ in (encoded, URLResponse()) }
| `- error: tuple type '(Data, URLResponse?)' is not convertible to tuple type '(Data, URLResponse)'
28 | }
29 | }
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockDownloadServer/MockDownloadServer+inits.swift:27:58: error: missing argument for parameter 'coder' in call
25 | init<T:FileDownloadable>(_ type : T.Type,throws value : T.Failure) throws {
26 | let encoded = try T.failureEncoder.encode(value)
27 | self._download = { _, _ in (encoded, URLResponse()) }
| `- error: missing argument for parameter 'coder' in call
28 | }
29 | }
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockFileServer/MockFileServer+initalizers.swift:30:20: error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
28 |
29 | self.uploadFile = { _, _ in
30 | return (value,URLResponse())
| `- error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
31 | }
32 | self.encoder = T.encoder
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockFileServer/MockFileServer+initalizers.swift:30:39: error: missing argument for parameter 'coder' in call
28 |
29 | self.uploadFile = { _, _ in
30 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
31 | }
32 | self.encoder = T.encoder
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockFileServer/MockFileServer+initalizers.swift:39:20: error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
37 | init<T:ClientLargeFileUploadable>(for route : T.Type,throws value : T.Failure) where Out : Sendable , Out == T.Failure{
38 | self.uploadFile = { _, _ in
39 | return (value,URLResponse())
| `- error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
40 | }
41 | self.encoder = T.failureEncoder
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockFileServer/MockFileServer+initalizers.swift:39:39: error: missing argument for parameter 'coder' in call
37 | init<T:ClientLargeFileUploadable>(for route : T.Type,throws value : T.Failure) where Out : Sendable , Out == T.Failure{
38 | self.uploadFile = { _, _ in
39 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
40 | }
41 | self.encoder = T.failureEncoder
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
[449/1441] Compiling TSClient MockDownloadServer+inits.swift
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockDownloadServer/MockDownloadServer+inits.swift:21:36: error: tuple type '(Data, URLResponse?)' is not convertible to tuple type '(Data, URLResponse)'
19 | ///A mock get server that will always responds with a constant value
20 | init<T:FileDownloadable>(_ type : T.Type , always value : Data){
21 | self._download = { _, _ in (value, URLResponse()) }
| `- error: tuple type '(Data, URLResponse?)' is not convertible to tuple type '(Data, URLResponse)'
22 | }
23 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockDownloadServer/MockDownloadServer+inits.swift:21:56: error: missing argument for parameter 'coder' in call
19 | ///A mock get server that will always responds with a constant value
20 | init<T:FileDownloadable>(_ type : T.Type , always value : Data){
21 | self._download = { _, _ in (value, URLResponse()) }
| `- error: missing argument for parameter 'coder' in call
22 | }
23 |
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockDownloadServer/MockDownloadServer+inits.swift:27:36: error: tuple type '(Data, URLResponse?)' is not convertible to tuple type '(Data, URLResponse)'
25 | init<T:FileDownloadable>(_ type : T.Type,throws value : T.Failure) throws {
26 | let encoded = try T.failureEncoder.encode(value)
27 | self._download = { _, _ in (encoded, URLResponse()) }
| `- error: tuple type '(Data, URLResponse?)' is not convertible to tuple type '(Data, URLResponse)'
28 | }
29 | }
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockDownloadServer/MockDownloadServer+inits.swift:27:58: error: missing argument for parameter 'coder' in call
25 | init<T:FileDownloadable>(_ type : T.Type,throws value : T.Failure) throws {
26 | let encoded = try T.failureEncoder.encode(value)
27 | self._download = { _, _ in (encoded, URLResponse()) }
| `- error: missing argument for parameter 'coder' in call
28 | }
29 | }
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockFileServer/MockFileServer+initalizers.swift:30:20: error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
28 |
29 | self.uploadFile = { _, _ in
30 | return (value,URLResponse())
| `- error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
31 | }
32 | self.encoder = T.encoder
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockFileServer/MockFileServer+initalizers.swift:30:39: error: missing argument for parameter 'coder' in call
28 |
29 | self.uploadFile = { _, _ in
30 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
31 | }
32 | self.encoder = T.encoder
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockFileServer/MockFileServer+initalizers.swift:39:20: error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
37 | init<T:ClientLargeFileUploadable>(for route : T.Type,throws value : T.Failure) where Out : Sendable , Out == T.Failure{
38 | self.uploadFile = { _, _ in
39 | return (value,URLResponse())
| `- error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
40 | }
41 | self.encoder = T.failureEncoder
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockFileServer/MockFileServer+initalizers.swift:39:39: error: missing argument for parameter 'coder' in call
37 | init<T:ClientLargeFileUploadable>(for route : T.Type,throws value : T.Failure) where Out : Sendable , Out == T.Failure{
38 | self.uploadFile = { _, _ in
39 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
40 | }
41 | self.encoder = T.failureEncoder
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
[450/1441] Compiling TSClient MockDownloadServer.swift
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockDownloadServer/MockDownloadServer+inits.swift:21:36: error: tuple type '(Data, URLResponse?)' is not convertible to tuple type '(Data, URLResponse)'
19 | ///A mock get server that will always responds with a constant value
20 | init<T:FileDownloadable>(_ type : T.Type , always value : Data){
21 | self._download = { _, _ in (value, URLResponse()) }
| `- error: tuple type '(Data, URLResponse?)' is not convertible to tuple type '(Data, URLResponse)'
22 | }
23 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockDownloadServer/MockDownloadServer+inits.swift:21:56: error: missing argument for parameter 'coder' in call
19 | ///A mock get server that will always responds with a constant value
20 | init<T:FileDownloadable>(_ type : T.Type , always value : Data){
21 | self._download = { _, _ in (value, URLResponse()) }
| `- error: missing argument for parameter 'coder' in call
22 | }
23 |
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockDownloadServer/MockDownloadServer+inits.swift:27:36: error: tuple type '(Data, URLResponse?)' is not convertible to tuple type '(Data, URLResponse)'
25 | init<T:FileDownloadable>(_ type : T.Type,throws value : T.Failure) throws {
26 | let encoded = try T.failureEncoder.encode(value)
27 | self._download = { _, _ in (encoded, URLResponse()) }
| `- error: tuple type '(Data, URLResponse?)' is not convertible to tuple type '(Data, URLResponse)'
28 | }
29 | }
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockDownloadServer/MockDownloadServer+inits.swift:27:58: error: missing argument for parameter 'coder' in call
25 | init<T:FileDownloadable>(_ type : T.Type,throws value : T.Failure) throws {
26 | let encoded = try T.failureEncoder.encode(value)
27 | self._download = { _, _ in (encoded, URLResponse()) }
| `- error: missing argument for parameter 'coder' in call
28 | }
29 | }
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockFileServer/MockFileServer+initalizers.swift:30:20: error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
28 |
29 | self.uploadFile = { _, _ in
30 | return (value,URLResponse())
| `- error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
31 | }
32 | self.encoder = T.encoder
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockFileServer/MockFileServer+initalizers.swift:30:39: error: missing argument for parameter 'coder' in call
28 |
29 | self.uploadFile = { _, _ in
30 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
31 | }
32 | self.encoder = T.encoder
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockFileServer/MockFileServer+initalizers.swift:39:20: error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
37 | init<T:ClientLargeFileUploadable>(for route : T.Type,throws value : T.Failure) where Out : Sendable , Out == T.Failure{
38 | self.uploadFile = { _, _ in
39 | return (value,URLResponse())
| `- error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
40 | }
41 | self.encoder = T.failureEncoder
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockFileServer/MockFileServer+initalizers.swift:39:39: error: missing argument for parameter 'coder' in call
37 | init<T:ClientLargeFileUploadable>(for route : T.Type,throws value : T.Failure) where Out : Sendable , Out == T.Failure{
38 | self.uploadFile = { _, _ in
39 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
40 | }
41 | self.encoder = T.failureEncoder
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
[451/1441] Compiling TSClient MockFileServer+initalizers.swift
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockDownloadServer/MockDownloadServer+inits.swift:21:36: error: tuple type '(Data, URLResponse?)' is not convertible to tuple type '(Data, URLResponse)'
19 | ///A mock get server that will always responds with a constant value
20 | init<T:FileDownloadable>(_ type : T.Type , always value : Data){
21 | self._download = { _, _ in (value, URLResponse()) }
| `- error: tuple type '(Data, URLResponse?)' is not convertible to tuple type '(Data, URLResponse)'
22 | }
23 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockDownloadServer/MockDownloadServer+inits.swift:21:56: error: missing argument for parameter 'coder' in call
19 | ///A mock get server that will always responds with a constant value
20 | init<T:FileDownloadable>(_ type : T.Type , always value : Data){
21 | self._download = { _, _ in (value, URLResponse()) }
| `- error: missing argument for parameter 'coder' in call
22 | }
23 |
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockDownloadServer/MockDownloadServer+inits.swift:27:36: error: tuple type '(Data, URLResponse?)' is not convertible to tuple type '(Data, URLResponse)'
25 | init<T:FileDownloadable>(_ type : T.Type,throws value : T.Failure) throws {
26 | let encoded = try T.failureEncoder.encode(value)
27 | self._download = { _, _ in (encoded, URLResponse()) }
| `- error: tuple type '(Data, URLResponse?)' is not convertible to tuple type '(Data, URLResponse)'
28 | }
29 | }
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockDownloadServer/MockDownloadServer+inits.swift:27:58: error: missing argument for parameter 'coder' in call
25 | init<T:FileDownloadable>(_ type : T.Type,throws value : T.Failure) throws {
26 | let encoded = try T.failureEncoder.encode(value)
27 | self._download = { _, _ in (encoded, URLResponse()) }
| `- error: missing argument for parameter 'coder' in call
28 | }
29 | }
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockFileServer/MockFileServer+initalizers.swift:30:20: error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
28 |
29 | self.uploadFile = { _, _ in
30 | return (value,URLResponse())
| `- error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
31 | }
32 | self.encoder = T.encoder
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockFileServer/MockFileServer+initalizers.swift:30:39: error: missing argument for parameter 'coder' in call
28 |
29 | self.uploadFile = { _, _ in
30 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
31 | }
32 | self.encoder = T.encoder
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockFileServer/MockFileServer+initalizers.swift:39:20: error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
37 | init<T:ClientLargeFileUploadable>(for route : T.Type,throws value : T.Failure) where Out : Sendable , Out == T.Failure{
38 | self.uploadFile = { _, _ in
39 | return (value,URLResponse())
| `- error: tuple type '(Out, URLResponse?)' is not convertible to tuple type '(Out, URLResponse)'
40 | }
41 | self.encoder = T.failureEncoder
/host/spi-builder-workspace/Sources/TSClient/Mocks/MockFileServer/MockFileServer+initalizers.swift:39:39: error: missing argument for parameter 'coder' in call
37 | init<T:ClientLargeFileUploadable>(for route : T.Type,throws value : T.Failure) where Out : Sendable , Out == T.Failure{
38 | self.uploadFile = { _, _ in
39 | return (value,URLResponse())
| `- error: missing argument for parameter 'coder' in call
40 | }
41 | self.encoder = T.failureEncoder
FoundationNetworking.URLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class URLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
| `- note: 'init(coder:)' declared here
3 |
[457/1441] Compiling TSClient ClientWebSocket+statics.swift
/host/spi-builder-workspace/Sources/TSClient/Protocols/HTML/ClientGetHTMLRoute.swift:18:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
16 | associatedtype Coding : EncoderDecoder = DefaultCoding
17 |
18 | static func get(parameters : [String], queryItems : [String : String],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
19 |
20 | static func get(parameters : [String],queryItems : [URLQueryItem],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/HTML/ClientGetHTMLRoute.swift:20:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
18 | static func get(parameters : [String], queryItems : [String : String],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
19 |
20 | static func get(parameters : [String],queryItems : [URLQueryItem],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
21 |
22 | static var timeoutInterval : TimeInterval? { get }
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/HTML/ClientHTMLRoute.swift:21:12: warning: 'public' modifier is redundant for static property declared in a public extension
19 | }
20 |
21 | static public var method: HttpMethod { .POST}
| `- warning: 'public' modifier is redundant for static property declared in a public extension
22 | }
23 |
/host/spi-builder-workspace/Sources/TSClient/Protocols/HTML/ClientGetHTMLRoute.swift:18:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
16 | associatedtype Coding : EncoderDecoder = DefaultCoding
17 |
18 | static func get(parameters : [String], queryItems : [String : String],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
19 |
20 | static func get(parameters : [String],queryItems : [URLQueryItem],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/HTML/ClientGetHTMLRoute.swift:20:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
18 | static func get(parameters : [String], queryItems : [String : String],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
19 |
20 | static func get(parameters : [String],queryItems : [URLQueryItem],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
21 |
22 | static var timeoutInterval : TimeInterval? { get }
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/HTML/ClientHTMLRoute.swift:21:12: warning: 'public' modifier is redundant for static property declared in a public extension
19 | }
20 |
21 | static public var method: HttpMethod { .POST}
| `- warning: 'public' modifier is redundant for static property declared in a public extension
22 | }
23 |
/host/spi-builder-workspace/Sources/TSClient/Protocols/HTML/ClientGetHTMLRoute.swift:18:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
16 | associatedtype Coding : EncoderDecoder = DefaultCoding
17 |
18 | static func get(parameters : [String], queryItems : [String : String],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
19 |
20 | static func get(parameters : [String],queryItems : [URLQueryItem],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/HTML/ClientGetHTMLRoute.swift:20:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
18 | static func get(parameters : [String], queryItems : [String : String],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
19 |
20 | static func get(parameters : [String],queryItems : [URLQueryItem],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
21 |
22 | static var timeoutInterval : TimeInterval? { get }
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/HTML/ClientHTMLRoute.swift:21:12: warning: 'public' modifier is redundant for static property declared in a public extension
19 | }
20 |
21 | static public var method: HttpMethod { .POST}
| `- warning: 'public' modifier is redundant for static property declared in a public extension
22 | }
23 |
/host/spi-builder-workspace/Sources/TSClient/Protocols/HTML/ClientGetHTMLRoute.swift:18:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
16 | associatedtype Coding : EncoderDecoder = DefaultCoding
17 |
18 | static func get(parameters : [String], queryItems : [String : String],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
19 |
20 | static func get(parameters : [String],queryItems : [URLQueryItem],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/HTML/ClientGetHTMLRoute.swift:20:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
18 | static func get(parameters : [String], queryItems : [String : String],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
19 |
20 | static func get(parameters : [String],queryItems : [URLQueryItem],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
21 |
22 | static var timeoutInterval : TimeInterval? { get }
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/HTML/ClientHTMLRoute.swift:21:12: warning: 'public' modifier is redundant for static property declared in a public extension
19 | }
20 |
21 | static public var method: HttpMethod { .POST}
| `- warning: 'public' modifier is redundant for static property declared in a public extension
22 | }
23 |
/host/spi-builder-workspace/Sources/TSClient/Protocols/HTML/ClientGetHTMLRoute.swift:18:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
16 | associatedtype Coding : EncoderDecoder = DefaultCoding
17 |
18 | static func get(parameters : [String], queryItems : [String : String],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
19 |
20 | static func get(parameters : [String],queryItems : [URLQueryItem],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/HTML/ClientGetHTMLRoute.swift:20:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
18 | static func get(parameters : [String], queryItems : [String : String],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
19 |
20 | static func get(parameters : [String],queryItems : [URLQueryItem],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
21 |
22 | static var timeoutInterval : TimeInterval? { get }
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/HTML/ClientHTMLRoute.swift:21:12: warning: 'public' modifier is redundant for static property declared in a public extension
19 | }
20 |
21 | static public var method: HttpMethod { .POST}
| `- warning: 'public' modifier is redundant for static property declared in a public extension
22 | }
23 |
[462/1441] Compiling TSClient ClientHttp+functions.swift
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientHttpRoute/ClientHttpRoute.swift:26:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
24 |
25 |
26 | static func send(_ data : InputData , parameters : [String], queryItems : [String : String] , server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
27 | client: any UpHttpClient ,
28 | config : Configuration ,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientHttpRoute/ClientHttpRoute.swift:31:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
29 | modify : RequestModifier ) async throws -> ServerResponse<Self>
30 |
31 | static func send(_ data : InputData, parameters : [String], queryItems : [URLQueryItem] , server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
32 | client: any UpHttpClient,
33 | config : Configuration ,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
[463/1441] Compiling TSClient ClientHttpRoute+config.swift
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientHttpRoute/ClientHttpRoute.swift:26:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
24 |
25 |
26 | static func send(_ data : InputData , parameters : [String], queryItems : [String : String] , server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
27 | client: any UpHttpClient ,
28 | config : Configuration ,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientHttpRoute/ClientHttpRoute.swift:31:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
29 | modify : RequestModifier ) async throws -> ServerResponse<Self>
30 |
31 | static func send(_ data : InputData, parameters : [String], queryItems : [URLQueryItem] , server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
32 | client: any UpHttpClient,
33 | config : Configuration ,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
[464/1441] Compiling TSClient ClientHttpRoute.swift
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientHttpRoute/ClientHttpRoute.swift:26:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
24 |
25 |
26 | static func send(_ data : InputData , parameters : [String], queryItems : [String : String] , server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
27 | client: any UpHttpClient ,
28 | config : Configuration ,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientHttpRoute/ClientHttpRoute.swift:31:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
29 | modify : RequestModifier ) async throws -> ServerResponse<Self>
30 |
31 | static func send(_ data : InputData, parameters : [String], queryItems : [URLQueryItem] , server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
32 | client: any UpHttpClient,
33 | config : Configuration ,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
[465/1441] Compiling TSClient CleintBigFile+defaults.swift
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientHttpRoute/ClientHttpRoute.swift:26:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
24 |
25 |
26 | static func send(_ data : InputData , parameters : [String], queryItems : [String : String] , server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
27 | client: any UpHttpClient ,
28 | config : Configuration ,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientHttpRoute/ClientHttpRoute.swift:31:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
29 | modify : RequestModifier ) async throws -> ServerResponse<Self>
30 |
31 | static func send(_ data : InputData, parameters : [String], queryItems : [URLQueryItem] , server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
32 | client: any UpHttpClient,
33 | config : Configuration ,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
[466/1441] Compiling TSClient ClientBigFile+config.swift
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientHttpRoute/ClientHttpRoute.swift:26:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
24 |
25 |
26 | static func send(_ data : InputData , parameters : [String], queryItems : [String : String] , server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
27 | client: any UpHttpClient ,
28 | config : Configuration ,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientHttpRoute/ClientHttpRoute.swift:31:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
29 | modify : RequestModifier ) async throws -> ServerResponse<Self>
30 |
31 | static func send(_ data : InputData, parameters : [String], queryItems : [URLQueryItem] , server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
32 | client: any UpHttpClient,
33 | config : Configuration ,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientFileDonwloadable/ClientFileDownloadable.swift:22:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
20 |
21 |
22 | static func download(parameters : [String], queryItems : [String : String],server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
23 | client: any GETHttpClient,
24 | config : Configuration,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientFileDonwloadable/ClientFileDownloadable.swift:27:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
25 | modify : RequestModifier ) async throws -> ServerResponse<Self>
26 |
27 | static func download(parameters : [String],queryItems : [URLQueryItem], server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
28 | client: any GETHttpClient,
29 | config : Configuration,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientGetRouteProtocol/ClientGetRouteProtocol.swift:24:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
22 | associatedtype Coding : EncoderDecoder = DefaultCoding
23 |
24 | static func get(parameters : [String], queryItems : [String : String],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
25 |
26 | static func get(parameters : [String],queryItems : [URLQueryItem],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientGetRouteProtocol/ClientGetRouteProtocol.swift:26:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
24 | static func get(parameters : [String], queryItems : [String : String],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
25 |
26 | static func get(parameters : [String],queryItems : [URLQueryItem],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
27 |
28 | static var timeoutInterval : TimeInterval? { get }
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientFileDonwloadable/ClientFileDownloadable.swift:22:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
20 |
21 |
22 | static func download(parameters : [String], queryItems : [String : String],server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
23 | client: any GETHttpClient,
24 | config : Configuration,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientFileDonwloadable/ClientFileDownloadable.swift:27:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
25 | modify : RequestModifier ) async throws -> ServerResponse<Self>
26 |
27 | static func download(parameters : [String],queryItems : [URLQueryItem], server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
28 | client: any GETHttpClient,
29 | config : Configuration,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientGetRouteProtocol/ClientGetRouteProtocol.swift:24:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
22 | associatedtype Coding : EncoderDecoder = DefaultCoding
23 |
24 | static func get(parameters : [String], queryItems : [String : String],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
25 |
26 | static func get(parameters : [String],queryItems : [URLQueryItem],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientGetRouteProtocol/ClientGetRouteProtocol.swift:26:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
24 | static func get(parameters : [String], queryItems : [String : String],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
25 |
26 | static func get(parameters : [String],queryItems : [URLQueryItem],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
27 |
28 | static var timeoutInterval : TimeInterval? { get }
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientFileDonwloadable/ClientFileDownloadable.swift:22:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
20 |
21 |
22 | static func download(parameters : [String], queryItems : [String : String],server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
23 | client: any GETHttpClient,
24 | config : Configuration,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientFileDonwloadable/ClientFileDownloadable.swift:27:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
25 | modify : RequestModifier ) async throws -> ServerResponse<Self>
26 |
27 | static func download(parameters : [String],queryItems : [URLQueryItem], server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
28 | client: any GETHttpClient,
29 | config : Configuration,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientGetRouteProtocol/ClientGetRouteProtocol.swift:24:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
22 | associatedtype Coding : EncoderDecoder = DefaultCoding
23 |
24 | static func get(parameters : [String], queryItems : [String : String],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
25 |
26 | static func get(parameters : [String],queryItems : [URLQueryItem],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientGetRouteProtocol/ClientGetRouteProtocol.swift:26:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
24 | static func get(parameters : [String], queryItems : [String : String],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
25 |
26 | static func get(parameters : [String],queryItems : [URLQueryItem],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
27 |
28 | static var timeoutInterval : TimeInterval? { get }
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
[470/1441] Compiling TSClient ClientGet+functions.swift
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientFileDonwloadable/ClientFileDownloadable.swift:22:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
20 |
21 |
22 | static func download(parameters : [String], queryItems : [String : String],server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
23 | client: any GETHttpClient,
24 | config : Configuration,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientFileDonwloadable/ClientFileDownloadable.swift:27:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
25 | modify : RequestModifier ) async throws -> ServerResponse<Self>
26 |
27 | static func download(parameters : [String],queryItems : [URLQueryItem], server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
28 | client: any GETHttpClient,
29 | config : Configuration,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientGetRouteProtocol/ClientGetRouteProtocol.swift:24:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
22 | associatedtype Coding : EncoderDecoder = DefaultCoding
23 |
24 | static func get(parameters : [String], queryItems : [String : String],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
25 |
26 | static func get(parameters : [String],queryItems : [URLQueryItem],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientGetRouteProtocol/ClientGetRouteProtocol.swift:26:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
24 | static func get(parameters : [String], queryItems : [String : String],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
25 |
26 | static func get(parameters : [String],queryItems : [URLQueryItem],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
27 |
28 | static var timeoutInterval : TimeInterval? { get }
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
[471/1441] Compiling TSClient ClientGetRoute+config.swift
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientFileDonwloadable/ClientFileDownloadable.swift:22:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
20 |
21 |
22 | static func download(parameters : [String], queryItems : [String : String],server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
23 | client: any GETHttpClient,
24 | config : Configuration,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientFileDonwloadable/ClientFileDownloadable.swift:27:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
25 | modify : RequestModifier ) async throws -> ServerResponse<Self>
26 |
27 | static func download(parameters : [String],queryItems : [URLQueryItem], server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
28 | client: any GETHttpClient,
29 | config : Configuration,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientGetRouteProtocol/ClientGetRouteProtocol.swift:24:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
22 | associatedtype Coding : EncoderDecoder = DefaultCoding
23 |
24 | static func get(parameters : [String], queryItems : [String : String],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
25 |
26 | static func get(parameters : [String],queryItems : [URLQueryItem],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientGetRouteProtocol/ClientGetRouteProtocol.swift:26:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
24 | static func get(parameters : [String], queryItems : [String : String],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
25 |
26 | static func get(parameters : [String],queryItems : [URLQueryItem],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
27 |
28 | static var timeoutInterval : TimeInterval? { get }
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
[472/1441] Compiling TSClient ClientGetRouteProtocol.swift
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientFileDonwloadable/ClientFileDownloadable.swift:22:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
20 |
21 |
22 | static func download(parameters : [String], queryItems : [String : String],server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
23 | client: any GETHttpClient,
24 | config : Configuration,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientFileDonwloadable/ClientFileDownloadable.swift:27:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
25 | modify : RequestModifier ) async throws -> ServerResponse<Self>
26 |
27 | static func download(parameters : [String],queryItems : [URLQueryItem], server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
28 | client: any GETHttpClient,
29 | config : Configuration,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientGetRouteProtocol/ClientGetRouteProtocol.swift:24:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
22 | associatedtype Coding : EncoderDecoder = DefaultCoding
23 |
24 | static func get(parameters : [String], queryItems : [String : String],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
25 |
26 | static func get(parameters : [String],queryItems : [URLQueryItem],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientGetRouteProtocol/ClientGetRouteProtocol.swift:26:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
24 | static func get(parameters : [String], queryItems : [String : String],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
25 |
26 | static func get(parameters : [String],queryItems : [URLQueryItem],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
27 |
28 | static var timeoutInterval : TimeInterval? { get }
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
[483/1441] Compiling TSClient Configuration.swift
[484/1441] Compiling TSClient RequestModifier.swift
[485/1441] Compiling TSClient ServerResponse.swift
[486/1441] Compiling DequeModule _UnsafeDequeHandle.swift
[487/1441] Compiling DequeModule _UnsafeDequeSegments.swift
[497/1441] Compiling HashTreeCollections _HashTreeIterator.swift
[498/1441] Compiling HashTreeCollections _HashTreeStatistics.swift
[499/1441] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[500/1441] Compiling HashTreeCollections _RawHashNode.swift
[501/1441] Compiling HashTreeCollections _UnmanagedHashNode.swift
[502/1441] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[503/1441] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[504/1441] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[505/1441] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[506/1441] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[507/1441] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[508/1441] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[509/1441] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[510/1441] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[511/1441] Compiling HashTreeCollections TreeSet.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[512/1441] Emitting module TSClient
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientFileDonwloadable/ClientFileDownloadable.swift:22:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
20 |
21 |
22 | static func download(parameters : [String], queryItems : [String : String],server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
23 | client: any GETHttpClient,
24 | config : Configuration,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientFileDonwloadable/ClientFileDownloadable.swift:27:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
25 | modify : RequestModifier ) async throws -> ServerResponse<Self>
26 |
27 | static func download(parameters : [String],queryItems : [URLQueryItem], server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
28 | client: any GETHttpClient,
29 | config : Configuration,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientGetRouteProtocol/ClientGetRouteProtocol.swift:24:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
22 | associatedtype Coding : EncoderDecoder = DefaultCoding
23 |
24 | static func get(parameters : [String], queryItems : [String : String],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
25 |
26 | static func get(parameters : [String],queryItems : [URLQueryItem],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientGetRouteProtocol/ClientGetRouteProtocol.swift:26:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
24 | static func get(parameters : [String], queryItems : [String : String],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
25 |
26 | static func get(parameters : [String],queryItems : [URLQueryItem],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
27 |
28 | static var timeoutInterval : TimeInterval? { get }
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientHttpRoute/ClientHttpRoute.swift:26:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
24 |
25 |
26 | static func send(_ data : InputData , parameters : [String], queryItems : [String : String] , server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
27 | client: any UpHttpClient ,
28 | config : Configuration ,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientHttpRoute/ClientHttpRoute.swift:31:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
29 | modify : RequestModifier ) async throws -> ServerResponse<Self>
30 |
31 | static func send(_ data : InputData, parameters : [String], queryItems : [URLQueryItem] , server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
32 | client: any UpHttpClient,
33 | config : Configuration ,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientLargeFileUploadable/ClientLargeFileUploadable.swift:21:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
19 | public protocol ClientLargeFileUploadable : LargeFileUploadable, EncoderDecoder{
20 | associatedtype Coding : EncoderDecoder = DefaultCoding
21 | static func upload(fileUrl: URL,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
22 | parameters : [String],
23 | queryItems : [String:String] ,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientLargeFileUploadable/ClientLargeFileUploadable.swift:30:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
28 | ) async throws -> ServerResponse<Self>
29 |
30 | static func upload(
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
31 | fileUrl: URL,
32 | parameters : [String],
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientSmallFileUploadable/ClientSmallFileUploadable.swift:35:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
33 | static var timeoutInterval: TimeInterval { get }
34 |
35 | static func upload(metaData : InputData? , data : Data,filename : FileName, parameters : [String], queryItems : [URLQueryItem] , server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
36 | client: any UpHttpClient,
37 | config : Configuration,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientSmallFileUploadable/ClientSmallFileUploadable.swift:40:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
38 | modify : RequestModifier ) async throws -> ServerResponse<Self>
39 |
40 | static func upload(metaData : InputData? , data : Data,filename : FileName, parameters : [String], queryItems : [String:String] , server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
41 | client: any UpHttpClient,
42 | config : Configuration,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/HTML/ClientGetHTMLRoute.swift:18:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
16 | associatedtype Coding : EncoderDecoder = DefaultCoding
17 |
18 | static func get(parameters : [String], queryItems : [String : String],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
19 |
20 | static func get(parameters : [String],queryItems : [URLQueryItem],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/HTML/ClientGetHTMLRoute.swift:20:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
18 | static func get(parameters : [String], queryItems : [String : String],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
19 |
20 | static func get(parameters : [String],queryItems : [URLQueryItem],server : ServerConfiguration , client : any GETHttpClient, config : Configuration,modify : RequestModifier ) async throws -> ServerResponse<Self>
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
21 |
22 | static var timeoutInterval : TimeInterval? { get }
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/HTML/ClientHTMLRoute.swift:21:12: warning: 'public' modifier is redundant for static property declared in a public extension
19 | }
20 |
21 | static public var method: HttpMethod { .POST}
| `- warning: 'public' modifier is redundant for static property declared in a public extension
22 | }
23 |
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:48:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |
47 | public let data : Data
48 | public let response : URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |
50 | public init(_ type : T.Type , data : Data , response : URLResponse){
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:50:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | public let response : URLResponse
49 |
50 | public init(_ type : T.Type , data : Data , response : URLResponse){
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 | self.data = data
52 | self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:75:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | ///If you prefer to work with (Data,URLResponse) tuple
75 | public var asTuple : (Data,URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
76 | return (data,response)
77 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:48:16: error: stored property 'response' of 'Sendable'-conforming generic struct 'ServerResponse' has non-Sendable type 'AnyObject'
46 |
47 | public let data : Data
48 | public let response : URLResponse
| `- error: stored property 'response' of 'Sendable'-conforming generic struct 'ServerResponse' has non-Sendable type 'AnyObject'
49 |
50 | public init(_ type : T.Type , data : Data , response : URLResponse){
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:44:15: error: type 'ServerResponse' does not conform to protocol 'Hashable'
42 | /// .asTuple //-> (Data,URLResponse)
43 | ///```
44 | public struct ServerResponse< T : OutputableRoute> : Sendable , Equatable , Hashable where T : EncoderDecoder{
| `- error: type 'ServerResponse' does not conform to protocol 'Hashable'
45 |
46 |
47 | public let data : Data
48 | public let response : URLResponse
| `- note: stored property type 'URLResponse' (aka 'AnyObject') does not conform to protocol 'Hashable', preventing synthesized conformance of 'ServerResponse<T>' to 'Hashable'
49 |
50 | public init(_ type : T.Type , data : Data , response : URLResponse){
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:44:15: error: type 'ServerResponse<T>' does not conform to protocol 'Equatable'
42 | /// .asTuple //-> (Data,URLResponse)
43 | ///```
44 | public struct ServerResponse< T : OutputableRoute> : Sendable , Equatable , Hashable where T : EncoderDecoder{
| |- error: type 'ServerResponse<T>' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
45 |
46 |
47 | public let data : Data
48 | public let response : URLResponse
| `- note: stored property type 'URLResponse' (aka 'AnyObject') does not conform to protocol 'Equatable', preventing synthesized conformance of 'ServerResponse<T>' to 'Equatable'
49 |
50 | public init(_ type : T.Type , data : Data , response : URLResponse){
Swift.==:1:24: note: candidate would match if 'ServerResponse<T>' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'ServerResponse<T>' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'ServerResponse<T>' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'ServerResponse<T>' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'ServerResponse<T>' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(ServerResponse<T>, ServerResponse<T>) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(ServerResponse<T>, ServerResponse<T>) -> Bool'
3 |
[513/1441] Compiling TSClient ClientBigFile+functions.swift
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientLargeFileUploadable/ClientLargeFileUploadable.swift:21:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
19 | public protocol ClientLargeFileUploadable : LargeFileUploadable, EncoderDecoder{
20 | associatedtype Coding : EncoderDecoder = DefaultCoding
21 | static func upload(fileUrl: URL,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
22 | parameters : [String],
23 | queryItems : [String:String] ,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientLargeFileUploadable/ClientLargeFileUploadable.swift:30:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
28 | ) async throws -> ServerResponse<Self>
29 |
30 | static func upload(
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
31 | fileUrl: URL,
32 | parameters : [String],
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientSmallFileUploadable/ClientSmallFileUploadable.swift:35:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
33 | static var timeoutInterval: TimeInterval { get }
34 |
35 | static func upload(metaData : InputData? , data : Data,filename : FileName, parameters : [String], queryItems : [URLQueryItem] , server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
36 | client: any UpHttpClient,
37 | config : Configuration,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientSmallFileUploadable/ClientSmallFileUploadable.swift:40:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
38 | modify : RequestModifier ) async throws -> ServerResponse<Self>
39 |
40 | static func upload(metaData : InputData? , data : Data,filename : FileName, parameters : [String], queryItems : [String:String] , server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
41 | client: any UpHttpClient,
42 | config : Configuration,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
[514/1441] Compiling TSClient ClientLargeFileUploadable.swift
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientLargeFileUploadable/ClientLargeFileUploadable.swift:21:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
19 | public protocol ClientLargeFileUploadable : LargeFileUploadable, EncoderDecoder{
20 | associatedtype Coding : EncoderDecoder = DefaultCoding
21 | static func upload(fileUrl: URL,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
22 | parameters : [String],
23 | queryItems : [String:String] ,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientLargeFileUploadable/ClientLargeFileUploadable.swift:30:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
28 | ) async throws -> ServerResponse<Self>
29 |
30 | static func upload(
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
31 | fileUrl: URL,
32 | parameters : [String],
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientSmallFileUploadable/ClientSmallFileUploadable.swift:35:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
33 | static var timeoutInterval: TimeInterval { get }
34 |
35 | static func upload(metaData : InputData? , data : Data,filename : FileName, parameters : [String], queryItems : [URLQueryItem] , server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
36 | client: any UpHttpClient,
37 | config : Configuration,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientSmallFileUploadable/ClientSmallFileUploadable.swift:40:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
38 | modify : RequestModifier ) async throws -> ServerResponse<Self>
39 |
40 | static func upload(metaData : InputData? , data : Data,filename : FileName, parameters : [String], queryItems : [String:String] , server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
41 | client: any UpHttpClient,
42 | config : Configuration,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientLargeFileUploadable/ClientLargeFileUploadable.swift:21:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
19 | public protocol ClientLargeFileUploadable : LargeFileUploadable, EncoderDecoder{
20 | associatedtype Coding : EncoderDecoder = DefaultCoding
21 | static func upload(fileUrl: URL,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
22 | parameters : [String],
23 | queryItems : [String:String] ,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientLargeFileUploadable/ClientLargeFileUploadable.swift:30:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
28 | ) async throws -> ServerResponse<Self>
29 |
30 | static func upload(
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
31 | fileUrl: URL,
32 | parameters : [String],
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientSmallFileUploadable/ClientSmallFileUploadable.swift:35:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
33 | static var timeoutInterval: TimeInterval { get }
34 |
35 | static func upload(metaData : InputData? , data : Data,filename : FileName, parameters : [String], queryItems : [URLQueryItem] , server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
36 | client: any UpHttpClient,
37 | config : Configuration,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientSmallFileUploadable/ClientSmallFileUploadable.swift:40:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
38 | modify : RequestModifier ) async throws -> ServerResponse<Self>
39 |
40 | static func upload(metaData : InputData? , data : Data,filename : FileName, parameters : [String], queryItems : [String:String] , server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
41 | client: any UpHttpClient,
42 | config : Configuration,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientLargeFileUploadable/ClientLargeFileUploadable.swift:21:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
19 | public protocol ClientLargeFileUploadable : LargeFileUploadable, EncoderDecoder{
20 | associatedtype Coding : EncoderDecoder = DefaultCoding
21 | static func upload(fileUrl: URL,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
22 | parameters : [String],
23 | queryItems : [String:String] ,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientLargeFileUploadable/ClientLargeFileUploadable.swift:30:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
28 | ) async throws -> ServerResponse<Self>
29 |
30 | static func upload(
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
31 | fileUrl: URL,
32 | parameters : [String],
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientSmallFileUploadable/ClientSmallFileUploadable.swift:35:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
33 | static var timeoutInterval: TimeInterval { get }
34 |
35 | static func upload(metaData : InputData? , data : Data,filename : FileName, parameters : [String], queryItems : [URLQueryItem] , server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
36 | client: any UpHttpClient,
37 | config : Configuration,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientSmallFileUploadable/ClientSmallFileUploadable.swift:40:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
38 | modify : RequestModifier ) async throws -> ServerResponse<Self>
39 |
40 | static func upload(metaData : InputData? , data : Data,filename : FileName, parameters : [String], queryItems : [String:String] , server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
41 | client: any UpHttpClient,
42 | config : Configuration,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientLargeFileUploadable/ClientLargeFileUploadable.swift:21:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
19 | public protocol ClientLargeFileUploadable : LargeFileUploadable, EncoderDecoder{
20 | associatedtype Coding : EncoderDecoder = DefaultCoding
21 | static func upload(fileUrl: URL,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
22 | parameters : [String],
23 | queryItems : [String:String] ,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientLargeFileUploadable/ClientLargeFileUploadable.swift:30:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
28 | ) async throws -> ServerResponse<Self>
29 |
30 | static func upload(
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
31 | fileUrl: URL,
32 | parameters : [String],
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientSmallFileUploadable/ClientSmallFileUploadable.swift:35:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
33 | static var timeoutInterval: TimeInterval { get }
34 |
35 | static func upload(metaData : InputData? , data : Data,filename : FileName, parameters : [String], queryItems : [URLQueryItem] , server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
36 | client: any UpHttpClient,
37 | config : Configuration,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/TSClient/Protocols/ClientSmallFileUploadable/ClientSmallFileUploadable.swift:40:17: error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
38 | modify : RequestModifier ) async throws -> ServerResponse<Self>
39 |
40 | static func upload(metaData : InputData? , data : Data,filename : FileName, parameters : [String], queryItems : [String:String] , server: ServerConfiguration,
| `- error: cannot use struct 'URLRequest' here; 'FoundationNetworking' was not imported by this file
41 | client: any UpHttpClient,
42 | config : Configuration,
FoundationNetworking.URLRequest:1:15: note: struct declared here
1 | public struct URLRequest : ReferenceConvertible, Equatable, Hashable, Sendable {
| `- note: struct declared here
2 | public typealias ReferenceType = NSURLRequest
3 | public typealias CachePolicy = NSURLRequest.CachePolicy
[518/1441] Compiling TSClient WebSocketClient.swift
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:48:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |
47 | public let data : Data
48 | public let response : URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |
50 | public init(_ type : T.Type , data : Data , response : URLResponse){
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:50:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | public let response : URLResponse
49 |
50 | public init(_ type : T.Type , data : Data , response : URLResponse){
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 | self.data = data
52 | self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:75:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | ///If you prefer to work with (Data,URLResponse) tuple
75 | public var asTuple : (Data,URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
76 | return (data,response)
77 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:48:16: error: stored property 'response' of 'Sendable'-conforming generic struct 'ServerResponse' has non-Sendable type 'AnyObject'
46 |
47 | public let data : Data
48 | public let response : URLResponse
| `- error: stored property 'response' of 'Sendable'-conforming generic struct 'ServerResponse' has non-Sendable type 'AnyObject'
49 |
50 | public init(_ type : T.Type , data : Data , response : URLResponse){
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:44:15: error: type 'ServerResponse' does not conform to protocol 'Hashable'
42 | /// .asTuple //-> (Data,URLResponse)
43 | ///```
44 | public struct ServerResponse< T : OutputableRoute> : Sendable , Equatable , Hashable where T : EncoderDecoder{
| `- error: type 'ServerResponse' does not conform to protocol 'Hashable'
45 |
46 |
47 | public let data : Data
48 | public let response : URLResponse
| `- note: stored property type 'URLResponse' (aka 'AnyObject') does not conform to protocol 'Hashable', preventing synthesized conformance of 'ServerResponse<T>' to 'Hashable'
49 |
50 | public init(_ type : T.Type , data : Data , response : URLResponse){
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:44:15: error: type 'ServerResponse<T>' does not conform to protocol 'Equatable'
42 | /// .asTuple //-> (Data,URLResponse)
43 | ///```
44 | public struct ServerResponse< T : OutputableRoute> : Sendable , Equatable , Hashable where T : EncoderDecoder{
| |- error: type 'ServerResponse<T>' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
45 |
46 |
47 | public let data : Data
48 | public let response : URLResponse
| `- note: stored property type 'URLResponse' (aka 'AnyObject') does not conform to protocol 'Equatable', preventing synthesized conformance of 'ServerResponse<T>' to 'Equatable'
49 |
50 | public init(_ type : T.Type , data : Data , response : URLResponse){
Swift.==:1:24: note: candidate would match if 'ServerResponse<T>' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'ServerResponse<T>' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'ServerResponse<T>' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'ServerResponse<T>' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'ServerResponse<T>' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(ServerResponse<T>, ServerResponse<T>) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(ServerResponse<T>, ServerResponse<T>) -> Bool'
3 |
[519/1441] Compiling TSClient WebSocketSession.swift
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:48:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |
47 | public let data : Data
48 | public let response : URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |
50 | public init(_ type : T.Type , data : Data , response : URLResponse){
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:50:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | public let response : URLResponse
49 |
50 | public init(_ type : T.Type , data : Data , response : URLResponse){
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 | self.data = data
52 | self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:75:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | ///If you prefer to work with (Data,URLResponse) tuple
75 | public var asTuple : (Data,URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
76 | return (data,response)
77 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:48:16: error: stored property 'response' of 'Sendable'-conforming generic struct 'ServerResponse' has non-Sendable type 'AnyObject'
46 |
47 | public let data : Data
48 | public let response : URLResponse
| `- error: stored property 'response' of 'Sendable'-conforming generic struct 'ServerResponse' has non-Sendable type 'AnyObject'
49 |
50 | public init(_ type : T.Type , data : Data , response : URLResponse){
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:44:15: error: type 'ServerResponse' does not conform to protocol 'Hashable'
42 | /// .asTuple //-> (Data,URLResponse)
43 | ///```
44 | public struct ServerResponse< T : OutputableRoute> : Sendable , Equatable , Hashable where T : EncoderDecoder{
| `- error: type 'ServerResponse' does not conform to protocol 'Hashable'
45 |
46 |
47 | public let data : Data
48 | public let response : URLResponse
| `- note: stored property type 'URLResponse' (aka 'AnyObject') does not conform to protocol 'Hashable', preventing synthesized conformance of 'ServerResponse<T>' to 'Hashable'
49 |
50 | public init(_ type : T.Type , data : Data , response : URLResponse){
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:44:15: error: type 'ServerResponse<T>' does not conform to protocol 'Equatable'
42 | /// .asTuple //-> (Data,URLResponse)
43 | ///```
44 | public struct ServerResponse< T : OutputableRoute> : Sendable , Equatable , Hashable where T : EncoderDecoder{
| |- error: type 'ServerResponse<T>' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
45 |
46 |
47 | public let data : Data
48 | public let response : URLResponse
| `- note: stored property type 'URLResponse' (aka 'AnyObject') does not conform to protocol 'Equatable', preventing synthesized conformance of 'ServerResponse<T>' to 'Equatable'
49 |
50 | public init(_ type : T.Type , data : Data , response : URLResponse){
Swift.==:1:24: note: candidate would match if 'ServerResponse<T>' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'ServerResponse<T>' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'ServerResponse<T>' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'ServerResponse<T>' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'ServerResponse<T>' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(ServerResponse<T>, ServerResponse<T>) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(ServerResponse<T>, ServerResponse<T>) -> Bool'
3 |
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:48:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |
47 | public let data : Data
48 | public let response : URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |
50 | public init(_ type : T.Type , data : Data , response : URLResponse){
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:50:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | public let response : URLResponse
49 |
50 | public init(_ type : T.Type , data : Data , response : URLResponse){
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 | self.data = data
52 | self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:75:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | ///If you prefer to work with (Data,URLResponse) tuple
75 | public var asTuple : (Data,URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
76 | return (data,response)
77 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:48:16: error: stored property 'response' of 'Sendable'-conforming generic struct 'ServerResponse' has non-Sendable type 'AnyObject'
46 |
47 | public let data : Data
48 | public let response : URLResponse
| `- error: stored property 'response' of 'Sendable'-conforming generic struct 'ServerResponse' has non-Sendable type 'AnyObject'
49 |
50 | public init(_ type : T.Type , data : Data , response : URLResponse){
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:44:15: error: type 'ServerResponse' does not conform to protocol 'Hashable'
42 | /// .asTuple //-> (Data,URLResponse)
43 | ///```
44 | public struct ServerResponse< T : OutputableRoute> : Sendable , Equatable , Hashable where T : EncoderDecoder{
| `- error: type 'ServerResponse' does not conform to protocol 'Hashable'
45 |
46 |
47 | public let data : Data
48 | public let response : URLResponse
| `- note: stored property type 'URLResponse' (aka 'AnyObject') does not conform to protocol 'Hashable', preventing synthesized conformance of 'ServerResponse<T>' to 'Hashable'
49 |
50 | public init(_ type : T.Type , data : Data , response : URLResponse){
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:44:15: error: type 'ServerResponse<T>' does not conform to protocol 'Equatable'
42 | /// .asTuple //-> (Data,URLResponse)
43 | ///```
44 | public struct ServerResponse< T : OutputableRoute> : Sendable , Equatable , Hashable where T : EncoderDecoder{
| |- error: type 'ServerResponse<T>' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
45 |
46 |
47 | public let data : Data
48 | public let response : URLResponse
| `- note: stored property type 'URLResponse' (aka 'AnyObject') does not conform to protocol 'Equatable', preventing synthesized conformance of 'ServerResponse<T>' to 'Equatable'
49 |
50 | public init(_ type : T.Type , data : Data , response : URLResponse){
Swift.==:1:24: note: candidate would match if 'ServerResponse<T>' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'ServerResponse<T>' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'ServerResponse<T>' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'ServerResponse<T>' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'ServerResponse<T>' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(ServerResponse<T>, ServerResponse<T>) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(ServerResponse<T>, ServerResponse<T>) -> Bool'
3 |
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:48:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |
47 | public let data : Data
48 | public let response : URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |
50 | public init(_ type : T.Type , data : Data , response : URLResponse){
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:50:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | public let response : URLResponse
49 |
50 | public init(_ type : T.Type , data : Data , response : URLResponse){
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 | self.data = data
52 | self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:75:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | ///If you prefer to work with (Data,URLResponse) tuple
75 | public var asTuple : (Data,URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
76 | return (data,response)
77 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:48:16: error: stored property 'response' of 'Sendable'-conforming generic struct 'ServerResponse' has non-Sendable type 'AnyObject'
46 |
47 | public let data : Data
48 | public let response : URLResponse
| `- error: stored property 'response' of 'Sendable'-conforming generic struct 'ServerResponse' has non-Sendable type 'AnyObject'
49 |
50 | public init(_ type : T.Type , data : Data , response : URLResponse){
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:44:15: error: type 'ServerResponse' does not conform to protocol 'Hashable'
42 | /// .asTuple //-> (Data,URLResponse)
43 | ///```
44 | public struct ServerResponse< T : OutputableRoute> : Sendable , Equatable , Hashable where T : EncoderDecoder{
| `- error: type 'ServerResponse' does not conform to protocol 'Hashable'
45 |
46 |
47 | public let data : Data
48 | public let response : URLResponse
| `- note: stored property type 'URLResponse' (aka 'AnyObject') does not conform to protocol 'Hashable', preventing synthesized conformance of 'ServerResponse<T>' to 'Hashable'
49 |
50 | public init(_ type : T.Type , data : Data , response : URLResponse){
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:44:15: error: type 'ServerResponse<T>' does not conform to protocol 'Equatable'
42 | /// .asTuple //-> (Data,URLResponse)
43 | ///```
44 | public struct ServerResponse< T : OutputableRoute> : Sendable , Equatable , Hashable where T : EncoderDecoder{
| |- error: type 'ServerResponse<T>' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
45 |
46 |
47 | public let data : Data
48 | public let response : URLResponse
| `- note: stored property type 'URLResponse' (aka 'AnyObject') does not conform to protocol 'Equatable', preventing synthesized conformance of 'ServerResponse<T>' to 'Equatable'
49 |
50 | public init(_ type : T.Type , data : Data , response : URLResponse){
Swift.==:1:24: note: candidate would match if 'ServerResponse<T>' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'ServerResponse<T>' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'ServerResponse<T>' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'ServerResponse<T>' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'ServerResponse<T>' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(ServerResponse<T>, ServerResponse<T>) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(ServerResponse<T>, ServerResponse<T>) -> Bool'
3 |
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:48:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |
47 | public let data : Data
48 | public let response : URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |
50 | public init(_ type : T.Type , data : Data , response : URLResponse){
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:50:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | public let response : URLResponse
49 |
50 | public init(_ type : T.Type , data : Data , response : URLResponse){
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
51 | self.data = data
52 | self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:75:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |
74 | ///If you prefer to work with (Data,URLResponse) tuple
75 | public var asTuple : (Data,URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
76 | return (data,response)
77 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:48:16: error: stored property 'response' of 'Sendable'-conforming generic struct 'ServerResponse' has non-Sendable type 'AnyObject'
46 |
47 | public let data : Data
48 | public let response : URLResponse
| `- error: stored property 'response' of 'Sendable'-conforming generic struct 'ServerResponse' has non-Sendable type 'AnyObject'
49 |
50 | public init(_ type : T.Type , data : Data , response : URLResponse){
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:44:15: error: type 'ServerResponse' does not conform to protocol 'Hashable'
42 | /// .asTuple //-> (Data,URLResponse)
43 | ///```
44 | public struct ServerResponse< T : OutputableRoute> : Sendable , Equatable , Hashable where T : EncoderDecoder{
| `- error: type 'ServerResponse' does not conform to protocol 'Hashable'
45 |
46 |
47 | public let data : Data
48 | public let response : URLResponse
| `- note: stored property type 'URLResponse' (aka 'AnyObject') does not conform to protocol 'Hashable', preventing synthesized conformance of 'ServerResponse<T>' to 'Hashable'
49 |
50 | public init(_ type : T.Type , data : Data , response : URLResponse){
/host/spi-builder-workspace/Sources/TSClient/Types/ServerResponse.swift:44:15: error: type 'ServerResponse<T>' does not conform to protocol 'Equatable'
42 | /// .asTuple //-> (Data,URLResponse)
43 | ///```
44 | public struct ServerResponse< T : OutputableRoute> : Sendable , Equatable , Hashable where T : EncoderDecoder{
| |- error: type 'ServerResponse<T>' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
45 |
46 |
47 | public let data : Data
48 | public let response : URLResponse
| `- note: stored property type 'URLResponse' (aka 'AnyObject') does not conform to protocol 'Equatable', preventing synthesized conformance of 'ServerResponse<T>' to 'Equatable'
49 |
50 | public init(_ type : T.Type , data : Data , response : URLResponse){
Swift.==:1:24: note: candidate would match if 'ServerResponse<T>' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'ServerResponse<T>' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'ServerResponse<T>' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'ServerResponse<T>' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'ServerResponse<T>' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'ServerResponse<T>' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'ServerResponse<T>' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'ServerResponse<T>' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(ServerResponse<T>, ServerResponse<T>) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(ServerResponse<T>, ServerResponse<T>) -> Bool'
3 |
[522/1441] Compiling tls_method.cc
[522/1441] Compiling tls_record.cc
BUILD FAILURE 6.3 linux