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

Successful build of PerfectXML with Swift 5.10 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-xml.git
Reference: 3.1.3
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-xml
 * tag               3.1.3      -> FETCH_HEAD
HEAD is now at 977d277 Updated import
Cloned https://github.com/perfectlysoft/perfect-xml.git
Revision (git rev-parse @):
977d27770b74f8e73653b9f569b7dac1bfea4150
SUCCESS checkout https://github.com/perfectlysoft/perfect-xml.git at 3.1.3
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/perfectlysoft/perfect-xml.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
[3/8] Compiling PerfectXML XPath.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectXML/XPath.swift:84:2: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func extract(path: String, namespaces: [(String, String)] = [(String, String)]()) -> XPathObject {
        ^~~~~~~

/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectXML/XPath.swift:118:2: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func extractOne(path: String, namespaces: [(String, String)] = [(String, String)]()) -> XNode? {
        ^~~~~~~

/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectXML/XPath.swift:99:8: warning: immutable value 'errorTracker' was never used; consider replacing with '_' or removing it
                        let errorTracker: XErrorTracker = Unmanaged.fromOpaque(userData).takeUnretainedValue()
                            ^~~~~~~~~~~~
                            _
[4/8] Compiling PerfectXML XMLDOM.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectXML/XMLDOM.swift:331:49: warning: initialization of 'UnsafePointer<String.UTF8View.Element>' (aka 'UnsafePointer<UInt8>') results in a dangling pointer
                let p = UnsafeMutablePointer<UInt8>(mutating: UnsafePointer(src))
                                                              ^~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectXML/XMLDOM.swift:331:63: note: implicit argument conversion from '[String.UTF8View.Element]' (aka 'Array<UInt8>') to 'UnsafePointer<String.UTF8View.Element>' (aka 'UnsafePointer<UInt8>') produces a pointer valid only for the duration of the call to 'init(_:)'
                let p = UnsafeMutablePointer<UInt8>(mutating: UnsafePointer(src))
                                                                            ^~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectXML/XMLDOM.swift:331:63: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                let p = UnsafeMutablePointer<UInt8>(mutating: UnsafePointer(src))
                                                                            ^
[5/8] Compiling PerfectXML SAX.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectXML/SAX.swift:105:14: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
                let code = UnsafePointer(d).withMemoryRebound(to: Int8.self, capacity: d.count) {
                           ^~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectXML/SAX.swift:105:28: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
                let code = UnsafePointer(d).withMemoryRebound(to: Int8.self, capacity: d.count) {
                                         ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectXML/SAX.swift:105:28: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                let code = UnsafePointer(d).withMemoryRebound(to: Int8.self, capacity: d.count) {
                                         ^
[6/8] Compiling PerfectXML XMLStream.swift
[7/8] Emitting module PerfectXML
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectXML/XPath.swift:84:2: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func extract(path: String, namespaces: [(String, String)] = [(String, String)]()) -> XPathObject {
        ^~~~~~~

/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectXML/XPath.swift:118:2: warning: 'public' modifier is redundant for instance method declared in a public extension
        public func extractOne(path: String, namespaces: [(String, String)] = [(String, String)]()) -> XNode? {
        ^~~~~~~

[8/8] Compiling PerfectXML Codable.swift
Build complete! (6.01s)
Fetching https://github.com/PerfectlySoft/Perfect-libxml2.git from cache
Fetched https://github.com/PerfectlySoft/Perfect-libxml2.git from cache (0.17s)
Computing version for https://github.com/PerfectlySoft/Perfect-libxml2.git
Computed https://github.com/PerfectlySoft/Perfect-libxml2.git at 3.0.1 (0.59s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-libxml2.git
Working copy of https://github.com/PerfectlySoft/Perfect-libxml2.git resolved at 3.0.1
warning: 'perfect-libxml2': ignoring declared target(s) 'libxml2' in the system package
warning: 'spi-builder-workspace': dependency 'perfect-libxml2' is not used by any target
Build complete.
Done.