Build Information
Failed to build XML, reference master (91ae89
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 02:35:57 UTC.
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/tayloraswift/swiftxml.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tayloraswift/swiftxml
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 91ae89c unfail build
Cloned https://github.com/tayloraswift/swiftxml.git
Revision (git rev-parse @):
91ae89c58e5a478191c27d44c31bd9bae281fefd
SUCCESS checkout https://github.com/tayloraswift/swiftxml.git at master
========================================
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": "swiftxml",
"name": "XML",
"url": "https://github.com/tayloraswift/swiftxml.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftxml",
"dependencies": [
]
}
]
}
Fetching https://github.com/tayloraswift/swiftxml.git
[1/246] Fetching swiftxml
Fetched https://github.com/tayloraswift/swiftxml.git from cache (0.83s)
Creating working copy for https://github.com/tayloraswift/swiftxml.git
Working copy of https://github.com/tayloraswift/swiftxml.git resolved at master (91ae89c)
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/tayloraswift/swiftxml.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/7] Write sources
[2/7] Write tests-entitlement.plist
[3/7] Write swift-version--7754E27361AE5C74.txt
[5/9] Compiling XML swiftxml.swift
/Users/admin/builder/spi-builder-workspace/swiftxml/swiftxml.swift:367:5: warning: 'public' modifier is redundant for instance method declared in a public extension
365 | }
366 |
367 | public mutating
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
368 | func parse(_ str:String)
369 | {
/Users/admin/builder/spi-builder-workspace/swiftxml/swiftxml.swift:911:5: warning: 'public' modifier is redundant for instance method declared in a public extension
909 | }
910 |
911 | public mutating
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
912 | func parse(path:String)
913 | {
/Users/admin/builder/spi-builder-workspace/swiftxml/swiftxml.swift:353:24: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
351 |
352 | let buffer:UnsafeMutablePointer<CChar> = UnsafeMutablePointer<CChar>.allocate(capacity: n + 1) // leave room for sentinel
353 | defer { buffer.deallocate(capacity: n + 1) }
| `- warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
354 |
355 | let n_read = fread(buffer, MemoryLayout<CChar>.size, n, f)
[6/9] Emitting module XML
/Users/admin/builder/spi-builder-workspace/swiftxml/swiftxml.swift:367:5: warning: 'public' modifier is redundant for instance method declared in a public extension
365 | }
366 |
367 | public mutating
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
368 | func parse(_ str:String)
369 | {
/Users/admin/builder/spi-builder-workspace/swiftxml/swiftxml.swift:911:5: warning: 'public' modifier is redundant for instance method declared in a public extension
909 | }
910 |
911 | public mutating
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
912 | func parse(path:String)
913 | {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/12] Emitting module XMLTests
/Users/admin/builder/spi-builder-workspace/tests/swiftxml/main.swift:1:8: error: no such module 'Glibc'
1 | import Glibc
| `- error: no such module 'Glibc'
2 |
3 | let test_cases:[(String, [Token])] =
[8/12] Compiling XMLTests tests.swift
/Users/admin/builder/spi-builder-workspace/tests/swiftxml/main.swift:1:8: error: no such module 'Glibc'
1 | import Glibc
| `- error: no such module 'Glibc'
2 |
3 | let test_cases:[(String, [Token])] =
[9/12] Compiling XMLTests main.swift
/Users/admin/builder/spi-builder-workspace/tests/swiftxml/main.swift:1:8: error: no such module 'Glibc'
1 | import Glibc
| `- error: no such module 'Glibc'
2 |
3 | let test_cases:[(String, [Token])] =
BUILD FAILURE 6.0 macosSpm