This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 Toybox with Swift 6.0 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" 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.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/giginet/toybox.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/giginet/toybox
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b30d04c Merge pull request #30 from giginet/macos-default-template
Cloned https://github.com/giginet/toybox.git
Revision (git rev-parse @):
b30d04ce827d27f4d47bc504fd103cfd391d7b84
SUCCESS checkout https://github.com/giginet/toybox.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/giginet/toybox.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" 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
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/Carthage/Commandant.git
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/Quick/Nimble.git
[1/2770] Fetching swxmlhash
[2411/5093] Fetching swxmlhash, commandant
[5094/19642] Fetching swxmlhash, commandant, quick
Fetched https://github.com/Carthage/Commandant.git from cache (0.30s)
[8881/17319] Fetching swxmlhash, quick
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.30s)
Computing version for https://github.com/Carthage/Commandant.git
[6548/14549] Fetching quick
Computed https://github.com/Carthage/Commandant.git at 0.17.0 (0.44s)
[14550/33189] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (1.75s)
Fetched https://github.com/Quick/Nimble.git from cache (1.77s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 4.9.0 (1.05s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.0.1 (1.05s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.0.0 (0.44s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.0.1
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at 0.17.0
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.0.0
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 4.9.0
Building for debugging...
[0/11] Write sources
[4/11] Write swift-version-24593BA9C3E375BF.txt
[6/25] Compiling SWXMLHash shim.swift
[7/25] Compiling Commandant OrderedSet.swift
[8/25] Compiling Commandant Result+Additions.swift
[9/26] Compiling Commandant Switch.swift
[10/26] Compiling SWXMLHash XMLIndexer+XMLIndexerDeserializable.swift
[11/26] Compiling Commandant Errors.swift
[12/26] Compiling Commandant HelpCommand.swift
[13/26] Compiling Commandant ArgumentProtocol.swift
[14/26] Compiling Commandant Command.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/26] Emitting module SWXMLHash
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:185:11: error: cannot find type 'XMLParserDelegate' in scope
 183 | #if os(Linux)
 184 |
 185 | extension XMLParserDelegate {
     |           `- error: cannot find type 'XMLParserDelegate' in scope
 186 |     func parserDidStartDocument(_ parser: Foundation.XMLParser) { }
 187 |     func parserDidEndDocument(_ parser: Foundation.XMLParser) { }
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:267:49: error: cannot find type 'XMLParserDelegate' in scope
 265 |
 266 | /// The implementation of XMLParserDelegate and where the lazy parsing actually happens.
 267 | class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
     |                                                 `- error: cannot find type 'XMLParserDelegate' in scope
 268 |     required init(_ options: SWXMLHashOptions) {
 269 |         root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:300:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 298 |     }
 299 |
 300 |     func parser(_ parser: Foundation.XMLParser,
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 301 |                 didStartElement elementName: String,
 302 |                 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/SWXMLHash/Source/SWXMLHash.swift:317:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 315 |     }
 316 |
 317 |     func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 318 |         if !onMatch() {
 319 |             return
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/SWXMLHash/Source/SWXMLHash.swift:327:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 325 |     }
 326 |
 327 |     func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
     |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 328 |         if !onMatch() {
 329 |             return
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/SWXMLHash/Source/SWXMLHash.swift:339:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 337 |     }
 338 |
 339 |     func parser(_ parser: Foundation.XMLParser,
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 340 |                 didEndElement elementName: String,
 341 |                 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/SWXMLHash/Source/SWXMLHash.swift:364:49: error: cannot find type 'XMLParserDelegate' in scope
 362 |
 363 | /// The implementation of XMLParserDelegate and where the parsing actually happens.
 364 | class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
     |                                                 `- error: cannot find type 'XMLParserDelegate' in scope
 365 |     required init(_ options: SWXMLHashOptions) {
 366 |         root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:395:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 393 |     }
 394 |
 395 |     func parser(_ parser: Foundation.XMLParser,
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 396 |                 didStartElement elementName: String,
 397 |                 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/SWXMLHash/Source/SWXMLHash.swift:407:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 405 |     }
 406 |
 407 |     func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 408 |         let current = parentStack.top()
 409 |
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/SWXMLHash/Source/SWXMLHash.swift:413:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 411 |     }
 412 |
 413 |     func parser(_ parser: Foundation.XMLParser,
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 414 |                 didEndElement elementName: String,
 415 |                 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/SWXMLHash/Source/SWXMLHash.swift:420:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 418 |     }
 419 |
 420 |     func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
     |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 421 |         if let cdataText = String(data: CDATABlock, encoding: String.Encoding.utf8) {
 422 |             let current = parentStack.top()
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/SWXMLHash/Source/SWXMLHash.swift:428:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 426 |     }
 427 |
 428 |     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.
 429 | #if os(Linux) && !swift(>=4.1.50)
 430 |         if let err = parseError as? NSError {
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
[16/26] Compiling SWXMLHash SWXMLHash.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:185:11: error: cannot find type 'XMLParserDelegate' in scope
 183 | #if os(Linux)
 184 |
 185 | extension XMLParserDelegate {
     |           `- error: cannot find type 'XMLParserDelegate' in scope
 186 |     func parserDidStartDocument(_ parser: Foundation.XMLParser) { }
 187 |     func parserDidEndDocument(_ parser: Foundation.XMLParser) { }
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:267:49: error: cannot find type 'XMLParserDelegate' in scope
 265 |
 266 | /// The implementation of XMLParserDelegate and where the lazy parsing actually happens.
 267 | class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
     |                                                 `- error: cannot find type 'XMLParserDelegate' in scope
 268 |     required init(_ options: SWXMLHashOptions) {
 269 |         root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:300:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 298 |     }
 299 |
 300 |     func parser(_ parser: Foundation.XMLParser,
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 301 |                 didStartElement elementName: String,
 302 |                 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/SWXMLHash/Source/SWXMLHash.swift:317:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 315 |     }
 316 |
 317 |     func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 318 |         if !onMatch() {
 319 |             return
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/SWXMLHash/Source/SWXMLHash.swift:327:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 325 |     }
 326 |
 327 |     func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
     |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 328 |         if !onMatch() {
 329 |             return
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/SWXMLHash/Source/SWXMLHash.swift:339:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 337 |     }
 338 |
 339 |     func parser(_ parser: Foundation.XMLParser,
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 340 |                 didEndElement elementName: String,
 341 |                 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/SWXMLHash/Source/SWXMLHash.swift:364:49: error: cannot find type 'XMLParserDelegate' in scope
 362 |
 363 | /// The implementation of XMLParserDelegate and where the parsing actually happens.
 364 | class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
     |                                                 `- error: cannot find type 'XMLParserDelegate' in scope
 365 |     required init(_ options: SWXMLHashOptions) {
 366 |         root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:395:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 393 |     }
 394 |
 395 |     func parser(_ parser: Foundation.XMLParser,
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 396 |                 didStartElement elementName: String,
 397 |                 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/SWXMLHash/Source/SWXMLHash.swift:407:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 405 |     }
 406 |
 407 |     func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 408 |         let current = parentStack.top()
 409 |
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/SWXMLHash/Source/SWXMLHash.swift:413:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 411 |     }
 412 |
 413 |     func parser(_ parser: Foundation.XMLParser,
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 414 |                 didEndElement elementName: String,
 415 |                 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/SWXMLHash/Source/SWXMLHash.swift:420:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 418 |     }
 419 |
 420 |     func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
     |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 421 |         if let cdataText = String(data: CDATABlock, encoding: String.Encoding.utf8) {
 422 |             let current = parentStack.top()
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/SWXMLHash/Source/SWXMLHash.swift:428:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 426 |     }
 427 |
 428 |     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.
 429 | #if os(Linux) && !swift(>=4.1.50)
 430 |         if let err = parseError as? NSError {
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/SWXMLHash/Source/SWXMLHash.swift:294:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 292 |
 293 |         self.ops = ops
 294 |         let parser = Foundation.XMLParser(data: data!)
     |                      `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 295 |         parser.shouldProcessNamespaces = options.shouldProcessNamespaces
 296 |         parser.delegate = self
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:383:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 381 |         parentStack.push(root)
 382 |
 383 |         let parser = Foundation.XMLParser(data: data)
     |                      `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 384 |         parser.shouldProcessNamespaces = options.shouldProcessNamespaces
 385 |         parser.delegate = self
[17/26] Emitting module Commandant
[18/26] Compiling Commandant Argument.swift
[19/26] Compiling Commandant ArgumentParser.swift
[20/26] Compiling Commandant Option.swift
BUILD FAILURE 6.0 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.