Build Information
Successful build of SwiftLibXML, reference 3.0.0 (dc6aee
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 03:12:57 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rhx/SwiftLibXML.git
Reference: 3.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rhx/SwiftLibXML
* tag 3.0.0 -> FETCH_HEAD
HEAD is now at dc6aee8 Return nil for non-existent attributes
Cloned https://github.com/rhx/SwiftLibXML.git
Revision (git rev-parse @):
dc6aee8a8344c443b3679a07fe3e7069bbba08b7
SUCCESS checkout https://github.com/rhx/SwiftLibXML.git at 3.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swiftlibxml",
"name": "SwiftLibXML",
"url": "https://github.com/rhx/SwiftLibXML.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftLibXML",
"dependencies": [
]
}
]
}
Fetching https://github.com/rhx/SwiftLibXML.git
[1/306] Fetching swiftlibxml
Fetched https://github.com/rhx/SwiftLibXML.git from cache (0.76s)
Creating working copy for https://github.com/rhx/SwiftLibXML.git
Working copy of https://github.com/rhx/SwiftLibXML.git resolved at 3.0.0 (dc6aee8)
warning: '.resolve-product-dependencies': dependency 'swiftlibxml' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/rhx/SwiftLibXML.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/9] Compiling SwiftLibXML XMLPath.swift
[4/9] Compiling SwiftLibXML XMLDocument.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLibXML/XMLDocument.swift:66:9: warning: reference to var 'xmlFree' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
64 | let s = xmlNodeListGetString(xml, children, 1) else { return nil }
65 | let value = String(cString: UnsafePointer<xmlChar>(s))
66 | xmlFree(s)
| `- warning: reference to var 'xmlFree' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
67 | return value
68 | }
libxml2.xmlFree:1:12: note: var declared here
1 | public var xmlFree: xmlFreeFunc!
| `- note: var declared here
[5/9] Compiling SwiftLibXML XMLNameSpace.swift
[6/9] Emitting module SwiftLibXML
[7/9] Compiling SwiftLibXML XMLAttribute.swift
[8/9] Compiling SwiftLibXML EmptySequence.swift
[9/9] Compiling SwiftLibXML XMLElement.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLibXML/XMLElement.swift:34:9: warning: reference to var 'xmlFree' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
32 | let content: UnsafeMutablePointer<xmlChar>? = xmlNodeGetContent(node)
33 | let txt = content.map { String(cString: UnsafePointer<xmlChar>($0)) } ?? ""
34 | xmlFree(content)
| `- warning: reference to var 'xmlFree' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
35 | return txt
36 | }
libxml2.xmlFree:1:12: note: var declared here
1 | public var xmlFree: xmlFreeFunc!
| `- note: var declared here
Build complete! (4.48s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftLibXML",
"name" : "SwiftLibXML",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftLibXML",
"targets" : [
"SwiftLibXML"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftLibXMLTests",
"module_type" : "SwiftTarget",
"name" : "SwiftLibXMLTests",
"path" : "Tests/SwiftLibXMLTests",
"sources" : [
"SwiftLibXMLTests.swift"
],
"target_dependencies" : [
"SwiftLibXML"
],
"type" : "test"
},
{
"c99name" : "SwiftLibXML",
"module_type" : "SwiftTarget",
"name" : "SwiftLibXML",
"path" : "Sources/SwiftLibXML",
"product_memberships" : [
"SwiftLibXML"
],
"sources" : [
"EmptySequence.swift",
"XMLAttribute.swift",
"XMLDocument.swift",
"XMLElement.swift",
"XMLNameSpace.swift",
"XMLPath.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
Done.