The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftMiscUtility with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-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/Swift-Misc-Utility.git
Reference: main
Cloned https://github.com/erica/Swift-Misc-Utility.git into spi-builder-workspace
SUCCESS checkout https://github.com/erica/Swift-Misc-Utility.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Unable to find image 'registry.gitlab.com/finestructure/spi-images:basic-5.9-latest' locally
basic-5.9-latest: Pulling from finestructure/spi-images
99803d4b97f3: Already exists
5e1b2fb8357f: Already exists
4f4fb700ef54: Already exists
f1c7a4392f9e: Already exists
9efea71765ed: Already exists
fb7dea7fb088: Already exists
124f96eb3fc2: Pulling fs layer
124f96eb3fc2: Verifying Checksum
124f96eb3fc2: Download complete
124f96eb3fc2: Pull complete
Digest: sha256:c9de9b81fe76e6276d4917ad8029a956492389dc9f5ee4a314ba4e445da236a2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/erica/Swift-General-Utility
[1/101] Fetching swift-general-utility
Fetched https://github.com/erica/Swift-General-Utility (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.26s)
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...
[1/2] Emitting module GeneralUtility
[2/2] Compiling GeneralUtility Utility.swift
[5/13] Compiling SwiftMiscUtility String+Utility.swift
[6/13] Compiling SwiftMiscUtility SynchronousData.swift
/host/spi-builder-workspace/Sources/SwiftMiscUtility/SynchronousData.swift:5:11: error: cannot find type 'Utility' in scope
extension Utility {
          ^~~~~~~
/host/spi-builder-workspace/Sources/SwiftMiscUtility/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/Sources/SwiftMiscUtility/SynchronousData.swift:21:58: error: cannot find type 'URLRequest' in scope
    public static func requestSynchronousData(_ request: URLRequest) throws -> Data {
                                                         ^~~~~~~~~~
[7/13] Compiling SwiftMiscUtility RuntimeError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/14] Emitting module SwiftMiscUtility
/host/spi-builder-workspace/Sources/SwiftMiscUtility/SynchronousData.swift:5:11: error: cannot find type 'Utility' in scope
extension Utility {
          ^~~~~~~
/host/spi-builder-workspace/Sources/SwiftMiscUtility/Utility+SideEffect.swift:13:11: error: cannot find type 'Utility' in scope
extension Utility {
          ^~~~~~~
[9/14] Compiling SwiftMiscUtility Utility+SideEffect.swift
/host/spi-builder-workspace/Sources/SwiftMiscUtility/Utility+SideEffect.swift:13:11: error: cannot find type 'Utility' in scope
extension Utility {
          ^~~~~~~
[10/14] Compiling SwiftMiscUtility Applicative.swift
[11/14] Compiling SwiftMiscUtility Collection+Utility.swift
[12/14] Compiling SwiftMiscUtility Exponentiation.swift
[13/14] Compiling SwiftMiscUtility Result+Utility.swift
[14/14] Compiling SwiftMiscUtility Rounding.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1