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

Successful build of PerfectXML with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

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 /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/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:         linux
Swift version:             5.9
Building package at path:  $workDir
https://github.com/perfectlysoft/perfect-xml.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/PerfectlySoft/Perfect-libxml2.git
[1/89] Fetching perfect-libxml2
Fetched https://github.com/PerfectlySoft/Perfect-libxml2.git (0.21s)
Computing version for https://github.com/PerfectlySoft/Perfect-libxml2.git
Computed https://github.com/PerfectlySoft/Perfect-libxml2.git at 3.0.1 (0.39s)
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
Building for debugging...
[1/6] Compiling PerfectXML XPath.swift
/host/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 {
        ^~~~~~~

/host/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? {
        ^~~~~~~

/host/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()
                            ^~~~~~~~~~~~
                            _
[2/6] Compiling PerfectXML SAX.swift
/host/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) {
                           ^~~~~~~~~~~~~~~~
/host/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) {
                                         ^
/host/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) {
                                         ^
[3/6] Compiling PerfectXML XMLDOM.swift
/host/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))
                                                              ^~~~~~~~~~~~~~~~~~
/host/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))
                                                                            ^~~
/host/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))
                                                                            ^
[4/6] Compiling PerfectXML XMLStream.swift
[5/6] Emitting module PerfectXML
/host/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 {
        ^~~~~~~

/host/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? {
        ^~~~~~~

[6/6] Compiling PerfectXML Codable.swift
Build complete! (8.77s)
Build complete.
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.