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 Kass, reference v2.0.0 (95a451), with Swift 6.0 (beta) for Linux on 11 Sep 2024 01:04:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/nmggithub/Kass.git
Reference: v2.0.0
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/nmggithub/Kass
 * tag               v2.0.0     -> FETCH_HEAD
HEAD is now at 95a4514 make helper functions static
Cloned https://github.com/nmggithub/Kass.git
Revision (git rev-parse @):
95a45145c0d94f5392af3661e1bd909ced182aa4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/nmggithub/Kass.git at v2.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/nmggithub/Kass.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/apple/swift-docc-symbolkit
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
[226/5108] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.34s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.34s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.3.0 (2.20s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.51s)
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.3.0
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/11] Emitting module CCompat
[8/11] Compiling CCompat CMacro.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/12] Compiling Linking common.swift
[11/12] Emitting module Linking
/host/spi-builder-workspace/Sources/Linking/linking.swift:68:60: error: cannot find type 'vm_address_t' in scope
 66 |     ///     this function will find use the other symbol to calculate the offset and find the symbol's actual address in memory.
 67 |     public func get(
 68 |         symbol: String, atExpectedAddress expectedAddress: vm_address_t, otherSymbol: String,
    |                                                            `- error: cannot find type 'vm_address_t' in scope
 69 |         expectedOtherSymbolAddress: vm_address_t
 70 |     ) -> Symbol? {
/host/spi-builder-workspace/Sources/Linking/linking.swift:69:37: error: cannot find type 'vm_address_t' in scope
 67 |     public func get(
 68 |         symbol: String, atExpectedAddress expectedAddress: vm_address_t, otherSymbol: String,
 69 |         expectedOtherSymbolAddress: vm_address_t
    |                                     `- error: cannot find type 'vm_address_t' in scope
 70 |     ) -> Symbol? {
 71 |         guard
[12/12] Compiling Linking linking.swift
/host/spi-builder-workspace/Sources/Linking/linking.swift:68:60: error: cannot find type 'vm_address_t' in scope
 66 |     ///     this function will find use the other symbol to calculate the offset and find the symbol's actual address in memory.
 67 |     public func get(
 68 |         symbol: String, atExpectedAddress expectedAddress: vm_address_t, otherSymbol: String,
    |                                                            `- error: cannot find type 'vm_address_t' in scope
 69 |         expectedOtherSymbolAddress: vm_address_t
 70 |     ) -> Symbol? {
/host/spi-builder-workspace/Sources/Linking/linking.swift:69:37: error: cannot find type 'vm_address_t' in scope
 67 |     public func get(
 68 |         symbol: String, atExpectedAddress expectedAddress: vm_address_t, otherSymbol: String,
 69 |         expectedOtherSymbolAddress: vm_address_t
    |                                     `- error: cannot find type 'vm_address_t' in scope
 70 |     ) -> Symbol? {
 71 |         guard
BUILD FAILURE 6.0 linux