The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-demangling, reference main (f44081), with Swift 6.2 for macOS (SPM) on 17 Oct 2026 04:59:33 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64

Build Log

 759 |     }
 760 |
 761 |     private mutating func getDependentGenericParamType(depth: Int, index: Int) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 762 |         try require(depth >= 0 && index >= 0)
 763 |         var charIndex = index
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1071:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1069 |     }
1070 |
1071 |     private mutating func demangleAnyGenericType(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1072 |         let name = try require(pop(where: { $0.isDeclName }))
1073 |         let ctx = try popContext()
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1243:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1241 |     }
1242 |
1243 |     private mutating func demangleBoundGenericArgs(nominal: Node, array: [Node], index: Int) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1244 |         if nominal.kind == .typeSymbolicReference || nominal.kind == .protocolSymbolicReference {
1245 |             let remaining = array.reversed().flatMap { $0.children }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1311:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1309 |     }
1310 |
1311 |     private mutating func demangleImplParamConvention(kind: Node.Kind) throws(DemanglingError) -> Node? {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1312 |         let attr: String
1313 |         switch try scanner.readScalar() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1334:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1332 |     }
1333 |
1334 |     private mutating func demangleImplResultConvention(kind: Node.Kind) throws(DemanglingError) -> Node? {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1335 |         let attr: String
1336 |         switch try scanner.readScalar() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1668:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1666 |     }
1667 |
1668 |     private mutating func demangleAssociatedTypeSimple(index: Node?) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1669 |         do {
1670 |             let atName = try popAssociatedTypeName()
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1678:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1676 |     }
1677 |
1678 |     private mutating func demangleAssociatedTypeCompound(index: Node?) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1679 |         do {
1680 |             var assocTypeNames = [Node]()
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1915:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1913 |     }
1914 |
1915 |     private mutating func demangleAutoDiffFunctionOrSimpleThunk(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1916 |         var children: [Node] = []
1917 |         while let node = pop() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2033:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2031 |     }
2032 |
2033 |     private mutating func demangleGenericSpecialization(kind: Node.Kind, droppedArguments: Node? = nil) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2034 |         var spec = try demangleSpecAttributes(kind: kind)
2035 |         if let droppedArguments {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2123:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2121 |     }
2122 |
2123 |     private mutating func demangleFuncSpecParam(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2124 |         var children: [Node] = []
2125 |         switch try scanner.readScalar() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2228:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2226 |     }
2227 |
2228 |     private mutating func addFuncSpecParamNumber(param: Node, kind: FunctionSigSpecializationParamKind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2229 |         let kindChild = createNode(kind: .functionSignatureSpecializationParamKind, contents: .index(kind.rawValue))
2230 |         let str = scanner.readWhile { $0.isDigit }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2250:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2248 |     }
2249 |
2250 |     private mutating func demangleSpecAttributes(kind: Node.Kind, demangleUniqueId: Bool = false) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2251 |         let isSerialized = scanner.conditional(scalar: "q")
2252 |         let asyncRemoved = scanner.conditional(scalar: "a")
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2522:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2520 |     }
2521 |
2522 |     private mutating func demangleExtendedExistentialShape(nodeKind: UnicodeScalar) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2523 |         let type = try require(pop(kind: .type))
2524 |         var genSig: Node?
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2546:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2544 |     }
2545 |
2546 |     private mutating func demangleAccessor(child: Node) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2547 |         let kind: Node.Kind
2548 |         switch try scanner.readScalar() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2632:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2630 |     }
2631 |
2632 |     private mutating func demangleEntity(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2633 |         let type = try require(pop(kind: .type))
2634 |         let labelList = try popFunctionParamLabels(type: type)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2705:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2703 |     }
2704 |
2705 |     private mutating func demangleGenericSignature(hasParamCounts: Bool) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2706 |         var paramCounts: [Node] = []
2707 |         if hasParamCounts {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3017:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3015 |     /// Throw unless `test` accepts the scalar at the current position; on
3016 |     /// success return it and advance.
3017 |     mutating func read(where test: (UnicodeScalar) -> Bool) throws(DemanglingError) -> UnicodeScalar {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3018 |         guard offset < bytes.count, test(UnicodeScalar(bytes[offset])) else {
3019 |             throw DemanglingError.matchFailed(wanted: "(read test function to succeed)", at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3028:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3026 |     /// Throw unless the scalar at the current position equals `scalar`;
3027 |     /// advance over it on success.
3028 |     mutating func match(scalar: UnicodeScalar) throws(DemanglingError) {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3029 |         guard offset < bytes.count, UnicodeScalar(bytes[offset]) == scalar else {
3030 |             throw DemanglingError.matchFailed(wanted: String(scalar), at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3037:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3035 |     /// Throw unless the bytes at the current position match `string`'s UTF-8;
3036 |     /// advance to the end of the match on success.
3037 |     mutating func match(string: String) throws(DemanglingError) {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3038 |         guard conditional(string: string) else {
3039 |             throw DemanglingError.matchFailed(wanted: string, at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3046:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3044 |     /// over them and return true; otherwise leave the position unchanged and
3045 |     /// return false.
3046 |     mutating func conditional(string: String) -> Bool {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3047 |         var checkOffset = offset
3048 |         for utf8Byte in string.utf8 {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3061:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3059 |     /// and return true; otherwise leave the position unchanged and return
3060 |     /// false.
3061 |     mutating func conditional(scalar: UnicodeScalar) -> Bool {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3062 |         guard offset < bytes.count, UnicodeScalar(bytes[offset]) == scalar else {
3063 |             return false
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3071:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3069 |     /// If `test` accepts the scalar at the current position, advance over it
3070 |     /// and return it; otherwise leave the position unchanged and return nil.
3071 |     mutating func conditional(where test: (UnicodeScalar) -> Bool) -> UnicodeScalar? {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3072 |         guard offset < bytes.count else { return nil }
3073 |         let candidate = UnicodeScalar(bytes[offset])
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3081:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3079 |     /// Advance the position by `count` bytes; throw without moving if fewer
3080 |     /// remain.
3081 |     mutating func skip(count: Int = 1) throws(DemanglingError) {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3082 |         guard count >= 0, count <= bytes.count - offset else {
3083 |             throw DemanglingError.endedPrematurely(count: count, at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3090:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3088 |     /// Move the position back by `count` bytes; throw without moving if that
3089 |     /// would pass the beginning.
3090 |     mutating func backtrack(count: Int = 1) throws(DemanglingError) {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3091 |         guard count >= 0, count <= offset else {
3092 |             throw DemanglingError.endedPrematurely(count: -count, at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3100:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3098 |     /// returning them as a `String`. Throws without moving if `scalar` never
3099 |     /// occurs.
3100 |     mutating func readUntil(scalar: UnicodeScalar) throws(DemanglingError) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3101 |         var searchOffset = offset
3102 |         while searchOffset < bytes.count, UnicodeScalar(bytes[searchOffset]) != scalar {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3114:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3112 |
3113 |     /// Consume bytes while `test` accepts them, returning the consumed range.
3114 |     mutating func readRange(while test: (UnicodeScalar) -> Bool) -> Range<Int> {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3115 |         let startOffset = offset
3116 |         while offset < bytes.count, test(UnicodeScalar(bytes[offset])) {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3123:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3121 |
3122 |     /// Consume bytes while `test` accepts them, returning them as a `String`.
3123 |     mutating func readWhile(_ test: (UnicodeScalar) -> Bool) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3124 |         materializeText(in: readRange(while: test))
3125 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3129:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3127 |     /// Consume exactly `count` bytes, returning the consumed range. Throws
3128 |     /// without moving if fewer remain.
3129 |     mutating func readRange(count: Int) throws(DemanglingError) -> Range<Int> {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3130 |         guard count >= 0, count <= bytes.count - offset else {
3131 |             throw DemanglingError.endedPrematurely(count: count, at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3142:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3140 |     /// instead of trapping in an `Int` conversion — 32-bit `Int` included
3141 |     /// (proposal 0004 discipline).
3142 |     mutating func readRange(count: UInt64) throws(DemanglingError) -> Range<Int> {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3143 |         guard count <= UInt64(bytes.count - offset) else {
3144 |             throw DemanglingError.endedPrematurely(count: Int(clamping: count), at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3150:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3148 |
3149 |     /// Consume exactly `count` bytes, returning them as a `String`.
3150 |     mutating func readScalars(count: Int) throws(DemanglingError) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3151 |         try materializeText(in: readRange(count: count))
3152 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3156:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3154 |     /// `UInt64` counterpart of `readScalars(count:)` for mangled length
3155 |     /// prefixes; see `readRange(count: UInt64)`.
3156 |     mutating func readScalars(count: UInt64) throws(DemanglingError) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3157 |         try materializeText(in: readRange(count: count))
3158 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3460:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3458 |     }
3459 |
3460 |     mutating func demangleSwift3ProtocolNameGivenContext(context: Node) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3461 |         let name = try demangleSwift3DeclName()
3462 |         let result = createNode(kind: .protocol, children: [context, name])
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3478:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3476 |     }
3477 |
3478 |     mutating func demangleSwift3BoundGenericArgs(nominalType initialNominal: Node) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3479 |         guard var parentOrModule = initialNominal.children.first else { throw scanner.unexpectedError() }
3480 |
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3607:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3605 |     }
3606 |
3607 |     mutating func demangleSwift3DeclarationName(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3608 |         let result = try createNode(kind: kind, children: [demangleSwift3Context(), demangleSwift3DeclName()])
3609 |         nameStack.append(result)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3688:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3686 |     }
3687 |
3688 |     mutating func demangleSwift3GenericSignature(isPseudo: Bool = false) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3689 |         var children = [Node]()
3690 |         var c = try scanner.requirePeek()
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3828:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3826 |     }
3827 |
3828 |     mutating func demangleSwift3DependentMemberTypeName(base: Node) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3829 |         let associatedType: Node
3830 |         if scanner.conditional(scalar: "S") {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4072:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4070 |     }
4071 |
4072 |     mutating func demangleSwift3ImplConvention(kind: Node.Kind) throws(DemanglingError) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4073 |         let scalar = try scanner.readScalar()
4074 |         switch (scalar, kind == .implErrorResult ? .implResult : kind) {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4092:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4090 |     }
4091 |
4092 |     mutating func demangleSwift3ImplParameterOrResult(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4093 |         var k: Node.Kind
4094 |         if scanner.conditional(scalar: "z") {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4110:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4108 |     }
4109 |
4110 |     mutating func demangleSwift3Tuple(variadic: Bool) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4111 |         var children = [Node]()
4112 |         while !scanner.conditional(scalar: "_") {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4127:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4125 |     }
4126 |
4127 |     mutating func demangleSwift3FunctionType(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4128 |         var children = [Node]()
4129 |         if scanner.conditional(scalar: "z") {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4137:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4135 |     }
4136 |
4137 |     mutating func demangleSwift3Identifier(kind: Node.Kind? = nil) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4138 |         let isPunycode = scanner.conditional(scalar: "X")
4139 |         let k: Node.Kind
[754/799] Compiling Demangling NodeStoreBuilder.swift
[755/799] Compiling Demangling SharedNodeStore.swift
[756/799] Compiling Demangling StoreBuffer.swift
[757/799] Compiling Demangling UnretainedNodeReference.swift
[758/799] Compiling Demangling Common.swift
[759/799] Compiling Demangling Node+Hashable.swift
[760/799] Compiling Demangling Node+Init.swift
[761/799] Compiling Demangling Node+Kind.swift
[762/799] Compiling Demangling Node+Rewriter.swift
[763/799] Compiling Demangling Node+Sequence.swift
[764/799] Compiling Demangling Node.swift
[765/799] Compiling Demangling SymbolicReference.swift
[766/799] Compiling Demangling TypePrinting.swift
[767/799] Compiling Demangling ValueWitnessKind.swift
[768/799] Compiling Demangling DemangleInterface.swift
[769/799] Compiling Demangling DemangleOptions.swift
[770/799] Compiling Demangling DemangleSymbolicReferenceResolver.swift
[771/799] Compiling Demangling AutoDiffFunctionKind.swift
[772/799] Compiling Demangling DemangleFunctionEntityArgs.swift
[773/799] Compiling Demangling DemangleGenericRequirementConstraintKind.swift
[774/799] Compiling Demangling DemangleGenericRequirementTypeKind.swift
[775/799] Compiling Demangling DemanglingError.swift
[776/799] Compiling Demangling Differentiability.swift
[777/799] Compiling Demangling TypeDecoder+Types.swift
[778/799] Compiling Demangling TypeDecoder.swift
[779/799] Compiling Demangling TypeLookupError.swift
[780/799] Compiling Demangling Node+Children.swift
[781/799] Compiling Demangling Node+Conversions.swift
[782/799] Compiling Demangling Node+CustomStringConvertible.swift
[783/799] Compiling Demangling DemanglingNode+Sequence.swift
[784/799] Compiling Demangling DemanglingNode.swift
[785/799] Compiling Demangling NodeReference.swift
[786/799] Compiling Demangling NodeStore+BufferView.swift
[787/799] Compiling Demangling NodeStore.swift
[788/799] Compiling Demangling Demangler+NodeCreation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:142:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 140 |     }
 141 |
 142 |     private mutating func demangleSymbolicReference(rawValue: UInt8) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 143 |         guard let (kind, directness) = SymbolicReference.symbolicReference(for: rawValue) else {
 144 |             throw DemanglingError.requiredNonOptional
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:349:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 347 |     }
 348 |
 349 |     private mutating func pushMultiSubstitutions(repeatCount: Int, index: Int) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 350 |         try require(repeatCount <= maxRepeatCount)
 351 |         let nd = try require(substitutions.at(index))
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:365:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 363 |     }
 364 |
 365 |     private mutating func pop(kind: Node.Kind) -> Node? {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 366 |         return nameStack.last?.kind == kind ? pop() : nil
 367 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:369:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 367 |     }
 368 |
 369 |     private mutating func pop(where cond: (Node.Kind) -> Bool) -> Node? {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 370 |         return nameStack.last.map { cond($0.kind) } == true ? pop() : nil
 371 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:373:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 371 |     }
 372 |
 373 |     private mutating func popFunctionType(kind: Node.Kind, hasClangType: Bool = false) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 374 |         var children: [Node] = []
 375 |         if hasClangType {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:402:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 400 |     }
 401 |
 402 |     private mutating func popFunctionParams(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 403 |         let paramsType: Node
 404 |         if pop(kind: .emptyList) != nil {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:412:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 410 |     }
 411 |
 412 |     private mutating func getLabel(params: Node, idx: Int) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 413 |         if isOldFunctionTypeMangling {
 414 |             let param = try require(params.children.at(idx))
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:423:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 421 |     }
 422 |
 423 |     private mutating func popFunctionParamLabels(type: Node) throws(DemanglingError) -> Node? {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 424 |         if !isOldFunctionTypeMangling && pop(kind: .emptyList) != nil {
 425 |             return NodeFactory.labelList
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:520:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 518 |     }
 519 |
 520 |     private mutating func popPack(kind: Node.Kind = .pack) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 521 |         if pop(kind: .emptyList) != nil {
 522 |             return createNode(kind: .type, child: NodeFactory.pack)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:761:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 759 |     }
 760 |
 761 |     private mutating func getDependentGenericParamType(depth: Int, index: Int) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 762 |         try require(depth >= 0 && index >= 0)
 763 |         var charIndex = index
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1071:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1069 |     }
1070 |
1071 |     private mutating func demangleAnyGenericType(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1072 |         let name = try require(pop(where: { $0.isDeclName }))
1073 |         let ctx = try popContext()
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1243:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1241 |     }
1242 |
1243 |     private mutating func demangleBoundGenericArgs(nominal: Node, array: [Node], index: Int) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1244 |         if nominal.kind == .typeSymbolicReference || nominal.kind == .protocolSymbolicReference {
1245 |             let remaining = array.reversed().flatMap { $0.children }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1311:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1309 |     }
1310 |
1311 |     private mutating func demangleImplParamConvention(kind: Node.Kind) throws(DemanglingError) -> Node? {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1312 |         let attr: String
1313 |         switch try scanner.readScalar() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1334:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1332 |     }
1333 |
1334 |     private mutating func demangleImplResultConvention(kind: Node.Kind) throws(DemanglingError) -> Node? {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1335 |         let attr: String
1336 |         switch try scanner.readScalar() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1668:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1666 |     }
1667 |
1668 |     private mutating func demangleAssociatedTypeSimple(index: Node?) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1669 |         do {
1670 |             let atName = try popAssociatedTypeName()
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1678:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1676 |     }
1677 |
1678 |     private mutating func demangleAssociatedTypeCompound(index: Node?) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1679 |         do {
1680 |             var assocTypeNames = [Node]()
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1915:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1913 |     }
1914 |
1915 |     private mutating func demangleAutoDiffFunctionOrSimpleThunk(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1916 |         var children: [Node] = []
1917 |         while let node = pop() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2033:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2031 |     }
2032 |
2033 |     private mutating func demangleGenericSpecialization(kind: Node.Kind, droppedArguments: Node? = nil) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2034 |         var spec = try demangleSpecAttributes(kind: kind)
2035 |         if let droppedArguments {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2123:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2121 |     }
2122 |
2123 |     private mutating func demangleFuncSpecParam(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2124 |         var children: [Node] = []
2125 |         switch try scanner.readScalar() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2228:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2226 |     }
2227 |
2228 |     private mutating func addFuncSpecParamNumber(param: Node, kind: FunctionSigSpecializationParamKind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2229 |         let kindChild = createNode(kind: .functionSignatureSpecializationParamKind, contents: .index(kind.rawValue))
2230 |         let str = scanner.readWhile { $0.isDigit }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2250:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2248 |     }
2249 |
2250 |     private mutating func demangleSpecAttributes(kind: Node.Kind, demangleUniqueId: Bool = false) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2251 |         let isSerialized = scanner.conditional(scalar: "q")
2252 |         let asyncRemoved = scanner.conditional(scalar: "a")
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2522:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2520 |     }
2521 |
2522 |     private mutating func demangleExtendedExistentialShape(nodeKind: UnicodeScalar) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2523 |         let type = try require(pop(kind: .type))
2524 |         var genSig: Node?
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2546:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2544 |     }
2545 |
2546 |     private mutating func demangleAccessor(child: Node) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2547 |         let kind: Node.Kind
2548 |         switch try scanner.readScalar() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2632:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2630 |     }
2631 |
2632 |     private mutating func demangleEntity(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2633 |         let type = try require(pop(kind: .type))
2634 |         let labelList = try popFunctionParamLabels(type: type)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2705:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2703 |     }
2704 |
2705 |     private mutating func demangleGenericSignature(hasParamCounts: Bool) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2706 |         var paramCounts: [Node] = []
2707 |         if hasParamCounts {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3017:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3015 |     /// Throw unless `test` accepts the scalar at the current position; on
3016 |     /// success return it and advance.
3017 |     mutating func read(where test: (UnicodeScalar) -> Bool) throws(DemanglingError) -> UnicodeScalar {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3018 |         guard offset < bytes.count, test(UnicodeScalar(bytes[offset])) else {
3019 |             throw DemanglingError.matchFailed(wanted: "(read test function to succeed)", at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3028:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3026 |     /// Throw unless the scalar at the current position equals `scalar`;
3027 |     /// advance over it on success.
3028 |     mutating func match(scalar: UnicodeScalar) throws(DemanglingError) {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3029 |         guard offset < bytes.count, UnicodeScalar(bytes[offset]) == scalar else {
3030 |             throw DemanglingError.matchFailed(wanted: String(scalar), at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3037:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3035 |     /// Throw unless the bytes at the current position match `string`'s UTF-8;
3036 |     /// advance to the end of the match on success.
3037 |     mutating func match(string: String) throws(DemanglingError) {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3038 |         guard conditional(string: string) else {
3039 |             throw DemanglingError.matchFailed(wanted: string, at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3046:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3044 |     /// over them and return true; otherwise leave the position unchanged and
3045 |     /// return false.
3046 |     mutating func conditional(string: String) -> Bool {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3047 |         var checkOffset = offset
3048 |         for utf8Byte in string.utf8 {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3061:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3059 |     /// and return true; otherwise leave the position unchanged and return
3060 |     /// false.
3061 |     mutating func conditional(scalar: UnicodeScalar) -> Bool {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3062 |         guard offset < bytes.count, UnicodeScalar(bytes[offset]) == scalar else {
3063 |             return false
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3071:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3069 |     /// If `test` accepts the scalar at the current position, advance over it
3070 |     /// and return it; otherwise leave the position unchanged and return nil.
3071 |     mutating func conditional(where test: (UnicodeScalar) -> Bool) -> UnicodeScalar? {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3072 |         guard offset < bytes.count else { return nil }
3073 |         let candidate = UnicodeScalar(bytes[offset])
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3081:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3079 |     /// Advance the position by `count` bytes; throw without moving if fewer
3080 |     /// remain.
3081 |     mutating func skip(count: Int = 1) throws(DemanglingError) {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3082 |         guard count >= 0, count <= bytes.count - offset else {
3083 |             throw DemanglingError.endedPrematurely(count: count, at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3090:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3088 |     /// Move the position back by `count` bytes; throw without moving if that
3089 |     /// would pass the beginning.
3090 |     mutating func backtrack(count: Int = 1) throws(DemanglingError) {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3091 |         guard count >= 0, count <= offset else {
3092 |             throw DemanglingError.endedPrematurely(count: -count, at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3100:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3098 |     /// returning them as a `String`. Throws without moving if `scalar` never
3099 |     /// occurs.
3100 |     mutating func readUntil(scalar: UnicodeScalar) throws(DemanglingError) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3101 |         var searchOffset = offset
3102 |         while searchOffset < bytes.count, UnicodeScalar(bytes[searchOffset]) != scalar {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3114:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3112 |
3113 |     /// Consume bytes while `test` accepts them, returning the consumed range.
3114 |     mutating func readRange(while test: (UnicodeScalar) -> Bool) -> Range<Int> {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3115 |         let startOffset = offset
3116 |         while offset < bytes.count, test(UnicodeScalar(bytes[offset])) {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3123:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3121 |
3122 |     /// Consume bytes while `test` accepts them, returning them as a `String`.
3123 |     mutating func readWhile(_ test: (UnicodeScalar) -> Bool) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3124 |         materializeText(in: readRange(while: test))
3125 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3129:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3127 |     /// Consume exactly `count` bytes, returning the consumed range. Throws
3128 |     /// without moving if fewer remain.
3129 |     mutating func readRange(count: Int) throws(DemanglingError) -> Range<Int> {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3130 |         guard count >= 0, count <= bytes.count - offset else {
3131 |             throw DemanglingError.endedPrematurely(count: count, at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3142:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3140 |     /// instead of trapping in an `Int` conversion — 32-bit `Int` included
3141 |     /// (proposal 0004 discipline).
3142 |     mutating func readRange(count: UInt64) throws(DemanglingError) -> Range<Int> {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3143 |         guard count <= UInt64(bytes.count - offset) else {
3144 |             throw DemanglingError.endedPrematurely(count: Int(clamping: count), at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3150:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3148 |
3149 |     /// Consume exactly `count` bytes, returning them as a `String`.
3150 |     mutating func readScalars(count: Int) throws(DemanglingError) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3151 |         try materializeText(in: readRange(count: count))
3152 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3156:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3154 |     /// `UInt64` counterpart of `readScalars(count:)` for mangled length
3155 |     /// prefixes; see `readRange(count: UInt64)`.
3156 |     mutating func readScalars(count: UInt64) throws(DemanglingError) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3157 |         try materializeText(in: readRange(count: count))
3158 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3460:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3458 |     }
3459 |
3460 |     mutating func demangleSwift3ProtocolNameGivenContext(context: Node) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3461 |         let name = try demangleSwift3DeclName()
3462 |         let result = createNode(kind: .protocol, children: [context, name])
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3478:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3476 |     }
3477 |
3478 |     mutating func demangleSwift3BoundGenericArgs(nominalType initialNominal: Node) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3479 |         guard var parentOrModule = initialNominal.children.first else { throw scanner.unexpectedError() }
3480 |
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3607:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3605 |     }
3606 |
3607 |     mutating func demangleSwift3DeclarationName(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3608 |         let result = try createNode(kind: kind, children: [demangleSwift3Context(), demangleSwift3DeclName()])
3609 |         nameStack.append(result)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3688:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3686 |     }
3687 |
3688 |     mutating func demangleSwift3GenericSignature(isPseudo: Bool = false) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3689 |         var children = [Node]()
3690 |         var c = try scanner.requirePeek()
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3828:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3826 |     }
3827 |
3828 |     mutating func demangleSwift3DependentMemberTypeName(base: Node) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3829 |         let associatedType: Node
3830 |         if scanner.conditional(scalar: "S") {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4072:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4070 |     }
4071 |
4072 |     mutating func demangleSwift3ImplConvention(kind: Node.Kind) throws(DemanglingError) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4073 |         let scalar = try scanner.readScalar()
4074 |         switch (scalar, kind == .implErrorResult ? .implResult : kind) {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4092:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4090 |     }
4091 |
4092 |     mutating func demangleSwift3ImplParameterOrResult(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4093 |         var k: Node.Kind
4094 |         if scanner.conditional(scalar: "z") {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4110:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4108 |     }
4109 |
4110 |     mutating func demangleSwift3Tuple(variadic: Bool) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4111 |         var children = [Node]()
4112 |         while !scanner.conditional(scalar: "_") {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4127:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4125 |     }
4126 |
4127 |     mutating func demangleSwift3FunctionType(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4128 |         var children = [Node]()
4129 |         if scanner.conditional(scalar: "z") {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4137:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4135 |     }
4136 |
4137 |     mutating func demangleSwift3Identifier(kind: Node.Kind? = nil) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4138 |         let isPunycode = scanner.conditional(scalar: "X")
4139 |         let k: Node.Kind
[789/799] Compiling Demangling Demangler.swift
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:142:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 140 |     }
 141 |
 142 |     private mutating func demangleSymbolicReference(rawValue: UInt8) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 143 |         guard let (kind, directness) = SymbolicReference.symbolicReference(for: rawValue) else {
 144 |             throw DemanglingError.requiredNonOptional
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:349:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 347 |     }
 348 |
 349 |     private mutating func pushMultiSubstitutions(repeatCount: Int, index: Int) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 350 |         try require(repeatCount <= maxRepeatCount)
 351 |         let nd = try require(substitutions.at(index))
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:365:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 363 |     }
 364 |
 365 |     private mutating func pop(kind: Node.Kind) -> Node? {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 366 |         return nameStack.last?.kind == kind ? pop() : nil
 367 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:369:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 367 |     }
 368 |
 369 |     private mutating func pop(where cond: (Node.Kind) -> Bool) -> Node? {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 370 |         return nameStack.last.map { cond($0.kind) } == true ? pop() : nil
 371 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:373:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 371 |     }
 372 |
 373 |     private mutating func popFunctionType(kind: Node.Kind, hasClangType: Bool = false) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 374 |         var children: [Node] = []
 375 |         if hasClangType {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:402:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 400 |     }
 401 |
 402 |     private mutating func popFunctionParams(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 403 |         let paramsType: Node
 404 |         if pop(kind: .emptyList) != nil {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:412:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 410 |     }
 411 |
 412 |     private mutating func getLabel(params: Node, idx: Int) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 413 |         if isOldFunctionTypeMangling {
 414 |             let param = try require(params.children.at(idx))
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:423:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 421 |     }
 422 |
 423 |     private mutating func popFunctionParamLabels(type: Node) throws(DemanglingError) -> Node? {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 424 |         if !isOldFunctionTypeMangling && pop(kind: .emptyList) != nil {
 425 |             return NodeFactory.labelList
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:520:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 518 |     }
 519 |
 520 |     private mutating func popPack(kind: Node.Kind = .pack) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 521 |         if pop(kind: .emptyList) != nil {
 522 |             return createNode(kind: .type, child: NodeFactory.pack)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:761:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 759 |     }
 760 |
 761 |     private mutating func getDependentGenericParamType(depth: Int, index: Int) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 762 |         try require(depth >= 0 && index >= 0)
 763 |         var charIndex = index
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1071:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1069 |     }
1070 |
1071 |     private mutating func demangleAnyGenericType(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1072 |         let name = try require(pop(where: { $0.isDeclName }))
1073 |         let ctx = try popContext()
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1243:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1241 |     }
1242 |
1243 |     private mutating func demangleBoundGenericArgs(nominal: Node, array: [Node], index: Int) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1244 |         if nominal.kind == .typeSymbolicReference || nominal.kind == .protocolSymbolicReference {
1245 |             let remaining = array.reversed().flatMap { $0.children }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1311:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1309 |     }
1310 |
1311 |     private mutating func demangleImplParamConvention(kind: Node.Kind) throws(DemanglingError) -> Node? {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1312 |         let attr: String
1313 |         switch try scanner.readScalar() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1334:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1332 |     }
1333 |
1334 |     private mutating func demangleImplResultConvention(kind: Node.Kind) throws(DemanglingError) -> Node? {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1335 |         let attr: String
1336 |         switch try scanner.readScalar() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1668:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1666 |     }
1667 |
1668 |     private mutating func demangleAssociatedTypeSimple(index: Node?) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1669 |         do {
1670 |             let atName = try popAssociatedTypeName()
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1678:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1676 |     }
1677 |
1678 |     private mutating func demangleAssociatedTypeCompound(index: Node?) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1679 |         do {
1680 |             var assocTypeNames = [Node]()
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1915:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1913 |     }
1914 |
1915 |     private mutating func demangleAutoDiffFunctionOrSimpleThunk(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1916 |         var children: [Node] = []
1917 |         while let node = pop() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2033:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2031 |     }
2032 |
2033 |     private mutating func demangleGenericSpecialization(kind: Node.Kind, droppedArguments: Node? = nil) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2034 |         var spec = try demangleSpecAttributes(kind: kind)
2035 |         if let droppedArguments {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2123:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2121 |     }
2122 |
2123 |     private mutating func demangleFuncSpecParam(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2124 |         var children: [Node] = []
2125 |         switch try scanner.readScalar() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2228:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2226 |     }
2227 |
2228 |     private mutating func addFuncSpecParamNumber(param: Node, kind: FunctionSigSpecializationParamKind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2229 |         let kindChild = createNode(kind: .functionSignatureSpecializationParamKind, contents: .index(kind.rawValue))
2230 |         let str = scanner.readWhile { $0.isDigit }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2250:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2248 |     }
2249 |
2250 |     private mutating func demangleSpecAttributes(kind: Node.Kind, demangleUniqueId: Bool = false) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2251 |         let isSerialized = scanner.conditional(scalar: "q")
2252 |         let asyncRemoved = scanner.conditional(scalar: "a")
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2522:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2520 |     }
2521 |
2522 |     private mutating func demangleExtendedExistentialShape(nodeKind: UnicodeScalar) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2523 |         let type = try require(pop(kind: .type))
2524 |         var genSig: Node?
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2546:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2544 |     }
2545 |
2546 |     private mutating func demangleAccessor(child: Node) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2547 |         let kind: Node.Kind
2548 |         switch try scanner.readScalar() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2632:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2630 |     }
2631 |
2632 |     private mutating func demangleEntity(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2633 |         let type = try require(pop(kind: .type))
2634 |         let labelList = try popFunctionParamLabels(type: type)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2705:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2703 |     }
2704 |
2705 |     private mutating func demangleGenericSignature(hasParamCounts: Bool) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2706 |         var paramCounts: [Node] = []
2707 |         if hasParamCounts {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3017:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3015 |     /// Throw unless `test` accepts the scalar at the current position; on
3016 |     /// success return it and advance.
3017 |     mutating func read(where test: (UnicodeScalar) -> Bool) throws(DemanglingError) -> UnicodeScalar {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3018 |         guard offset < bytes.count, test(UnicodeScalar(bytes[offset])) else {
3019 |             throw DemanglingError.matchFailed(wanted: "(read test function to succeed)", at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3028:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3026 |     /// Throw unless the scalar at the current position equals `scalar`;
3027 |     /// advance over it on success.
3028 |     mutating func match(scalar: UnicodeScalar) throws(DemanglingError) {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3029 |         guard offset < bytes.count, UnicodeScalar(bytes[offset]) == scalar else {
3030 |             throw DemanglingError.matchFailed(wanted: String(scalar), at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3037:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3035 |     /// Throw unless the bytes at the current position match `string`'s UTF-8;
3036 |     /// advance to the end of the match on success.
3037 |     mutating func match(string: String) throws(DemanglingError) {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3038 |         guard conditional(string: string) else {
3039 |             throw DemanglingError.matchFailed(wanted: string, at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3046:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3044 |     /// over them and return true; otherwise leave the position unchanged and
3045 |     /// return false.
3046 |     mutating func conditional(string: String) -> Bool {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3047 |         var checkOffset = offset
3048 |         for utf8Byte in string.utf8 {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3061:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3059 |     /// and return true; otherwise leave the position unchanged and return
3060 |     /// false.
3061 |     mutating func conditional(scalar: UnicodeScalar) -> Bool {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3062 |         guard offset < bytes.count, UnicodeScalar(bytes[offset]) == scalar else {
3063 |             return false
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3071:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3069 |     /// If `test` accepts the scalar at the current position, advance over it
3070 |     /// and return it; otherwise leave the position unchanged and return nil.
3071 |     mutating func conditional(where test: (UnicodeScalar) -> Bool) -> UnicodeScalar? {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3072 |         guard offset < bytes.count else { return nil }
3073 |         let candidate = UnicodeScalar(bytes[offset])
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3081:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3079 |     /// Advance the position by `count` bytes; throw without moving if fewer
3080 |     /// remain.
3081 |     mutating func skip(count: Int = 1) throws(DemanglingError) {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3082 |         guard count >= 0, count <= bytes.count - offset else {
3083 |             throw DemanglingError.endedPrematurely(count: count, at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3090:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3088 |     /// Move the position back by `count` bytes; throw without moving if that
3089 |     /// would pass the beginning.
3090 |     mutating func backtrack(count: Int = 1) throws(DemanglingError) {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3091 |         guard count >= 0, count <= offset else {
3092 |             throw DemanglingError.endedPrematurely(count: -count, at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3100:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3098 |     /// returning them as a `String`. Throws without moving if `scalar` never
3099 |     /// occurs.
3100 |     mutating func readUntil(scalar: UnicodeScalar) throws(DemanglingError) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3101 |         var searchOffset = offset
3102 |         while searchOffset < bytes.count, UnicodeScalar(bytes[searchOffset]) != scalar {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3114:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3112 |
3113 |     /// Consume bytes while `test` accepts them, returning the consumed range.
3114 |     mutating func readRange(while test: (UnicodeScalar) -> Bool) -> Range<Int> {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3115 |         let startOffset = offset
3116 |         while offset < bytes.count, test(UnicodeScalar(bytes[offset])) {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3123:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3121 |
3122 |     /// Consume bytes while `test` accepts them, returning them as a `String`.
3123 |     mutating func readWhile(_ test: (UnicodeScalar) -> Bool) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3124 |         materializeText(in: readRange(while: test))
3125 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3129:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3127 |     /// Consume exactly `count` bytes, returning the consumed range. Throws
3128 |     /// without moving if fewer remain.
3129 |     mutating func readRange(count: Int) throws(DemanglingError) -> Range<Int> {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3130 |         guard count >= 0, count <= bytes.count - offset else {
3131 |             throw DemanglingError.endedPrematurely(count: count, at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3142:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3140 |     /// instead of trapping in an `Int` conversion — 32-bit `Int` included
3141 |     /// (proposal 0004 discipline).
3142 |     mutating func readRange(count: UInt64) throws(DemanglingError) -> Range<Int> {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3143 |         guard count <= UInt64(bytes.count - offset) else {
3144 |             throw DemanglingError.endedPrematurely(count: Int(clamping: count), at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3150:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3148 |
3149 |     /// Consume exactly `count` bytes, returning them as a `String`.
3150 |     mutating func readScalars(count: Int) throws(DemanglingError) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3151 |         try materializeText(in: readRange(count: count))
3152 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3156:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3154 |     /// `UInt64` counterpart of `readScalars(count:)` for mangled length
3155 |     /// prefixes; see `readRange(count: UInt64)`.
3156 |     mutating func readScalars(count: UInt64) throws(DemanglingError) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3157 |         try materializeText(in: readRange(count: count))
3158 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3460:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3458 |     }
3459 |
3460 |     mutating func demangleSwift3ProtocolNameGivenContext(context: Node) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3461 |         let name = try demangleSwift3DeclName()
3462 |         let result = createNode(kind: .protocol, children: [context, name])
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3478:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3476 |     }
3477 |
3478 |     mutating func demangleSwift3BoundGenericArgs(nominalType initialNominal: Node) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3479 |         guard var parentOrModule = initialNominal.children.first else { throw scanner.unexpectedError() }
3480 |
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3607:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3605 |     }
3606 |
3607 |     mutating func demangleSwift3DeclarationName(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3608 |         let result = try createNode(kind: kind, children: [demangleSwift3Context(), demangleSwift3DeclName()])
3609 |         nameStack.append(result)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3688:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3686 |     }
3687 |
3688 |     mutating func demangleSwift3GenericSignature(isPseudo: Bool = false) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3689 |         var children = [Node]()
3690 |         var c = try scanner.requirePeek()
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3828:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3826 |     }
3827 |
3828 |     mutating func demangleSwift3DependentMemberTypeName(base: Node) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3829 |         let associatedType: Node
3830 |         if scanner.conditional(scalar: "S") {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4072:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4070 |     }
4071 |
4072 |     mutating func demangleSwift3ImplConvention(kind: Node.Kind) throws(DemanglingError) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4073 |         let scalar = try scanner.readScalar()
4074 |         switch (scalar, kind == .implErrorResult ? .implResult : kind) {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4092:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4090 |     }
4091 |
4092 |     mutating func demangleSwift3ImplParameterOrResult(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4093 |         var k: Node.Kind
4094 |         if scanner.conditional(scalar: "z") {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4110:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4108 |     }
4109 |
4110 |     mutating func demangleSwift3Tuple(variadic: Bool) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4111 |         var children = [Node]()
4112 |         while !scanner.conditional(scalar: "_") {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4127:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4125 |     }
4126 |
4127 |     mutating func demangleSwift3FunctionType(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4128 |         var children = [Node]()
4129 |         if scanner.conditional(scalar: "z") {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4137:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4135 |     }
4136 |
4137 |     mutating func demangleSwift3Identifier(kind: Node.Kind? = nil) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4138 |         let isPunycode = scanner.conditional(scalar: "X")
4139 |         let k: Node.Kind
[790/799] Compiling Demangling DemanglerRuntimeSelection.swift
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:142:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 140 |     }
 141 |
 142 |     private mutating func demangleSymbolicReference(rawValue: UInt8) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 143 |         guard let (kind, directness) = SymbolicReference.symbolicReference(for: rawValue) else {
 144 |             throw DemanglingError.requiredNonOptional
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:349:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 347 |     }
 348 |
 349 |     private mutating func pushMultiSubstitutions(repeatCount: Int, index: Int) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 350 |         try require(repeatCount <= maxRepeatCount)
 351 |         let nd = try require(substitutions.at(index))
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:365:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 363 |     }
 364 |
 365 |     private mutating func pop(kind: Node.Kind) -> Node? {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 366 |         return nameStack.last?.kind == kind ? pop() : nil
 367 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:369:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 367 |     }
 368 |
 369 |     private mutating func pop(where cond: (Node.Kind) -> Bool) -> Node? {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 370 |         return nameStack.last.map { cond($0.kind) } == true ? pop() : nil
 371 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:373:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 371 |     }
 372 |
 373 |     private mutating func popFunctionType(kind: Node.Kind, hasClangType: Bool = false) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 374 |         var children: [Node] = []
 375 |         if hasClangType {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:402:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 400 |     }
 401 |
 402 |     private mutating func popFunctionParams(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 403 |         let paramsType: Node
 404 |         if pop(kind: .emptyList) != nil {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:412:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 410 |     }
 411 |
 412 |     private mutating func getLabel(params: Node, idx: Int) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 413 |         if isOldFunctionTypeMangling {
 414 |             let param = try require(params.children.at(idx))
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:423:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 421 |     }
 422 |
 423 |     private mutating func popFunctionParamLabels(type: Node) throws(DemanglingError) -> Node? {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 424 |         if !isOldFunctionTypeMangling && pop(kind: .emptyList) != nil {
 425 |             return NodeFactory.labelList
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:520:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 518 |     }
 519 |
 520 |     private mutating func popPack(kind: Node.Kind = .pack) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 521 |         if pop(kind: .emptyList) != nil {
 522 |             return createNode(kind: .type, child: NodeFactory.pack)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:761:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 759 |     }
 760 |
 761 |     private mutating func getDependentGenericParamType(depth: Int, index: Int) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 762 |         try require(depth >= 0 && index >= 0)
 763 |         var charIndex = index
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1071:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1069 |     }
1070 |
1071 |     private mutating func demangleAnyGenericType(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1072 |         let name = try require(pop(where: { $0.isDeclName }))
1073 |         let ctx = try popContext()
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1243:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1241 |     }
1242 |
1243 |     private mutating func demangleBoundGenericArgs(nominal: Node, array: [Node], index: Int) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1244 |         if nominal.kind == .typeSymbolicReference || nominal.kind == .protocolSymbolicReference {
1245 |             let remaining = array.reversed().flatMap { $0.children }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1311:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1309 |     }
1310 |
1311 |     private mutating func demangleImplParamConvention(kind: Node.Kind) throws(DemanglingError) -> Node? {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1312 |         let attr: String
1313 |         switch try scanner.readScalar() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1334:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1332 |     }
1333 |
1334 |     private mutating func demangleImplResultConvention(kind: Node.Kind) throws(DemanglingError) -> Node? {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1335 |         let attr: String
1336 |         switch try scanner.readScalar() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1668:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1666 |     }
1667 |
1668 |     private mutating func demangleAssociatedTypeSimple(index: Node?) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1669 |         do {
1670 |             let atName = try popAssociatedTypeName()
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1678:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1676 |     }
1677 |
1678 |     private mutating func demangleAssociatedTypeCompound(index: Node?) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1679 |         do {
1680 |             var assocTypeNames = [Node]()
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1915:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1913 |     }
1914 |
1915 |     private mutating func demangleAutoDiffFunctionOrSimpleThunk(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1916 |         var children: [Node] = []
1917 |         while let node = pop() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2033:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2031 |     }
2032 |
2033 |     private mutating func demangleGenericSpecialization(kind: Node.Kind, droppedArguments: Node? = nil) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2034 |         var spec = try demangleSpecAttributes(kind: kind)
2035 |         if let droppedArguments {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2123:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2121 |     }
2122 |
2123 |     private mutating func demangleFuncSpecParam(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2124 |         var children: [Node] = []
2125 |         switch try scanner.readScalar() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2228:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2226 |     }
2227 |
2228 |     private mutating func addFuncSpecParamNumber(param: Node, kind: FunctionSigSpecializationParamKind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2229 |         let kindChild = createNode(kind: .functionSignatureSpecializationParamKind, contents: .index(kind.rawValue))
2230 |         let str = scanner.readWhile { $0.isDigit }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2250:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2248 |     }
2249 |
2250 |     private mutating func demangleSpecAttributes(kind: Node.Kind, demangleUniqueId: Bool = false) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2251 |         let isSerialized = scanner.conditional(scalar: "q")
2252 |         let asyncRemoved = scanner.conditional(scalar: "a")
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2522:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2520 |     }
2521 |
2522 |     private mutating func demangleExtendedExistentialShape(nodeKind: UnicodeScalar) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2523 |         let type = try require(pop(kind: .type))
2524 |         var genSig: Node?
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2546:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2544 |     }
2545 |
2546 |     private mutating func demangleAccessor(child: Node) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2547 |         let kind: Node.Kind
2548 |         switch try scanner.readScalar() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2632:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2630 |     }
2631 |
2632 |     private mutating func demangleEntity(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2633 |         let type = try require(pop(kind: .type))
2634 |         let labelList = try popFunctionParamLabels(type: type)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2705:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2703 |     }
2704 |
2705 |     private mutating func demangleGenericSignature(hasParamCounts: Bool) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2706 |         var paramCounts: [Node] = []
2707 |         if hasParamCounts {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3017:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3015 |     /// Throw unless `test` accepts the scalar at the current position; on
3016 |     /// success return it and advance.
3017 |     mutating func read(where test: (UnicodeScalar) -> Bool) throws(DemanglingError) -> UnicodeScalar {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3018 |         guard offset < bytes.count, test(UnicodeScalar(bytes[offset])) else {
3019 |             throw DemanglingError.matchFailed(wanted: "(read test function to succeed)", at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3028:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3026 |     /// Throw unless the scalar at the current position equals `scalar`;
3027 |     /// advance over it on success.
3028 |     mutating func match(scalar: UnicodeScalar) throws(DemanglingError) {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3029 |         guard offset < bytes.count, UnicodeScalar(bytes[offset]) == scalar else {
3030 |             throw DemanglingError.matchFailed(wanted: String(scalar), at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3037:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3035 |     /// Throw unless the bytes at the current position match `string`'s UTF-8;
3036 |     /// advance to the end of the match on success.
3037 |     mutating func match(string: String) throws(DemanglingError) {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3038 |         guard conditional(string: string) else {
3039 |             throw DemanglingError.matchFailed(wanted: string, at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3046:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3044 |     /// over them and return true; otherwise leave the position unchanged and
3045 |     /// return false.
3046 |     mutating func conditional(string: String) -> Bool {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3047 |         var checkOffset = offset
3048 |         for utf8Byte in string.utf8 {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3061:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3059 |     /// and return true; otherwise leave the position unchanged and return
3060 |     /// false.
3061 |     mutating func conditional(scalar: UnicodeScalar) -> Bool {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3062 |         guard offset < bytes.count, UnicodeScalar(bytes[offset]) == scalar else {
3063 |             return false
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3071:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3069 |     /// If `test` accepts the scalar at the current position, advance over it
3070 |     /// and return it; otherwise leave the position unchanged and return nil.
3071 |     mutating func conditional(where test: (UnicodeScalar) -> Bool) -> UnicodeScalar? {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3072 |         guard offset < bytes.count else { return nil }
3073 |         let candidate = UnicodeScalar(bytes[offset])
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3081:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3079 |     /// Advance the position by `count` bytes; throw without moving if fewer
3080 |     /// remain.
3081 |     mutating func skip(count: Int = 1) throws(DemanglingError) {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3082 |         guard count >= 0, count <= bytes.count - offset else {
3083 |             throw DemanglingError.endedPrematurely(count: count, at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3090:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3088 |     /// Move the position back by `count` bytes; throw without moving if that
3089 |     /// would pass the beginning.
3090 |     mutating func backtrack(count: Int = 1) throws(DemanglingError) {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3091 |         guard count >= 0, count <= offset else {
3092 |             throw DemanglingError.endedPrematurely(count: -count, at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3100:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3098 |     /// returning them as a `String`. Throws without moving if `scalar` never
3099 |     /// occurs.
3100 |     mutating func readUntil(scalar: UnicodeScalar) throws(DemanglingError) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3101 |         var searchOffset = offset
3102 |         while searchOffset < bytes.count, UnicodeScalar(bytes[searchOffset]) != scalar {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3114:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3112 |
3113 |     /// Consume bytes while `test` accepts them, returning the consumed range.
3114 |     mutating func readRange(while test: (UnicodeScalar) -> Bool) -> Range<Int> {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3115 |         let startOffset = offset
3116 |         while offset < bytes.count, test(UnicodeScalar(bytes[offset])) {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3123:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3121 |
3122 |     /// Consume bytes while `test` accepts them, returning them as a `String`.
3123 |     mutating func readWhile(_ test: (UnicodeScalar) -> Bool) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3124 |         materializeText(in: readRange(while: test))
3125 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3129:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3127 |     /// Consume exactly `count` bytes, returning the consumed range. Throws
3128 |     /// without moving if fewer remain.
3129 |     mutating func readRange(count: Int) throws(DemanglingError) -> Range<Int> {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3130 |         guard count >= 0, count <= bytes.count - offset else {
3131 |             throw DemanglingError.endedPrematurely(count: count, at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3142:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3140 |     /// instead of trapping in an `Int` conversion — 32-bit `Int` included
3141 |     /// (proposal 0004 discipline).
3142 |     mutating func readRange(count: UInt64) throws(DemanglingError) -> Range<Int> {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3143 |         guard count <= UInt64(bytes.count - offset) else {
3144 |             throw DemanglingError.endedPrematurely(count: Int(clamping: count), at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3150:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3148 |
3149 |     /// Consume exactly `count` bytes, returning them as a `String`.
3150 |     mutating func readScalars(count: Int) throws(DemanglingError) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3151 |         try materializeText(in: readRange(count: count))
3152 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3156:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3154 |     /// `UInt64` counterpart of `readScalars(count:)` for mangled length
3155 |     /// prefixes; see `readRange(count: UInt64)`.
3156 |     mutating func readScalars(count: UInt64) throws(DemanglingError) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3157 |         try materializeText(in: readRange(count: count))
3158 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3460:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3458 |     }
3459 |
3460 |     mutating func demangleSwift3ProtocolNameGivenContext(context: Node) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3461 |         let name = try demangleSwift3DeclName()
3462 |         let result = createNode(kind: .protocol, children: [context, name])
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3478:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3476 |     }
3477 |
3478 |     mutating func demangleSwift3BoundGenericArgs(nominalType initialNominal: Node) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3479 |         guard var parentOrModule = initialNominal.children.first else { throw scanner.unexpectedError() }
3480 |
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3607:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3605 |     }
3606 |
3607 |     mutating func demangleSwift3DeclarationName(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3608 |         let result = try createNode(kind: kind, children: [demangleSwift3Context(), demangleSwift3DeclName()])
3609 |         nameStack.append(result)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3688:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3686 |     }
3687 |
3688 |     mutating func demangleSwift3GenericSignature(isPseudo: Bool = false) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3689 |         var children = [Node]()
3690 |         var c = try scanner.requirePeek()
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3828:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3826 |     }
3827 |
3828 |     mutating func demangleSwift3DependentMemberTypeName(base: Node) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3829 |         let associatedType: Node
3830 |         if scanner.conditional(scalar: "S") {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4072:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4070 |     }
4071 |
4072 |     mutating func demangleSwift3ImplConvention(kind: Node.Kind) throws(DemanglingError) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4073 |         let scalar = try scanner.readScalar()
4074 |         switch (scalar, kind == .implErrorResult ? .implResult : kind) {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4092:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4090 |     }
4091 |
4092 |     mutating func demangleSwift3ImplParameterOrResult(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4093 |         var k: Node.Kind
4094 |         if scanner.conditional(scalar: "z") {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4110:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4108 |     }
4109 |
4110 |     mutating func demangleSwift3Tuple(variadic: Bool) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4111 |         var children = [Node]()
4112 |         while !scanner.conditional(scalar: "_") {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4127:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4125 |     }
4126 |
4127 |     mutating func demangleSwift3FunctionType(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4128 |         var children = [Node]()
4129 |         if scanner.conditional(scalar: "z") {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4137:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4135 |     }
4136 |
4137 |     mutating func demangleSwift3Identifier(kind: Node.Kind? = nil) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4138 |         let isPunycode = scanner.conditional(scalar: "X")
4139 |         let k: Node.Kind
[791/799] Compiling Demangling RemangleInterface.swift
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:142:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 140 |     }
 141 |
 142 |     private mutating func demangleSymbolicReference(rawValue: UInt8) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 143 |         guard let (kind, directness) = SymbolicReference.symbolicReference(for: rawValue) else {
 144 |             throw DemanglingError.requiredNonOptional
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:349:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 347 |     }
 348 |
 349 |     private mutating func pushMultiSubstitutions(repeatCount: Int, index: Int) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 350 |         try require(repeatCount <= maxRepeatCount)
 351 |         let nd = try require(substitutions.at(index))
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:365:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 363 |     }
 364 |
 365 |     private mutating func pop(kind: Node.Kind) -> Node? {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 366 |         return nameStack.last?.kind == kind ? pop() : nil
 367 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:369:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 367 |     }
 368 |
 369 |     private mutating func pop(where cond: (Node.Kind) -> Bool) -> Node? {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 370 |         return nameStack.last.map { cond($0.kind) } == true ? pop() : nil
 371 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:373:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 371 |     }
 372 |
 373 |     private mutating func popFunctionType(kind: Node.Kind, hasClangType: Bool = false) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 374 |         var children: [Node] = []
 375 |         if hasClangType {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:402:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 400 |     }
 401 |
 402 |     private mutating func popFunctionParams(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 403 |         let paramsType: Node
 404 |         if pop(kind: .emptyList) != nil {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:412:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 410 |     }
 411 |
 412 |     private mutating func getLabel(params: Node, idx: Int) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 413 |         if isOldFunctionTypeMangling {
 414 |             let param = try require(params.children.at(idx))
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:423:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 421 |     }
 422 |
 423 |     private mutating func popFunctionParamLabels(type: Node) throws(DemanglingError) -> Node? {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 424 |         if !isOldFunctionTypeMangling && pop(kind: .emptyList) != nil {
 425 |             return NodeFactory.labelList
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:520:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 518 |     }
 519 |
 520 |     private mutating func popPack(kind: Node.Kind = .pack) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 521 |         if pop(kind: .emptyList) != nil {
 522 |             return createNode(kind: .type, child: NodeFactory.pack)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:761:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 759 |     }
 760 |
 761 |     private mutating func getDependentGenericParamType(depth: Int, index: Int) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 762 |         try require(depth >= 0 && index >= 0)
 763 |         var charIndex = index
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1071:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1069 |     }
1070 |
1071 |     private mutating func demangleAnyGenericType(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1072 |         let name = try require(pop(where: { $0.isDeclName }))
1073 |         let ctx = try popContext()
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1243:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1241 |     }
1242 |
1243 |     private mutating func demangleBoundGenericArgs(nominal: Node, array: [Node], index: Int) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1244 |         if nominal.kind == .typeSymbolicReference || nominal.kind == .protocolSymbolicReference {
1245 |             let remaining = array.reversed().flatMap { $0.children }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1311:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1309 |     }
1310 |
1311 |     private mutating func demangleImplParamConvention(kind: Node.Kind) throws(DemanglingError) -> Node? {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1312 |         let attr: String
1313 |         switch try scanner.readScalar() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1334:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1332 |     }
1333 |
1334 |     private mutating func demangleImplResultConvention(kind: Node.Kind) throws(DemanglingError) -> Node? {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1335 |         let attr: String
1336 |         switch try scanner.readScalar() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1668:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1666 |     }
1667 |
1668 |     private mutating func demangleAssociatedTypeSimple(index: Node?) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1669 |         do {
1670 |             let atName = try popAssociatedTypeName()
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1678:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1676 |     }
1677 |
1678 |     private mutating func demangleAssociatedTypeCompound(index: Node?) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1679 |         do {
1680 |             var assocTypeNames = [Node]()
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1915:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1913 |     }
1914 |
1915 |     private mutating func demangleAutoDiffFunctionOrSimpleThunk(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1916 |         var children: [Node] = []
1917 |         while let node = pop() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2033:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2031 |     }
2032 |
2033 |     private mutating func demangleGenericSpecialization(kind: Node.Kind, droppedArguments: Node? = nil) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2034 |         var spec = try demangleSpecAttributes(kind: kind)
2035 |         if let droppedArguments {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2123:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2121 |     }
2122 |
2123 |     private mutating func demangleFuncSpecParam(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2124 |         var children: [Node] = []
2125 |         switch try scanner.readScalar() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2228:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2226 |     }
2227 |
2228 |     private mutating func addFuncSpecParamNumber(param: Node, kind: FunctionSigSpecializationParamKind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2229 |         let kindChild = createNode(kind: .functionSignatureSpecializationParamKind, contents: .index(kind.rawValue))
2230 |         let str = scanner.readWhile { $0.isDigit }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2250:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2248 |     }
2249 |
2250 |     private mutating func demangleSpecAttributes(kind: Node.Kind, demangleUniqueId: Bool = false) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2251 |         let isSerialized = scanner.conditional(scalar: "q")
2252 |         let asyncRemoved = scanner.conditional(scalar: "a")
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2522:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2520 |     }
2521 |
2522 |     private mutating func demangleExtendedExistentialShape(nodeKind: UnicodeScalar) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2523 |         let type = try require(pop(kind: .type))
2524 |         var genSig: Node?
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2546:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2544 |     }
2545 |
2546 |     private mutating func demangleAccessor(child: Node) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2547 |         let kind: Node.Kind
2548 |         switch try scanner.readScalar() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2632:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2630 |     }
2631 |
2632 |     private mutating func demangleEntity(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2633 |         let type = try require(pop(kind: .type))
2634 |         let labelList = try popFunctionParamLabels(type: type)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2705:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2703 |     }
2704 |
2705 |     private mutating func demangleGenericSignature(hasParamCounts: Bool) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2706 |         var paramCounts: [Node] = []
2707 |         if hasParamCounts {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3017:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3015 |     /// Throw unless `test` accepts the scalar at the current position; on
3016 |     /// success return it and advance.
3017 |     mutating func read(where test: (UnicodeScalar) -> Bool) throws(DemanglingError) -> UnicodeScalar {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3018 |         guard offset < bytes.count, test(UnicodeScalar(bytes[offset])) else {
3019 |             throw DemanglingError.matchFailed(wanted: "(read test function to succeed)", at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3028:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3026 |     /// Throw unless the scalar at the current position equals `scalar`;
3027 |     /// advance over it on success.
3028 |     mutating func match(scalar: UnicodeScalar) throws(DemanglingError) {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3029 |         guard offset < bytes.count, UnicodeScalar(bytes[offset]) == scalar else {
3030 |             throw DemanglingError.matchFailed(wanted: String(scalar), at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3037:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3035 |     /// Throw unless the bytes at the current position match `string`'s UTF-8;
3036 |     /// advance to the end of the match on success.
3037 |     mutating func match(string: String) throws(DemanglingError) {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3038 |         guard conditional(string: string) else {
3039 |             throw DemanglingError.matchFailed(wanted: string, at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3046:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3044 |     /// over them and return true; otherwise leave the position unchanged and
3045 |     /// return false.
3046 |     mutating func conditional(string: String) -> Bool {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3047 |         var checkOffset = offset
3048 |         for utf8Byte in string.utf8 {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3061:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3059 |     /// and return true; otherwise leave the position unchanged and return
3060 |     /// false.
3061 |     mutating func conditional(scalar: UnicodeScalar) -> Bool {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3062 |         guard offset < bytes.count, UnicodeScalar(bytes[offset]) == scalar else {
3063 |             return false
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3071:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3069 |     /// If `test` accepts the scalar at the current position, advance over it
3070 |     /// and return it; otherwise leave the position unchanged and return nil.
3071 |     mutating func conditional(where test: (UnicodeScalar) -> Bool) -> UnicodeScalar? {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3072 |         guard offset < bytes.count else { return nil }
3073 |         let candidate = UnicodeScalar(bytes[offset])
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3081:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3079 |     /// Advance the position by `count` bytes; throw without moving if fewer
3080 |     /// remain.
3081 |     mutating func skip(count: Int = 1) throws(DemanglingError) {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3082 |         guard count >= 0, count <= bytes.count - offset else {
3083 |             throw DemanglingError.endedPrematurely(count: count, at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3090:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3088 |     /// Move the position back by `count` bytes; throw without moving if that
3089 |     /// would pass the beginning.
3090 |     mutating func backtrack(count: Int = 1) throws(DemanglingError) {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3091 |         guard count >= 0, count <= offset else {
3092 |             throw DemanglingError.endedPrematurely(count: -count, at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3100:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3098 |     /// returning them as a `String`. Throws without moving if `scalar` never
3099 |     /// occurs.
3100 |     mutating func readUntil(scalar: UnicodeScalar) throws(DemanglingError) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3101 |         var searchOffset = offset
3102 |         while searchOffset < bytes.count, UnicodeScalar(bytes[searchOffset]) != scalar {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3114:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3112 |
3113 |     /// Consume bytes while `test` accepts them, returning the consumed range.
3114 |     mutating func readRange(while test: (UnicodeScalar) -> Bool) -> Range<Int> {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3115 |         let startOffset = offset
3116 |         while offset < bytes.count, test(UnicodeScalar(bytes[offset])) {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3123:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3121 |
3122 |     /// Consume bytes while `test` accepts them, returning them as a `String`.
3123 |     mutating func readWhile(_ test: (UnicodeScalar) -> Bool) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3124 |         materializeText(in: readRange(while: test))
3125 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3129:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3127 |     /// Consume exactly `count` bytes, returning the consumed range. Throws
3128 |     /// without moving if fewer remain.
3129 |     mutating func readRange(count: Int) throws(DemanglingError) -> Range<Int> {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3130 |         guard count >= 0, count <= bytes.count - offset else {
3131 |             throw DemanglingError.endedPrematurely(count: count, at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3142:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3140 |     /// instead of trapping in an `Int` conversion — 32-bit `Int` included
3141 |     /// (proposal 0004 discipline).
3142 |     mutating func readRange(count: UInt64) throws(DemanglingError) -> Range<Int> {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3143 |         guard count <= UInt64(bytes.count - offset) else {
3144 |             throw DemanglingError.endedPrematurely(count: Int(clamping: count), at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3150:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3148 |
3149 |     /// Consume exactly `count` bytes, returning them as a `String`.
3150 |     mutating func readScalars(count: Int) throws(DemanglingError) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3151 |         try materializeText(in: readRange(count: count))
3152 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3156:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3154 |     /// `UInt64` counterpart of `readScalars(count:)` for mangled length
3155 |     /// prefixes; see `readRange(count: UInt64)`.
3156 |     mutating func readScalars(count: UInt64) throws(DemanglingError) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3157 |         try materializeText(in: readRange(count: count))
3158 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3460:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3458 |     }
3459 |
3460 |     mutating func demangleSwift3ProtocolNameGivenContext(context: Node) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3461 |         let name = try demangleSwift3DeclName()
3462 |         let result = createNode(kind: .protocol, children: [context, name])
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3478:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3476 |     }
3477 |
3478 |     mutating func demangleSwift3BoundGenericArgs(nominalType initialNominal: Node) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3479 |         guard var parentOrModule = initialNominal.children.first else { throw scanner.unexpectedError() }
3480 |
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3607:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3605 |     }
3606 |
3607 |     mutating func demangleSwift3DeclarationName(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3608 |         let result = try createNode(kind: kind, children: [demangleSwift3Context(), demangleSwift3DeclName()])
3609 |         nameStack.append(result)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3688:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3686 |     }
3687 |
3688 |     mutating func demangleSwift3GenericSignature(isPseudo: Bool = false) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3689 |         var children = [Node]()
3690 |         var c = try scanner.requirePeek()
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3828:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3826 |     }
3827 |
3828 |     mutating func demangleSwift3DependentMemberTypeName(base: Node) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3829 |         let associatedType: Node
3830 |         if scanner.conditional(scalar: "S") {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4072:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4070 |     }
4071 |
4072 |     mutating func demangleSwift3ImplConvention(kind: Node.Kind) throws(DemanglingError) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4073 |         let scalar = try scanner.readScalar()
4074 |         switch (scalar, kind == .implErrorResult ? .implResult : kind) {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4092:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4090 |     }
4091 |
4092 |     mutating func demangleSwift3ImplParameterOrResult(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4093 |         var k: Node.Kind
4094 |         if scanner.conditional(scalar: "z") {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4110:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4108 |     }
4109 |
4110 |     mutating func demangleSwift3Tuple(variadic: Bool) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4111 |         var children = [Node]()
4112 |         while !scanner.conditional(scalar: "_") {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4127:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4125 |     }
4126 |
4127 |     mutating func demangleSwift3FunctionType(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4128 |         var children = [Node]()
4129 |         if scanner.conditional(scalar: "z") {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4137:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4135 |     }
4136 |
4137 |     mutating func demangleSwift3Identifier(kind: Node.Kind? = nil) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4138 |         let isPunycode = scanner.conditional(scalar: "X")
4139 |         let k: Node.Kind
[792/799] Compiling Demangling Remangler.swift
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:142:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 140 |     }
 141 |
 142 |     private mutating func demangleSymbolicReference(rawValue: UInt8) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 143 |         guard let (kind, directness) = SymbolicReference.symbolicReference(for: rawValue) else {
 144 |             throw DemanglingError.requiredNonOptional
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:349:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 347 |     }
 348 |
 349 |     private mutating func pushMultiSubstitutions(repeatCount: Int, index: Int) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 350 |         try require(repeatCount <= maxRepeatCount)
 351 |         let nd = try require(substitutions.at(index))
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:365:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 363 |     }
 364 |
 365 |     private mutating func pop(kind: Node.Kind) -> Node? {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 366 |         return nameStack.last?.kind == kind ? pop() : nil
 367 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:369:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 367 |     }
 368 |
 369 |     private mutating func pop(where cond: (Node.Kind) -> Bool) -> Node? {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 370 |         return nameStack.last.map { cond($0.kind) } == true ? pop() : nil
 371 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:373:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 371 |     }
 372 |
 373 |     private mutating func popFunctionType(kind: Node.Kind, hasClangType: Bool = false) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 374 |         var children: [Node] = []
 375 |         if hasClangType {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:402:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 400 |     }
 401 |
 402 |     private mutating func popFunctionParams(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 403 |         let paramsType: Node
 404 |         if pop(kind: .emptyList) != nil {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:412:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 410 |     }
 411 |
 412 |     private mutating func getLabel(params: Node, idx: Int) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 413 |         if isOldFunctionTypeMangling {
 414 |             let param = try require(params.children.at(idx))
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:423:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 421 |     }
 422 |
 423 |     private mutating func popFunctionParamLabels(type: Node) throws(DemanglingError) -> Node? {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 424 |         if !isOldFunctionTypeMangling && pop(kind: .emptyList) != nil {
 425 |             return NodeFactory.labelList
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:520:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 518 |     }
 519 |
 520 |     private mutating func popPack(kind: Node.Kind = .pack) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 521 |         if pop(kind: .emptyList) != nil {
 522 |             return createNode(kind: .type, child: NodeFactory.pack)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:761:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 759 |     }
 760 |
 761 |     private mutating func getDependentGenericParamType(depth: Int, index: Int) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 762 |         try require(depth >= 0 && index >= 0)
 763 |         var charIndex = index
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1071:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1069 |     }
1070 |
1071 |     private mutating func demangleAnyGenericType(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1072 |         let name = try require(pop(where: { $0.isDeclName }))
1073 |         let ctx = try popContext()
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1243:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1241 |     }
1242 |
1243 |     private mutating func demangleBoundGenericArgs(nominal: Node, array: [Node], index: Int) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1244 |         if nominal.kind == .typeSymbolicReference || nominal.kind == .protocolSymbolicReference {
1245 |             let remaining = array.reversed().flatMap { $0.children }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1311:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1309 |     }
1310 |
1311 |     private mutating func demangleImplParamConvention(kind: Node.Kind) throws(DemanglingError) -> Node? {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1312 |         let attr: String
1313 |         switch try scanner.readScalar() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1334:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1332 |     }
1333 |
1334 |     private mutating func demangleImplResultConvention(kind: Node.Kind) throws(DemanglingError) -> Node? {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1335 |         let attr: String
1336 |         switch try scanner.readScalar() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1668:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1666 |     }
1667 |
1668 |     private mutating func demangleAssociatedTypeSimple(index: Node?) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1669 |         do {
1670 |             let atName = try popAssociatedTypeName()
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1678:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1676 |     }
1677 |
1678 |     private mutating func demangleAssociatedTypeCompound(index: Node?) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1679 |         do {
1680 |             var assocTypeNames = [Node]()
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1915:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1913 |     }
1914 |
1915 |     private mutating func demangleAutoDiffFunctionOrSimpleThunk(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1916 |         var children: [Node] = []
1917 |         while let node = pop() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2033:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2031 |     }
2032 |
2033 |     private mutating func demangleGenericSpecialization(kind: Node.Kind, droppedArguments: Node? = nil) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2034 |         var spec = try demangleSpecAttributes(kind: kind)
2035 |         if let droppedArguments {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2123:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2121 |     }
2122 |
2123 |     private mutating func demangleFuncSpecParam(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2124 |         var children: [Node] = []
2125 |         switch try scanner.readScalar() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2228:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2226 |     }
2227 |
2228 |     private mutating func addFuncSpecParamNumber(param: Node, kind: FunctionSigSpecializationParamKind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2229 |         let kindChild = createNode(kind: .functionSignatureSpecializationParamKind, contents: .index(kind.rawValue))
2230 |         let str = scanner.readWhile { $0.isDigit }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2250:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2248 |     }
2249 |
2250 |     private mutating func demangleSpecAttributes(kind: Node.Kind, demangleUniqueId: Bool = false) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2251 |         let isSerialized = scanner.conditional(scalar: "q")
2252 |         let asyncRemoved = scanner.conditional(scalar: "a")
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2522:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2520 |     }
2521 |
2522 |     private mutating func demangleExtendedExistentialShape(nodeKind: UnicodeScalar) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2523 |         let type = try require(pop(kind: .type))
2524 |         var genSig: Node?
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2546:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2544 |     }
2545 |
2546 |     private mutating func demangleAccessor(child: Node) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2547 |         let kind: Node.Kind
2548 |         switch try scanner.readScalar() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2632:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2630 |     }
2631 |
2632 |     private mutating func demangleEntity(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2633 |         let type = try require(pop(kind: .type))
2634 |         let labelList = try popFunctionParamLabels(type: type)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2705:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2703 |     }
2704 |
2705 |     private mutating func demangleGenericSignature(hasParamCounts: Bool) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2706 |         var paramCounts: [Node] = []
2707 |         if hasParamCounts {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3017:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3015 |     /// Throw unless `test` accepts the scalar at the current position; on
3016 |     /// success return it and advance.
3017 |     mutating func read(where test: (UnicodeScalar) -> Bool) throws(DemanglingError) -> UnicodeScalar {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3018 |         guard offset < bytes.count, test(UnicodeScalar(bytes[offset])) else {
3019 |             throw DemanglingError.matchFailed(wanted: "(read test function to succeed)", at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3028:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3026 |     /// Throw unless the scalar at the current position equals `scalar`;
3027 |     /// advance over it on success.
3028 |     mutating func match(scalar: UnicodeScalar) throws(DemanglingError) {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3029 |         guard offset < bytes.count, UnicodeScalar(bytes[offset]) == scalar else {
3030 |             throw DemanglingError.matchFailed(wanted: String(scalar), at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3037:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3035 |     /// Throw unless the bytes at the current position match `string`'s UTF-8;
3036 |     /// advance to the end of the match on success.
3037 |     mutating func match(string: String) throws(DemanglingError) {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3038 |         guard conditional(string: string) else {
3039 |             throw DemanglingError.matchFailed(wanted: string, at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3046:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3044 |     /// over them and return true; otherwise leave the position unchanged and
3045 |     /// return false.
3046 |     mutating func conditional(string: String) -> Bool {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3047 |         var checkOffset = offset
3048 |         for utf8Byte in string.utf8 {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3061:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3059 |     /// and return true; otherwise leave the position unchanged and return
3060 |     /// false.
3061 |     mutating func conditional(scalar: UnicodeScalar) -> Bool {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3062 |         guard offset < bytes.count, UnicodeScalar(bytes[offset]) == scalar else {
3063 |             return false
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3071:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3069 |     /// If `test` accepts the scalar at the current position, advance over it
3070 |     /// and return it; otherwise leave the position unchanged and return nil.
3071 |     mutating func conditional(where test: (UnicodeScalar) -> Bool) -> UnicodeScalar? {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3072 |         guard offset < bytes.count else { return nil }
3073 |         let candidate = UnicodeScalar(bytes[offset])
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3081:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3079 |     /// Advance the position by `count` bytes; throw without moving if fewer
3080 |     /// remain.
3081 |     mutating func skip(count: Int = 1) throws(DemanglingError) {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3082 |         guard count >= 0, count <= bytes.count - offset else {
3083 |             throw DemanglingError.endedPrematurely(count: count, at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3090:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3088 |     /// Move the position back by `count` bytes; throw without moving if that
3089 |     /// would pass the beginning.
3090 |     mutating func backtrack(count: Int = 1) throws(DemanglingError) {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3091 |         guard count >= 0, count <= offset else {
3092 |             throw DemanglingError.endedPrematurely(count: -count, at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3100:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3098 |     /// returning them as a `String`. Throws without moving if `scalar` never
3099 |     /// occurs.
3100 |     mutating func readUntil(scalar: UnicodeScalar) throws(DemanglingError) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3101 |         var searchOffset = offset
3102 |         while searchOffset < bytes.count, UnicodeScalar(bytes[searchOffset]) != scalar {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3114:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3112 |
3113 |     /// Consume bytes while `test` accepts them, returning the consumed range.
3114 |     mutating func readRange(while test: (UnicodeScalar) -> Bool) -> Range<Int> {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3115 |         let startOffset = offset
3116 |         while offset < bytes.count, test(UnicodeScalar(bytes[offset])) {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3123:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3121 |
3122 |     /// Consume bytes while `test` accepts them, returning them as a `String`.
3123 |     mutating func readWhile(_ test: (UnicodeScalar) -> Bool) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3124 |         materializeText(in: readRange(while: test))
3125 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3129:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3127 |     /// Consume exactly `count` bytes, returning the consumed range. Throws
3128 |     /// without moving if fewer remain.
3129 |     mutating func readRange(count: Int) throws(DemanglingError) -> Range<Int> {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3130 |         guard count >= 0, count <= bytes.count - offset else {
3131 |             throw DemanglingError.endedPrematurely(count: count, at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3142:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3140 |     /// instead of trapping in an `Int` conversion — 32-bit `Int` included
3141 |     /// (proposal 0004 discipline).
3142 |     mutating func readRange(count: UInt64) throws(DemanglingError) -> Range<Int> {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3143 |         guard count <= UInt64(bytes.count - offset) else {
3144 |             throw DemanglingError.endedPrematurely(count: Int(clamping: count), at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3150:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3148 |
3149 |     /// Consume exactly `count` bytes, returning them as a `String`.
3150 |     mutating func readScalars(count: Int) throws(DemanglingError) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3151 |         try materializeText(in: readRange(count: count))
3152 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3156:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3154 |     /// `UInt64` counterpart of `readScalars(count:)` for mangled length
3155 |     /// prefixes; see `readRange(count: UInt64)`.
3156 |     mutating func readScalars(count: UInt64) throws(DemanglingError) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3157 |         try materializeText(in: readRange(count: count))
3158 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3460:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3458 |     }
3459 |
3460 |     mutating func demangleSwift3ProtocolNameGivenContext(context: Node) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3461 |         let name = try demangleSwift3DeclName()
3462 |         let result = createNode(kind: .protocol, children: [context, name])
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3478:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3476 |     }
3477 |
3478 |     mutating func demangleSwift3BoundGenericArgs(nominalType initialNominal: Node) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3479 |         guard var parentOrModule = initialNominal.children.first else { throw scanner.unexpectedError() }
3480 |
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3607:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3605 |     }
3606 |
3607 |     mutating func demangleSwift3DeclarationName(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3608 |         let result = try createNode(kind: kind, children: [demangleSwift3Context(), demangleSwift3DeclName()])
3609 |         nameStack.append(result)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3688:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3686 |     }
3687 |
3688 |     mutating func demangleSwift3GenericSignature(isPseudo: Bool = false) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3689 |         var children = [Node]()
3690 |         var c = try scanner.requirePeek()
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3828:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3826 |     }
3827 |
3828 |     mutating func demangleSwift3DependentMemberTypeName(base: Node) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3829 |         let associatedType: Node
3830 |         if scanner.conditional(scalar: "S") {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4072:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4070 |     }
4071 |
4072 |     mutating func demangleSwift3ImplConvention(kind: Node.Kind) throws(DemanglingError) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4073 |         let scalar = try scanner.readScalar()
4074 |         switch (scalar, kind == .implErrorResult ? .implResult : kind) {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4092:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4090 |     }
4091 |
4092 |     mutating func demangleSwift3ImplParameterOrResult(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4093 |         var k: Node.Kind
4094 |         if scanner.conditional(scalar: "z") {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4110:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4108 |     }
4109 |
4110 |     mutating func demangleSwift3Tuple(variadic: Bool) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4111 |         var children = [Node]()
4112 |         while !scanner.conditional(scalar: "_") {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4127:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4125 |     }
4126 |
4127 |     mutating func demangleSwift3FunctionType(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4128 |         var children = [Node]()
4129 |         if scanner.conditional(scalar: "z") {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4137:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4135 |     }
4136 |
4137 |     mutating func demangleSwift3Identifier(kind: Node.Kind? = nil) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4138 |         let isPunycode = scanner.conditional(scalar: "X")
4139 |         let k: Node.Kind
[793/799] Compiling Demangling TypeBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:142:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 140 |     }
 141 |
 142 |     private mutating func demangleSymbolicReference(rawValue: UInt8) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 143 |         guard let (kind, directness) = SymbolicReference.symbolicReference(for: rawValue) else {
 144 |             throw DemanglingError.requiredNonOptional
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:349:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 347 |     }
 348 |
 349 |     private mutating func pushMultiSubstitutions(repeatCount: Int, index: Int) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 350 |         try require(repeatCount <= maxRepeatCount)
 351 |         let nd = try require(substitutions.at(index))
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:365:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 363 |     }
 364 |
 365 |     private mutating func pop(kind: Node.Kind) -> Node? {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 366 |         return nameStack.last?.kind == kind ? pop() : nil
 367 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:369:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 367 |     }
 368 |
 369 |     private mutating func pop(where cond: (Node.Kind) -> Bool) -> Node? {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 370 |         return nameStack.last.map { cond($0.kind) } == true ? pop() : nil
 371 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:373:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 371 |     }
 372 |
 373 |     private mutating func popFunctionType(kind: Node.Kind, hasClangType: Bool = false) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 374 |         var children: [Node] = []
 375 |         if hasClangType {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:402:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 400 |     }
 401 |
 402 |     private mutating func popFunctionParams(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 403 |         let paramsType: Node
 404 |         if pop(kind: .emptyList) != nil {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:412:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 410 |     }
 411 |
 412 |     private mutating func getLabel(params: Node, idx: Int) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 413 |         if isOldFunctionTypeMangling {
 414 |             let param = try require(params.children.at(idx))
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:423:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 421 |     }
 422 |
 423 |     private mutating func popFunctionParamLabels(type: Node) throws(DemanglingError) -> Node? {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 424 |         if !isOldFunctionTypeMangling && pop(kind: .emptyList) != nil {
 425 |             return NodeFactory.labelList
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:520:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 518 |     }
 519 |
 520 |     private mutating func popPack(kind: Node.Kind = .pack) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 521 |         if pop(kind: .emptyList) != nil {
 522 |             return createNode(kind: .type, child: NodeFactory.pack)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:761:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 759 |     }
 760 |
 761 |     private mutating func getDependentGenericParamType(depth: Int, index: Int) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
 762 |         try require(depth >= 0 && index >= 0)
 763 |         var charIndex = index
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1071:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1069 |     }
1070 |
1071 |     private mutating func demangleAnyGenericType(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1072 |         let name = try require(pop(where: { $0.isDeclName }))
1073 |         let ctx = try popContext()
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1243:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1241 |     }
1242 |
1243 |     private mutating func demangleBoundGenericArgs(nominal: Node, array: [Node], index: Int) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1244 |         if nominal.kind == .typeSymbolicReference || nominal.kind == .protocolSymbolicReference {
1245 |             let remaining = array.reversed().flatMap { $0.children }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1311:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1309 |     }
1310 |
1311 |     private mutating func demangleImplParamConvention(kind: Node.Kind) throws(DemanglingError) -> Node? {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1312 |         let attr: String
1313 |         switch try scanner.readScalar() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1334:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1332 |     }
1333 |
1334 |     private mutating func demangleImplResultConvention(kind: Node.Kind) throws(DemanglingError) -> Node? {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1335 |         let attr: String
1336 |         switch try scanner.readScalar() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1668:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1666 |     }
1667 |
1668 |     private mutating func demangleAssociatedTypeSimple(index: Node?) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1669 |         do {
1670 |             let atName = try popAssociatedTypeName()
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1678:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1676 |     }
1677 |
1678 |     private mutating func demangleAssociatedTypeCompound(index: Node?) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1679 |         do {
1680 |             var assocTypeNames = [Node]()
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:1915:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1913 |     }
1914 |
1915 |     private mutating func demangleAutoDiffFunctionOrSimpleThunk(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
1916 |         var children: [Node] = []
1917 |         while let node = pop() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2033:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2031 |     }
2032 |
2033 |     private mutating func demangleGenericSpecialization(kind: Node.Kind, droppedArguments: Node? = nil) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2034 |         var spec = try demangleSpecAttributes(kind: kind)
2035 |         if let droppedArguments {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2123:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2121 |     }
2122 |
2123 |     private mutating func demangleFuncSpecParam(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2124 |         var children: [Node] = []
2125 |         switch try scanner.readScalar() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2228:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2226 |     }
2227 |
2228 |     private mutating func addFuncSpecParamNumber(param: Node, kind: FunctionSigSpecializationParamKind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2229 |         let kindChild = createNode(kind: .functionSignatureSpecializationParamKind, contents: .index(kind.rawValue))
2230 |         let str = scanner.readWhile { $0.isDigit }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2250:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2248 |     }
2249 |
2250 |     private mutating func demangleSpecAttributes(kind: Node.Kind, demangleUniqueId: Bool = false) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2251 |         let isSerialized = scanner.conditional(scalar: "q")
2252 |         let asyncRemoved = scanner.conditional(scalar: "a")
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2522:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2520 |     }
2521 |
2522 |     private mutating func demangleExtendedExistentialShape(nodeKind: UnicodeScalar) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2523 |         let type = try require(pop(kind: .type))
2524 |         var genSig: Node?
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2546:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2544 |     }
2545 |
2546 |     private mutating func demangleAccessor(child: Node) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2547 |         let kind: Node.Kind
2548 |         switch try scanner.readScalar() {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2632:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2630 |     }
2631 |
2632 |     private mutating func demangleEntity(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2633 |         let type = try require(pop(kind: .type))
2634 |         let labelList = try popFunctionParamLabels(type: type)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:2705:27: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2703 |     }
2704 |
2705 |     private mutating func demangleGenericSignature(hasParamCounts: Bool) throws(DemanglingError) -> Node {
     |                           `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
2706 |         var paramCounts: [Node] = []
2707 |         if hasParamCounts {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3017:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3015 |     /// Throw unless `test` accepts the scalar at the current position; on
3016 |     /// success return it and advance.
3017 |     mutating func read(where test: (UnicodeScalar) -> Bool) throws(DemanglingError) -> UnicodeScalar {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3018 |         guard offset < bytes.count, test(UnicodeScalar(bytes[offset])) else {
3019 |             throw DemanglingError.matchFailed(wanted: "(read test function to succeed)", at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3028:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3026 |     /// Throw unless the scalar at the current position equals `scalar`;
3027 |     /// advance over it on success.
3028 |     mutating func match(scalar: UnicodeScalar) throws(DemanglingError) {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3029 |         guard offset < bytes.count, UnicodeScalar(bytes[offset]) == scalar else {
3030 |             throw DemanglingError.matchFailed(wanted: String(scalar), at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3037:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3035 |     /// Throw unless the bytes at the current position match `string`'s UTF-8;
3036 |     /// advance to the end of the match on success.
3037 |     mutating func match(string: String) throws(DemanglingError) {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3038 |         guard conditional(string: string) else {
3039 |             throw DemanglingError.matchFailed(wanted: string, at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3046:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3044 |     /// over them and return true; otherwise leave the position unchanged and
3045 |     /// return false.
3046 |     mutating func conditional(string: String) -> Bool {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3047 |         var checkOffset = offset
3048 |         for utf8Byte in string.utf8 {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3061:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3059 |     /// and return true; otherwise leave the position unchanged and return
3060 |     /// false.
3061 |     mutating func conditional(scalar: UnicodeScalar) -> Bool {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3062 |         guard offset < bytes.count, UnicodeScalar(bytes[offset]) == scalar else {
3063 |             return false
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3071:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3069 |     /// If `test` accepts the scalar at the current position, advance over it
3070 |     /// and return it; otherwise leave the position unchanged and return nil.
3071 |     mutating func conditional(where test: (UnicodeScalar) -> Bool) -> UnicodeScalar? {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3072 |         guard offset < bytes.count else { return nil }
3073 |         let candidate = UnicodeScalar(bytes[offset])
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3081:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3079 |     /// Advance the position by `count` bytes; throw without moving if fewer
3080 |     /// remain.
3081 |     mutating func skip(count: Int = 1) throws(DemanglingError) {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3082 |         guard count >= 0, count <= bytes.count - offset else {
3083 |             throw DemanglingError.endedPrematurely(count: count, at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3090:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3088 |     /// Move the position back by `count` bytes; throw without moving if that
3089 |     /// would pass the beginning.
3090 |     mutating func backtrack(count: Int = 1) throws(DemanglingError) {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3091 |         guard count >= 0, count <= offset else {
3092 |             throw DemanglingError.endedPrematurely(count: -count, at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3100:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3098 |     /// returning them as a `String`. Throws without moving if `scalar` never
3099 |     /// occurs.
3100 |     mutating func readUntil(scalar: UnicodeScalar) throws(DemanglingError) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3101 |         var searchOffset = offset
3102 |         while searchOffset < bytes.count, UnicodeScalar(bytes[searchOffset]) != scalar {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3114:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3112 |
3113 |     /// Consume bytes while `test` accepts them, returning the consumed range.
3114 |     mutating func readRange(while test: (UnicodeScalar) -> Bool) -> Range<Int> {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3115 |         let startOffset = offset
3116 |         while offset < bytes.count, test(UnicodeScalar(bytes[offset])) {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3123:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3121 |
3122 |     /// Consume bytes while `test` accepts them, returning them as a `String`.
3123 |     mutating func readWhile(_ test: (UnicodeScalar) -> Bool) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3124 |         materializeText(in: readRange(while: test))
3125 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3129:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3127 |     /// Consume exactly `count` bytes, returning the consumed range. Throws
3128 |     /// without moving if fewer remain.
3129 |     mutating func readRange(count: Int) throws(DemanglingError) -> Range<Int> {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3130 |         guard count >= 0, count <= bytes.count - offset else {
3131 |             throw DemanglingError.endedPrematurely(count: count, at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3142:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3140 |     /// instead of trapping in an `Int` conversion — 32-bit `Int` included
3141 |     /// (proposal 0004 discipline).
3142 |     mutating func readRange(count: UInt64) throws(DemanglingError) -> Range<Int> {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3143 |         guard count <= UInt64(bytes.count - offset) else {
3144 |             throw DemanglingError.endedPrematurely(count: Int(clamping: count), at: offset)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3150:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3148 |
3149 |     /// Consume exactly `count` bytes, returning them as a `String`.
3150 |     mutating func readScalars(count: Int) throws(DemanglingError) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3151 |         try materializeText(in: readRange(count: count))
3152 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3156:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3154 |     /// `UInt64` counterpart of `readScalars(count:)` for mangled length
3155 |     /// prefixes; see `readRange(count: UInt64)`.
3156 |     mutating func readScalars(count: UInt64) throws(DemanglingError) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3157 |         try materializeText(in: readRange(count: count))
3158 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3460:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3458 |     }
3459 |
3460 |     mutating func demangleSwift3ProtocolNameGivenContext(context: Node) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3461 |         let name = try demangleSwift3DeclName()
3462 |         let result = createNode(kind: .protocol, children: [context, name])
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3478:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3476 |     }
3477 |
3478 |     mutating func demangleSwift3BoundGenericArgs(nominalType initialNominal: Node) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3479 |         guard var parentOrModule = initialNominal.children.first else { throw scanner.unexpectedError() }
3480 |
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3607:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3605 |     }
3606 |
3607 |     mutating func demangleSwift3DeclarationName(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3608 |         let result = try createNode(kind: kind, children: [demangleSwift3Context(), demangleSwift3DeclName()])
3609 |         nameStack.append(result)
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3688:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3686 |     }
3687 |
3688 |     mutating func demangleSwift3GenericSignature(isPseudo: Bool = false) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3689 |         var children = [Node]()
3690 |         var c = try scanner.requirePeek()
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:3828:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3826 |     }
3827 |
3828 |     mutating func demangleSwift3DependentMemberTypeName(base: Node) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
3829 |         let associatedType: Node
3830 |         if scanner.conditional(scalar: "S") {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4072:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4070 |     }
4071 |
4072 |     mutating func demangleSwift3ImplConvention(kind: Node.Kind) throws(DemanglingError) -> String {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4073 |         let scalar = try scanner.readScalar()
4074 |         switch (scalar, kind == .implErrorResult ? .implResult : kind) {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4092:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4090 |     }
4091 |
4092 |     mutating func demangleSwift3ImplParameterOrResult(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4093 |         var k: Node.Kind
4094 |         if scanner.conditional(scalar: "z") {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4110:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4108 |     }
4109 |
4110 |     mutating func demangleSwift3Tuple(variadic: Bool) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4111 |         var children = [Node]()
4112 |         while !scanner.conditional(scalar: "_") {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4127:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4125 |     }
4126 |
4127 |     mutating func demangleSwift3FunctionType(kind: Node.Kind) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4128 |         var children = [Node]()
4129 |         if scanner.conditional(scalar: "z") {
/Users/admin/builder/spi-builder-workspace/Sources/Demangling/Main/Demangle/Demangler.swift:4137:19: error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4135 |     }
4136 |
4137 |     mutating func demangleSwift3Identifier(kind: Node.Kind? = nil) throws(DemanglingError) -> Node {
     |                   `- error: a mutating method with a ~Escapable 'self' requires '@_lifetime(self: ...)'
4138 |         let isPunycode = scanner.conditional(scalar: "X")
4139 |         let k: Node.Kind
[794/799] Compiling Demangling NodeFactory.swift
[795/799] Compiling Demangling NodePrintContext.swift
[796/799] Compiling Demangling NodePrintState.swift
[797/799] Compiling Demangling NodePrinter.swift
[798/799] Compiling Demangling NodePrinterTarget.swift
[799/799] Compiling Demangling CompactNode.swift
Fetching https://github.com/MxIris-Reverse-Engineering/MachOKit
Fetching https://github.com/Mx-Iris/FrameworkToolbox
[1/7819] Fetching machokit
[2/9836] Fetching machokit, frameworktoolbox
Fetched https://github.com/MxIris-Reverse-Engineering/MachOKit from cache (1.43s)
Fetched https://github.com/Mx-Iris/FrameworkToolbox from cache (1.43s)
Computing version for https://github.com/MxIris-Reverse-Engineering/MachOKit
Computed https://github.com/MxIris-Reverse-Engineering/MachOKit at 0.54.101 (2.25s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/p-x9/swift-fileio.git
Fetching https://github.com/p-x9/ObjectArchiveKit.git
Fetching https://github.com/p-x9/swift-binary-parse-support.git
Fetching https://github.com/p-x9/swift-fileio-extra.git
[1/2051] Fetching swift-asn1
[2/2741] Fetching swift-asn1, swift-fileio
[9/3000] Fetching swift-asn1, swift-fileio, objectarchivekit
[123/3256] Fetching swift-asn1, swift-fileio, objectarchivekit, swift-binary-parse-support
[124/3347] Fetching swift-asn1, swift-fileio, objectarchivekit, swift-binary-parse-support, swift-fileio-extra
[500/22029] Fetching swift-asn1, swift-fileio, objectarchivekit, swift-binary-parse-support, swift-fileio-extra, swift-crypto
Fetched https://github.com/apple/swift-asn1.git from cache (1.02s)
[2044/19978] Fetching swift-fileio, objectarchivekit, swift-binary-parse-support, swift-fileio-extra, swift-crypto
Fetched https://github.com/p-x9/swift-binary-parse-support.git from cache (5.15s)
Fetched https://github.com/p-x9/ObjectArchiveKit.git from cache (5.15s)
Fetched https://github.com/p-x9/swift-fileio.git from cache (5.15s)
Fetched https://github.com/p-x9/swift-fileio-extra.git from cache (5.15s)
Fetched https://github.com/apple/swift-crypto.git from cache (5.15s)
Computing version for https://github.com/p-x9/ObjectArchiveKit.git
Computed https://github.com/p-x9/ObjectArchiveKit.git at 0.5.0 (5.71s)
Computing version for https://github.com/p-x9/swift-binary-parse-support.git
Computed https://github.com/p-x9/swift-binary-parse-support.git at 0.3.0 (0.52s)
Computing version for https://github.com/p-x9/swift-fileio-extra.git
Computed https://github.com/p-x9/swift-fileio-extra.git at 0.4.0 (0.54s)
Computing version for https://github.com/p-x9/swift-fileio.git
Computed https://github.com/p-x9/swift-fileio.git at 0.15.1 (0.57s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (0.63s)
Computing version for https://github.com/Mx-Iris/FrameworkToolbox
Computed https://github.com/Mx-Iris/FrameworkToolbox at 0.15.0 (0.62s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/80794] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (9.19s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (11.45s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.3.1 (0.87s)
Creating working copy for https://github.com/p-x9/ObjectArchiveKit.git
Working copy of https://github.com/p-x9/ObjectArchiveKit.git resolved at 0.5.0
Creating working copy for https://github.com/Mx-Iris/FrameworkToolbox
Working copy of https://github.com/Mx-Iris/FrameworkToolbox resolved at 0.15.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
Creating working copy for https://github.com/p-x9/swift-binary-parse-support.git
Working copy of https://github.com/p-x9/swift-binary-parse-support.git resolved at 0.3.0
Creating working copy for https://github.com/MxIris-Reverse-Engineering/MachOKit
Working copy of https://github.com/MxIris-Reverse-Engineering/MachOKit resolved at 0.54.101
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.6.0
Creating working copy for https://github.com/p-x9/swift-fileio.git
Working copy of https://github.com/p-x9/swift-fileio.git resolved at 0.15.1
Creating working copy for https://github.com/p-x9/swift-fileio-extra.git
Working copy of https://github.com/p-x9/swift-fileio-extra.git resolved at 0.4.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.3.1
BUILD FAILURE 6.2 macosSpm