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.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/Azoy/Starscream.git
Reference: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/Azoy/Starscream.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/Azoy/zlib-spm.git
Fetching https://github.com/Azoy/common-crypto-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 from cache (0.21s)
Fetched https://github.com/Azoy/zlib-spm.git from cache (0.21s)
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.36s)
Computing version for https://github.com/Azoy/zlib-spm.git
Computed https://github.com/Azoy/zlib-spm.git at 1.2.0 (0.38s)
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: 'spi-builder-workspace': dependency 'zlib-spm' is not used by any target
warning: 'spi-builder-workspace': dependency 'common-crypto-spm' is not used by any target
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] 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
       ^
[4/6] 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
       ^
[5/6] 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
       ^
[6/6] 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
       ^
error: fatalError
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: 'spi-builder-workspace': dependency 'zlib-spm' is not used by any target
warning: 'spi-builder-workspace': dependency 'common-crypto-spm' is not used by any target
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/5] 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
       ^
[3/5] 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
       ^
[4/5] 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
       ^
[5/5] 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
       ^
error: fatalError
BUILD FAILURE 5.10 linux