Build Information
Failed to build SwiftJiraKit, reference main (7c713c), with Swift 6.3 for Linux on 15 Apr 2026 13:35:47 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/martindahlswe/SwiftJiraKit.git
Reference: main
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/martindahlswe/SwiftJiraKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7c713c3 Enhance `JiraAPI` and `NetworkManager` functionality with token-based authentication and improve test coverage
Cloned https://github.com/martindahlswe/SwiftJiraKit.git
Revision (git rev-parse @):
7c713c3cc1c13375f4fa660446a3f08ab8badff3
SUCCESS checkout https://github.com/martindahlswe/SwiftJiraKit.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/martindahlswe/SwiftJiraKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/apple/swift-log.git
[1/6569] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.90s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (1.48s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/9] Emitting module Logging
[5/9] Compiling Logging LogEvent.swift
[6/9] Compiling Logging Locks.swift
[7/9] Compiling Logging MetadataProvider.swift
[8/9] Compiling Logging LogHandler.swift
[9/9] Compiling Logging Logging.swift
[11/23] Compiling SwiftJiraKit WorklogService.swift
[12/24] Compiling SwiftJiraKit SwiftJiraKit.swift
[13/24] Compiling SwiftJiraKit DateFormatter+Extensions.swift
[14/24] Compiling SwiftJiraKit JiraAPI.swift
/host/spi-builder-workspace/Sources/SwiftJiraKit/Core/NetworkManager.swift:24:90: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 | /// - token: The Bearer token for authentication.
23 | /// - urlSession: A custom `URLSessionProtocol` for networking.
24 | public init(baseURL: URL, token: String, urlSession: URLSessionProtocol = URLSession.shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
25 | self.baseURL = baseURL
26 | self.token = token
/host/spi-builder-workspace/Sources/SwiftJiraKit/Core/NetworkManager.swift:6:28: error: cannot find type 'URLRequest' in scope
4 | /// Protocol for URLSession to allow mocking in tests.
5 | public protocol URLSessionProtocol {
6 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
7 | }
8 |
/host/spi-builder-workspace/Sources/SwiftJiraKit/Core/NetworkManager.swift:6:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | /// Protocol for URLSession to allow mocking in tests.
5 | public protocol URLSessionProtocol {
6 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | }
8 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftJiraKit/Core/NetworkManager.swift:10:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
8 |
9 | /// Extend URLSession to conform to URLSessionProtocol.
10 | extension URLSession: URLSessionProtocol {}
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
11 |
12 | /// Implementation of the `NetworkManaging` protocol for performing HTTP requests.
/host/spi-builder-workspace/Sources/SwiftJiraKit/Core/NetworkManager.swift:51:68: error: cannot find type 'URLRequest' in scope
49 |
50 | /// Builds a URLRequest for the given endpoint and HTTP method.
51 | private func buildRequest(endpoint: String, method: String) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
52 | guard let url = URL(string: endpoint, relativeTo: baseURL) else {
53 | fatalError("Invalid URL for endpoint: \(endpoint)")
/host/spi-builder-workspace/Sources/SwiftJiraKit/Core/NetworkManager.swift:64:44: error: cannot find type 'URLRequest' in scope
62 |
63 | /// Executes the URLRequest and handles the response.
64 | private func performRequest(_ request: URLRequest) async throws -> Data {
| `- error: cannot find type 'URLRequest' in scope
65 | logger.info("Starting request to: \(request.url?.absoluteString ?? "Unknown URL")")
66 | do {
/host/spi-builder-workspace/Sources/SwiftJiraKit/Core/NetworkManager.swift:55:23: error: cannot find 'URLRequest' in scope
53 | fatalError("Invalid URL for endpoint: \(endpoint)")
54 | }
55 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
56 | request.httpMethod = method
57 | request.addValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[15/24] Compiling SwiftJiraKit NetworkManager.swift
/host/spi-builder-workspace/Sources/SwiftJiraKit/Core/NetworkManager.swift:24:90: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 | /// - token: The Bearer token for authentication.
23 | /// - urlSession: A custom `URLSessionProtocol` for networking.
24 | public init(baseURL: URL, token: String, urlSession: URLSessionProtocol = URLSession.shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
25 | self.baseURL = baseURL
26 | self.token = token
/host/spi-builder-workspace/Sources/SwiftJiraKit/Core/NetworkManager.swift:6:28: error: cannot find type 'URLRequest' in scope
4 | /// Protocol for URLSession to allow mocking in tests.
5 | public protocol URLSessionProtocol {
6 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
7 | }
8 |
/host/spi-builder-workspace/Sources/SwiftJiraKit/Core/NetworkManager.swift:6:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | /// Protocol for URLSession to allow mocking in tests.
5 | public protocol URLSessionProtocol {
6 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | }
8 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftJiraKit/Core/NetworkManager.swift:10:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
8 |
9 | /// Extend URLSession to conform to URLSessionProtocol.
10 | extension URLSession: URLSessionProtocol {}
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
11 |
12 | /// Implementation of the `NetworkManaging` protocol for performing HTTP requests.
/host/spi-builder-workspace/Sources/SwiftJiraKit/Core/NetworkManager.swift:51:68: error: cannot find type 'URLRequest' in scope
49 |
50 | /// Builds a URLRequest for the given endpoint and HTTP method.
51 | private func buildRequest(endpoint: String, method: String) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
52 | guard let url = URL(string: endpoint, relativeTo: baseURL) else {
53 | fatalError("Invalid URL for endpoint: \(endpoint)")
/host/spi-builder-workspace/Sources/SwiftJiraKit/Core/NetworkManager.swift:64:44: error: cannot find type 'URLRequest' in scope
62 |
63 | /// Executes the URLRequest and handles the response.
64 | private func performRequest(_ request: URLRequest) async throws -> Data {
| `- error: cannot find type 'URLRequest' in scope
65 | logger.info("Starting request to: \(request.url?.absoluteString ?? "Unknown URL")")
66 | do {
/host/spi-builder-workspace/Sources/SwiftJiraKit/Core/NetworkManager.swift:55:23: error: cannot find 'URLRequest' in scope
53 | fatalError("Invalid URL for endpoint: \(endpoint)")
54 | }
55 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
56 | request.httpMethod = method
57 | request.addValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[16/24] Compiling SwiftJiraKit NetworkManaging.swift
[17/24] Compiling SwiftJiraKit ConnectivityService.swift
[18/24] Compiling SwiftJiraKit WorklogRequest.swift
[19/24] Compiling SwiftJiraKit WorklogResponse.swift
[20/24] Compiling SwiftJiraKit APIError.swift
[21/24] Compiling SwiftJiraKit JQLBuilder.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/24] Emitting module SwiftJiraKit
/host/spi-builder-workspace/Sources/SwiftJiraKit/Core/NetworkManager.swift:6:28: error: cannot find type 'URLRequest' in scope
4 | /// Protocol for URLSession to allow mocking in tests.
5 | public protocol URLSessionProtocol {
6 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
7 | }
8 |
/host/spi-builder-workspace/Sources/SwiftJiraKit/Core/NetworkManager.swift:6:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | /// Protocol for URLSession to allow mocking in tests.
5 | public protocol URLSessionProtocol {
6 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | }
8 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftJiraKit/Core/NetworkManager.swift:10:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
8 |
9 | /// Extend URLSession to conform to URLSessionProtocol.
10 | extension URLSession: URLSessionProtocol {}
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
11 |
12 | /// Implementation of the `NetworkManaging` protocol for performing HTTP requests.
/host/spi-builder-workspace/Sources/SwiftJiraKit/Core/NetworkManager.swift:24:90: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 | /// - token: The Bearer token for authentication.
23 | /// - urlSession: A custom `URLSessionProtocol` for networking.
24 | public init(baseURL: URL, token: String, urlSession: URLSessionProtocol = URLSession.shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
25 | self.baseURL = baseURL
26 | self.token = token
/host/spi-builder-workspace/Sources/SwiftJiraKit/Core/NetworkManager.swift:51:68: error: cannot find type 'URLRequest' in scope
49 |
50 | /// Builds a URLRequest for the given endpoint and HTTP method.
51 | private func buildRequest(endpoint: String, method: String) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
52 | guard let url = URL(string: endpoint, relativeTo: baseURL) else {
53 | fatalError("Invalid URL for endpoint: \(endpoint)")
/host/spi-builder-workspace/Sources/SwiftJiraKit/Core/NetworkManager.swift:64:44: error: cannot find type 'URLRequest' in scope
62 |
63 | /// Executes the URLRequest and handles the response.
64 | private func performRequest(_ request: URLRequest) async throws -> Data {
| `- error: cannot find type 'URLRequest' in scope
65 | logger.info("Starting request to: \(request.url?.absoluteString ?? "Unknown URL")")
66 | do {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[23/24] Compiling SwiftJiraKit IssueResponse.swift
/host/spi-builder-workspace/Sources/SwiftJiraKit/Core/NetworkManager.swift:24:90: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 | /// - token: The Bearer token for authentication.
23 | /// - urlSession: A custom `URLSessionProtocol` for networking.
24 | public init(baseURL: URL, token: String, urlSession: URLSessionProtocol = URLSession.shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
25 | self.baseURL = baseURL
26 | self.token = token
[24/24] Compiling SwiftJiraKit IssueService.swift
/host/spi-builder-workspace/Sources/SwiftJiraKit/Core/NetworkManager.swift:24:90: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 | /// - token: The Bearer token for authentication.
23 | /// - urlSession: A custom `URLSessionProtocol` for networking.
24 | public init(baseURL: URL, token: String, urlSession: URLSessionProtocol = URLSession.shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
25 | self.baseURL = baseURL
26 | self.token = token
BUILD FAILURE 6.3 linux