The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Swift-Mac-Utility, reference 0.0.5 (7562f3), with Swift 6.3 for Linux on 12 Apr 2026 19:35:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/erica/Swift-Mac-Utility.git
Reference: 0.0.5
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/erica/Swift-Mac-Utility
 * tag               0.0.5      -> FETCH_HEAD
HEAD is now at 7562f3c Updated for use after splitting out General Utility from Misc Utility
Cloned https://github.com/erica/Swift-Mac-Utility.git
Revision (git rev-parse @):
7562f3cfee10e7494a1c50f5e5624edb05ac2634
SUCCESS checkout https://github.com/erica/Swift-Mac-Utility.git at 0.0.5
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/erica/Swift-Mac-Utility.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/erica/Swift-General-Utility
Fetching https://github.com/erica/Swift-Misc-Utility
[1/38] Fetching swift-misc-utility
[39/139] Fetching swift-misc-utility, swift-general-utility
Fetched https://github.com/erica/Swift-Misc-Utility from cache (0.19s)
Fetched https://github.com/erica/Swift-General-Utility from cache (0.20s)
Computing version for https://github.com/erica/Swift-Misc-Utility
Computed https://github.com/erica/Swift-Misc-Utility at 0.0.0 (1.66s)
Computing version for https://github.com/erica/Swift-General-Utility
Computed https://github.com/erica/Swift-General-Utility at 0.0.8 (0.69s)
Creating working copy for https://github.com/erica/Swift-Misc-Utility
Working copy of https://github.com/erica/Swift-Misc-Utility resolved at 0.0.0
Creating working copy for https://github.com/erica/Swift-General-Utility
Working copy of https://github.com/erica/Swift-General-Utility resolved at 0.0.8
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/6] Compiling GeneralUtility Utility.swift
[6/6] Emitting module GeneralUtility
[8/16] Compiling SwiftMiscUtility SynchronousData.swift
/host/spi-builder-workspace/.build/checkouts/Swift-Misc-Utility/Sources/SwiftMiscUtility/SynchronousData.swift:11:59: error: cannot find type 'URLRequest' in scope
 9 |     /// - Parameter completion: A closure to execute asynchronously when the data task completes.
10 |     /// - Returns: The retrieved session data.
11 |     public static func requestAsynchronousData(_ request: URLRequest, completion: @escaping (Result<Data, Error>) -> Void) -> Void {
   |                                                           `- error: cannot find type 'URLRequest' in scope
12 |         let task = URLSession.shared.dataTask(with: request) { data, _, error -> Void in
13 |             completion(Result(data, error))
/host/spi-builder-workspace/.build/checkouts/Swift-Misc-Utility/Sources/SwiftMiscUtility/SynchronousData.swift:22:58: error: cannot find type 'URLRequest' in scope
20 |     /// - Throws: Any returned error on `Result.get`.
21 |     /// - Returns: The retrieved session data.
22 |     public static func requestSynchronousData(_ request: URLRequest) throws -> Data {
   |                                                          `- error: cannot find type 'URLRequest' in scope
23 |         let semaphore = DispatchSemaphore(value: 0)
24 |         var received: Result<Data, Error> = Result(Data(), nil)
/host/spi-builder-workspace/.build/checkouts/Swift-Misc-Utility/Sources/SwiftMiscUtility/SynchronousData.swift:12:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
10 |     /// - Returns: The retrieved session data.
11 |     public static func requestAsynchronousData(_ request: URLRequest, completion: @escaping (Result<Data, Error>) -> Void) -> Void {
12 |         let task = URLSession.shared.dataTask(with: request) { data, _, error -> Void in
   |                               `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
13 |             completion(Result(data, error))
14 |         }
[9/17] Compiling SwiftMiscUtility String+Utility.swift
[10/17] Compiling SwiftMiscUtility Rounding.swift
[11/17] Compiling SwiftMiscUtility RuntimeError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/17] Compiling SwiftMiscUtility Applicative.swift
[13/17] Compiling SwiftMiscUtility Collection+Utility.swift
[14/17] Compiling SwiftMiscUtility Exponentiation.swift
[15/17] Compiling SwiftMiscUtility Result+Utility.swift
[16/17] Emitting module SwiftMiscUtility
/host/spi-builder-workspace/.build/checkouts/Swift-Misc-Utility/Sources/SwiftMiscUtility/SynchronousData.swift:11:59: error: cannot find type 'URLRequest' in scope
 9 |     /// - Parameter completion: A closure to execute asynchronously when the data task completes.
10 |     /// - Returns: The retrieved session data.
11 |     public static func requestAsynchronousData(_ request: URLRequest, completion: @escaping (Result<Data, Error>) -> Void) -> Void {
   |                                                           `- error: cannot find type 'URLRequest' in scope
12 |         let task = URLSession.shared.dataTask(with: request) { data, _, error -> Void in
13 |             completion(Result(data, error))
/host/spi-builder-workspace/.build/checkouts/Swift-Misc-Utility/Sources/SwiftMiscUtility/SynchronousData.swift:22:58: error: cannot find type 'URLRequest' in scope
20 |     /// - Throws: Any returned error on `Result.get`.
21 |     /// - Returns: The retrieved session data.
22 |     public static func requestSynchronousData(_ request: URLRequest) throws -> Data {
   |                                                          `- error: cannot find type 'URLRequest' in scope
23 |         let semaphore = DispatchSemaphore(value: 0)
24 |         var received: Result<Data, Error> = Result(Data(), nil)
[17/17] Compiling SwiftMiscUtility Utility+SideEffect.swift
BUILD FAILURE 6.3 linux