Build Information
Failed to build cujira, reference 0.4.1 (e7fec7
), with Swift 6.1 for Linux on 25 Apr 2025 11:36:38 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cats-oss/cujira.git
Reference: 0.4.1
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/cats-oss/cujira
* tag 0.4.1 -> FETCH_HEAD
HEAD is now at e7fec7d fix multi issuetype bug
Cloned https://github.com/cats-oss/cujira.git
Revision (git rev-parse @):
e7fec7dbd79b7a3187e86f4b982eb3d9e6b6d1df
SUCCESS checkout https://github.com/cats-oss/cujira.git at 0.4.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/cats-oss/cujira.git
https://github.com/cats-oss/cujira.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "cujira",
"name" : "cujira",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "cujira",
"targets" : [
"cujira"
],
"type" : {
"executable" : null
}
},
{
"name" : "Core",
"targets" : [
"Core"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "cujira",
"module_type" : "SwiftTarget",
"name" : "cujira",
"path" : "Sources/cujira",
"product_memberships" : [
"cujira"
],
"sources" : [
"Command/Alias/Alias.Command.Usage.swift",
"Command/Alias/Alias.Command.swift",
"Command/Alias/CustomField/AliasCustomField.Command.Usage.swift",
"Command/Alias/CustomField/AliasCustomField.Command.swift",
"Command/Alias/JQL/AliasJQL.Command.Usage.swift",
"Command/Alias/JQL/AliasJQL.Command.swift",
"Command/Alias/Project/AliasProject.Command.Usage.swift",
"Command/Alias/Project/AliasProject.Command.swift",
"Command/ArgumentParser.swift",
"Command/CommandList.swift",
"Command/Issue/Issue.Command.Usage.swift",
"Command/Issue/Issue.Command.swift",
"Command/Issue/Issue.JQL.swift",
"Command/Issue/Issue.Search.swift",
"Command/List/List.Board.swift",
"Command/List/List.Command.Usage.swift",
"Command/List/List.Command.swift",
"Command/List/List.Epic.swift",
"Command/List/List.Field.swift",
"Command/List/List.IssueType.swift",
"Command/List/List.Sprint.swift",
"Command/List/List.Status.swift",
"Command/Register/Register.Command.Usage.swift",
"Command/Register/Register.Command.swift",
"Command/Root/Root.Command.Usage.swift",
"Command/Root/Root.Command.swift",
"main.swift"
],
"target_dependencies" : [
"Core"
],
"type" : "executable"
},
{
"c99name" : "Core",
"module_type" : "SwiftTarget",
"name" : "Core",
"path" : "Sources/Core",
"product_memberships" : [
"cujira",
"Core"
],
"sources" : [
"API/BodyParameter.swift",
"API/JiraSession.swift",
"API/Request/GetAllBoardsRequest.swift",
"API/Request/GetAllFieldsRequest.swift",
"API/Request/GetAllIssueTypesRequest.swift",
"API/Request/GetAllSprintsRequest.swift",
"API/Request/GetAllStatusesRequest.swift",
"API/Request/GetEpicRequest.swift",
"API/Request/Request.swift",
"API/Request/RequestProxy.swift",
"API/Request/SearchRequest.swift",
"API/Response/AnyCodingKey.swift",
"API/Response/Board.swift",
"API/Response/Epic.swift",
"API/Response/Field.swift",
"API/Response/Issue.swift",
"API/Response/IssueType.swift",
"API/Response/ListResponse.swift",
"API/Response/Project.swift",
"API/Response/Sprint.swift",
"API/Response/Status.swift",
"API/Response/User.swift",
"API/Response/Version.swift",
"API/URLRequestBuilder.swift",
"Common/CoreExtension.swift",
"Common/Enumerable.swift",
"Common/Extension/DateFormatter.core.swift",
"Common/Extension/Gap.swift",
"Common/Extension/JSONDecoder.DateDecodingStrategy.core.swift",
"DataManager/BoardDataManager.swift",
"DataManager/ConfigManager.swift",
"DataManager/CustomFieldAliasManager.swift",
"DataManager/DataManager.swift",
"DataManager/EpicDataManager.swift",
"DataManager/FieldDataManager.swift",
"DataManager/IssueTypeDataManager.swift",
"DataManager/JQLAliasManager.swift",
"DataManager/ProjectAliasManager.swift",
"DataManager/SprintDataManager.swift",
"DataManager/StatusDataManager.swift",
"Facade/Facade.Board.swift",
"Facade/Facade.Config.swift",
"Facade/Facade.Field.swift",
"Facade/Facade.Issue.swift",
"Facade/Facade.JQL.swift",
"Facade/Facade.Project.swift",
"Facade/Facade.Sprint.swift",
"Facade/Facade.swift",
"Model/Config.swift",
"Model/FieldAlias.swift",
"Model/IssueAggregation.swift",
"Model/IssueResult.swift",
"Model/JQLAlias.swift",
"Model/ProjectAlias.swift",
"Model/SearchResult.swift",
"Service/BoardService.swift",
"Service/ConfigService.swift",
"Service/FieldService.swift",
"Service/IssueService.swift",
"Service/JQLService.swift",
"Service/ProjectService.swift",
"Service/SprintService.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/63] Emitting module Core
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:19:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | public enum Error: Swift.Error {
18 | case emptyResult
19 | case invalidResopnse(HTTPURLResponse)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | case unknown
21 | }
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/Core/API/JiraSession.swift:19:14: warning: associated value 'invalidResopnse' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
17 | public enum Error: Swift.Error {
18 | case emptyResult
19 | case invalidResopnse(HTTPURLResponse)
| `- warning: associated value 'invalidResopnse' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
20 | case unknown
21 | }
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:32:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |
31 |
32 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 | /// JiraSession Initializer
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
/host/spi-builder-workspace/Sources/Core/DataManager/ConfigManager.swift:21:14: warning: associated value 'updateSameValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
19 | case noApiKey
20 | case noUsername
21 | case updateSameValue(Any)
| `- warning: associated value 'updateSameValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
22 | }
23 | }
[5/70] Compiling Core Config.swift
[6/70] Compiling Core FieldAlias.swift
[7/70] Compiling Core IssueAggregation.swift
[8/70] Compiling Core IssueResult.swift
[9/70] Compiling Core JQLAlias.swift
[10/70] Compiling Core ProjectAlias.swift
[11/70] Compiling Core SearchResult.swift
[12/70] Compiling Core CoreExtension.swift
/host/spi-builder-workspace/Sources/Core/DataManager/ConfigManager.swift:21:14: warning: associated value 'updateSameValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
19 | case noApiKey
20 | case noUsername
21 | case updateSameValue(Any)
| `- warning: associated value 'updateSameValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
22 | }
23 | }
[13/70] Compiling Core Enumerable.swift
/host/spi-builder-workspace/Sources/Core/DataManager/ConfigManager.swift:21:14: warning: associated value 'updateSameValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
19 | case noApiKey
20 | case noUsername
21 | case updateSameValue(Any)
| `- warning: associated value 'updateSameValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
22 | }
23 | }
[14/70] Compiling Core DateFormatter.core.swift
/host/spi-builder-workspace/Sources/Core/DataManager/ConfigManager.swift:21:14: warning: associated value 'updateSameValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
19 | case noApiKey
20 | case noUsername
21 | case updateSameValue(Any)
| `- warning: associated value 'updateSameValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
22 | }
23 | }
[15/70] Compiling Core Gap.swift
/host/spi-builder-workspace/Sources/Core/DataManager/ConfigManager.swift:21:14: warning: associated value 'updateSameValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
19 | case noApiKey
20 | case noUsername
21 | case updateSameValue(Any)
| `- warning: associated value 'updateSameValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
22 | }
23 | }
[16/70] Compiling Core JSONDecoder.DateDecodingStrategy.core.swift
/host/spi-builder-workspace/Sources/Core/DataManager/ConfigManager.swift:21:14: warning: associated value 'updateSameValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
19 | case noApiKey
20 | case noUsername
21 | case updateSameValue(Any)
| `- warning: associated value 'updateSameValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
22 | }
23 | }
[17/70] Compiling Core BoardDataManager.swift
/host/spi-builder-workspace/Sources/Core/DataManager/ConfigManager.swift:21:14: warning: associated value 'updateSameValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
19 | case noApiKey
20 | case noUsername
21 | case updateSameValue(Any)
| `- warning: associated value 'updateSameValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
22 | }
23 | }
[18/70] Compiling Core ConfigManager.swift
/host/spi-builder-workspace/Sources/Core/DataManager/ConfigManager.swift:21:14: warning: associated value 'updateSameValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
19 | case noApiKey
20 | case noUsername
21 | case updateSameValue(Any)
| `- warning: associated value 'updateSameValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
22 | }
23 | }
[19/70] Compiling Core CustomFieldAliasManager.swift
/host/spi-builder-workspace/Sources/Core/DataManager/ConfigManager.swift:21:14: warning: associated value 'updateSameValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
19 | case noApiKey
20 | case noUsername
21 | case updateSameValue(Any)
| `- warning: associated value 'updateSameValue' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
22 | }
23 | }
[20/70] Compiling Core BodyParameter.swift
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:19:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | public enum Error: Swift.Error {
18 | case emptyResult
19 | case invalidResopnse(HTTPURLResponse)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | case unknown
21 | }
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/Core/API/JiraSession.swift:19:14: warning: associated value 'invalidResopnse' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
17 | public enum Error: Swift.Error {
18 | case emptyResult
19 | case invalidResopnse(HTTPURLResponse)
| `- warning: associated value 'invalidResopnse' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
20 | case unknown
21 | }
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:32:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |
31 |
32 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 | /// JiraSession Initializer
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:75:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
73 |
74 | var result: Result<T.Response>?
75 | let task = session.dataTask(with: request) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
76 | if let error = error {
77 | result = .failure(error)
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:118:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
116 | return "Empty Result."
117 | case .invalidResopnse(let resposne):
118 | return "Invalid response (status code: \(resposne.statusCode)"
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
119 | case .unknown:
120 | return "Unknown error occured."
[21/70] Compiling Core JiraSession.swift
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:19:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | public enum Error: Swift.Error {
18 | case emptyResult
19 | case invalidResopnse(HTTPURLResponse)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | case unknown
21 | }
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/Core/API/JiraSession.swift:19:14: warning: associated value 'invalidResopnse' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
17 | public enum Error: Swift.Error {
18 | case emptyResult
19 | case invalidResopnse(HTTPURLResponse)
| `- warning: associated value 'invalidResopnse' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
20 | case unknown
21 | }
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:32:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |
31 |
32 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 | /// JiraSession Initializer
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:75:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
73 |
74 | var result: Result<T.Response>?
75 | let task = session.dataTask(with: request) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
76 | if let error = error {
77 | result = .failure(error)
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:118:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
116 | return "Empty Result."
117 | case .invalidResopnse(let resposne):
118 | return "Invalid response (status code: \(resposne.statusCode)"
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
119 | case .unknown:
120 | return "Unknown error occured."
[22/70] Compiling Core GetAllBoardsRequest.swift
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:19:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | public enum Error: Swift.Error {
18 | case emptyResult
19 | case invalidResopnse(HTTPURLResponse)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | case unknown
21 | }
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/Core/API/JiraSession.swift:19:14: warning: associated value 'invalidResopnse' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
17 | public enum Error: Swift.Error {
18 | case emptyResult
19 | case invalidResopnse(HTTPURLResponse)
| `- warning: associated value 'invalidResopnse' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
20 | case unknown
21 | }
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:32:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |
31 |
32 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 | /// JiraSession Initializer
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:75:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
73 |
74 | var result: Result<T.Response>?
75 | let task = session.dataTask(with: request) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
76 | if let error = error {
77 | result = .failure(error)
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:118:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
116 | return "Empty Result."
117 | case .invalidResopnse(let resposne):
118 | return "Invalid response (status code: \(resposne.statusCode)"
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
119 | case .unknown:
120 | return "Unknown error occured."
[23/70] Compiling Core GetAllFieldsRequest.swift
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:19:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | public enum Error: Swift.Error {
18 | case emptyResult
19 | case invalidResopnse(HTTPURLResponse)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | case unknown
21 | }
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/Core/API/JiraSession.swift:19:14: warning: associated value 'invalidResopnse' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
17 | public enum Error: Swift.Error {
18 | case emptyResult
19 | case invalidResopnse(HTTPURLResponse)
| `- warning: associated value 'invalidResopnse' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
20 | case unknown
21 | }
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:32:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |
31 |
32 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 | /// JiraSession Initializer
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:75:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
73 |
74 | var result: Result<T.Response>?
75 | let task = session.dataTask(with: request) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
76 | if let error = error {
77 | result = .failure(error)
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:118:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
116 | return "Empty Result."
117 | case .invalidResopnse(let resposne):
118 | return "Invalid response (status code: \(resposne.statusCode)"
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
119 | case .unknown:
120 | return "Unknown error occured."
[24/70] Compiling Core GetAllIssueTypesRequest.swift
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:19:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | public enum Error: Swift.Error {
18 | case emptyResult
19 | case invalidResopnse(HTTPURLResponse)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | case unknown
21 | }
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/Core/API/JiraSession.swift:19:14: warning: associated value 'invalidResopnse' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
17 | public enum Error: Swift.Error {
18 | case emptyResult
19 | case invalidResopnse(HTTPURLResponse)
| `- warning: associated value 'invalidResopnse' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
20 | case unknown
21 | }
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:32:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |
31 |
32 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 | /// JiraSession Initializer
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:75:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
73 |
74 | var result: Result<T.Response>?
75 | let task = session.dataTask(with: request) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
76 | if let error = error {
77 | result = .failure(error)
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:118:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
116 | return "Empty Result."
117 | case .invalidResopnse(let resposne):
118 | return "Invalid response (status code: \(resposne.statusCode)"
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
119 | case .unknown:
120 | return "Unknown error occured."
[25/70] Compiling Core GetAllSprintsRequest.swift
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:19:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | public enum Error: Swift.Error {
18 | case emptyResult
19 | case invalidResopnse(HTTPURLResponse)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | case unknown
21 | }
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/Core/API/JiraSession.swift:19:14: warning: associated value 'invalidResopnse' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
17 | public enum Error: Swift.Error {
18 | case emptyResult
19 | case invalidResopnse(HTTPURLResponse)
| `- warning: associated value 'invalidResopnse' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
20 | case unknown
21 | }
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:32:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |
31 |
32 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 | /// JiraSession Initializer
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:75:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
73 |
74 | var result: Result<T.Response>?
75 | let task = session.dataTask(with: request) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
76 | if let error = error {
77 | result = .failure(error)
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:118:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
116 | return "Empty Result."
117 | case .invalidResopnse(let resposne):
118 | return "Invalid response (status code: \(resposne.statusCode)"
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
119 | case .unknown:
120 | return "Unknown error occured."
[26/70] Compiling Core GetAllStatusesRequest.swift
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:19:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | public enum Error: Swift.Error {
18 | case emptyResult
19 | case invalidResopnse(HTTPURLResponse)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | case unknown
21 | }
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/Core/API/JiraSession.swift:19:14: warning: associated value 'invalidResopnse' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
17 | public enum Error: Swift.Error {
18 | case emptyResult
19 | case invalidResopnse(HTTPURLResponse)
| `- warning: associated value 'invalidResopnse' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
20 | case unknown
21 | }
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:32:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |
31 |
32 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 | /// JiraSession Initializer
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:75:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
73 |
74 | var result: Result<T.Response>?
75 | let task = session.dataTask(with: request) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
76 | if let error = error {
77 | result = .failure(error)
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:118:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
116 | return "Empty Result."
117 | case .invalidResopnse(let resposne):
118 | return "Invalid response (status code: \(resposne.statusCode)"
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
119 | case .unknown:
120 | return "Unknown error occured."
[27/70] Compiling Core GetEpicRequest.swift
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:19:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | public enum Error: Swift.Error {
18 | case emptyResult
19 | case invalidResopnse(HTTPURLResponse)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | case unknown
21 | }
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/Core/API/JiraSession.swift:19:14: warning: associated value 'invalidResopnse' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
17 | public enum Error: Swift.Error {
18 | case emptyResult
19 | case invalidResopnse(HTTPURLResponse)
| `- warning: associated value 'invalidResopnse' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
20 | case unknown
21 | }
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:32:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |
31 |
32 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 | /// JiraSession Initializer
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:75:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
73 |
74 | var result: Result<T.Response>?
75 | let task = session.dataTask(with: request) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
76 | if let error = error {
77 | result = .failure(error)
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:118:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
116 | return "Empty Result."
117 | case .invalidResopnse(let resposne):
118 | return "Invalid response (status code: \(resposne.statusCode)"
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
119 | case .unknown:
120 | return "Unknown error occured."
[28/70] Compiling Core Facade.Board.swift
/host/spi-builder-workspace/Sources/Core/Facade/Facade.swift:41:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
39 | let epicDataManager = EpicDataManager(workingDirectory: workingDirectory)
40 |
41 | let session = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
42 | let jiraSession = JiraSession(session: session,
43 | domain: { try configService.loadConfig().domain },
[29/70] Compiling Core Facade.Config.swift
/host/spi-builder-workspace/Sources/Core/Facade/Facade.swift:41:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
39 | let epicDataManager = EpicDataManager(workingDirectory: workingDirectory)
40 |
41 | let session = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
42 | let jiraSession = JiraSession(session: session,
43 | domain: { try configService.loadConfig().domain },
[30/70] Compiling Core Facade.Field.swift
/host/spi-builder-workspace/Sources/Core/Facade/Facade.swift:41:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
39 | let epicDataManager = EpicDataManager(workingDirectory: workingDirectory)
40 |
41 | let session = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
42 | let jiraSession = JiraSession(session: session,
43 | domain: { try configService.loadConfig().domain },
[31/70] Compiling Core Facade.Issue.swift
/host/spi-builder-workspace/Sources/Core/Facade/Facade.swift:41:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
39 | let epicDataManager = EpicDataManager(workingDirectory: workingDirectory)
40 |
41 | let session = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
42 | let jiraSession = JiraSession(session: session,
43 | domain: { try configService.loadConfig().domain },
[32/70] Compiling Core Facade.JQL.swift
/host/spi-builder-workspace/Sources/Core/Facade/Facade.swift:41:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
39 | let epicDataManager = EpicDataManager(workingDirectory: workingDirectory)
40 |
41 | let session = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
42 | let jiraSession = JiraSession(session: session,
43 | domain: { try configService.loadConfig().domain },
[33/70] Compiling Core Facade.Project.swift
/host/spi-builder-workspace/Sources/Core/Facade/Facade.swift:41:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
39 | let epicDataManager = EpicDataManager(workingDirectory: workingDirectory)
40 |
41 | let session = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
42 | let jiraSession = JiraSession(session: session,
43 | domain: { try configService.loadConfig().domain },
[34/70] Compiling Core Facade.Sprint.swift
/host/spi-builder-workspace/Sources/Core/Facade/Facade.swift:41:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
39 | let epicDataManager = EpicDataManager(workingDirectory: workingDirectory)
40 |
41 | let session = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
42 | let jiraSession = JiraSession(session: session,
43 | domain: { try configService.loadConfig().domain },
[35/70] Compiling Core Facade.swift
/host/spi-builder-workspace/Sources/Core/Facade/Facade.swift:41:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
39 | let epicDataManager = EpicDataManager(workingDirectory: workingDirectory)
40 |
41 | let session = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
42 | let jiraSession = JiraSession(session: session,
43 | domain: { try configService.loadConfig().domain },
[36/70] Compiling Core DataManager.swift
[37/70] Compiling Core EpicDataManager.swift
[38/70] Compiling Core FieldDataManager.swift
[39/70] Compiling Core IssueTypeDataManager.swift
[40/70] Compiling Core JQLAliasManager.swift
[41/70] Compiling Core ProjectAliasManager.swift
[42/70] Compiling Core SprintDataManager.swift
[43/70] Compiling Core StatusDataManager.swift
[44/70] Compiling Core Request.swift
[45/70] Compiling Core RequestProxy.swift
[46/70] Compiling Core SearchRequest.swift
[47/70] Compiling Core AnyCodingKey.swift
[48/70] Compiling Core Board.swift
[49/70] Compiling Core Epic.swift
[50/70] Compiling Core Field.swift
[51/70] Compiling Core Issue.swift
[52/70] Compiling Core IssueType.swift
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:34:23: error: cannot find 'URLRequest' in scope
32 | }
33 |
34 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
35 | proxy.headerField.forEach { key, value in
36 | request.addValue(value, forHTTPHeaderField: key)
[53/70] Compiling Core ListResponse.swift
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:34:23: error: cannot find 'URLRequest' in scope
32 | }
33 |
34 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
35 | proxy.headerField.forEach { key, value in
36 | request.addValue(value, forHTTPHeaderField: key)
[54/70] Compiling Core Project.swift
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:34:23: error: cannot find 'URLRequest' in scope
32 | }
33 |
34 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
35 | proxy.headerField.forEach { key, value in
36 | request.addValue(value, forHTTPHeaderField: key)
[55/70] Compiling Core Sprint.swift
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:34:23: error: cannot find 'URLRequest' in scope
32 | }
33 |
34 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
35 | proxy.headerField.forEach { key, value in
36 | request.addValue(value, forHTTPHeaderField: key)
[56/70] Compiling Core Status.swift
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:34:23: error: cannot find 'URLRequest' in scope
32 | }
33 |
34 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
35 | proxy.headerField.forEach { key, value in
36 | request.addValue(value, forHTTPHeaderField: key)
[57/70] Compiling Core User.swift
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:34:23: error: cannot find 'URLRequest' in scope
32 | }
33 |
34 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
35 | proxy.headerField.forEach { key, value in
36 | request.addValue(value, forHTTPHeaderField: key)
[58/70] Compiling Core Version.swift
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:34:23: error: cannot find 'URLRequest' in scope
32 | }
33 |
34 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
35 | proxy.headerField.forEach { key, value in
36 | request.addValue(value, forHTTPHeaderField: key)
[59/70] Compiling Core URLRequestBuilder.swift
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:34:23: error: cannot find 'URLRequest' in scope
32 | }
33 |
34 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
35 | proxy.headerField.forEach { key, value in
36 | request.addValue(value, forHTTPHeaderField: key)
[60/70] Compiling Core BoardService.swift
[61/70] Compiling Core ConfigService.swift
[62/70] Compiling Core FieldService.swift
[63/70] Compiling Core IssueService.swift
[64/70] Compiling Core JQLService.swift
[65/70] Compiling Core ProjectService.swift
[66/70] Compiling Core SprintService.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/61] Emitting module Core
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:19:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | public enum Error: Swift.Error {
18 | case emptyResult
19 | case invalidResopnse(HTTPURLResponse)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | case unknown
21 | }
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/Core/API/JiraSession.swift:32:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |
31 |
32 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 | /// JiraSession Initializer
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
[3/68] Compiling Core Facade.Board.swift
/host/spi-builder-workspace/Sources/Core/Facade/Facade.swift:41:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
39 | let epicDataManager = EpicDataManager(workingDirectory: workingDirectory)
40 |
41 | let session = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
42 | let jiraSession = JiraSession(session: session,
43 | domain: { try configService.loadConfig().domain },
[4/68] Compiling Core Facade.Config.swift
/host/spi-builder-workspace/Sources/Core/Facade/Facade.swift:41:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
39 | let epicDataManager = EpicDataManager(workingDirectory: workingDirectory)
40 |
41 | let session = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
42 | let jiraSession = JiraSession(session: session,
43 | domain: { try configService.loadConfig().domain },
[5/68] Compiling Core Facade.Field.swift
/host/spi-builder-workspace/Sources/Core/Facade/Facade.swift:41:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
39 | let epicDataManager = EpicDataManager(workingDirectory: workingDirectory)
40 |
41 | let session = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
42 | let jiraSession = JiraSession(session: session,
43 | domain: { try configService.loadConfig().domain },
[6/68] Compiling Core Facade.Issue.swift
/host/spi-builder-workspace/Sources/Core/Facade/Facade.swift:41:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
39 | let epicDataManager = EpicDataManager(workingDirectory: workingDirectory)
40 |
41 | let session = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
42 | let jiraSession = JiraSession(session: session,
43 | domain: { try configService.loadConfig().domain },
[7/68] Compiling Core Facade.JQL.swift
/host/spi-builder-workspace/Sources/Core/Facade/Facade.swift:41:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
39 | let epicDataManager = EpicDataManager(workingDirectory: workingDirectory)
40 |
41 | let session = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
42 | let jiraSession = JiraSession(session: session,
43 | domain: { try configService.loadConfig().domain },
[8/68] Compiling Core Facade.Project.swift
/host/spi-builder-workspace/Sources/Core/Facade/Facade.swift:41:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
39 | let epicDataManager = EpicDataManager(workingDirectory: workingDirectory)
40 |
41 | let session = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
42 | let jiraSession = JiraSession(session: session,
43 | domain: { try configService.loadConfig().domain },
[9/68] Compiling Core Facade.Sprint.swift
/host/spi-builder-workspace/Sources/Core/Facade/Facade.swift:41:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
39 | let epicDataManager = EpicDataManager(workingDirectory: workingDirectory)
40 |
41 | let session = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
42 | let jiraSession = JiraSession(session: session,
43 | domain: { try configService.loadConfig().domain },
[10/68] Compiling Core Facade.swift
/host/spi-builder-workspace/Sources/Core/Facade/Facade.swift:41:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
39 | let epicDataManager = EpicDataManager(workingDirectory: workingDirectory)
40 |
41 | let session = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
42 | let jiraSession = JiraSession(session: session,
43 | domain: { try configService.loadConfig().domain },
[11/68] Compiling Core BodyParameter.swift
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:19:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | public enum Error: Swift.Error {
18 | case emptyResult
19 | case invalidResopnse(HTTPURLResponse)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | case unknown
21 | }
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/Core/API/JiraSession.swift:32:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |
31 |
32 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 | /// JiraSession Initializer
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:75:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
73 |
74 | var result: Result<T.Response>?
75 | let task = session.dataTask(with: request) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
76 | if let error = error {
77 | result = .failure(error)
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:118:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
116 | return "Empty Result."
117 | case .invalidResopnse(let resposne):
118 | return "Invalid response (status code: \(resposne.statusCode)"
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
119 | case .unknown:
120 | return "Unknown error occured."
[12/68] Compiling Core JiraSession.swift
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:19:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | public enum Error: Swift.Error {
18 | case emptyResult
19 | case invalidResopnse(HTTPURLResponse)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | case unknown
21 | }
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/Core/API/JiraSession.swift:32:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |
31 |
32 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 | /// JiraSession Initializer
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:75:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
73 |
74 | var result: Result<T.Response>?
75 | let task = session.dataTask(with: request) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
76 | if let error = error {
77 | result = .failure(error)
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:118:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
116 | return "Empty Result."
117 | case .invalidResopnse(let resposne):
118 | return "Invalid response (status code: \(resposne.statusCode)"
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
119 | case .unknown:
120 | return "Unknown error occured."
[13/68] Compiling Core GetAllBoardsRequest.swift
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:19:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | public enum Error: Swift.Error {
18 | case emptyResult
19 | case invalidResopnse(HTTPURLResponse)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | case unknown
21 | }
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/Core/API/JiraSession.swift:32:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |
31 |
32 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 | /// JiraSession Initializer
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:75:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
73 |
74 | var result: Result<T.Response>?
75 | let task = session.dataTask(with: request) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
76 | if let error = error {
77 | result = .failure(error)
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:118:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
116 | return "Empty Result."
117 | case .invalidResopnse(let resposne):
118 | return "Invalid response (status code: \(resposne.statusCode)"
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
119 | case .unknown:
120 | return "Unknown error occured."
[14/68] Compiling Core GetAllFieldsRequest.swift
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:19:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | public enum Error: Swift.Error {
18 | case emptyResult
19 | case invalidResopnse(HTTPURLResponse)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | case unknown
21 | }
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/Core/API/JiraSession.swift:32:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |
31 |
32 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 | /// JiraSession Initializer
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:75:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
73 |
74 | var result: Result<T.Response>?
75 | let task = session.dataTask(with: request) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
76 | if let error = error {
77 | result = .failure(error)
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:118:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
116 | return "Empty Result."
117 | case .invalidResopnse(let resposne):
118 | return "Invalid response (status code: \(resposne.statusCode)"
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
119 | case .unknown:
120 | return "Unknown error occured."
[15/68] Compiling Core GetAllIssueTypesRequest.swift
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:19:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | public enum Error: Swift.Error {
18 | case emptyResult
19 | case invalidResopnse(HTTPURLResponse)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | case unknown
21 | }
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/Core/API/JiraSession.swift:32:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |
31 |
32 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 | /// JiraSession Initializer
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:75:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
73 |
74 | var result: Result<T.Response>?
75 | let task = session.dataTask(with: request) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
76 | if let error = error {
77 | result = .failure(error)
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:118:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
116 | return "Empty Result."
117 | case .invalidResopnse(let resposne):
118 | return "Invalid response (status code: \(resposne.statusCode)"
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
119 | case .unknown:
120 | return "Unknown error occured."
[16/68] Compiling Core GetAllSprintsRequest.swift
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:19:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | public enum Error: Swift.Error {
18 | case emptyResult
19 | case invalidResopnse(HTTPURLResponse)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | case unknown
21 | }
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/Core/API/JiraSession.swift:32:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |
31 |
32 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 | /// JiraSession Initializer
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:75:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
73 |
74 | var result: Result<T.Response>?
75 | let task = session.dataTask(with: request) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
76 | if let error = error {
77 | result = .failure(error)
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:118:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
116 | return "Empty Result."
117 | case .invalidResopnse(let resposne):
118 | return "Invalid response (status code: \(resposne.statusCode)"
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
119 | case .unknown:
120 | return "Unknown error occured."
[17/68] Compiling Core GetAllStatusesRequest.swift
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:19:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | public enum Error: Swift.Error {
18 | case emptyResult
19 | case invalidResopnse(HTTPURLResponse)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | case unknown
21 | }
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/Core/API/JiraSession.swift:32:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |
31 |
32 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 | /// JiraSession Initializer
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:75:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
73 |
74 | var result: Result<T.Response>?
75 | let task = session.dataTask(with: request) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
76 | if let error = error {
77 | result = .failure(error)
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:118:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
116 | return "Empty Result."
117 | case .invalidResopnse(let resposne):
118 | return "Invalid response (status code: \(resposne.statusCode)"
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
119 | case .unknown:
120 | return "Unknown error occured."
[18/68] Compiling Core GetEpicRequest.swift
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:19:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | public enum Error: Swift.Error {
18 | case emptyResult
19 | case invalidResopnse(HTTPURLResponse)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | case unknown
21 | }
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/Core/API/JiraSession.swift:32:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |
31 |
32 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 | /// JiraSession Initializer
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:40:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 | /// apiKey: it is called every request.
39 | /// username: it is called every request.
40 | public init(session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 | domain: @escaping () throws -> String,
42 | apiKey: @escaping () throws -> String,
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:75:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
73 |
74 | var result: Result<T.Response>?
75 | let task = session.dataTask(with: request) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
76 | if let error = error {
77 | result = .failure(error)
/host/spi-builder-workspace/Sources/Core/API/JiraSession.swift:118:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
116 | return "Empty Result."
117 | case .invalidResopnse(let resposne):
118 | return "Invalid response (status code: \(resposne.statusCode)"
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
119 | case .unknown:
120 | return "Unknown error occured."
[19/68] Compiling Core BoardService.swift
[20/68] Compiling Core ConfigService.swift
[21/68] Compiling Core FieldService.swift
[22/68] Compiling Core IssueService.swift
[23/68] Compiling Core JQLService.swift
[24/68] Compiling Core ProjectService.swift
[25/68] Compiling Core SprintService.swift
[26/68] Compiling Core Config.swift
[27/68] Compiling Core FieldAlias.swift
[28/68] Compiling Core IssueAggregation.swift
[29/68] Compiling Core IssueResult.swift
[30/68] Compiling Core JQLAlias.swift
[31/68] Compiling Core ProjectAlias.swift
[32/68] Compiling Core SearchResult.swift
[33/68] Compiling Core CoreExtension.swift
[34/68] Compiling Core Enumerable.swift
[35/68] Compiling Core DateFormatter.core.swift
[36/68] Compiling Core Gap.swift
[37/68] Compiling Core JSONDecoder.DateDecodingStrategy.core.swift
[38/68] Compiling Core BoardDataManager.swift
[39/68] Compiling Core ConfigManager.swift
[40/68] Compiling Core CustomFieldAliasManager.swift
[41/68] Compiling Core DataManager.swift
[42/68] Compiling Core EpicDataManager.swift
[43/68] Compiling Core FieldDataManager.swift
[44/68] Compiling Core IssueTypeDataManager.swift
[45/68] Compiling Core JQLAliasManager.swift
[46/68] Compiling Core ProjectAliasManager.swift
[47/68] Compiling Core SprintDataManager.swift
[48/68] Compiling Core StatusDataManager.swift
[49/68] Compiling Core Request.swift
[50/68] Compiling Core RequestProxy.swift
[51/68] Compiling Core SearchRequest.swift
[52/68] Compiling Core AnyCodingKey.swift
[53/68] Compiling Core Board.swift
[54/68] Compiling Core Epic.swift
[55/68] Compiling Core Field.swift
[56/68] Compiling Core Issue.swift
[57/68] Compiling Core IssueType.swift
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:34:23: error: cannot find 'URLRequest' in scope
32 | }
33 |
34 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
35 | proxy.headerField.forEach { key, value in
36 | request.addValue(value, forHTTPHeaderField: key)
[58/68] Compiling Core ListResponse.swift
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:34:23: error: cannot find 'URLRequest' in scope
32 | }
33 |
34 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
35 | proxy.headerField.forEach { key, value in
36 | request.addValue(value, forHTTPHeaderField: key)
[59/68] Compiling Core Project.swift
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:34:23: error: cannot find 'URLRequest' in scope
32 | }
33 |
34 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
35 | proxy.headerField.forEach { key, value in
36 | request.addValue(value, forHTTPHeaderField: key)
[60/68] Compiling Core Sprint.swift
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:34:23: error: cannot find 'URLRequest' in scope
32 | }
33 |
34 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
35 | proxy.headerField.forEach { key, value in
36 | request.addValue(value, forHTTPHeaderField: key)
[61/68] Compiling Core Status.swift
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:34:23: error: cannot find 'URLRequest' in scope
32 | }
33 |
34 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
35 | proxy.headerField.forEach { key, value in
36 | request.addValue(value, forHTTPHeaderField: key)
[62/68] Compiling Core User.swift
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:34:23: error: cannot find 'URLRequest' in scope
32 | }
33 |
34 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
35 | proxy.headerField.forEach { key, value in
36 | request.addValue(value, forHTTPHeaderField: key)
[63/68] Compiling Core Version.swift
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:34:23: error: cannot find 'URLRequest' in scope
32 | }
33 |
34 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
35 | proxy.headerField.forEach { key, value in
36 | request.addValue(value, forHTTPHeaderField: key)
[64/68] Compiling Core URLRequestBuilder.swift
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:16:78: error: cannot find type 'URLRequest' in scope
14 | }
15 |
16 | public static func build<T: Request>(_ proxy: RequestProxy<T>) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
17 | let baseURL = proxy.baseURL.appendingPathComponent(proxy.path)
18 |
/host/spi-builder-workspace/Sources/Core/API/URLRequestBuilder.swift:34:23: error: cannot find 'URLRequest' in scope
32 | }
33 |
34 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
35 | proxy.headerField.forEach { key, value in
36 | request.addValue(value, forHTTPHeaderField: key)
BUILD FAILURE 6.1 linux