Build Information
Failed to build PusherSwift with Swift 5.8 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.28.9
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.8
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.8-latest swift build 2>&1
Fetching https://github.com/bitmark-inc/tweetnacl-swiftwrap
Fetching https://github.com/pusher/NWWebSocket.git
[1/404] Fetching tweetnacl-swiftwrap
[102/1015] Fetching tweetnacl-swiftwrap, nwwebsocket
Fetched https://github.com/pusher/NWWebSocket.git (0.30s)
Fetched https://github.com/bitmark-inc/tweetnacl-swiftwrap (0.30s)
Computing version for https://github.com/bitmark-inc/tweetnacl-swiftwrap
Computed https://github.com/bitmark-inc/tweetnacl-swiftwrap at 1.0.2 (1.07s)
Computing version for https://github.com/pusher/NWWebSocket.git
Computed https://github.com/pusher/NWWebSocket.git at 0.5.4 (0.35s)
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
Creating working copy for https://github.com/pusher/NWWebSocket.git
Working copy of https://github.com/pusher/NWWebSocket.git resolved at 0.5.4
Building for debugging...
[0/1] Compiling CTweetNacl ctweetnacl.c
[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
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/8] 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
^
[4/8] 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
^
[5/8] 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
^
[6/8] Compiling TweetNacl Constant.swift
[7/8] 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...
[1/7] 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
^
[2/7] 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: emit-module command failed with exit code 1 (use -v to see invocation)
[3/7] 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
^
[4/7] Emitting module TweetNacl
[5/7] Compiling TweetNacl Constant.swift
[6/7] 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 {
^~~~~~~~~~~~~
/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.8 linux