Build Information
Failed to build PusherSwift, reference 10.1.6 (d8d7a7
), with Swift 6.2 (beta) for Android on 21 Jun 2025 08:46:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pusher/pusher-websocket-swift.git
Reference: 10.1.6
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/pusher/pusher-websocket-swift
* tag 10.1.6 -> FETCH_HEAD
HEAD is now at d8d7a77 Merge pull request #445 from pusher/release-10.1.6
Cloned https://github.com/pusher/pusher-websocket-swift.git
Revision (git rev-parse @):
d8d7a776fa92c733891790be6e8d3e3532e79c43
SUCCESS checkout https://github.com/pusher/pusher-websocket-swift.git at 10.1.6
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/pusher/pusher-websocket-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/bitmark-inc/tweetnacl-swiftwrap
Fetching https://github.com/pusher/NWWebSocket.git
[1/415] Fetching tweetnacl-swiftwrap
[101/1173] Fetching tweetnacl-swiftwrap, nwwebsocket
Fetched https://github.com/bitmark-inc/tweetnacl-swiftwrap from cache (0.37s)
Fetched https://github.com/pusher/NWWebSocket.git from cache (0.37s)
Computing version for https://github.com/bitmark-inc/tweetnacl-swiftwrap
Computed https://github.com/bitmark-inc/tweetnacl-swiftwrap at 1.1.0 (4.30s)
Computing version for https://github.com/pusher/NWWebSocket.git
Computed https://github.com/pusher/NWWebSocket.git at 0.5.7 (0.81s)
Creating working copy for https://github.com/bitmark-inc/tweetnacl-swiftwrap
Working copy of https://github.com/bitmark-inc/tweetnacl-swiftwrap resolved at 1.1.0
Creating working copy for https://github.com/pusher/NWWebSocket.git
Working copy of https://github.com/pusher/NWWebSocket.git resolved at 0.5.7
Building for debugging...
[0/5] Write sources
[3/5] Write swift-version-8C5A4AE7A8CE2BA.txt
[4/5] Compiling CTweetNacl ctweetnacl.c
[6/12] Emitting module TweetNacl
[7/12] Compiling TweetNacl Constant.swift
[8/12] Compiling TweetNacl TweetNacl.swift
/host/spi-builder-workspace/.build/checkouts/tweetnacl-swiftwrap/Sources/TweetNacl/TweetNacl.swift:62:20: error: cannot find 'SecRandomCopyBytes' in scope
60 | var randomData = Data(count: count)
61 | let result = randomData.withUnsafeMutableBytes {
62 | return SecRandomCopyBytes(kSecRandomDefault, count, $0)
| `- error: cannot find 'SecRandomCopyBytes' in scope
63 | }
64 | guard result == errSecSuccess else {
/host/spi-builder-workspace/.build/checkouts/tweetnacl-swiftwrap/Sources/TweetNacl/TweetNacl.swift:62:39: error: cannot find 'kSecRandomDefault' in scope
60 | var randomData = Data(count: count)
61 | let result = randomData.withUnsafeMutableBytes {
62 | return SecRandomCopyBytes(kSecRandomDefault, count, $0)
| `- error: cannot find 'kSecRandomDefault' in scope
63 | }
64 | guard result == errSecSuccess else {
/host/spi-builder-workspace/.build/checkouts/tweetnacl-swiftwrap/Sources/TweetNacl/TweetNacl.swift:64:25: error: cannot find 'errSecSuccess' in scope
62 | return SecRandomCopyBytes(kSecRandomDefault, count, $0)
63 | }
64 | guard result == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
65 | throw NaclUtilError.internalError
66 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/12] Emitting module NWWebSocket
/host/spi-builder-workspace/.build/checkouts/NWWebSocket/Sources/NWWebSocket/Extension/NWConnection+Extension.swift:1:8: error: no such module 'Network'
1 | import Network
| `- error: no such module 'Network'
2 |
3 | fileprivate var _intentionalDisconnection: Bool = false
[10/12] Compiling NWWebSocket WebSocketConnection.swift
/host/spi-builder-workspace/.build/checkouts/NWWebSocket/Sources/NWWebSocket/Extension/NWConnection+Extension.swift:1:8: error: no such module 'Network'
1 | import Network
| `- error: no such module 'Network'
2 |
3 | fileprivate var _intentionalDisconnection: Bool = false
[11/12] Compiling NWWebSocket NWConnection+Extension.swift
/host/spi-builder-workspace/.build/checkouts/NWWebSocket/Sources/NWWebSocket/Extension/NWConnection+Extension.swift:1:8: error: no such module 'Network'
1 | import Network
| `- error: no such module 'Network'
2 |
3 | fileprivate var _intentionalDisconnection: Bool = false
[12/12] Compiling NWWebSocket NWWebSocket.swift
/host/spi-builder-workspace/.build/checkouts/NWWebSocket/Sources/NWWebSocket/Extension/NWConnection+Extension.swift:1:8: error: no such module 'Network'
1 | import Network
| `- error: no such module 'Network'
2 |
3 | fileprivate var _intentionalDisconnection: Bool = false
BUILD FAILURE 6.2 android