Build Information
Failed to build BillboardSwiftLibrary with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Fitzafful/BillboardSwiftLibrary.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/Fitzafful/BillboardSwiftLibrary
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 56797c8 Deletion of Build Files
Cloned https://github.com/Fitzafful/BillboardSwiftLibrary.git
Revision (git rev-parse @):
56797c85c542221862e99aca2c0ee78fffa15365
SUCCESS checkout https://github.com/Fitzafful/BillboardSwiftLibrary.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/Fitzafful/BillboardSwiftLibrary.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/scinfu/SwiftSoup.git
[1/3058] Fetching swiftsoup
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.99s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 1.7.5 (1.14s)
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 1.7.5
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/53] Emitting module SwiftSoup
[5/60] Compiling SwiftSoup TokeniserState.swift
[6/60] Compiling SwiftSoup TreeBuilder.swift
[7/60] Compiling SwiftSoup UnicodeScalar.swift
[8/60] Compiling SwiftSoup Validate.swift
[9/60] Compiling SwiftSoup Whitelist.swift
[10/60] Compiling SwiftSoup XmlDeclaration.swift
[11/60] Compiling SwiftSoup XmlTreeBuilder.swift
[12/60] Compiling SwiftSoup DocumentType.swift
[13/60] Compiling SwiftSoup Element.swift
[14/60] Compiling SwiftSoup Elements.swift
[15/60] Compiling SwiftSoup Entities.swift
[16/60] Compiling SwiftSoup Evaluator.swift
[17/60] Compiling SwiftSoup Exception.swift
[18/60] Compiling SwiftSoup FormElement.swift
[19/60] Compiling SwiftSoup ArrayExt.swift
[20/60] Compiling SwiftSoup Attribute.swift
[21/60] Compiling SwiftSoup Attributes.swift
[22/60] Compiling SwiftSoup BooleanAttribute.swift
[23/60] Compiling SwiftSoup CharacterExt.swift
[24/60] Compiling SwiftSoup CharacterReader.swift
[25/60] Compiling SwiftSoup Cleaner.swift
[26/60] Compiling SwiftSoup Collector.swift
[27/60] Compiling SwiftSoup CombiningEvaluator.swift
[28/60] Compiling SwiftSoup Comment.swift
[29/60] Compiling SwiftSoup Connection.swift
[30/60] Compiling SwiftSoup DataNode.swift
[31/60] Compiling SwiftSoup DataUtil.swift
[32/60] Compiling SwiftSoup Document.swift
[33/60] Compiling SwiftSoup HtmlTreeBuilder.swift
[34/60] Compiling SwiftSoup HtmlTreeBuilderState.swift
[35/60] Compiling SwiftSoup HttpStatusException.swift
[36/60] Compiling SwiftSoup Node.swift
[37/60] Compiling SwiftSoup NodeTraversor.swift
[38/60] Compiling SwiftSoup NodeVisitor.swift
[39/60] Compiling SwiftSoup OrderedDictionary.swift
[40/60] Compiling SwiftSoup StructuralEvaluator.swift
[41/60] Compiling SwiftSoup SwiftSoup.swift
[42/60] Compiling SwiftSoup Tag.swift
[43/60] Compiling SwiftSoup TextNode.swift
[44/60] Compiling SwiftSoup Token.swift
[45/60] Compiling SwiftSoup TokenQueue.swift
[46/60] Compiling SwiftSoup Tokeniser.swift
[47/60] Compiling SwiftSoup OrderedSet.swift
[48/60] Compiling SwiftSoup ParseError.swift
[49/60] Compiling SwiftSoup ParseErrorList.swift
[50/60] Compiling SwiftSoup ParseSettings.swift
[51/60] Compiling SwiftSoup Parser.swift
[52/60] Compiling SwiftSoup Pattern.swift
[53/60] Compiling SwiftSoup QueryParser.swift
[54/60] Compiling SwiftSoup Selector.swift
[55/60] Compiling SwiftSoup SerializationException.swift
[56/60] Compiling SwiftSoup SimpleDictionary.swift
[57/60] Compiling SwiftSoup StreamReader.swift
[58/60] Compiling SwiftSoup String.swift
[59/60] Compiling SwiftSoup StringBuilder.swift
[60/60] Compiling SwiftSoup StringUtil.swift
[62/69] Compiling BillboardSwiftLibrary Result.swift
/host/spi-builder-workspace/Sources/Result.swift:35:20: warning: enum element with associated values must have at least one associated value; this will be an error in the future version of Swift
33 |
34 | public enum FetchError: Error{
35 | case NetworkFailed()
| |- warning: enum element with associated values must have at least one associated value; this will be an error in the future version of Swift
| |- note: did you mean to remove the empty associated value list?
| `- note: did you mean to explicitly add a 'Void' associated value?
36 | case AudiomackError(code:Int, message:String)
37 | }
[63/69] Compiling BillboardSwiftLibrary ChartRequests.swift
/host/spi-builder-workspace/Sources/ChartRequests.swift:45:18: error: cannot find type 'URLRequest' in scope
43 | let parameter: ChartParameter
44 |
45 | var urlRequest: URLRequest {
| `- error: cannot find type 'URLRequest' in scope
46 | let url: URL! = URL(string: BASE_URL + parameter.name + "/" + parameter.date)
47 | var request = URLRequest(url: url)
/host/spi-builder-workspace/Sources/ChartRequests.swift:59:18: error: cannot find type 'URLRequest' in scope
57 |
58 | public protocol ApiRequest {
59 | var urlRequest: URLRequest { get }
| `- error: cannot find type 'URLRequest' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/ChartRequests.swift:68:30: error: cannot find type 'URLRequest' in scope
66 |
67 | public protocol URLSessionProtocol {
68 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- error: cannot find type 'URLRequest' in scope
69 | }
70 |
/host/spi-builder-workspace/Sources/ChartRequests.swift:68:79: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 |
67 | public protocol URLSessionProtocol {
68 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
69 | }
70 |
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/ChartRequests.swift:68:113: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 |
67 | public protocol URLSessionProtocol {
68 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
69 | }
70 |
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ChartRequests.swift:71:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
69 | }
70 |
71 | extension URLSession: URLSessionProtocol { }
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
72 |
73 | public class ApiClientImplementation: ApiClient {
/host/spi-builder-workspace/Sources/ChartRequests.swift:76:39: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
74 | public let urlSession: URLSessionProtocol
75 |
76 | public init(urlSessionConfiguration: URLSessionConfiguration, completionHandlerQueue: OperationQueue) {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
77 | urlSession = URLSession(configuration: urlSessionConfiguration, delegate: nil, delegateQueue: completionHandlerQueue)
78 | }
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ChartRequests.swift:47:17: error: cannot find 'URLRequest' in scope
45 | var urlRequest: URLRequest {
46 | let url: URL! = URL(string: BASE_URL + parameter.name + "/" + parameter.date)
47 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
48 | request.httpMethod = "GET"
49 |
/host/spi-builder-workspace/Sources/ChartRequests.swift:77:16: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
75 |
76 | public init(urlSessionConfiguration: URLSessionConfiguration, completionHandlerQueue: OperationQueue) {
77 | urlSession = URLSession(configuration: urlSessionConfiguration, delegate: nil, delegateQueue: completionHandlerQueue)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
78 | }
79 |
/host/spi-builder-workspace/Sources/ChartRequests.swift:77:77: error: 'nil' requires a contextual type
75 |
76 | public init(urlSessionConfiguration: URLSessionConfiguration, completionHandlerQueue: OperationQueue) {
77 | urlSession = URLSession(configuration: urlSessionConfiguration, delegate: nil, delegateQueue: completionHandlerQueue)
| `- error: 'nil' requires a contextual type
78 | }
79 |
/host/spi-builder-workspace/Sources/ChartRequests.swift:95:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
93 |
94 | let successRange = 200...299
95 | if successRange.contains(httpUrlResponse.statusCode) {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
96 | do {
97 | let response = try ApiResponse<T>(data: data, httpUrlResponse: httpUrlResponse)
/host/spi-builder-workspace/Sources/ChartRequests.swift:117:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
115 |
116 | let successRange = 200...299
117 | if successRange.contains(httpUrlResponse.statusCode) {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
118 | if let response:String = String(data: data!, encoding: .utf8) {
119 | completionHandler(.success(response))
error: emit-module command failed with exit code 1 (use -v to see invocation)
[64/69] Emitting module BillboardSwiftLibrary
/host/spi-builder-workspace/Sources/ChartGateway.swift:63:23: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 | struct ApiError: Error {
62 | let data: Data?
63 | let httpUrlResponse: HTTPURLResponse
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
64 | }
65 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ChartGateway.swift:63:6: warning: stored property 'httpUrlResponse' of 'Sendable'-conforming struct 'ApiError' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
61 | struct ApiError: Error {
62 | let data: Data?
63 | let httpUrlResponse: HTTPURLResponse
| `- warning: stored property 'httpUrlResponse' of 'Sendable'-conforming struct 'ApiError' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
64 | }
65 |
/host/spi-builder-workspace/Sources/ChartGateway.swift:71:23: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
69 |
70 | let error: Error
71 | let httpUrlResponse: HTTPURLResponse
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
72 | let data: Data?
73 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ChartGateway.swift:71:6: warning: stored property 'httpUrlResponse' of 'Sendable'-conforming struct 'ApiParseError' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
69 |
70 | let error: Error
71 | let httpUrlResponse: HTTPURLResponse
| `- warning: stored property 'httpUrlResponse' of 'Sendable'-conforming struct 'ApiParseError' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
72 | let data: Data?
73 |
/host/spi-builder-workspace/Sources/ChartGateway.swift:83:23: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 | public struct ApiResponse<T: InitializableWithData> {
82 | let entity: T
83 | let httpUrlResponse: HTTPURLResponse
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
84 | let data: Data?
85 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ChartGateway.swift:86:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
84 | let data: Data?
85 |
86 | public init(data: Data?, httpUrlResponse: HTTPURLResponse) throws {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
87 | do {
88 | self.entity = try T(data: data)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ChartRequests.swift:45:18: error: cannot find type 'URLRequest' in scope
43 | let parameter: ChartParameter
44 |
45 | var urlRequest: URLRequest {
| `- error: cannot find type 'URLRequest' in scope
46 | let url: URL! = URL(string: BASE_URL + parameter.name + "/" + parameter.date)
47 | var request = URLRequest(url: url)
/host/spi-builder-workspace/Sources/ChartRequests.swift:59:18: error: cannot find type 'URLRequest' in scope
57 |
58 | public protocol ApiRequest {
59 | var urlRequest: URLRequest { get }
| `- error: cannot find type 'URLRequest' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/ChartRequests.swift:68:30: error: cannot find type 'URLRequest' in scope
66 |
67 | public protocol URLSessionProtocol {
68 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- error: cannot find type 'URLRequest' in scope
69 | }
70 |
/host/spi-builder-workspace/Sources/ChartRequests.swift:68:79: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 |
67 | public protocol URLSessionProtocol {
68 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
69 | }
70 |
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/ChartRequests.swift:68:113: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 |
67 | public protocol URLSessionProtocol {
68 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
69 | }
70 |
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ChartRequests.swift:71:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
69 | }
70 |
71 | extension URLSession: URLSessionProtocol { }
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
72 |
73 | public class ApiClientImplementation: ApiClient {
/host/spi-builder-workspace/Sources/ChartRequests.swift:76:39: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
74 | public let urlSession: URLSessionProtocol
75 |
76 | public init(urlSessionConfiguration: URLSessionConfiguration, completionHandlerQueue: OperationQueue) {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
77 | urlSession = URLSession(configuration: urlSessionConfiguration, delegate: nil, delegateQueue: completionHandlerQueue)
78 | }
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Result.swift:35:20: warning: enum element with associated values must have at least one associated value; this will be an error in the future version of Swift
33 |
34 | public enum FetchError: Error{
35 | case NetworkFailed()
| |- warning: enum element with associated values must have at least one associated value; this will be an error in the future version of Swift
| |- note: did you mean to remove the empty associated value list?
| `- note: did you mean to explicitly add a 'Void' associated value?
36 | case AudiomackError(code:Int, message:String)
37 | }
[65/69] Compiling BillboardSwiftLibrary ChartEntry.swift
[66/69] Compiling BillboardSwiftLibrary ChartEnums.swift
[67/69] Compiling BillboardSwiftLibrary BillboardManager.swift
/host/spi-builder-workspace/Sources/BillboardManager.swift:30:88: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
28 |
29 | public init() {
30 | apiClient = ApiClientImplementation(urlSessionConfiguration: URLSessionConfiguration.default,completionHandlerQueue: OperationQueue.main)
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
31 | gateway = ChartGateway(apiClient: apiClient)
32 | }
[68/69] Compiling BillboardSwiftLibrary ChartParser.swift
[69/69] Compiling BillboardSwiftLibrary ChartGateway.swift
/host/spi-builder-workspace/Sources/ChartGateway.swift:63:23: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 | struct ApiError: Error {
62 | let data: Data?
63 | let httpUrlResponse: HTTPURLResponse
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
64 | }
65 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ChartGateway.swift:63:6: warning: stored property 'httpUrlResponse' of 'Sendable'-conforming struct 'ApiError' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
61 | struct ApiError: Error {
62 | let data: Data?
63 | let httpUrlResponse: HTTPURLResponse
| `- warning: stored property 'httpUrlResponse' of 'Sendable'-conforming struct 'ApiError' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
64 | }
65 |
/host/spi-builder-workspace/Sources/ChartGateway.swift:71:23: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
69 |
70 | let error: Error
71 | let httpUrlResponse: HTTPURLResponse
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
72 | let data: Data?
73 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ChartGateway.swift:71:6: warning: stored property 'httpUrlResponse' of 'Sendable'-conforming struct 'ApiParseError' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
69 |
70 | let error: Error
71 | let httpUrlResponse: HTTPURLResponse
| `- warning: stored property 'httpUrlResponse' of 'Sendable'-conforming struct 'ApiParseError' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
72 | let data: Data?
73 |
/host/spi-builder-workspace/Sources/ChartGateway.swift:83:23: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 | public struct ApiResponse<T: InitializableWithData> {
82 | let entity: T
83 | let httpUrlResponse: HTTPURLResponse
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
84 | let data: Data?
85 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ChartGateway.swift:86:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
84 | let data: Data?
85 |
86 | public init(data: Data?, httpUrlResponse: HTTPURLResponse) throws {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
87 | do {
88 | self.entity = try T(data: data)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
BUILD FAILURE 6.0 linux