The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ScreenDataNavigation with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ServerDriven/ScreenDataNavigation-swift.git
Reference: main
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/ServerDriven/ScreenDataNavigation-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 425bc09 Update FLet package
Cloned https://github.com/ServerDriven/ScreenDataNavigation-swift.git
Revision (git rev-parse @):
425bc09a03e7b41faa64ad8688b6e0c321102fb5
SUCCESS checkout https://github.com/ServerDriven/ScreenDataNavigation-swift.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/ServerDriven/ScreenDataNavigation-swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/0xOpenBytes/FLet
Fetching https://github.com/ServerDriven/ScreenData-swift
Fetching https://github.com/0xOpenBytes/c
Fetching https://github.com/0xOpenBytes/t
Fetching https://github.com/0xOpenBytes/o
[1/237] Fetching c
[238/567] Fetching c, screendata-swift
[417/594] Fetching c, screendata-swift, flet
[595/962] Fetching c, screendata-swift, flet, t
[860/1210] Fetching c, screendata-swift, flet, t, o
Fetched https://github.com/ServerDriven/ScreenData-swift from cache (0.23s)
Fetched https://github.com/0xOpenBytes/FLet from cache (0.25s)
Fetched https://github.com/0xOpenBytes/o from cache (0.25s)
Computing version for https://github.com/0xOpenBytes/FLet
Fetched https://github.com/0xOpenBytes/c from cache (0.25s)
Fetched https://github.com/0xOpenBytes/t from cache (0.25s)
Computed https://github.com/0xOpenBytes/FLet at 2.0.0 (0.40s)
Computing version for https://github.com/ServerDriven/ScreenData-swift
Computed https://github.com/ServerDriven/ScreenData-swift at 0.4.0 (0.39s)
Computing version for https://github.com/0xOpenBytes/o
Computed https://github.com/0xOpenBytes/o at 0.2.1 (0.40s)
Computing version for https://github.com/0xOpenBytes/c
Computed https://github.com/0xOpenBytes/c at 1.0.1 (0.38s)
Computing version for https://github.com/0xOpenBytes/t
Computed https://github.com/0xOpenBytes/t at 0.2.0 (0.39s)
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/o
Working copy of https://github.com/0xOpenBytes/o resolved at 0.2.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/t
Working copy of https://github.com/0xOpenBytes/t resolved at 0.2.0
Creating working copy for https://github.com/0xOpenBytes/c
Working copy of https://github.com/0xOpenBytes/c resolved at 1.0.1
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/41] Compiling ScreenData DestinationType.swift
[9/41] Compiling ScreenData FontType.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/43] 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
       ^
[11/43] 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
       ^
[12/43] 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
       ^
[13/43] 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
       ^
[14/43] Emitting module ScreenData
[15/43] Compiling ScreenData Destination.swift
[16/43] Compiling ScreenData SomeColor.swift
[17/44] Compiling ScreenData SomeContainerView.swift
[18/44] Compiling ScreenData SomeCustomView.swift
[19/44] Compiling ScreenData ImageAspectScale.swift
[20/44] Compiling ScreenData ViewDirectionAxis.swift
[21/44] Compiling ScreenData SomeImage.swift
[22/44] Compiling ScreenData SomeLabel.swift
[23/44] Compiling ScreenData ViewType.swift
[24/44] Compiling ScreenData SomeButton.swift
[25/44] Compiling o NotificationUpdate.swift
[26/44] 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
       ^
[27/44] 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
       ^
[28/44] Compiling o o.swift
[29/44] Compiling ScreenData SomeView.swift
[30/44] Compiling ScreenData SomeScreen.swift
[31/44] Compiling o NotificationPost.swift
[34/44] Compiling ScreenData SomeStyle.swift
[35/44] Compiling ScreenData SomeView+.swift
[38/44] Compiling ScreenData SomeSpacer.swift
[39/44] Compiling ScreenData SomeText.swift
error: fatalError
[40/45] Compiling o o+notification.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)
                                             ^
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/8] 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
       ^
[3/8] 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
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/12] 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
       ^
[5/12] 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
       ^
[6/12] 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
       ^
[7/12] 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
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1