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 xcframework, reference master (dc509d), with Swift 6.0 for Linux on 27 Nov 2024 19:05:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jeffctown/xcframework.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/jeffctown/xcframework
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at dc509d4 Merge pull request #2 from antonino-u/assemble-command
Cloned https://github.com/jeffctown/xcframework.git
Revision (git rev-parse @):
dc509d42747990860a0535511f404970d29e79d2
SUCCESS checkout https://github.com/jeffctown/xcframework.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/jeffctown/xcframework.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/AlwaysRightInstitute/Shell
Fetching https://github.com/Carthage/Commandant
[1/81] Fetching shell
[82/2404] Fetching shell, commandant
Fetched https://github.com/AlwaysRightInstitute/Shell from cache (0.24s)
Fetched https://github.com/Carthage/Commandant from cache (0.24s)
Computing version for https://github.com/AlwaysRightInstitute/Shell
Computed https://github.com/AlwaysRightInstitute/Shell at 0.1.4 (0.53s)
Computing version for https://github.com/Carthage/Commandant
Computed https://github.com/Carthage/Commandant at 0.18.0 (0.48s)
Creating working copy for https://github.com/AlwaysRightInstitute/Shell
Working copy of https://github.com/AlwaysRightInstitute/Shell resolved at 0.1.4
Creating working copy for https://github.com/Carthage/Commandant
Working copy of https://github.com/Carthage/Commandant resolved at 0.18.0
Building for debugging...
[0/11] Write sources
[4/11] Write swift-version-24593BA9C3E375BF.txt
[6/25] Emitting module Shell
[7/25] Compiling Commandant Result+Additions.swift
[8/26] Compiling Commandant OrderedSet.swift
[9/26] Compiling Commandant Switch.swift
[10/26] Compiling Shell EnvironmentTrampoline.swift
[11/26] Compiling Shell Shell.swift
[12/26] Compiling Commandant Option.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/Option.swift:239:32: error: instance method 'contains' requires that 'String.Element' (aka 'Character') conform to 'Collection'
237 | 			let components = unwrappedStringValue.split(
238 | 				omittingEmptySubsequences: true,
239 | 				whereSeparator: [",", " "].contains
    |                                `- error: instance method 'contains' requires that 'String.Element' (aka 'Character') conform to 'Collection'
240 | 			)
241 | 			var resultValues: [T] = []
_StringProcessing.Collection:3:17: note: where 'C' = 'String.Element' (aka 'Character')
1 | extension Collection where Self.Element : Equatable {
2 |     @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
3 |     public func contains<C>(_ other: C) -> Bool where C : Collection, Self.Element == C.Element
  |                 `- note: where 'C' = 'String.Element' (aka 'Character')
4 | }
[13/26] Compiling Shell ProcessHelper.swift
[14/27] Emitting module Commandant
[15/27] Compiling Commandant Argument.swift
[16/27] Compiling Commandant ArgumentParser.swift
[17/27] Compiling Commandant HelpCommand.swift
[19/27] Compiling Commandant ArgumentProtocol.swift
[20/27] Compiling Commandant Command.swift
[21/27] Compiling Commandant Errors.swift
[21/27] Wrapping AST for Shell for debugging
BUILD FAILURE 6.0 linux