Build Information
Failed to build xylem, reference main (d80ef3), with Swift 6.2 for macOS (SPM) on 5 May 2026 07:30:27 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/compnerd/xylem.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/compnerd/xylem
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d80ef38 DOMParser: expose location for the document
Cloned https://github.com/compnerd/xylem.git
Revision (git rev-parse @):
d80ef38342bd85f7b5d56518ac0ac2d39126cb64
SUCCESS checkout https://github.com/compnerd/xylem.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/compnerd/xylem.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin XMLTSPlugin
Building for debugging...
[1/6] Write sources
[5/6] Write swift-version--3CB7CFEC50E0D141.txt
[7/25] Compiling XMLCore ResolvedAttributes.swift
[8/25] Compiling XMLCore SourceRange.swift
[9/25] Compiling XMLCore Span+Extensions.swift
[10/25] Compiling XMLCore String+Extensions.swift
[11/25] Compiling XMLCore Byte+Extensions.swift
[12/25] Compiling XMLCore Optional+Extensions.swift
[13/25] Compiling XMLCore UnicodeScalar+Extensions.swift
[14/25] Compiling XMLCore FNV1a.swift
[15/25] Compiling XMLCore Token.swift
[16/25] Compiling XMLCore UnresolvedAttributes.swift
[17/25] Compiling XMLCore Name.swift
[18/25] Compiling XMLCore QualifiedName.swift
[19/25] Compiling XMLCore Lexer.swift
[20/25] Compiling XMLCore Location.swift
[21/25] Compiling XMLCore AttributeIterator.swift
[22/25] Compiling XMLCore EntityExpansion.swift
[23/25] Emitting module XMLCore
[24/25] Compiling XMLCore Error.swift
[25/25] Compiling XMLCore ExpandedName.swift
[26/26] Compiling XMLCore XML.swift
[27/34] Compiling SAXParser Stack.swift
[28/34] Compiling SAXParser SAXParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/SAXParser/NamespaceResolver.swift:70:26: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
68 | }
69 |
70 | internal mutating func mappings(for attributes: borrowing XML.UnresolvedAttributes) throws(XML.Error) -> Range<Int> {
| `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
71 | let bindings = bindings.count
72 |
[29/34] Compiling SAXParser Handler+Defaults.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/34] Compiling SAXParser NamespaceResolver+Hashing.swift
[31/34] Compiling SAXParser NamespaceResolver+Storage.swift
[32/34] Compiling SAXParser Handler.swift
[33/34] Emitting module SAXParser
/Users/admin/builder/spi-builder-workspace/Sources/SAXParser/NamespaceResolver.swift:70:26: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
68 | }
69 |
70 | internal mutating func mappings(for attributes: borrowing XML.UnresolvedAttributes) throws(XML.Error) -> Range<Int> {
| `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
71 | let bindings = bindings.count
72 |
/Users/admin/builder/spi-builder-workspace/Sources/SAXParser/NamespaceResolver.swift:88:25: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
86 | }
87 |
88 | private mutating func resolve(unqualified attributes: borrowing XML.UnresolvedAttributes) throws(XML.Error) {
| `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
89 | let bytes = attributes.bytes
90 | let records = attributes.records
/Users/admin/builder/spi-builder-workspace/Sources/SAXParser/NamespaceResolver.swift:106:25: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
104 | }
105 |
106 | private mutating func resolve(qualified attributes: borrowing XML.UnresolvedAttributes) throws(XML.Error) {
| `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
107 | let bytes = attributes.bytes
108 | let records = attributes.records
/Users/admin/builder/spi-builder-workspace/Sources/SAXParser/NamespaceResolver.swift:202:25: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
200 | extension NamespaceResolver {
201 | @inline(__always)
202 | private mutating func check(unique name: borrowing Span<XML.Byte>,
| `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
203 | in records: borrowing Span<XML.UnresolvedAttributes.Record>,
204 | to index: Int,
/Users/admin/builder/spi-builder-workspace/Sources/SAXParser/NamespaceResolver.swift:220:25: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
218 |
219 | @inline(__always)
220 | private mutating func emit(_ attribute: XML.UnresolvedAttributes.Record,
| `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
221 | named name: borrowing Span<XML.Byte>,
222 | in bytes: borrowing Span<XML.Byte>,
/Users/admin/builder/spi-builder-workspace/Sources/SAXParser/NamespaceResolver.swift:234:25: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
232 |
233 | @inline(__always)
234 | private mutating func bind(_ record: XML.ResolvedAttributes.Record,
| `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
235 | in bytes: borrowing Span<XML.Byte>) throws(XML.Error) -> Reference? {
236 | if let colon = record.colon,
/Users/admin/builder/spi-builder-workspace/Sources/SAXParser/NamespaceResolver.swift:244:25: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
242 |
243 | @inline(__always)
244 | private mutating func check(unique record: XML.ResolvedAttributes.Record,
| `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
245 | namespace: Reference?,
246 | to count: Int,
[34/34] Compiling SAXParser NamespaceResolver.swift
/Users/admin/builder/spi-builder-workspace/Sources/SAXParser/NamespaceResolver.swift:70:26: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
68 | }
69 |
70 | internal mutating func mappings(for attributes: borrowing XML.UnresolvedAttributes) throws(XML.Error) -> Range<Int> {
| `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
71 | let bindings = bindings.count
72 |
/Users/admin/builder/spi-builder-workspace/Sources/SAXParser/NamespaceResolver.swift:88:25: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
86 | }
87 |
88 | private mutating func resolve(unqualified attributes: borrowing XML.UnresolvedAttributes) throws(XML.Error) {
| `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
89 | let bytes = attributes.bytes
90 | let records = attributes.records
/Users/admin/builder/spi-builder-workspace/Sources/SAXParser/NamespaceResolver.swift:106:25: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
104 | }
105 |
106 | private mutating func resolve(qualified attributes: borrowing XML.UnresolvedAttributes) throws(XML.Error) {
| `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
107 | let bytes = attributes.bytes
108 | let records = attributes.records
/Users/admin/builder/spi-builder-workspace/Sources/SAXParser/NamespaceResolver.swift:202:25: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
200 | extension NamespaceResolver {
201 | @inline(__always)
202 | private mutating func check(unique name: borrowing Span<XML.Byte>,
| `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
203 | in records: borrowing Span<XML.UnresolvedAttributes.Record>,
204 | to index: Int,
/Users/admin/builder/spi-builder-workspace/Sources/SAXParser/NamespaceResolver.swift:220:25: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
218 |
219 | @inline(__always)
220 | private mutating func emit(_ attribute: XML.UnresolvedAttributes.Record,
| `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
221 | named name: borrowing Span<XML.Byte>,
222 | in bytes: borrowing Span<XML.Byte>,
/Users/admin/builder/spi-builder-workspace/Sources/SAXParser/NamespaceResolver.swift:234:25: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
232 |
233 | @inline(__always)
234 | private mutating func bind(_ record: XML.ResolvedAttributes.Record,
| `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
235 | in bytes: borrowing Span<XML.Byte>) throws(XML.Error) -> Reference? {
236 | if let colon = record.colon,
/Users/admin/builder/spi-builder-workspace/Sources/SAXParser/NamespaceResolver.swift:244:25: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
242 |
243 | @inline(__always)
244 | private mutating func check(unique record: XML.ResolvedAttributes.Record,
| `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
245 | namespace: Reference?,
246 | to count: Int,
BUILD FAILURE 6.2 macosSpm