Build Information
Failed to build SnabblePay, reference 1.1.2 (071bb3), with Swift 6.2 for Linux on 21 Jun 2025 01:43:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/snabble/snabble-pay-ios-sdk.git
Reference: 1.1.2
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/snabble/snabble-pay-ios-sdk
* tag 1.1.2 -> FETCH_HEAD
HEAD is now at 071bb32 set version to 1.1.2 build 13 (#52)
Cloned https://github.com/snabble/snabble-pay-ios-sdk.git
Revision (git rev-parse @):
071bb3283372ab1e75aad824e71c5304b854a4f2
SUCCESS checkout https://github.com/snabble/snabble-pay-ios-sdk.git at 1.1.2
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/snabble/snabble-pay-ios-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/pointfreeco/swift-tagged
[1/1162] Fetching swift-tagged
[1163/4998] Fetching swift-tagged, swift-log
Fetched https://github.com/pointfreeco/swift-tagged from cache (0.37s)
Fetched https://github.com/apple/swift-log.git from cache (0.48s)
Computing version for https://github.com/pointfreeco/swift-tagged
Computed https://github.com/pointfreeco/swift-tagged at 0.10.0 (0.99s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.43s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/pointfreeco/swift-tagged
Working copy of https://github.com/pointfreeco/swift-tagged resolved at 0.10.0
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/20] Compiling Logging MetadataProvider.swift
[9/20] Emitting module Logging
[10/20] Compiling Logging Locks.swift
[11/20] Compiling TestHelper TestingDefaults.swift
[12/20] Compiling TestHelper Resource.swift
[13/20] Compiling Tagged UUID.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/20] Emitting module TestHelper
/host/spi-builder-workspace/Tests/Helper/MockNetworking.swift:10:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
8 | import Foundation
9 |
10 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
11 | public static var mockSession: URLSession {
12 | let configuration: URLSessionConfiguration = .ephemeral
/host/spi-builder-workspace/Tests/Helper/MockURLProtocol.swift:12:41: error: cannot find type 'URLRequest' in scope
10 | public class MockURLProtocol: URLProtocol {
11 | public static var error: Error?
12 | public static var requestHandler: ((URLRequest) throws -> (HTTPURLResponse, Data))?
| `- error: cannot find type 'URLRequest' in scope
13 |
14 | override public class func canInit(with request: URLRequest) -> Bool {
/host/spi-builder-workspace/Tests/Helper/MockURLProtocol.swift:14:54: error: cannot find type 'URLRequest' in scope
12 | public static var requestHandler: ((URLRequest) throws -> (HTTPURLResponse, Data))?
13 |
14 | override public class func canInit(with request: URLRequest) -> Bool {
| `- error: cannot find type 'URLRequest' in scope
15 | return true
16 | }
/host/spi-builder-workspace/Tests/Helper/MockURLProtocol.swift:18:77: error: cannot find type 'URLRequest' in scope
16 | }
17 |
18 | override public class func canonicalRequest(for request: URLRequest) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
19 | return request
20 | }
/host/spi-builder-workspace/Tests/Helper/MockURLProtocol.swift:18:62: error: cannot find type 'URLRequest' in scope
16 | }
17 |
18 | override public class func canonicalRequest(for request: URLRequest) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
19 | return request
20 | }
/host/spi-builder-workspace/Tests/Helper/MockURLProtocol.swift:22:26: error: method does not override any method from its superclass
20 | }
21 |
22 | override public func startLoading() {
| `- error: method does not override any method from its superclass
23 | if let error = MockURLProtocol.error {
24 | client?.urlProtocol(self, didFailWithError: error)
/host/spi-builder-workspace/Tests/Helper/MockURLProtocol.swift:43:26: error: method does not override any method from its superclass
41 | }
42 |
43 | override public func stopLoading() {
| `- error: method does not override any method from its superclass
44 | // Not needed
45 | }
/host/spi-builder-workspace/Tests/Helper/MockURLProtocol.swift:10:31: error: 'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 | import Foundation
9 |
10 | public class MockURLProtocol: URLProtocol {
| `- error: 'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | public static var error: Error?
12 | public static var requestHandler: ((URLRequest) throws -> (HTTPURLResponse, Data))?
Foundation.URLProtocol:2:18: note: 'URLProtocol' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLProtocol = AnyObject
| `- note: 'URLProtocol' has been explicitly marked unavailable here
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[15/20] Compiling TestHelper MockNetworking.swift
/host/spi-builder-workspace/Tests/Helper/MockNetworking.swift:10:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
8 | import Foundation
9 |
10 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
11 | public static var mockSession: URLSession {
12 | let configuration: URLSessionConfiguration = .ephemeral
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[16/20] Compiling TestHelper MockURLProtocol.swift
/host/spi-builder-workspace/Tests/Helper/MockURLProtocol.swift:12:41: error: cannot find type 'URLRequest' in scope
10 | public class MockURLProtocol: URLProtocol {
11 | public static var error: Error?
12 | public static var requestHandler: ((URLRequest) throws -> (HTTPURLResponse, Data))?
| `- error: cannot find type 'URLRequest' in scope
13 |
14 | override public class func canInit(with request: URLRequest) -> Bool {
/host/spi-builder-workspace/Tests/Helper/MockURLProtocol.swift:14:54: error: cannot find type 'URLRequest' in scope
12 | public static var requestHandler: ((URLRequest) throws -> (HTTPURLResponse, Data))?
13 |
14 | override public class func canInit(with request: URLRequest) -> Bool {
| `- error: cannot find type 'URLRequest' in scope
15 | return true
16 | }
/host/spi-builder-workspace/Tests/Helper/MockURLProtocol.swift:18:77: error: cannot find type 'URLRequest' in scope
16 | }
17 |
18 | override public class func canonicalRequest(for request: URLRequest) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
19 | return request
20 | }
/host/spi-builder-workspace/Tests/Helper/MockURLProtocol.swift:18:62: error: cannot find type 'URLRequest' in scope
16 | }
17 |
18 | override public class func canonicalRequest(for request: URLRequest) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
19 | return request
20 | }
/host/spi-builder-workspace/Tests/Helper/MockURLProtocol.swift:22:26: error: method does not override any method from its superclass
20 | }
21 |
22 | override public func startLoading() {
| `- error: method does not override any method from its superclass
23 | if let error = MockURLProtocol.error {
24 | client?.urlProtocol(self, didFailWithError: error)
/host/spi-builder-workspace/Tests/Helper/MockURLProtocol.swift:43:26: error: method does not override any method from its superclass
41 | }
42 |
43 | override public func stopLoading() {
| `- error: method does not override any method from its superclass
44 | // Not needed
45 | }
/host/spi-builder-workspace/Tests/Helper/MockURLProtocol.swift:10:31: error: 'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 | import Foundation
9 |
10 | public class MockURLProtocol: URLProtocol {
| `- error: 'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | public static var error: Error?
12 | public static var requestHandler: ((URLRequest) throws -> (HTTPURLResponse, Data))?
Foundation.URLProtocol:2:18: note: 'URLProtocol' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLProtocol = AnyObject
| `- note: 'URLProtocol' has been explicitly marked unavailable here
/host/spi-builder-workspace/Tests/Helper/MockURLProtocol.swift:24:13: error: cannot find 'client' in scope
22 | override public func startLoading() {
23 | if let error = MockURLProtocol.error {
24 | client?.urlProtocol(self, didFailWithError: error)
| `- error: cannot find 'client' in scope
25 | return
26 | }
/host/spi-builder-workspace/Tests/Helper/MockURLProtocol.swift:34:48: error: cannot find 'request' in scope
32 |
33 | do {
34 | let (response, data) = try handler(request)
| `- error: cannot find 'request' in scope
35 | client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: .notAllowed)
36 | client?.urlProtocol(self, didLoad: data)
/host/spi-builder-workspace/Tests/Helper/MockURLProtocol.swift:35:13: error: cannot find 'client' in scope
33 | do {
34 | let (response, data) = try handler(request)
35 | client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: .notAllowed)
| `- error: cannot find 'client' in scope
36 | client?.urlProtocol(self, didLoad: data)
37 | client?.urlProtocolDidFinishLoading(self)
/host/spi-builder-workspace/Tests/Helper/MockURLProtocol.swift:35:82: error: cannot infer contextual base in reference to member 'notAllowed'
33 | do {
34 | let (response, data) = try handler(request)
35 | client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: .notAllowed)
| `- error: cannot infer contextual base in reference to member 'notAllowed'
36 | client?.urlProtocol(self, didLoad: data)
37 | client?.urlProtocolDidFinishLoading(self)
/host/spi-builder-workspace/Tests/Helper/MockURLProtocol.swift:36:13: error: cannot find 'client' in scope
34 | let (response, data) = try handler(request)
35 | client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: .notAllowed)
36 | client?.urlProtocol(self, didLoad: data)
| `- error: cannot find 'client' in scope
37 | client?.urlProtocolDidFinishLoading(self)
38 | } catch {
/host/spi-builder-workspace/Tests/Helper/MockURLProtocol.swift:37:13: error: cannot find 'client' in scope
35 | client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: .notAllowed)
36 | client?.urlProtocol(self, didLoad: data)
37 | client?.urlProtocolDidFinishLoading(self)
| `- error: cannot find 'client' in scope
38 | } catch {
39 | client?.urlProtocol(self, didFailWithError: error)
/host/spi-builder-workspace/Tests/Helper/MockURLProtocol.swift:39:13: error: cannot find 'client' in scope
37 | client?.urlProtocolDidFinishLoading(self)
38 | } catch {
39 | client?.urlProtocol(self, didFailWithError: error)
| `- error: cannot find 'client' in scope
40 | }
41 | }
[17/20] Emitting module Tagged
[18/20] Compiling Tagged Tagged.swift
[20/21] Compiling Logging LogHandler.swift
[21/21] Compiling Logging Logging.swift
BUILD FAILURE 6.2 linux