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 xcutility, reference 0.2.0 (04d0e3), with Swift 6.0 for Linux on 26 Nov 2024 13:49:33 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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 -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/xcutility.git
Reference: 0.2.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/jeffctown/xcutility
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 04d0e32 Merge pull request #23 from jeffctown/feature/FixingMakefile
Cloned https://github.com/jeffctown/xcutility.git
Revision (git rev-parse @):
04d0e32feb504e2b8af31bf21cdb64de6094ac4e
SUCCESS checkout https://github.com/jeffctown/xcutility.git at 0.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/jeffctown/xcutility.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 -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/Yams.git
Fetching https://github.com/Carthage/Commandant.git
Fetching https://github.com/tuist/xcodeproj.git
[1/2323] Fetching commandant
[2324/24242] Fetching commandant, xcodeproj
[2325/34178] Fetching commandant, xcodeproj, yams
Fetched https://github.com/Carthage/Commandant.git from cache (1.10s)
Fetched https://github.com/tuist/xcodeproj.git from cache (1.45s)
Fetched https://github.com/jpsim/Yams.git from cache (1.45s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 1.0.2 (0.53s)
Computing version for https://github.com/tuist/xcodeproj.git
Computed https://github.com/tuist/xcodeproj.git at 6.7.0 (2.10s)
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/tadija/AEXML
Fetching https://github.com/kareman/SwiftShell
[1/1411] Fetching pathkit
[199/3513] Fetching pathkit, aexml
[2295/8376] Fetching pathkit, aexml, swiftshell
Fetched https://github.com/tadija/AEXML from cache (0.25s)
[4621/6274] Fetching pathkit, swiftshell
Fetched https://github.com/kylef/PathKit from cache (0.34s)
Fetched https://github.com/kareman/SwiftShell from cache (0.35s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 4.1.2 (2.18s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 0.9.2 (0.51s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.20s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.3.3 (0.51s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.63s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.18.0 (0.92s)
Creating working copy for https://github.com/tadija/AEXML
Working copy of https://github.com/tadija/AEXML resolved at 4.3.3
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 1.0.2
Creating working copy for https://github.com/tuist/xcodeproj.git
Working copy of https://github.com/tuist/xcodeproj.git resolved at 6.7.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/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 4.1.2
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 0.9.2
Building for debugging...
[0/23] Write sources
[7/23] Compiling reader.c
[8/23] Compiling writer.c
[9/23] Compiling parser.c
[10/23] Compiling api.c
[11/23] Write swift-version-24593BA9C3E375BF.txt
[12/23] Compiling emitter.c
[13/23] Compiling scanner.c
[15/56] Emitting module Yams
[16/58] Compiling Yams YamlError.swift
[17/58] Compiling Yams shim.swift
[18/58] Compiling Commandant Result+Additions.swift
[19/59] Compiling Commandant OrderedSet.swift
[20/59] Compiling Commandant Switch.swift
[21/59] Compiling AEXML Options.swift
[22/59] Compiling Yams Mark.swift
[23/59] Compiling Yams Node.Mapping.swift
[24/59] Compiling AEXML Element.swift
[25/59] Compiling Yams Node.swift
[26/59] Compiling Yams Parser.swift
[27/59] Compiling Yams Node.Scalar.swift
[28/59] Compiling Yams Node.Sequence.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/59] Emitting module AEXML
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:10:39: error: cannot find type 'XMLParserDelegate' in scope
 8 |
 9 | /// Simple wrapper around `Foundation.XMLParser`.
10 | internal class AEXMLParser: NSObject, XMLParserDelegate {
   |                                       `- error: cannot find type 'XMLParserDelegate' in scope
11 |
12 |     // MARK: - Properties
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:58:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
56 |     // MARK: - XMLParserDelegate
57 |
58 |     func parser(_ parser: XMLParser,
   |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
59 |                 didStartElement elementName: String,
60 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:68:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
66 |     }
67 |
68 |     func parser(_ parser: XMLParser, foundCharacters string: String) {
   |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
69 |         currentValue.append(string)
70 |         currentElement?.value = currentValue.isEmpty ? nil : currentValue
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:73:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
71 |     }
72 |
73 |     func parser(_ parser: XMLParser,
   |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
74 |                 didEndElement elementName: String,
75 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:84:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
82 |     }
83 |
84 |     func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
   |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
85 |         self.parseError = parseError
86 |     }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
[30/59] Compiling AEXML Document.swift
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:10:39: error: cannot find type 'XMLParserDelegate' in scope
 8 |
 9 | /// Simple wrapper around `Foundation.XMLParser`.
10 | internal class AEXMLParser: NSObject, XMLParserDelegate {
   |                                       `- error: cannot find type 'XMLParserDelegate' in scope
11 |
12 |     // MARK: - Properties
[31/59] Compiling AEXML Error.swift
[32/59] Compiling Yams Representer.swift
[33/59] Compiling Yams Resolver.swift
[34/59] Compiling Yams String+Yams.swift
[35/59] Compiling Yams Tag.swift
[36/59] Compiling Commandant Errors.swift
[37/59] Compiling Commandant HelpCommand.swift
[38/59] 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 | }
[39/59] Compiling AEXML Parser.swift
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:10:39: error: cannot find type 'XMLParserDelegate' in scope
 8 |
 9 | /// Simple wrapper around `Foundation.XMLParser`.
10 | internal class AEXMLParser: NSObject, XMLParserDelegate {
   |                                       `- error: cannot find type 'XMLParserDelegate' in scope
11 |
12 |     // MARK: - Properties
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:58:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
56 |     // MARK: - XMLParserDelegate
57 |
58 |     func parser(_ parser: XMLParser,
   |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
59 |                 didStartElement elementName: String,
60 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:68:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
66 |     }
67 |
68 |     func parser(_ parser: XMLParser, foundCharacters string: String) {
   |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
69 |         currentValue.append(string)
70 |         currentElement?.value = currentValue.isEmpty ? nil : currentValue
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:73:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
71 |     }
72 |
73 |     func parser(_ parser: XMLParser,
   |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
74 |                 didEndElement elementName: String,
75 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:84:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
82 |     }
83 |
84 |     func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
   |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
85 |         self.parseError = parseError
86 |     }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:41:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
39 |
40 |     func parse() throws {
41 |         let parser = XMLParser(data: data)
   |                      `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
42 |         parser.delegate = self
43 |
[40/59] Compiling Yams Constructor.swift
[41/59] Compiling Yams Decoder.swift
[42/59] Emitting module PathKit
BUILD FAILURE 6.0 linux