The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build PusherSwift 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/pusher/pusher-websocket-swift.git
Reference: 10.1.5
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.5     -> FETCH_HEAD
HEAD is now at 886341f Use organization level CocoaPods token (#423)
Cloned https://github.com/pusher/pusher-websocket-swift.git
Revision (git rev-parse @):
886341f9dad453c9822f2525136ee2006a6c3c9e
SUCCESS checkout https://github.com/pusher/pusher-websocket-swift.git at 10.1.5
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/pusher/pusher-websocket-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/bitmark-inc/tweetnacl-swiftwrap
Fetching https://github.com/pusher/NWWebSocket.git
[1/611] Fetching nwwebsocket
[32/1015] Fetching nwwebsocket, tweetnacl-swiftwrap
Fetched https://github.com/pusher/NWWebSocket.git from cache (0.25s)
Fetched https://github.com/bitmark-inc/tweetnacl-swiftwrap from cache (0.25s)
Computing version for https://github.com/bitmark-inc/tweetnacl-swiftwrap
Computed https://github.com/bitmark-inc/tweetnacl-swiftwrap at 1.0.2 (1.00s)
Computing version for https://github.com/pusher/NWWebSocket.git
Computed https://github.com/pusher/NWWebSocket.git at 0.5.4 (0.38s)
Creating working copy for https://github.com/pusher/NWWebSocket.git
Working copy of https://github.com/pusher/NWWebSocket.git resolved at 0.5.4
Creating working copy for https://github.com/bitmark-inc/tweetnacl-swiftwrap
Working copy of https://github.com/bitmark-inc/tweetnacl-swiftwrap resolved at 1.0.2
Building for debugging...
[0/5] Write sources
[3/5] Compiling CTweetNacl ctweetnacl.c
[4/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/12] Emitting module NWWebSocket
/host/spi-builder-workspace/.build/checkouts/NWWebSocket/Sources/NWWebSocket/Extension/NWConnection+Extension.swift:1:8: error: no such module 'Network'
import Network
       ^
[7/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'
import Network
       ^
[8/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'
import Network
       ^
[9/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'
import Network
       ^
error: fatalError
[10/12] Compiling TweetNacl Constant.swift
[11/12] Emitting module TweetNacl
/host/spi-builder-workspace/.build/checkouts/tweetnacl-swiftwrap/Sources/TweetNacl/TweetNacl.swift:45:20: error: cannot find 'SecRandomCopyBytes' in scope
            return SecRandomCopyBytes(kSecRandomDefault, length, $0)
                   ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/tweetnacl-swiftwrap/Sources/TweetNacl/TweetNacl.swift:45:39: error: cannot find 'kSecRandomDefault' in scope
            return SecRandomCopyBytes(kSecRandomDefault, length, $0)
                                      ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/tweetnacl-swiftwrap/Sources/TweetNacl/TweetNacl.swift:47:25: error: cannot find 'errSecSuccess' in scope
        guard result == errSecSuccess else {
                        ^~~~~~~~~~~~~
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/8] Compiling NWWebSocket WebSocketConnection.swift
/host/spi-builder-workspace/.build/checkouts/NWWebSocket/Sources/NWWebSocket/Extension/NWConnection+Extension.swift:1:8: error: no such module 'Network'
import Network
       ^
[3/8] Compiling TweetNacl Constant.swift
[4/8] Emitting module TweetNacl
[5/8] Compiling TweetNacl TweetNacl.swift
/host/spi-builder-workspace/.build/checkouts/tweetnacl-swiftwrap/Sources/TweetNacl/TweetNacl.swift:45:20: error: cannot find 'SecRandomCopyBytes' in scope
            return SecRandomCopyBytes(kSecRandomDefault, length, $0)
                   ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/tweetnacl-swiftwrap/Sources/TweetNacl/TweetNacl.swift:45:39: error: cannot find 'kSecRandomDefault' in scope
            return SecRandomCopyBytes(kSecRandomDefault, length, $0)
                                      ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/tweetnacl-swiftwrap/Sources/TweetNacl/TweetNacl.swift:47:25: error: cannot find 'errSecSuccess' in scope
        guard result == errSecSuccess else {
                        ^~~~~~~~~~~~~
error: fatalError
error: emit-module command failed with exit code 1 (use -v to see invocation)
/host/spi-builder-workspace/.build/checkouts/NWWebSocket/Sources/NWWebSocket/Extension/NWConnection+Extension.swift:1:8: error: no such module 'Network'
import Network
       ^
BUILD FAILURE 5.10 linux