The Swift Package Index logo.Swift Package Index

Build Information

Failed to build xcopen, reference 0.1.8 (df6f77), with Swift 6.2 for Linux on 19 Jun 2025 11:06:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/erica/xcopen.git
Reference: 0.1.8
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/xcopen
 * tag               0.1.8      -> FETCH_HEAD
HEAD is now at df6f77e Updates docs and user messages after adding default pkg open
Cloned https://github.com/erica/xcopen.git
Revision (git rev-parse @):
df6f77e0c66ac40f992f92f5a7332882b20f67e7
SUCCESS checkout https://github.com/erica/xcopen.git at 0.1.8
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/erica/xcopen.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/erica/Swift-Mac-Utility
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/erica/Swift-General-Utility
[1/101] Fetching swift-general-utility
[102/156] Fetching swift-general-utility, swift-mac-utility
Fetched https://github.com/erica/Swift-Mac-Utility from cache (0.26s)
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/erica/Swift-General-Utility from cache (0.73s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.74s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.2.0 (1.10s)
Computing version for https://github.com/erica/Swift-Mac-Utility
Computed https://github.com/erica/Swift-Mac-Utility at 0.0.5 (0.35s)
Fetching https://github.com/erica/Swift-Misc-Utility
[1/38] Fetching swift-misc-utility
Fetched https://github.com/erica/Swift-Misc-Utility from cache (0.21s)
Computing version for https://github.com/erica/Swift-General-Utility
Computed https://github.com/erica/Swift-General-Utility at 0.0.8 (0.55s)
Computing version for https://github.com/erica/Swift-Misc-Utility
Computed https://github.com/erica/Swift-Misc-Utility at 0.0.0 (0.35s)
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
Creating working copy for https://github.com/erica/Swift-Mac-Utility
Working copy of https://github.com/erica/Swift-Mac-Utility resolved at 0.0.5
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/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.2.0
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/44] Compiling ArgumentParser EnumerableFlag.swift
[8/44] Compiling ArgumentParser ExpressibleByArgument.swift
[9/44] Compiling ArgumentParser ParsableArguments.swift
[10/44] Compiling ArgumentParser ParsableArgumentsValidation.swift
[11/44] Compiling ArgumentParser NameSpecification.swift
[12/44] Compiling ArgumentParser Option.swift
[13/44] Compiling ArgumentParser OptionGroup.swift
[14/44] Compiling ArgumentParser CommandConfiguration.swift
[15/47] Emitting module GeneralUtility
[16/47] Compiling GeneralUtility Utility.swift
[17/48] Emitting module ArgumentParser
[18/48] Compiling ArgumentParser Argument.swift
[19/48] Compiling ArgumentParser ArgumentHelp.swift
[20/48] Compiling ArgumentParser Errors.swift
[21/48] Compiling ArgumentParser Flag.swift
[22/48] Wrapping AST for GeneralUtility for debugging
[24/57] 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 |         }
[25/58] Compiling SwiftMiscUtility Utility+SideEffect.swift
[26/58] Compiling SwiftMiscUtility String+Utility.swift
[27/58] Compiling SwiftMiscUtility RuntimeError.swift
[28/58] Compiling ArgumentParser ParsableCommand.swift
[29/58] Compiling ArgumentParser ArgumentDecoder.swift
[30/58] Compiling ArgumentParser ArgumentDefinition.swift
[31/58] Compiling ArgumentParser ArgumentSet.swift
[32/58] Compiling ArgumentParser HelpCommand.swift
[33/58] Compiling ArgumentParser HelpGenerator.swift
[34/58] Compiling ArgumentParser MessageInfo.swift
[35/58] Compiling ArgumentParser UsageGenerator.swift
[36/58] Compiling ArgumentParser ArgumentSetSequence.swift
[37/58] Compiling ArgumentParser CommandParser.swift
[38/58] Compiling ArgumentParser InputOrigin.swift
[39/58] Compiling ArgumentParser Name.swift
[40/58] Compiling ArgumentParser Parsed.swift
[41/58] Compiling ArgumentParser ParsedValues.swift
[42/58] Compiling ArgumentParser ParserError.swift
[43/58] Compiling ArgumentParser SplitArguments.swift
[44/58] Compiling SwiftMiscUtility Rounding.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[45/58] Compiling SwiftMiscUtility Exponentiation.swift
[46/58] Compiling SwiftMiscUtility Applicative.swift
[47/58] Compiling SwiftMiscUtility Collection+Utility.swift
[48/58] Compiling SwiftMiscUtility Result+Utility.swift
[49/58] 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)
BUILD FAILURE 6.2 linux