Build Information
Failed to build xylem, reference v0.0.1 (9881c9), with Swift 6.2 for macOS (SPM) on 4 Sep 2026 22:16:09 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/compnerd/xylem.git
Reference: v0.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/compnerd/xylem
* tag v0.0.1 -> FETCH_HEAD
HEAD is now at 9881c95 SAXParser: repair the build on Swift 6.4
Cloned https://github.com/compnerd/xylem.git
Revision (git rev-parse @):
9881c95ce3a139f4ccfa584676201516c2a5751d
SUCCESS checkout https://github.com/compnerd/xylem.git at v0.0.1
========================================
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 Token.swift
[8/25] Compiling XMLCore UnresolvedAttributes.swift
[9/25] Compiling XMLCore ResolvedAttributes.swift
[10/25] Compiling XMLCore SourceRange.swift
[11/26] Compiling XMLCore XML.swift
[12/26] Compiling XMLCore Name.swift
[13/26] Compiling XMLCore QualifiedName.swift
[14/26] Compiling XMLCore UnicodeScalar+Extensions.swift
[15/26] Compiling XMLCore FNV1a.swift
[16/26] Compiling XMLCore Span+Extensions.swift
[17/26] Compiling XMLCore String+Extensions.swift
[18/26] Compiling XMLCore Byte+Extensions.swift
[19/26] Compiling XMLCore Optional+Extensions.swift
[20/26] Emitting module XMLCore
[21/26] Compiling XMLCore AttributeIterator.swift
[22/26] Compiling XMLCore EntityExpansion.swift
[23/26] Compiling XMLCore Error.swift
[24/26] Compiling XMLCore ExpandedName.swift
[25/26] Compiling XMLCore Lexer.swift
[26/26] Compiling XMLCore Location.swift
[27/34] Compiling SAXParser Stack.swift
[28/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,
[29/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 |
[30/34] Compiling SAXParser NamespaceResolver+Hashing.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/34] Compiling SAXParser Handler+Defaults.swift
[32/34] Compiling SAXParser Handler.swift
[33/34] Compiling SAXParser NamespaceResolver+Storage.swift
[34/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,
BUILD FAILURE 6.2 macosSpm