The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ScreenDataNavigation 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/ServerDriven/ScreenDataNavigation-swift.git
Reference: main
Cloned https://github.com/ServerDriven/ScreenDataNavigation-swift.git into spi-builder-workspace
SUCCESS checkout https://github.com/ServerDriven/ScreenDataNavigation-swift.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-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/0xOpenBytes/FLet
Fetching https://github.com/0xOpenBytes/c
Fetching https://github.com/ServerDriven/ScreenData-swift
[1/330] Fetching screendata-swift
[331/567] Fetching screendata-swift, c
Fetching https://github.com/0xOpenBytes/t
Fetched https://github.com/ServerDriven/ScreenData-swift (0.26s)
Fetched https://github.com/0xOpenBytes/c (0.26s)
Fetching https://github.com/0xOpenBytes/o
Fetched https://github.com/0xOpenBytes/FLet (0.27s)
Computing version for https://github.com/0xOpenBytes/FLet
[1/248] Fetching o
[249/616] Fetching o, t
Fetched https://github.com/0xOpenBytes/o (0.25s)
Fetched https://github.com/0xOpenBytes/t (0.27s)
Computed https://github.com/0xOpenBytes/FLet at 2.0.0 (0.37s)
Computing version for https://github.com/ServerDriven/ScreenData-swift
Computed https://github.com/ServerDriven/ScreenData-swift at 0.4.0 (0.34s)
Computing version for https://github.com/0xOpenBytes/o
Computed https://github.com/0xOpenBytes/o at 0.2.1 (0.37s)
Computing version for https://github.com/0xOpenBytes/c
Computed https://github.com/0xOpenBytes/c at 1.0.1 (0.33s)
Computing version for https://github.com/0xOpenBytes/t
Computed https://github.com/0xOpenBytes/t at 0.2.0 (0.40s)
Creating working copy for https://github.com/ServerDriven/ScreenData-swift
Working copy of https://github.com/ServerDriven/ScreenData-swift resolved at 0.4.0
Creating working copy for https://github.com/0xOpenBytes/c
Working copy of https://github.com/0xOpenBytes/c resolved at 1.0.1
Creating working copy for https://github.com/0xOpenBytes/FLet
Working copy of https://github.com/0xOpenBytes/FLet resolved at 2.0.0
Creating working copy for https://github.com/0xOpenBytes/o
Working copy of https://github.com/0xOpenBytes/o resolved at 0.2.1
Creating working copy for https://github.com/0xOpenBytes/t
Working copy of https://github.com/0xOpenBytes/t resolved at 0.2.0
Building for debugging...
[1/34] Compiling ScreenData DestinationType.swift
[2/34] Compiling ScreenData FontType.swift
[3/36] Compiling t t.swift
/host/spi-builder-workspace/.build/checkouts/t/Sources/t/Logging/t+Logging.swift:1:8: error: no such module 'Foundation.FoundationErrors'
import Foundation.FoundationErrors
       ^
[4/36] Emitting module ScreenData
[5/36] Compiling ScreenData SomeColor.swift
[6/36] Compiling ScreenData SomeStyle.swift
[7/36] Compiling ScreenData SomeScreen.swift
[8/36] Compiling ScreenData Destination.swift
[12/36] Compiling ScreenData SomeView+.swift
[13/36] Compiling ScreenData SomeView.swift
[15/36] Compiling ScreenData SomeContainerView.swift
[16/36] Compiling ScreenData SomeCustomView.swift
[17/36] Compiling ScreenData ViewType.swift
[18/36] Compiling ScreenData SomeButton.swift
[19/37] Compiling ScreenData ImageAspectScale.swift
[20/37] Compiling ScreenData ViewDirectionAxis.swift
[21/37] Compiling o o.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/37] Emitting module t
/host/spi-builder-workspace/.build/checkouts/t/Sources/t/Logging/t+Logging.swift:1:8: error: no such module 'Foundation.FoundationErrors'
import Foundation.FoundationErrors
       ^
[23/37] Compiling ScreenData SomeImage.swift
[24/37] Compiling ScreenData SomeLabel.swift
[25/37] Compiling t t+Logging.swift
/host/spi-builder-workspace/.build/checkouts/t/Sources/t/Logging/t+Logging.swift:1:8: error: no such module 'Foundation.FoundationErrors'
import Foundation.FoundationErrors
       ^
[26/37] Compiling t t+Assertion.swift
/host/spi-builder-workspace/.build/checkouts/t/Sources/t/Logging/t+Logging.swift:1:8: error: no such module 'Foundation.FoundationErrors'
import Foundation.FoundationErrors
       ^
[27/37] Compiling t t+Factories.swift
/host/spi-builder-workspace/.build/checkouts/t/Sources/t/Logging/t+Logging.swift:1:8: error: no such module 'Foundation.FoundationErrors'
import Foundation.FoundationErrors
       ^
[28/37] Compiling t t+Structure.swift
/host/spi-builder-workspace/.build/checkouts/t/Sources/t/Logging/t+Logging.swift:1:8: error: no such module 'Foundation.FoundationErrors'
import Foundation.FoundationErrors
       ^
[29/37] Compiling ScreenData SomeSpacer.swift
[30/37] Compiling ScreenData SomeText.swift
error: fatalError
[33/39] Compiling o NotificationUpdate.swift
[34/39] Compiling o o+notification.swift
[35/39] Compiling o NotificationPost.swift
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:22:43: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        successHandler: @escaping (Value, URLResponse) -> Void,
                                          ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:29:36: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        failureHandler: @escaping (URLResponse) -> Void = {
                                   ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:83:43: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        successHandler: @escaping (Data?, URLResponse?) -> Void,
                                          ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:36:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:41:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        URLSession.shared
        ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:55:40: error: argument type '_' expected to be an instance of a class or class-constrained type
                        failureHandler(response)
                                       ^
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:86:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:92:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        URLSession.shared
        ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:99:40: error: cannot convert value of type '_' to expected argument type 'Data?'
                        successHandler(data, response)
                                       ^
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:99:46: error: argument type '_' expected to be an instance of a class or class-constrained type
                        successHandler(data, response)
                                             ^
BUILD FAILURE 5.9 linux

Build Machine: Linux 2