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 Starscream with Swift 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.28.5
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Azoy/Starscream.git
Reference: 3.0.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/Azoy/Starscream
 * tag               3.0.5      -> FETCH_HEAD
HEAD is now at a21fca8 Remove weak from protocol
Cloned https://github.com/Azoy/Starscream.git
Revision (git rev-parse @):
a21fca8e9dc83cf3a88a3ba9be15ff17a7e4e8d6
SUCCESS checkout https://github.com/Azoy/Starscream.git at 3.0.5
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/Azoy/common-crypto-spm.git
Fetching https://github.com/Azoy/zlib-spm.git
[1/27] Fetching common-crypto-spm
[28/59] Fetching common-crypto-spm, zlib-spm
Fetched https://github.com/Azoy/common-crypto-spm.git (0.29s)
Fetched https://github.com/Azoy/zlib-spm.git (0.29s)
Computing version for https://github.com/Azoy/common-crypto-spm.git
Computed https://github.com/Azoy/common-crypto-spm.git at 1.2.0 (0.30s)
Computing version for https://github.com/Azoy/zlib-spm.git
Computed https://github.com/Azoy/zlib-spm.git at 1.2.0 (0.63s)
Creating working copy for https://github.com/Azoy/common-crypto-spm.git
Working copy of https://github.com/Azoy/common-crypto-spm.git resolved at 1.2.0
Creating working copy for https://github.com/Azoy/zlib-spm.git
Working copy of https://github.com/Azoy/zlib-spm.git resolved at 1.2.0
warning: 'common-crypto-spm': ignoring declared target(s) 'SSCommonCrypto' in the system package
warning: 'zlib-spm': ignoring declared target(s) 'SSCZLib' in the system package
warning: dependency 'zlib-spm' is not used by any target
warning: dependency 'common-crypto-spm' is not used by any target
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/4] Emitting module Starscream
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/common-crypto-spm/shim.h:1:10: error: 'CommonCrypto/CommonCrypto.h' file not found
#include <CommonCrypto/CommonCrypto.h>
         ^
/host/spi-builder-workspace/Sources/WebSocket.swift:24:8: error: could not build C module 'SSCommonCrypto'
import SSCommonCrypto
       ^
[2/4] Compiling Starscream Compression.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/common-crypto-spm/shim.h:1:10: error: 'CommonCrypto/CommonCrypto.h' file not found
#include <CommonCrypto/CommonCrypto.h>
         ^
/host/spi-builder-workspace/Sources/WebSocket.swift:24:8: error: could not build C module 'SSCommonCrypto'
import SSCommonCrypto
       ^
[3/4] Compiling Starscream SSLSecurity.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/common-crypto-spm/shim.h:1:10: error: 'CommonCrypto/CommonCrypto.h' file not found
#include <CommonCrypto/CommonCrypto.h>
         ^
/host/spi-builder-workspace/Sources/WebSocket.swift:24:8: error: could not build C module 'SSCommonCrypto'
import SSCommonCrypto
       ^
[4/4] Compiling Starscream WebSocket.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/common-crypto-spm/shim.h:1:10: error: 'CommonCrypto/CommonCrypto.h' file not found
#include <CommonCrypto/CommonCrypto.h>
         ^
/host/spi-builder-workspace/Sources/WebSocket.swift:24:8: error: could not build C module 'SSCommonCrypto'
import SSCommonCrypto
       ^
warning: 'common-crypto-spm': ignoring declared target(s) 'SSCommonCrypto' in the system package
warning: 'zlib-spm': ignoring declared target(s) 'SSCZLib' in the system package
warning: dependency 'zlib-spm' is not used by any target
warning: dependency 'common-crypto-spm' is not used by any target
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/4] Emitting module Starscream
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/common-crypto-spm/shim.h:1:10: error: 'CommonCrypto/CommonCrypto.h' file not found
#include <CommonCrypto/CommonCrypto.h>
         ^
/host/spi-builder-workspace/Sources/WebSocket.swift:24:8: error: could not build C module 'SSCommonCrypto'
import SSCommonCrypto
       ^
[2/4] Compiling Starscream SSLSecurity.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/common-crypto-spm/shim.h:1:10: error: 'CommonCrypto/CommonCrypto.h' file not found
#include <CommonCrypto/CommonCrypto.h>
         ^
/host/spi-builder-workspace/Sources/WebSocket.swift:24:8: error: could not build C module 'SSCommonCrypto'
import SSCommonCrypto
       ^
[3/4] Compiling Starscream WebSocket.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/common-crypto-spm/shim.h:1:10: error: 'CommonCrypto/CommonCrypto.h' file not found
#include <CommonCrypto/CommonCrypto.h>
         ^
/host/spi-builder-workspace/Sources/WebSocket.swift:24:8: error: could not build C module 'SSCommonCrypto'
import SSCommonCrypto
       ^
[4/4] Compiling Starscream Compression.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/common-crypto-spm/shim.h:1:10: error: 'CommonCrypto/CommonCrypto.h' file not found
#include <CommonCrypto/CommonCrypto.h>
         ^
/host/spi-builder-workspace/Sources/WebSocket.swift:24:8: error: could not build C module 'SSCommonCrypto'
import SSCommonCrypto
       ^
BUILD FAILURE 5.8 linux