The Swift Package Index logo.Swift Package Index

Build Information

Failed to build OpenBytesNavigation with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/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/0xOpenBytes/OpenBytesNavigation.git
Reference: 0.1.0
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/0xOpenBytes/OpenBytesNavigation
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at d979559 Update README.md
Cloned https://github.com/0xOpenBytes/OpenBytesNavigation.git
Revision (git rev-parse @):
d979559d15e1fde365e1814bfc01c62869e4ea2d
SUCCESS checkout https://github.com/0xOpenBytes/OpenBytesNavigation.git at 0.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/0xOpenBytes/OpenBytesNavigation.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/0xOpenBytes/Disk
[1/29] Fetching disk
Fetched https://github.com/0xOpenBytes/Disk from cache (0.23s)
Computing version for https://github.com/0xOpenBytes/Disk
Computed https://github.com/0xOpenBytes/Disk at 0.1.0 (0.41s)
Fetching https://github.com/0xOpenBytes/o
[1/248] Fetching o
Fetched https://github.com/0xOpenBytes/o from cache (0.22s)
Computing version for https://github.com/0xOpenBytes/o
Computed https://github.com/0xOpenBytes/o at 2.1.1 (0.42s)
Creating working copy for https://github.com/0xOpenBytes/Disk
Working copy of https://github.com/0xOpenBytes/Disk resolved at 0.1.0
Creating working copy for https://github.com/0xOpenBytes/o
Working copy of https://github.com/0xOpenBytes/o resolved at 2.1.1
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/15] Compiling o NotificationUpdate.swift
[6/16] Compiling o o.swift
[7/16] Compiling o NotificationPost.swift
[8/16] Compiling o NotificationDelete.swift
[9/16] Compiling o NotificationGet.swift
[10/16] Compiling o o+notification.swift
[11/16] Compiling o o+url.swift
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:15:34: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            public let response: URLResponse?
                                 ^~~~~~~~~~~
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:17:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            init(data: Data?, response: URLResponse?) {
                                        ^~~~~~~~~~~
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:22:35: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            init(_ tuple: (Data?, URLResponse?)) {
                                  ^~~~~~~~~~~
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:44:14: error: cannot find type 'URLRequest' in scope
        ) -> URLRequest {
             ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:45:27: error: cannot find 'URLRequest' in scope
            var request = URLRequest(url: url)
                          ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:66:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
            try await URLSession.shared.data(
                      ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:69:30: error: cannot infer contextual base in reference to member 'GET'
                    method: .GET,
                            ~^~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:84:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
            try await URLSession.shared.data(
                      ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:87:30: error: cannot infer contextual base in reference to member 'HEAD'
                    method: .HEAD,
                            ~^~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:102:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
            try await URLSession.shared.data(
                      ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:105:30: error: cannot infer contextual base in reference to member 'CONNECT'
                    method: .CONNECT,
                            ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:120:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
            try await URLSession.shared.data(
                      ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:123:30: error: cannot infer contextual base in reference to member 'OPTIONS'
                    method: .OPTIONS,
                            ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:138:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
            try await URLSession.shared.data(
                      ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:141:30: error: cannot infer contextual base in reference to member 'TRACE'
                    method: .TRACE,
                            ~^~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:158:22: error: cannot infer contextual base in reference to member 'POST'
            method: .POST,
                    ~^~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:165:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
            try await URLSession.shared.data(
                      ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:181:22: error: cannot infer contextual base in reference to member 'PUT'
            method: .PUT,
                    ~^~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:188:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
            try await URLSession.shared.data(
                      ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:204:22: error: cannot infer contextual base in reference to member 'PATCH'
            method: .PATCH,
                    ~^~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:211:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
            try await URLSession.shared.data(
                      ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:227:22: error: cannot infer contextual base in reference to member 'DELETE'
            method: .DELETE,
                    ~^~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:234:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
            try await URLSession.shared.data(
                      ~~~~~~~~~~ ^~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/16] Compiling o NotificationAuthorization.swift
[13/16] Compiling o NotificationDelegate.swift
[14/16] Emitting module o
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:15:34: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            public let response: URLResponse?
                                 ^~~~~~~~~~~
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:17:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            init(data: Data?, response: URLResponse?) {
                                        ^~~~~~~~~~~
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:22:35: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            init(_ tuple: (Data?, URLResponse?)) {
                                  ^~~~~~~~~~~
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:44:14: error: cannot find type 'URLRequest' in scope
        ) -> URLRequest {
             ^~~~~~~~~~
[15/16] Compiling o o+console.swift
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/File/o+file.swift:260:20: error: no exact matches in call to initializer
            return URL(filePath: filePath)
                   ^
Foundation.URL:8:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileURLWithPath:)')
    public init(fileURLWithPath path: String)
           ^
Foundation.URL:2:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileReferenceLiteralResourceName:)')
    public init(fileReferenceLiteralResourceName name: String)
           ^
[16/16] Compiling o o+file.swift
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/File/o+file.swift:260:20: error: no exact matches in call to initializer
            return URL(filePath: filePath)
                   ^
Foundation.URL:8:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileURLWithPath:)')
    public init(fileURLWithPath path: String)
           ^
Foundation.URL:2:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileReferenceLiteralResourceName:)')
    public init(fileReferenceLiteralResourceName name: String)
           ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/5] Compiling o o+url.swift
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:15:34: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            public let response: URLResponse?
                                 ^~~~~~~~~~~
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:17:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            init(data: Data?, response: URLResponse?) {
                                        ^~~~~~~~~~~
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:22:35: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            init(_ tuple: (Data?, URLResponse?)) {
                                  ^~~~~~~~~~~
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:44:14: error: cannot find type 'URLRequest' in scope
        ) -> URLRequest {
             ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:45:27: error: cannot find 'URLRequest' in scope
            var request = URLRequest(url: url)
                          ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:66:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
            try await URLSession.shared.data(
                      ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:69:30: error: cannot infer contextual base in reference to member 'GET'
                    method: .GET,
                            ~^~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:84:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
            try await URLSession.shared.data(
                      ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:87:30: error: cannot infer contextual base in reference to member 'HEAD'
                    method: .HEAD,
                            ~^~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:102:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
            try await URLSession.shared.data(
                      ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:105:30: error: cannot infer contextual base in reference to member 'CONNECT'
                    method: .CONNECT,
                            ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:120:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
            try await URLSession.shared.data(
                      ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:123:30: error: cannot infer contextual base in reference to member 'OPTIONS'
                    method: .OPTIONS,
                            ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:138:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
            try await URLSession.shared.data(
                      ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:141:30: error: cannot infer contextual base in reference to member 'TRACE'
                    method: .TRACE,
                            ~^~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:158:22: error: cannot infer contextual base in reference to member 'POST'
            method: .POST,
                    ~^~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:165:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
            try await URLSession.shared.data(
                      ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:181:22: error: cannot infer contextual base in reference to member 'PUT'
            method: .PUT,
                    ~^~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:188:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
            try await URLSession.shared.data(
                      ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:204:22: error: cannot infer contextual base in reference to member 'PATCH'
            method: .PATCH,
                    ~^~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:211:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
            try await URLSession.shared.data(
                      ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:227:22: error: cannot infer contextual base in reference to member 'DELETE'
            method: .DELETE,
                    ~^~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:234:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
            try await URLSession.shared.data(
                      ~~~~~~~~~~ ^~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Compiling o o+console.swift
[4/5] Emitting module o
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:15:34: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            public let response: URLResponse?
                                 ^~~~~~~~~~~
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:17:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            init(data: Data?, response: URLResponse?) {
                                        ^~~~~~~~~~~
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:22:35: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            init(_ tuple: (Data?, URLResponse?)) {
                                  ^~~~~~~~~~~
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:44:14: error: cannot find type 'URLRequest' in scope
        ) -> URLRequest {
             ^~~~~~~~~~
[5/5] Compiling o o+file.swift
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/File/o+file.swift:260:20: error: no exact matches in call to initializer
            return URL(filePath: filePath)
                   ^
Foundation.URL:8:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileURLWithPath:)')
    public init(fileURLWithPath path: String)
           ^
Foundation.URL:2:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileReferenceLiteralResourceName:)')
    public init(fileReferenceLiteralResourceName name: String)
           ^
[6/6] Compiling o o.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1