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, reference 3.0.5 (a21fca), with Swift 6.0 (beta) for Linux on 15 Sep 2024 01:51:33 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
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:             6.0
Building package at path:  $PWD
https://github.com/Azoy/Starscream.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/Azoy/zlib-spm.git
Fetching https://github.com/Azoy/common-crypto-spm.git
[1/27] Fetching common-crypto-spm
[15/59] Fetching common-crypto-spm, zlib-spm
Fetched https://github.com/Azoy/zlib-spm.git from cache (0.23s)
Fetched https://github.com/Azoy/common-crypto-spm.git from cache (0.23s)
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.42s)
Computing version for https://github.com/Azoy/zlib-spm.git
Computed https://github.com/Azoy/zlib-spm.git at 1.2.0 (0.45s)
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:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/common-crypto-spm/shim.h:1:10: error: 'CommonCrypto/CommonCrypto.h' file not found
1 | #include <CommonCrypto/CommonCrypto.h>
  |          `- error: 'CommonCrypto/CommonCrypto.h' file not found
2 |
/host/spi-builder-workspace/Sources/WebSocket.swift:24:8: error: could not build C module 'SSCommonCrypto'
  22 | import Foundation
  23 | import CoreFoundation
  24 | import SSCommonCrypto
     |        `- error: could not build C module 'SSCommonCrypto'
  25 |
  26 | public let WebsocketDidConnectNotification = "WebsocketDidConnectNotification"
[4/6] Compiling Starscream WebSocket.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/common-crypto-spm/shim.h:1:10: error: 'CommonCrypto/CommonCrypto.h' file not found
1 | #include <CommonCrypto/CommonCrypto.h>
  |          `- error: 'CommonCrypto/CommonCrypto.h' file not found
2 |
/host/spi-builder-workspace/Sources/WebSocket.swift:24:8: error: could not build C module 'SSCommonCrypto'
  22 | import Foundation
  23 | import CoreFoundation
  24 | import SSCommonCrypto
     |        `- error: could not build C module 'SSCommonCrypto'
  25 |
  26 | public let WebsocketDidConnectNotification = "WebsocketDidConnectNotification"
[5/6] Compiling Starscream Compression.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/common-crypto-spm/shim.h:1:10: error: 'CommonCrypto/CommonCrypto.h' file not found
1 | #include <CommonCrypto/CommonCrypto.h>
  |          `- error: 'CommonCrypto/CommonCrypto.h' file not found
2 |
/host/spi-builder-workspace/Sources/WebSocket.swift:24:8: error: could not build C module 'SSCommonCrypto'
  22 | import Foundation
  23 | import CoreFoundation
  24 | import SSCommonCrypto
     |        `- error: could not build C module 'SSCommonCrypto'
  25 |
  26 | public let WebsocketDidConnectNotification = "WebsocketDidConnectNotification"
[6/6] Compiling Starscream SSLSecurity.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/common-crypto-spm/shim.h:1:10: error: 'CommonCrypto/CommonCrypto.h' file not found
1 | #include <CommonCrypto/CommonCrypto.h>
  |          `- error: 'CommonCrypto/CommonCrypto.h' file not found
2 |
/host/spi-builder-workspace/Sources/WebSocket.swift:24:8: error: could not build C module 'SSCommonCrypto'
  22 | import Foundation
  23 | import CoreFoundation
  24 | import SSCommonCrypto
     |        `- error: could not build C module 'SSCommonCrypto'
  25 |
  26 | public let WebsocketDidConnectNotification = "WebsocketDidConnectNotification"
BUILD FAILURE 6.0 linux