Build Information
Successful build of PerfectXML with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-xml.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-xml
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
Fetching https://github.com/PerfectlySoft/Perfect-libxml2.git from cache
Fetched https://github.com/PerfectlySoft/Perfect-libxml2.git (0.22s)
Computing version for https://github.com/PerfectlySoft/Perfect-libxml2.git
Computed https://github.com/PerfectlySoft/Perfect-libxml2.git at 3.0.1 (0.44s)
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "perfect-xml",
"name": "PerfectXML",
"url": "https://github.com/perfectlysoft/perfect-xml.git",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/perfect-xml",
"dependencies": [
{
"identity": "perfect-libxml2",
"name": "libxml2",
"url": "https://github.com/PerfectlySoft/Perfect-libxml2.git",
"version": "3.0.1",
"path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Perfect-libxml2",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/perfectlysoft/perfect-xml.git
[1/227] Fetching perfect-xml
Fetched https://github.com/perfectlysoft/perfect-xml.git (0.28s)
Fetching https://github.com/PerfectlySoft/Perfect-libxml2.git from cache
Fetched https://github.com/PerfectlySoft/Perfect-libxml2.git (0.19s)
Computing version for https://github.com/PerfectlySoft/Perfect-libxml2.git
Computed https://github.com/PerfectlySoft/Perfect-libxml2.git at 3.0.1 (0.01s)
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
Creating working copy for https://github.com/perfectlysoft/perfect-xml.git
Working copy of https://github.com/perfectlysoft/perfect-xml.git resolved at master
warning: 'perfect-libxml2': ignoring declared target(s) 'libxml2' in the system package
warning: '.resolve-product-dependencies': dependency 'perfect-xml' is not used by any target
Found 1 product dependencies
- libxml2
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[1/6] Compiling PerfectXML XPath.swift
/Users/builder/builds/TDmZkXJm/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/builder/builds/TDmZkXJm/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/builder/builds/TDmZkXJm/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()
^~~~~~~~~~~~
_
[2/6] Compiling PerfectXML XMLDOM.swift
/Users/builder/builds/TDmZkXJm/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/builder/builds/TDmZkXJm/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/builder/builds/TDmZkXJm/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))
^
[3/6] Compiling PerfectXML SAX.swift
/Users/builder/builds/TDmZkXJm/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/builder/builds/TDmZkXJm/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/builder/builds/TDmZkXJm/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) {
^
[4/6] Compiling PerfectXML Codable.swift
[5/6] Emitting module PerfectXML
/Users/builder/builds/TDmZkXJm/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/builder/builds/TDmZkXJm/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? {
^~~~~~~
[6/6] Compiling PerfectXML XMLStream.swift
Build complete! (7.34s)
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
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install libxml-2.0 using your system-packager:
brew install libxml2
Build complete.
Done.