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 Saber, reference master (31e012), with Swift 6.0 for Linux on 27 Nov 2024 08:40:37 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 -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/apleshkov/saber.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/apleshkov/saber
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 31e012b additional tests
Cloned https://github.com/apleshkov/saber.git
Revision (git rev-parse @):
31e012b672ce1a86526d45d08b4ca5c3e77053c6
SUCCESS checkout https://github.com/apleshkov/saber.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/apleshkov/saber.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 -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/jpsim/SourceKitten.git
Fetching https://github.com/Carthage/Commandant.git
[1/2323] Fetching commandant
[2324/18339] Fetching commandant, sourcekitten
Fetched https://github.com/Carthage/Commandant.git from cache (0.82s)
Fetched https://github.com/jpsim/SourceKitten.git from cache (0.83s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.18.0 (1.79s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.36.0 (0.44s)
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/2820] Fetching swxmlhash
[2821/12756] Fetching swxmlhash, yams
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.28s)
[100/9936] Fetching yams
[796/22331] Fetching yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.94s)
Fetched https://github.com/jpsim/Yams.git from cache (0.96s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.42s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.1.3 (0.43s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.39s)
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.36.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at 0.18.0
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.1.3
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/26] Write sources
[8/26] Compiling SourceKit SourceKit.c
[9/26] Compiling reader.c
[10/26] Compiling writer.c
[11/26] Compiling parser.c
[12/26] Compiling api.c
[13/26] Compiling emitter.c
[14/26] Compiling scanner.c
[15/26] Compiling Clang_C Clang_C.c
[16/26] Write swift-version-24593BA9C3E375BF.txt
[18/75] Compiling Commandant Result+Additions.swift
[19/76] Compiling SWXMLHash Int+XMLDeserialization.swift
[20/76] Compiling SWXMLHash String+XMLDeserialization.swift
[21/76] Compiling SWXMLHash IndexingError.swift
[22/76] Compiling SWXMLHash XMLAttributeDeserializable.swift
[23/77] Compiling Commandant Switch.swift
[24/77] Compiling SWXMLHash XMLValueDeserialization.swift
[25/77] Compiling SWXMLHash Bool+XMLDeserialization.swift
[26/77] Compiling Yams String+Yams.swift
[27/77] Compiling Yams Tag.swift
[28/77] Compiling Commandant OrderedSet.swift
[29/77] 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 | }
[30/77] Compiling SWXMLHash String+Extensions.swift
[31/77] Compiling SWXMLHash TextElement.swift
[32/77] Compiling SWXMLHash XMLAttribute.swift
[33/77] Compiling SWXMLHash XMLContent.swift
[34/77] Compiling SWXMLHash XMLElement.swift
[35/77] Compiling SWXMLHash XMLHash.swift
[36/80] Emitting module SWXMLHash
[37/80] Compiling Commandant HelpCommand.swift
[38/80] Compiling Commandant Errors.swift
[39/80] Emitting module Commandant
[40/80] Compiling SWXMLHash Double+XMLDeserialization.swift
[41/80] Compiling SWXMLHash Float+XMLDeserialization.swift
[44/80] Compiling Yams YamlError.swift
[53/80] Compiling Yams Node.swift
[54/80] Compiling Yams Parser.swift
[55/80] Compiling Yams Representer.swift
[56/80] Compiling SWXMLHash ParsingError.swift
[57/80] Compiling SWXMLHash XMLDeserializationError.swift
[58/80] Compiling SWXMLHash FullXMLParser.swift
[59/80] Compiling Yams Resolver.swift
[62/80] Emitting module Yams
BUILD FAILURE 6.0 linux