Build Information
Successful build of SwiftLibXML, reference main (1b9b25
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 03:13:17 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rhx/SwiftLibXML
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1b9b259 Add documentation generator
Cloned https://github.com/rhx/SwiftLibXML.git
Revision (git rev-parse @):
1b9b259c27cd70868d50bdd9f6bffcb824d81b24
SUCCESS checkout https://github.com/rhx/SwiftLibXML.git at main
========================================
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.79s)
Creating working copy for https://github.com/rhx/SwiftLibXML.git
Working copy of https://github.com/rhx/SwiftLibXML.git resolved at main (1b9b259)
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 XMLNameSpace.swift
[4/9] Compiling SwiftLibXML XMLPath.swift
[5/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
[6/9] Compiling SwiftLibXML XMLAttribute.swift
[7/9] Compiling SwiftLibXML EmptySequence.swift
[8/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
[9/9] Emitting module SwiftLibXML
Build complete! (4.47s)
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" : "5.2"
}
Done.