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 SwiftFoundationCompression with Swift 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.24.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/benspratling4/swiftfoundationcompression.git
Reference: 4.0.0
Cloned https://github.com/benspratling4/swiftfoundationcompression.git into /host/spi-builder-workspace
Revision (git rev-parse @):
SUCCESS checkout https://github.com/benspratling4/swiftfoundationcompression.git at 4.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  /host/spi-builder-workspace
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Client: Docker Engine - Community
 Version:    24.0.6
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.11.2
    Path:     /usr/libexec/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.21.0
    Path:     /usr/libexec/docker/cli-plugins/docker-compose

Server:
 Containers: 1
  Running: 1
  Paused: 0
  Stopped: 0
 Images: 7
 Server Version: 24.0.2
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: false
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 3dce8eb055cbb6872793272b4f20ed16117344f8
 runc version: v1.1.7-0-g860f061
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: builtin
 Kernel Version: 5.4.0-1109-azure
 Operating System: Ubuntu 18.04.6 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 8
 Total Memory: 31.36GiB
 Name: lb1
 ID: UY74:UH4K:TTAZ:FGJU:C4S4:QTKO:WTQO:SFMF:XQCM:7D33:AENF:QBQA
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Labels:
  provider=azure
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false
Fetching https://github.com/benspratling4/SwiftPatterns.git
[1/281] Fetching swiftpatterns
Fetched https://github.com/benspratling4/SwiftPatterns.git (0.39s)
Computing version for https://github.com/benspratling4/SwiftPatterns.git
Computed https://github.com/benspratling4/SwiftPatterns.git at 4.0.0 (0.62s)
Creating working copy for https://github.com/benspratling4/SwiftPatterns.git
Working copy of https://github.com/benspratling4/SwiftPatterns.git resolved at 4.0.0
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/SwiftFoundationCompressionTests/Package.swift.zip
    /host/spi-builder-workspace/Tests/SwiftFoundationCompressionTests/I Surrender All.mxl
    /host/spi-builder-workspace/Tests/SwiftFoundationCompressionTests/NewPackageFileName.swift.gz
    /host/spi-builder-workspace/Tests/SwiftFoundationCompressionTests/Package.swift.gz
    /host/spi-builder-workspace/Tests/SwiftFoundationCompressionTests/rezipped.zip
Building for debugging...
[1/23] Compiling SwiftPatterns URL+ExtendedAttributes.swift
[2/23] Compiling SwiftPatterns URL+relativePaths.swift
[3/23] Compiling SwiftPatterns SerializedResourceWrapping.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/SerializedResourceWrapping.swift:461:7: error: cannot convert value of type 'ObjCBool' to expected condition type 'Bool'
                        if isDir {
                           ^~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/SerializedResourceWrapping.swift:488:72: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
                if fileManager.fileExists(atPath: url.path, isDirectory: &isDir) || !isDir {
                                                                                     ^
[4/23] Compiling SwiftPatterns String+fixes.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/SerializedResourceWrapping.swift:461:7: error: cannot convert value of type 'ObjCBool' to expected condition type 'Bool'
                        if isDir {
                           ^~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/SerializedResourceWrapping.swift:488:72: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
                if fileManager.fileExists(atPath: url.path, isDirectory: &isDir) || !isDir {
                                                                                     ^
[5/25] Compiling SwiftPatterns LogSearch.swift
[6/25] Compiling SwiftPatterns Math.swift
[7/25] Compiling SwiftPatterns MediatedAccess.swift
[8/25] Compiling SwiftPatterns PriorityQueue.swift
[9/25] Compiling SwiftPatterns QueuedVar.swift
[10/25] Compiling SwiftPatterns Cursor.swift
[11/25] Compiling SwiftPatterns DataExtraction.swift
[12/25] Compiling SwiftPatterns DirectoryMonitor.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/25] Emitting module SwiftPatterns
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:25:35: error: cannot find type 'DirectoryMonitor' in scope
        fileprivate var directoryMonitor:DirectoryMonitor?
                                         ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:84:47: error: cannot find type 'XMLParserDelegate' in scope
public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
                                              ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:85:16: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
        let xmlParser:XMLParser
                      ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:101:44: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
        public func parserDidEndDocument(_ parser:XMLParser) {
                                                  ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:106:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
        public func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String]) {
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:114:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
        public func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:118:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
        public func parser(_ parser: XMLParser, foundCharacters string: String) {
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:128:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
        public func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
[14/25] Compiling SwiftPatterns Alert.swift
[15/25] Compiling SwiftPatterns Array+StableUniqueValues.swift
[16/25] Compiling SwiftPatterns ChangeSet.swift
[17/25] Compiling SwiftPatterns DynamicCodingKeys.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:25:35: error: cannot find type 'DirectoryMonitor' in scope
        fileprivate var directoryMonitor:DirectoryMonitor?
                                         ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:34:22: error: cannot find 'DirectoryMonitor' in scope
                directoryMonitor = DirectoryMonitor(directoryURL: directoryURL, handler: { [weak self] in
                                   ^~~~~~~~~~~~~~~~
[18/25] Compiling SwiftPatterns Int+Bits.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:25:35: error: cannot find type 'DirectoryMonitor' in scope
        fileprivate var directoryMonitor:DirectoryMonitor?
                                         ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:34:22: error: cannot find 'DirectoryMonitor' in scope
                directoryMonitor = DirectoryMonitor(directoryURL: directoryURL, handler: { [weak self] in
                                   ^~~~~~~~~~~~~~~~
[19/25] Compiling SwiftPatterns LocalFileSource.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:25:35: error: cannot find type 'DirectoryMonitor' in scope
        fileprivate var directoryMonitor:DirectoryMonitor?
                                         ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:34:22: error: cannot find 'DirectoryMonitor' in scope
                directoryMonitor = DirectoryMonitor(directoryURL: directoryURL, handler: { [weak self] in
                                   ^~~~~~~~~~~~~~~~
[20/25] Compiling SwiftPatterns WeightedNode.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:84:47: error: cannot find type 'XMLParserDelegate' in scope
public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
                                              ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:85:16: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
        let xmlParser:XMLParser
                      ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:101:44: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
        public func parserDidEndDocument(_ parser:XMLParser) {
                                                  ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:106:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
        public func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String]) {
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:114:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
        public func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:118:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
        public func parser(_ parser: XMLParser, foundCharacters string: String) {
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:128:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
        public func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:91:15: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
                xmlParser = XMLParser(data: data)
                            ^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:93:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
                xmlParser.delegate = self
                ~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:98:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
                xmlParser.parse()
                ~~~~~~~~~ ^~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:142:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
                xmlParser.parse()
                ~~~~~~~~~ ^~~~~
[21/25] Compiling SwiftPatterns XMLItem.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:84:47: error: cannot find type 'XMLParserDelegate' in scope
public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
                                              ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:85:16: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
        let xmlParser:XMLParser
                      ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:101:44: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
        public func parserDidEndDocument(_ parser:XMLParser) {
                                                  ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:106:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
        public func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String]) {
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:114:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
        public func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:118:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
        public func parser(_ parser: XMLParser, foundCharacters string: String) {
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:128:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
        public func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
                                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:91:15: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
                xmlParser = XMLParser(data: data)
                            ^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:93:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
                xmlParser.delegate = self
                ~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:98:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
                xmlParser.parse()
                ~~~~~~~~~ ^~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:142:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
                xmlParser.parse()
                ~~~~~~~~~ ^~~~~
BUILD FAILURE 5.8 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.