The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SnabblePay, reference main (94e61a), with Swift 6.3 for Android on 14 Apr 2026 06:18:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/snabble/snabble-pay-ios-sdk.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/snabble/snabble-pay-ios-sdk
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 94e61a9 Update checkout and upload-artifact action to v4 (#54)
Cloned https://github.com/snabble/snabble-pay-ios-sdk.git
Revision (git rev-parse @):
94e61a9ff31091d0a52173606140ce21de359e2a
SUCCESS checkout https://github.com/snabble/snabble-pay-ios-sdk.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
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-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/pointfreeco/swift-tagged
Fetching https://github.com/apple/swift-log.git
[1/1218] Fetching swift-tagged
[1219/7779] Fetching swift-tagged, swift-log
Fetched https://github.com/pointfreeco/swift-tagged from cache (0.88s)
Fetched https://github.com/apple/swift-log.git from cache (0.88s)
Computing version for https://github.com/pointfreeco/swift-tagged
Computed https://github.com/pointfreeco/swift-tagged at 0.10.0 (1.73s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (0.89s)
Creating working copy for https://github.com/pointfreeco/swift-tagged
Working copy of https://github.com/pointfreeco/swift-tagged resolved at 0.10.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.0
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version--4F562202D5529B1.txt
[8/21] Emitting module Tagged
[9/21] Compiling Logging MetadataProvider.swift
[10/21] Compiling Logging LogHandler.swift
[11/21] Compiling Logging LogEvent.swift
[12/21] Compiling Logging Locks.swift
[13/21] Emitting module Logging
[14/21] Compiling Logging Logging.swift
[15/22] Compiling Tagged UUID.swift
[17/22] Compiling TestHelper TestingDefaults.swift
[18/22] 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>
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/22] 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>
[20/22] 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 |     }
[21/24] Compiling Tagged Tagged.swift
[23/25] Compiling TestHelper Resource.swift
BUILD FAILURE 6.3 android