The Swift Package Index logo.Swift Package Index

Build Information

Failed to build xcopen with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/erica/xcopen.git
Reference: master
Cloned https://github.com/erica/xcopen.git into spi-builder-workspace
SUCCESS checkout https://github.com/erica/xcopen.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/erica/Swift-Mac-Utility
Fetching https://github.com/erica/Swift-General-Utility
[1/101] Fetching swift-general-utility
[102/10886] Fetching swift-general-utility, swift-argument-parser
Fetched https://github.com/erica/Swift-General-Utility (0.71s)
Fetched https://github.com/apple/swift-argument-parser (0.72s)
Fetched https://github.com/erica/Swift-Mac-Utility (0.72s)
Computing version for https://github.com/erica/Swift-Mac-Utility
Computed https://github.com/erica/Swift-Mac-Utility at 0.0.3 (0.37s)
Computing version for https://github.com/erica/Swift-General-Utility
Computed https://github.com/erica/Swift-General-Utility at 0.0.6 (0.34s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.2.0 (0.41s)
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.6
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.3
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...
[1/44] Compiling ArgumentParser ArgumentSetSequence.swift
[2/44] Compiling ArgumentParser CommandParser.swift
[3/44] Compiling ArgumentParser InputOrigin.swift
[4/44] Compiling ArgumentParser Name.swift
[5/47] Compiling ArgumentParser ParsableCommand.swift
[6/47] Compiling ArgumentParser ArgumentDecoder.swift
[7/47] Compiling ArgumentParser ArgumentDefinition.swift
[8/47] Compiling ArgumentParser ArgumentSet.swift
[9/47] Compiling ArgumentParser SequenceExtensions.swift
[10/47] Compiling ArgumentParser StringExtensions.swift
[11/47] Compiling ArgumentParser Tree.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/47] Compiling ArgumentParser Argument.swift
[13/47] Compiling ArgumentParser ArgumentHelp.swift
[14/47] Emitting module GeneralUtility
/host/spi-builder-workspace/.build/checkouts/Swift-General-Utility/Sources/SynchronousData.swift:10:59: error: cannot find type 'URLRequest' in scope
    public static func requestAsynchronousData(_ request: URLRequest, completion: @escaping (Result<Data, Error>) -> Void) -> Void {
                                                          ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Swift-General-Utility/Sources/SynchronousData.swift:21:58: error: cannot find type 'URLRequest' in scope
    public static func requestSynchronousData(_ request: URLRequest) throws -> Data {
                                                         ^~~~~~~~~~
[15/48] Compiling GeneralUtility Rounding.swift
[16/48] Compiling GeneralUtility RuntimeError.swift
[17/48] Compiling ArgumentParser Errors.swift
[18/48] Compiling ArgumentParser Flag.swift
[19/48] Compiling ArgumentParser Parsed.swift
[20/48] Compiling ArgumentParser ParsedValues.swift
[21/48] Compiling ArgumentParser ParserError.swift
[22/48] Compiling ArgumentParser SplitArguments.swift
[23/48] Compiling ArgumentParser HelpCommand.swift
[24/48] Compiling ArgumentParser HelpGenerator.swift
[25/48] Compiling ArgumentParser MessageInfo.swift
[26/48] Compiling ArgumentParser UsageGenerator.swift
[27/48] Compiling GeneralUtility Utility.swift
[28/48] Compiling ArgumentParser NameSpecification.swift
[29/48] Compiling ArgumentParser Option.swift
[30/48] Compiling ArgumentParser OptionGroup.swift
[31/48] Compiling ArgumentParser CommandConfiguration.swift
[36/48] Emitting module ArgumentParser
[37/48] Compiling ArgumentParser EnumerableFlag.swift
[38/48] Compiling ArgumentParser ExpressibleByArgument.swift
[39/48] Compiling ArgumentParser ParsableArguments.swift
[40/48] Compiling ArgumentParser ParsableArgumentsValidation.swift
[41/49] Compiling GeneralUtility Utility+SideEffect.swift
[43/49] Compiling GeneralUtility String+Utility.swift
[44/49] Compiling GeneralUtility SynchronousData.swift
/host/spi-builder-workspace/.build/checkouts/Swift-General-Utility/Sources/SynchronousData.swift:10:59: error: cannot find type 'URLRequest' in scope
    public static func requestAsynchronousData(_ request: URLRequest, completion: @escaping (Result<Data, Error>) -> Void) -> Void {
                                                          ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Swift-General-Utility/Sources/SynchronousData.swift:21:58: error: cannot find type 'URLRequest' in scope
    public static func requestSynchronousData(_ request: URLRequest) throws -> Data {
                                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Swift-General-Utility/Sources/SynchronousData.swift:11:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let task = URLSession.shared.dataTask(with: request) { data, _, error -> Void in
                   ~~~~~~~~~~ ^~~~~~
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2