The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-foundation, reference release/6.5.x (72996d), with Swift 6.3 for Android on 22 Nov 2026 19:35:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

302 |
303 |         if len >= MemoryLayout<UInt32>.size {
304 |             let potentialBOM = bytes.load(fromByteOffset: 0, as: UInt32.self)
    |                                      `- error: value of type 'RawSpan' has no member 'load'
305 |             if potentialBOM == 0xFFFE0000 || potentialBOM == 0x0000FEFF {
306 |                 // Looks like UTF32
/host/spi-builder-workspace/Sources/FoundationEssentials/String/String+IO.swift:312:38: error: value of type 'RawSpan' has no member 'load'
310 |
311 |         if encoding == nil && len >= MemoryLayout<UInt16>.size && (len & 1) == 0 {
312 |             let potentialBOM = bytes.load(fromByteOffset: 0, as: UInt16.self)
    |                                      `- error: value of type 'RawSpan' has no member 'load'
313 |             if potentialBOM == 0xFEFF || potentialBOM == 0xFFFE {
314 |                 encoding = .unicode
[2070/2263] Compiling FoundationEssentials String+Essentials.swift
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/PlistDecoderGeneric.swift:19:40: error: cannot suppress 'Copyable' requirement of an associated type
 17 |     associatedtype ContainedValueReference
 18 |
 19 |     associatedtype DictionaryIterator: PlistDictionaryIterator<ContainedValueReference> & ~Copyable & ~Escapable
    |                                        `- error: cannot suppress 'Copyable' requirement of an associated type
 20 |     associatedtype ArrayIterator: PlistArrayIterator<ContainedValueReference>
 21 |
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/PlistDecoderGeneric.swift:19:40: error: cannot suppress 'Escapable' requirement of an associated type
 17 |     associatedtype ContainedValueReference
 18 |
 19 |     associatedtype DictionaryIterator: PlistDictionaryIterator<ContainedValueReference> & ~Copyable & ~Escapable
    |                                        `- error: cannot suppress 'Escapable' requirement of an associated type
 20 |     associatedtype ArrayIterator: PlistArrayIterator<ContainedValueReference>
 21 |
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistMap.swift:138:18: error: cannot find type 'UniqueArray' in scope
136 |     typealias Value = XMLPlistMapValue
137 |
138 |     let records: UniqueArray<Int>
    |                  `- error: cannot find type 'UniqueArray' in scope
139 |
140 |     init(records: consuming UniqueArray<Int>) {
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistMap.swift:140:29: error: cannot find type 'UniqueArray' in scope
138 |     let records: UniqueArray<Int>
139 |
140 |     init(records: consuming UniqueArray<Int>) {
    |                             `- error: cannot find type 'UniqueArray' in scope
141 |         self.records = records
142 |     }
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistMapBuildingSink.swift:57:18: error: cannot find type 'UniqueArray' in scope
 55 |
 56 |     /// The flat record buffer, handed off to the produced `XMLPlistMap` at `takeResult`.
 57 |     var mapData: UniqueArray<Int>
    |                  `- error: cannot find type 'UniqueArray' in scope
 58 |     private var openContainers: UniqueArray<OpenContainer>
 59 |
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistMapBuildingSink.swift:58:33: error: cannot find type 'UniqueArray' in scope
 56 |     /// The flat record buffer, handed off to the produced `XMLPlistMap` at `takeResult`.
 57 |     var mapData: UniqueArray<Int>
 58 |     private var openContainers: UniqueArray<OpenContainer>
    |                                 `- error: cannot find type 'UniqueArray' in scope
 59 |
 60 |     init(sourceBytes: borrowing Span<UInt8>) {
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:373:28: error: cannot suppress 'Copyable' requirement of an associated type
371 |     associatedtype ValueFragment
372 |     associatedtype ContainerFragment = ValueFragment
373 |     associatedtype Output: ~Copyable
    |                            `- error: cannot suppress 'Copyable' requirement of an associated type
374 |
375 |     // Leaf events. Sink decides whether to compute and append.
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:17:28: error: cannot suppress 'Copyable' requirement of an associated type
 15 | /// The event alphabet a `ParseEventSource` emits and a `ParseEventSink` consumes. Format-specific: `JSONVocabulary`, `BPlistVocabulary`, `XMLPlistVocabulary` each pair their scalar enum with their key-view type. A `Source` and `Sink` are compatible when their `Vocabulary` associated types match.
 16 | protocol ParseEventVocabulary {
 17 |     associatedtype Scalar: ~Copyable, ~Escapable
    |                            `- error: cannot suppress 'Copyable' requirement of an associated type
 18 |     associatedtype KeyView: ~Copyable, ~Escapable
 19 |     associatedtype UnkeyedContainerKind = Void
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:17:39: error: cannot suppress 'Escapable' requirement of an associated type
 15 | /// The event alphabet a `ParseEventSource` emits and a `ParseEventSink` consumes. Format-specific: `JSONVocabulary`, `BPlistVocabulary`, `XMLPlistVocabulary` each pair their scalar enum with their key-view type. A `Source` and `Sink` are compatible when their `Vocabulary` associated types match.
 16 | protocol ParseEventVocabulary {
 17 |     associatedtype Scalar: ~Copyable, ~Escapable
    |                                       `- error: cannot suppress 'Escapable' requirement of an associated type
 18 |     associatedtype KeyView: ~Copyable, ~Escapable
 19 |     associatedtype UnkeyedContainerKind = Void
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:18:29: error: cannot suppress 'Copyable' requirement of an associated type
 16 | protocol ParseEventVocabulary {
 17 |     associatedtype Scalar: ~Copyable, ~Escapable
 18 |     associatedtype KeyView: ~Copyable, ~Escapable
    |                             `- error: cannot suppress 'Copyable' requirement of an associated type
 19 |     associatedtype UnkeyedContainerKind = Void
 20 |     associatedtype KeyedContainerKind = Void
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:18:40: error: cannot suppress 'Escapable' requirement of an associated type
 16 | protocol ParseEventVocabulary {
 17 |     associatedtype Scalar: ~Copyable, ~Escapable
 18 |     associatedtype KeyView: ~Copyable, ~Escapable
    |                                        `- error: cannot suppress 'Escapable' requirement of an associated type
 19 |     associatedtype UnkeyedContainerKind = Void
 20 |     associatedtype KeyedContainerKind = Void
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistMapBuildingSink.swift:18:8: error: type 'XMLPlistVocabulary' does not conform to protocol 'ParseEventVocabulary'
 16 |
 17 | // `ParseEventSink` that builds an `XMLPlistMap`.
 18 | struct XMLPlistMapBuildingSink: ParseEventSink, ~Copyable {
    |        `- error: type 'XMLPlistVocabulary' does not conform to protocol 'ParseEventVocabulary'
 19 |     typealias Vocabulary = XMLPlistVocabulary
 20 |     typealias ValueFragment = Void
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistMapBuildingSink.swift:18:8: error: type 'XMLPlistMapBuildingSink' does not conform to protocol 'ParseEventSink'
 16 |
 17 | // `ParseEventSink` that builds an `XMLPlistMap`.
 18 | struct XMLPlistMapBuildingSink: ParseEventSink, ~Copyable {
    |        |- error: type 'XMLPlistMapBuildingSink' does not conform to protocol 'ParseEventSink'
    |        `- note: add stubs for conformance
 19 |     typealias Vocabulary = XMLPlistVocabulary
 20 |     typealias ValueFragment = Void
 21 |     typealias Output = XMLPlistMap
    |               `- note: possibly intended match 'XMLPlistMapBuildingSink.Output' (aka 'XMLPlistMap') does not conform to 'Copyable'
 22 |
 23 |     /// Bookkeeping for a container that's been opened but not yet finalized.
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:373:20: note: protocol requires nested type 'Output'
371 |     associatedtype ValueFragment
372 |     associatedtype ContainerFragment = ValueFragment
373 |     associatedtype Output: ~Copyable
    |                    `- note: protocol requires nested type 'Output'
374 |
375 |     // Leaf events. Sink decides whether to compute and append.
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistMapBuildingSink.swift:61:24: error: cannot find 'UniqueArray' in scope
 59 |
 60 |     init(sourceBytes: borrowing Span<UInt8>) {
 61 |         self.mapData = UniqueArray()
    |                        `- error: cannot find 'UniqueArray' in scope
 62 |         // Heuristic capacity estimate: with the noise of XML tags, allocate roughly one map entry per 8 source bytes.
 63 |         self.mapData.reserveCapacity(Swift.max(64, sourceBytes.count / 8))
/host/spi-builder-workspace/Sources/FoundationEssentials/Span+Utils.swift:62:41: error: composition cannot contain '~Copyable' when another member requires 'Copyable'
 60 | }
 61 |
 62 | extension Span where Element: Equatable & ~Copyable {
    |                                         `- error: composition cannot contain '~Copyable' when another member requires 'Copyable'
 63 |     package func firstIndex(of element: borrowing Element) -> Int? {
 64 |         guard !isEmpty else {
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistMapBuildingSink.swift:64:31: error: cannot find 'UniqueArray' in scope
 62 |         // Heuristic capacity estimate: with the noise of XML tags, allocate roughly one map entry per 8 source bytes.
 63 |         self.mapData.reserveCapacity(Swift.max(64, sourceBytes.count / 8))
 64 |         self.openContainers = UniqueArray()
    |                               `- error: cannot find 'UniqueArray' in scope
 65 |         self.openContainers.reserveCapacity(32)
 66 |     }
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:71:28: error: cannot find type 'Ref' in scope
  69 |
  70 |     @_lifetime(copy mapRef, copy sourceBytes)
  71 |     init(mapRef: consuming Ref<XMLPlistMap>, sourceBytes: RawSpan, mapOffset: XMLPlistMapOffset) {
     |                            `- error: cannot find type 'Ref' in scope
  72 |         self.map = mapRef
  73 |         self.sourceBytes = sourceBytes
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:22:57: error: '~Sendable' requires -enable-experimental-feature TildeSendable
  20 |
  21 | /// Top-level entry for producing `XMLPlistPrimitive`s from a raw XML property list buffer.
  22 | internal struct XMLPropertyList: ~Escapable, ~Copyable, ~Sendable {
     |                                                         `- error: '~Sendable' requires -enable-experimental-feature TildeSendable
  23 |     let map: XMLPlistMap
  24 |     let sourceBytes: RawSpan
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:61:14: error: cannot find type 'Ref' in scope
  59 |
  60 | internal struct XMLPlistPrimitive: ~Escapable, ~Sendable {
  61 |     let map: Ref<XMLPlistMap>
     |              `- error: cannot find type 'Ref' in scope
  62 |     let sourceBytes: RawSpan
  63 |     let mapOffset: XMLPlistMapOffset
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:237:18: error: cannot find type 'Ref' in scope
 235 |     /// Iterator over the children of a `.array` primitive. Walks the inline records via record-length arithmetic.
 236 |     internal struct ArrayIterator: ~Escapable, ~Sendable {
 237 |         let map: Ref<XMLPlistMap>
     |                  `- error: cannot find type 'Ref' in scope
 238 |         let sourceBytes: RawSpan
 239 |         let count: Int
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:244:22: error: cannot find type 'Ref' in scope
 242 |
 243 |         @_lifetime(copy mapRef, copy sourceBytes)
 244 |         init(mapRef: Ref<XMLPlistMap>, sourceBytes: RawSpan, startOffset: XMLPlistMapOffset, count: Int) {
     |                      `- error: cannot find type 'Ref' in scope
 245 |             self.map = mapRef
 246 |             self.sourceBytes = sourceBytes
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:236:48: error: '~Sendable' requires -enable-experimental-feature TildeSendable
 234 |
 235 |     /// Iterator over the children of a `.array` primitive. Walks the inline records via record-length arithmetic.
 236 |     internal struct ArrayIterator: ~Escapable, ~Sendable {
     |                                                `- error: '~Sendable' requires -enable-experimental-feature TildeSendable
 237 |         let map: Ref<XMLPlistMap>
 238 |         let sourceBytes: RawSpan
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:278:18: error: cannot find type 'Ref' in scope
 276 |     /// Iterator over key-value pairs of a `.dict` primitive. Emits pairs in source order. `KeyValuePair` is a bare `(keyOffset, valueOffset)` record; primitive views are constructed on demand so they share a single lifetime tied to the enclosing iterator.
 277 |     internal struct DictionaryIterator: ~Escapable, ~Sendable {
 278 |         let map: Ref<XMLPlistMap>
     |                  `- error: cannot find type 'Ref' in scope
 279 |         let sourceBytes: RawSpan
 280 |         let count: Int
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:290:22: error: cannot find type 'Ref' in scope
 288 |
 289 |         @_lifetime(copy mapRef, copy sourceBytes)
 290 |         init(mapRef: Ref<XMLPlistMap>, sourceBytes: RawSpan, startOffset: XMLPlistMapOffset, count: Int) {
     |                      `- error: cannot find type 'Ref' in scope
 291 |             self.map = mapRef
 292 |             self.sourceBytes = sourceBytes
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:277:53: error: '~Sendable' requires -enable-experimental-feature TildeSendable
 275 |
 276 |     /// Iterator over key-value pairs of a `.dict` primitive. Emits pairs in source order. `KeyValuePair` is a bare `(keyOffset, valueOffset)` record; primitive views are constructed on demand so they share a single lifetime tied to the enclosing iterator.
 277 |     internal struct DictionaryIterator: ~Escapable, ~Sendable {
     |                                                     `- error: '~Sendable' requires -enable-experimental-feature TildeSendable
 278 |         let map: Ref<XMLPlistMap>
 279 |         let sourceBytes: RawSpan
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:60:48: error: '~Sendable' requires -enable-experimental-feature TildeSendable
  58 | }
  59 |
  60 | internal struct XMLPlistPrimitive: ~Escapable, ~Sendable {
     |                                                `- error: '~Sendable' requires -enable-experimental-feature TildeSendable
  61 |     let map: Ref<XMLPlistMap>
  62 |     let sourceBytes: RawSpan
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:497:40: error: '~Sendable' requires -enable-experimental-feature TildeSendable
 495 |
 496 | /// Parser for a  portion of an XML plist document captured by span. Parses leaf values.
 497 | struct XMLPlistSpanReader: ~Escapable, ~Sendable {
     |                                        `- error: '~Sendable' requires -enable-experimental-feature TildeSendable
 498 |     let bytes: Span<UInt8>
 499 |     var index: Int
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:29:37: error: incorrect argument label in call (have 'viewing:', expected '_bytes:')
  27 |     @_lifetime(copy sourceBytes)
  28 |     init(_ sourceBytes: RawSpan) throws {
  29 |         let sourceSpan = Span<UInt8>(viewing: sourceBytes)
     |                                     `- error: incorrect argument label in call (have 'viewing:', expected '_bytes:')
  30 |         let source = XMLPlistScannerEventSource(sourceBytes: sourceSpan)
  31 |         let sink = XMLPlistMapBuildingSink(sourceBytes: sourceSpan)
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:335:28: error: cannot suppress 'Copyable' requirement of an associated type
333 | /// Emits parse events into an `IterativeParsingDriver`. Every source is a tree walker: emits one top-level value, then advances frame-by-frame until the tree is exhausted.
334 | protocol ParseEventSource<Filter>: ~Copyable, ~Escapable {
335 |     associatedtype Filter: ParseEventFilter & ~Copyable = NullFilter
    |                            `- error: cannot suppress 'Copyable' requirement of an associated type
336 |     associatedtype Vocabulary: ParseEventVocabulary
337 |     /// Per-container state the source maintains for its walk. The driver stores it; the source reads/mutates via `channel.topSourceState`. Default `Void`.
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingSupport.swift:20:26: error: cannot suppress 'Copyable' requirement of an associated type
 18 | /// The `IterativeParsingDriver` will hand a `FilterView` for the appropriate depth level to the source whenever it is decoding a container's contents. The source is obligated to refer to the `FilterView` to discover what events it is allowed to emit from its source data.
 19 | protocol ParseEventFilter: ~Copyable {
 20 |     associatedtype View: FilterView & ~Copyable & ~Escapable
    |                          `- error: cannot suppress 'Copyable' requirement of an associated type
 21 |
 22 |     /// The root filter level (typically 0), or `nil` when nothing is filtered at any depth.
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingSupport.swift:20:26: error: cannot suppress 'Escapable' requirement of an associated type
 18 | /// The `IterativeParsingDriver` will hand a `FilterView` for the appropriate depth level to the source whenever it is decoding a container's contents. The source is obligated to refer to the `FilterView` to discover what events it is allowed to emit from its source data.
 19 | protocol ParseEventFilter: ~Copyable {
 20 |     associatedtype View: FilterView & ~Copyable & ~Escapable
    |                          `- error: cannot suppress 'Escapable' requirement of an associated type
 21 |
 22 |     /// The root filter level (typically 0), or `nil` when nothing is filtered at any depth.
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:26:146: error: cannot suppress 'Copyable' requirement of an associated type
 24 |
 25 | /// Drives an iterative parse: routes events from a `ParseEventSource` to a `ParseEventSink`, owns the frame stack, and dispatches to a `ParseEventFilter`.
 26 | struct IterativeParsingDriver<Source: ParseEventSource & ~Copyable & ~Escapable, Sink: ParseEventSink & ~Copyable>: ~Copyable where Source.Filter: ~Copyable {
    |                                                                                                                                                  `- error: cannot suppress 'Copyable' requirement of an associated type
 27 |     var sink: Sink
 28 |     var keysArena: UniqueArray<Sink.KeyFragment>
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:26:146: error: 'Source.Filter' required to be 'Copyable' but is marked with '~Copyable'
 24 |
 25 | /// Drives an iterative parse: routes events from a `ParseEventSource` to a `ParseEventSink`, owns the frame stack, and dispatches to a `ParseEventFilter`.
 26 | struct IterativeParsingDriver<Source: ParseEventSource & ~Copyable & ~Escapable, Sink: ParseEventSink & ~Copyable>: ~Copyable where Source.Filter: ~Copyable {
    |                                                                                                                                                  `- error: 'Source.Filter' required to be 'Copyable' but is marked with '~Copyable'
 27 |     var sink: Sink
 28 |     var keysArena: UniqueArray<Sink.KeyFragment>
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:65:140: error: cannot suppress 'Copyable' requirement of an associated type
 63 | }
 64 |
 65 | extension IterativeParsingDriver where Source: ~Copyable & ~Escapable, Sink: ~Copyable, Source.Vocabulary == Sink.Vocabulary, Source.Filter: ~Copyable {
    |                                                                                                                                            `- error: cannot suppress 'Copyable' requirement of an associated type
 66 |
 67 |     consuming func runReturningSink<Filter: ParseEventFilter & ~Copyable>(source: consuming Source, filter: consuming Filter) throws -> Sink where Source.Filter == Filter {
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:65:140: error: 'Source.Filter' required to be 'Copyable' but is marked with '~Copyable'
 63 | }
 64 |
 65 | extension IterativeParsingDriver where Source: ~Copyable & ~Escapable, Sink: ~Copyable, Source.Vocabulary == Sink.Vocabulary, Source.Filter: ~Copyable {
    |                                                                                                                                            `- error: 'Source.Filter' required to be 'Copyable' but is marked with '~Copyable'
 66 |
 67 |     consuming func runReturningSink<Filter: ParseEventFilter & ~Copyable>(source: consuming Source, filter: consuming Filter) throws -> Sink where Source.Filter == Filter {
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:119:32: error: 'Filter' required to be 'Copyable' but is marked with '~Copyable'
117 |     }
118 |
119 |     consuming func run<Filter: ParseEventFilter & ~Copyable>(source: consuming Source, filter: consuming Filter) throws -> Sink.Output where Source.Filter == Filter {
    |                                `- error: 'Filter' required to be 'Copyable' but is marked with '~Copyable'
120 |         return try runReturningSink(source: source, filter: filter).takeResult()
121 |     }
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:28:5: error: type 'NullFilter' does not conform to protocol 'ParseEventFilter'
  26 |     /// Run the iterative XML scanner over `sourceBytes` and produce a property list.
  27 |     @_lifetime(copy sourceBytes)
  28 |     init(_ sourceBytes: RawSpan) throws {
     |     `- error: type 'NullFilter' does not conform to protocol 'ParseEventFilter'
  29 |         let sourceSpan = Span<UInt8>(viewing: sourceBytes)
  30 |         let source = XMLPlistScannerEventSource(sourceBytes: sourceSpan)
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:124:1: error: no type for 'Source.Filter' can satisfy both 'Source.Filter == NullFilter' and 'Source.Filter : Copyable'
122 | }
123 |
124 | extension IterativeParsingDriver where Source: ~Copyable & ~Escapable, Sink: ~Copyable, Source.Vocabulary == Sink.Vocabulary, Source.Filter == NullFilter {
    | `- error: no type for 'Source.Filter' can satisfy both 'Source.Filter == NullFilter' and 'Source.Filter : Copyable'
125 |     consuming func runReturningSink(source: consuming Source) throws -> Sink {
126 |         try self.runReturningSink(source: source, filter: NullFilter())
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:67:30: error: cannot find 'Ref' in scope
  65 |     @_lifetime(borrow map, copy sourceBytes)
  66 |     init(map: borrowing XMLPlistMap, sourceBytes: RawSpan, mapOffset: XMLPlistMapOffset) {
  67 |         self = .init(mapRef: Ref(map), sourceBytes: sourceBytes, mapOffset: mapOffset)
     |                              `- error: cannot find 'Ref' in scope
  68 |     }
  69 |
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:67:21: error: incorrect argument label in call (have 'mapRef:sourceBytes:mapOffset:', expected 'map:sourceBytes:mapOffset:')
  65 |     @_lifetime(borrow map, copy sourceBytes)
  66 |     init(map: borrowing XMLPlistMap, sourceBytes: RawSpan, mapOffset: XMLPlistMapOffset) {
  67 |         self = .init(mapRef: Ref(map), sourceBytes: sourceBytes, mapOffset: mapOffset)
     |                     `- error: incorrect argument label in call (have 'mapRef:sourceBytes:mapOffset:', expected 'map:sourceBytes:mapOffset:')
  68 |     }
  69 |
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:81:33: error: incorrect argument label in call (have 'mapRef:sourceBytes:mapOffset:', expected 'map:sourceBytes:mapOffset:')
  79 |     func sibling(atMapOffset offset: XMLPlistMapOffset) -> XMLPlistPrimitive {
  80 |         assert(offset >= 0)
  81 |         return XMLPlistPrimitive(mapRef: map, sourceBytes: sourceBytes, mapOffset: offset)
     |                                 `- error: incorrect argument label in call (have 'mapRef:sourceBytes:mapOffset:', expected 'map:sourceBytes:mapOffset:')
  82 |     }
  83 |
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:105:20: error: incorrect argument label in call (have 'viewing:', expected '_bytes:')
 103 |     fileprivate func sourceRegionSpan() -> Span<UInt8> {
 104 |         let region = sourceRegion
 105 |         return Span(viewing: sourceBytes.extracting(unchecked: region.offset ..< region.offset &+ region.count))
     |                    `- error: incorrect argument label in call (have 'viewing:', expected '_bytes:')
 106 |     }
 107 |
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:112:19: error: incorrect argument label in call (have 'viewing:', expected '_bytes:')
 110 |     fileprivate var documentSpan: Span<UInt8> {
 111 |         @_lifetime(copy self)
 112 |         get { Span(viewing: sourceBytes) }
     |                   `- error: incorrect argument label in call (have 'viewing:', expected '_bytes:')
 113 |     }
 114 |
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:255:42: error: incorrect argument label in call (have 'mapRef:sourceBytes:mapOffset:', expected 'map:sourceBytes:mapOffset:')
 253 |         mutating func next() -> XMLPlistPrimitive? {
 254 |             guard elementsRemaining > 0 else { return nil }
 255 |             let child = XMLPlistPrimitive(mapRef: map, sourceBytes: sourceBytes, mapOffset: currentOffset)
     |                                          `- error: incorrect argument label in call (have 'mapRef:sourceBytes:mapOffset:', expected 'map:sourceBytes:mapOffset:')
 256 |             currentOffset = _nextMapOffset(after: currentOffset, in: map.value)
 257 |             elementsRemaining &-= 1
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:310:30: error: incorrect argument label in call (have 'mapRef:sourceBytes:mapOffset:', expected 'map:sourceBytes:mapOffset:')
 308 |         @_lifetime(copy self)
 309 |         func key(of pair: KeyValuePair) -> XMLPlistPrimitive {
 310 |             XMLPlistPrimitive(mapRef: map, sourceBytes: sourceBytes, mapOffset: pair.keyOffset)
     |                              `- error: incorrect argument label in call (have 'mapRef:sourceBytes:mapOffset:', expected 'map:sourceBytes:mapOffset:')
 311 |         }
 312 |
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:316:30: error: incorrect argument label in call (have 'mapRef:sourceBytes:mapOffset:', expected 'map:sourceBytes:mapOffset:')
 314 |         @_lifetime(copy self)
 315 |         func value(of pair: KeyValuePair) -> XMLPlistPrimitive {
 316 |             XMLPlistPrimitive(mapRef: map, sourceBytes: sourceBytes, mapOffset: pair.valueOffset)
     |                              `- error: incorrect argument label in call (have 'mapRef:sourceBytes:mapOffset:', expected 'map:sourceBytes:mapOffset:')
 317 |         }
 318 |     }
/host/spi-builder-workspace/Sources/FoundationEssentials/Span+Utils.swift:183:58: error: cannot find type 'ConvertibleToBytes' in scope
181 |     }
182 |
183 |     mutating func _append<S: Sequence<Element>, Element: ConvertibleToBytes & ConvertibleFromBytes>(copying elements: S) {
    |                                                          `- error: cannot find type 'ConvertibleToBytes' in scope
184 |         let early: Void? = elements.withContiguousStorageIfAvailable { buffer in
185 |             self._append(copying: buffer.span.bytes)
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:1227:16: error: cannot find 'withTemporaryAllocation' in scope
1225 |     // TODO: Replace this with something equivalent to a variant of `String.init(unsafeUninitializedCapacity:initializingUTF8With:)` that validates instead of repairs.
1226 |     let cap = bytes.count
1227 |     return try withTemporaryAllocation(of: UInt8.self, capacity: cap) { outputSpan throws in
     |                `- error: cannot find 'withTemporaryAllocation' in scope
1228 |         var reader = XMLPlistSpanReader(bytes, source: copy source)
1229 |         try reader.parseXMLString(into: &outputSpan)
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:1229:41: error: cannot convert value of type '_' to expected argument type 'OutputSpan<UInt8>'
1227 |     return try withTemporaryAllocation(of: UInt8.self, capacity: cap) { outputSpan throws in
1228 |         var reader = XMLPlistSpanReader(bytes, source: copy source)
1229 |         try reader.parseXMLString(into: &outputSpan)
     |                                         `- error: cannot convert value of type '_' to expected argument type 'OutputSpan<UInt8>'
1230 |
1231 |         do {
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:359:70: error: cannot suppress 'Copyable' requirement of an associated type
357 | }
358 |
359 | extension ParseEventSource where Self: ~Copyable & ~Escapable, Filter: ~Copyable {
    |                                                                      `- error: cannot suppress 'Copyable' requirement of an associated type
360 |     mutating func finish() throws {}
361 | }
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:359:70: error: 'Self.Filter' required to be 'Copyable' but is marked with '~Copyable'
357 | }
358 |
359 | extension ParseEventSource where Self: ~Copyable & ~Escapable, Filter: ~Copyable {
    |                                                                      `- error: 'Self.Filter' required to be 'Copyable' but is marked with '~Copyable'
360 |     mutating func finish() throws {}
361 | }
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitiveSource.swift:18:8: error: type 'XMLPlistPrimitiveSource<Filter>' does not conform to protocol 'ParseEventSource'
 16 |
 17 | /// Event source wrapping a pre-scanned `XMLPlistPrimitive`.
 18 | struct XMLPlistPrimitiveSource<Filter: ParseEventFilter & ~Copyable>: ParseEventSource<Filter>, ~Copyable, ~Escapable {
    |        `- error: type 'XMLPlistPrimitiveSource<Filter>' does not conform to protocol 'ParseEventSource'
 19 |
 20 |     /// Per-container walk cursor and child count.
FoundationEssentials.XMLPlistPrimitiveSource.Filter:2:73: note: possibly intended match 'XMLPlistPrimitiveSource<Filter>.Filter' (aka 'Filter') does not conform to 'Copyable'
1 | generic struct XMLPlistPrimitiveSource {
2 | internal typealias FoundationEssentials.XMLPlistPrimitiveSource<Filter>.Filter = Filter}
  |                                                                         `- note: possibly intended match 'XMLPlistPrimitiveSource<Filter>.Filter' (aka 'Filter') does not conform to 'Copyable'
3 |
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:335:20: note: protocol requires nested type 'Filter'
333 | /// Emits parse events into an `IterativeParsingDriver`. Every source is a tree walker: emits one top-level value, then advances frame-by-frame until the tree is exhausted.
334 | protocol ParseEventSource<Filter>: ~Copyable, ~Escapable {
335 |     associatedtype Filter: ParseEventFilter & ~Copyable = NullFilter
    |                    `- note: protocol requires nested type 'Filter'
336 |     associatedtype Vocabulary: ParseEventVocabulary
337 |     /// Per-container state the source maintains for its walk. The driver stores it; the source reads/mutates via `channel.topSourceState`. Default `Void`.
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitiveSource.swift:39:19: error: incorrect argument label in call (have 'viewing:', expected '_bytes:')
 37 |     private var sourceBytes: Span<UInt8> {
 38 |         @_lifetime(copy self)
 39 |         get { Span(viewing: top.sourceBytes) }
    |                   `- error: incorrect argument label in call (have 'viewing:', expected '_bytes:')
 40 |     }
 41 |
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:134:102: error: cannot suppress 'Copyable' requirement of an associated type
132 | }
133 |
134 | extension IterativeParsingDriver where Source: ~Copyable & ~Escapable, Sink: ~Copyable, Source.Filter: ~Copyable {
    |                                                                                                      `- error: cannot suppress 'Copyable' requirement of an associated type
135 |     typealias Scalar = Sink.Vocabulary.Scalar
136 |     typealias KeyView = Sink.Vocabulary.KeyView
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:134:102: error: 'Source.Filter' required to be 'Copyable' but is marked with '~Copyable'
132 | }
133 |
134 | extension IterativeParsingDriver where Source: ~Copyable & ~Escapable, Sink: ~Copyable, Source.Filter: ~Copyable {
    |                                                                                                      `- error: 'Source.Filter' required to be 'Copyable' but is marked with '~Copyable'
135 |     typealias Scalar = Sink.Vocabulary.Scalar
136 |     typealias KeyView = Sink.Vocabulary.KeyView
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitiveSource.swift:55:51: error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
 53 |             try channel.emitNull()
 54 |         case .true:
 55 |             try channel.emitScalar(XMLPlistScalar.bool(true))
    |                                                   `- error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
 56 |         case .false:
 57 |             try channel.emitScalar(XMLPlistScalar.bool(false))
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitiveSource.swift:57:51: error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
 55 |             try channel.emitScalar(XMLPlistScalar.bool(true))
 56 |         case .false:
 57 |             try channel.emitScalar(XMLPlistScalar.bool(false))
    |                                                   `- error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
 58 |         case .integer:
 59 |             try channel.emitScalar(XMLPlistScalar.integer(bytes: try prim.integerBytes, source: sourceBytes))
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitiveSource.swift:59:51: error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
 57 |             try channel.emitScalar(XMLPlistScalar.bool(false))
 58 |         case .integer:
 59 |             try channel.emitScalar(XMLPlistScalar.integer(bytes: try prim.integerBytes, source: sourceBytes))
    |                                                   `- error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
 60 |         case .real:
 61 |             try channel.emitScalar(XMLPlistScalar.real(bytes: try prim.realBytes, source: sourceBytes))
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitiveSource.swift:61:51: error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
 59 |             try channel.emitScalar(XMLPlistScalar.integer(bytes: try prim.integerBytes, source: sourceBytes))
 60 |         case .real:
 61 |             try channel.emitScalar(XMLPlistScalar.real(bytes: try prim.realBytes, source: sourceBytes))
    |                                                   `- error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
 62 |         case .date:
 63 |             try channel.emitScalar(XMLPlistScalar.date(bytes: try prim.dateBytes, source: sourceBytes))
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitiveSource.swift:63:51: error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
 61 |             try channel.emitScalar(XMLPlistScalar.real(bytes: try prim.realBytes, source: sourceBytes))
 62 |         case .date:
 63 |             try channel.emitScalar(XMLPlistScalar.date(bytes: try prim.dateBytes, source: sourceBytes))
    |                                                   `- error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
 64 |         case .data:
 65 |             try channel.emitScalar(XMLPlistScalar.data(bytes: try prim.dataBytes, source: sourceBytes))
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitiveSource.swift:65:51: error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
 63 |             try channel.emitScalar(XMLPlistScalar.date(bytes: try prim.dateBytes, source: sourceBytes))
 64 |         case .data:
 65 |             try channel.emitScalar(XMLPlistScalar.data(bytes: try prim.dataBytes, source: sourceBytes))
    |                                                   `- error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
 66 |         case .string:
 67 |             let sb = try prim.stringBytes
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitiveSource.swift:68:51: error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
 66 |         case .string:
 67 |             let sb = try prim.stringBytes
 68 |             try channel.emitScalar(XMLPlistScalar.string(bytes: sb.bytes, hasEscapes: !sb.isSimple, source: sourceBytes))
    |                                                   `- error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
 69 |         case .array:
 70 |             try pushArrayFrame(prim: prim, into: &channel)
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitiveSource.swift:74:51: error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
 72 |             try pushDictFrame(prim: prim, into: &channel)
 73 |         case .uid:
 74 |             try channel.emitScalar(XMLPlistScalar.uid(bytes: try prim.uidBytes, source: sourceBytes))
    |                                                   `- error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
 75 |         case .none:
 76 |             throw XMLPlistError.other("Invalid XML plist value type")
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitiveSource.swift:155:29: error: cannot convert value of type 'XMLPlistKeyView' to expected argument type 'XMLPlistVocabulary.KeyView'
153 |         let sb = try keyPrim.stringBytes
154 |         let keyView = XMLPlistKeyView(bytes: sb.bytes, hasEscapes: !sb.isSimple, source: sourceBytes)
155 |         try channel.parkKey(keyView)
    |                             `- error: cannot convert value of type 'XMLPlistKeyView' to expected argument type 'XMLPlistVocabulary.KeyView'
156 |         let valuePrim = top.sibling(atMapOffset: valueOffset)
157 |         f.nextChildMapOffset = nextPairOffset
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitiveSource.swift:181:33: error: cannot convert value of type 'XMLPlistKeyView' to expected argument type 'XMLPlistVocabulary.KeyView'
179 |             }
180 |             let keyView = XMLPlistKeyView(bytes: sb.bytes, hasEscapes: !sb.isSimple, source: sourceBytes)
181 |             try channel.parkKey(keyView)
    |                                 `- error: cannot convert value of type 'XMLPlistKeyView' to expected argument type 'XMLPlistVocabulary.KeyView'
182 |             let valuePrim = top.sibling(atMapOffset: valueOffset)
183 |             f.nextChildMapOffset = nextPairOffset
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:322:102: error: cannot suppress 'Copyable' requirement of an associated type
320 | }
321 |
322 | extension IterativeParsingDriver where Source: ~Copyable & ~Escapable, Sink: ~Copyable, Source.Filter: ~Copyable, Sink.Vocabulary.KeyedContainerKind == Void {
    |                                                                                                      `- error: cannot suppress 'Copyable' requirement of an associated type
323 |     mutating func endKeyedContainer() throws { try endKeyedContainer(kind: ()) }
324 |
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:322:102: error: 'Source.Filter' required to be 'Copyable' but is marked with '~Copyable'
320 | }
321 |
322 | extension IterativeParsingDriver where Source: ~Copyable & ~Escapable, Sink: ~Copyable, Source.Filter: ~Copyable, Sink.Vocabulary.KeyedContainerKind == Void {
    |                                                                                                      `- error: 'Source.Filter' required to be 'Copyable' but is marked with '~Copyable'
323 |     mutating func endKeyedContainer() throws { try endKeyedContainer(kind: ()) }
324 |
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:313:102: error: cannot suppress 'Copyable' requirement of an associated type
311 |     mutating func beginKeyedContainer(cacheKey: Int?) throws { try beginKeyedContainer(cacheKey: cacheKey, sourceState: ()) }}
312 |
313 | extension IterativeParsingDriver where Source: ~Copyable & ~Escapable, Sink: ~Copyable, Source.Filter: ~Copyable, Sink.Vocabulary.UnkeyedContainerKind == Void {
    |                                                                                                      `- error: cannot suppress 'Copyable' requirement of an associated type
314 |     mutating func endUnkeyedContainer() throws { try endUnkeyedContainer(kind: ()) }
315 |
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:313:102: error: 'Source.Filter' required to be 'Copyable' but is marked with '~Copyable'
311 |     mutating func beginKeyedContainer(cacheKey: Int?) throws { try beginKeyedContainer(cacheKey: cacheKey, sourceState: ()) }}
312 |
313 | extension IterativeParsingDriver where Source: ~Copyable & ~Escapable, Sink: ~Copyable, Source.Filter: ~Copyable, Sink.Vocabulary.UnkeyedContainerKind == Void {
    |                                                                                                      `- error: 'Source.Filter' required to be 'Copyable' but is marked with '~Copyable'
314 |     mutating func endUnkeyedContainer() throws { try endUnkeyedContainer(kind: ()) }
315 |
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:679:23: error: cannot find 'UniqueArray' in scope
 677 |
 678 |     struct PartialMapData: ~Copyable {
 679 |         var mapData = UniqueArray<Int>()
     |                       `- error: cannot find 'UniqueArray' in scope
 680 |         var prevMapDataSize = 0
 681 |
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:1321:31: error: cannot find 'UniqueArray' in scope
1319 |             default:
1320 |                 try scanXMLElement()
1321 |                 var mapData = UniqueArray<Int>()
     |                               `- error: cannot find 'UniqueArray' in scope
1322 |                 swap(&mapData, &partialMapData.mapData)
1323 |                 return XMLPlistMap(records: mapData)
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScannerEventSource.swift:18:8: error: type 'XMLPlistScannerEventSource' does not conform to protocol 'ParseEventSource'
 16 |
 17 | /// `ParseEventSource` that walks a raw XML property list byte buffer directly, emitting begin/end/scalar/key events to an `IterativeParsingDriver`.
 18 | struct XMLPlistScannerEventSource: ParseEventSource<NullFilter>, ~Copyable, ~Escapable {
    |        `- error: type 'XMLPlistScannerEventSource' does not conform to protocol 'ParseEventSource'
 19 |     typealias Vocabulary = XMLPlistVocabulary
 20 |
FoundationEssentials.XMLPlistScannerEventSource.Filter:2:68: note: possibly intended match 'XMLPlistScannerEventSource.Filter' (aka 'NullFilter') does not conform to 'Copyable'
1 | struct XMLPlistScannerEventSource {
2 | internal typealias FoundationEssentials.XMLPlistScannerEventSource.Filter = FoundationEssentials.NullFilter}
  |                                                                    `- note: possibly intended match 'XMLPlistScannerEventSource.Filter' (aka 'NullFilter') does not conform to 'Copyable'
3 |
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:335:20: note: protocol requires nested type 'Filter'
333 | /// Emits parse events into an `IterativeParsingDriver`. Every source is a tree walker: emits one top-level value, then advances frame-by-frame until the tree is exhausted.
334 | protocol ParseEventSource<Filter>: ~Copyable, ~Escapable {
335 |     associatedtype Filter: ParseEventFilter & ~Copyable = NullFilter
    |                    `- note: protocol requires nested type 'Filter'
336 |     associatedtype Vocabulary: ParseEventVocabulary
337 |     /// Per-container state the source maintains for its walk. The driver stores it; the source reads/mutates via `channel.topSourceState`. Default `Void`.
338 |     associatedtype Frame = Void
    |                    `- note: protocol requires nested type 'Frame'
339 |
340 |     /// Emit the single top-level value. If it's a leaf, call `emitScalar` / `emitNull` and return. If a container, call `beginUnkeyedContainer` / `beginKeyedContainer` (pushing a frame that `advanceTopFrame` will walk).
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScannerEventSource.swift:165:79: error: cannot convert value of type '()' to expected argument type 'XMLPlistScannerEventSource.Frame'
163 |                     throw XMLPlistError.other("Too many nested arrays or dictionaries")
164 |                 }
165 |                 try channel.beginUnkeyedContainer(cacheKey: nil, sourceState: ())
    |                                                                               `- error: cannot convert value of type '()' to expected argument type 'XMLPlistScannerEventSource.Frame'
166 |             }
167 |         case .dict:
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScannerEventSource.swift:174:77: error: cannot convert value of type '()' to expected argument type 'XMLPlistScannerEventSource.Frame'
172 |                     throw XMLPlistError.other("Too many nested arrays or dictionaries")
173 |                 }
174 |                 try channel.beginKeyedContainer(cacheKey: nil, sourceState: ())
    |                                                                             `- error: cannot convert value of type '()' to expected argument type 'XMLPlistScannerEventSource.Frame'
175 |             }
176 |         case .key, .string:
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScannerEventSource.swift:181:55: error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
179 |                 // Empty string: simpleString marker with zero bytes.
180 |                 let empty = reader.bytes.extracting(unchecked: reader.index ..< reader.index)
181 |                 try channel.emitScalar(XMLPlistScalar.string(bytes: empty, hasEscapes: false, source: reader.bytes))
    |                                                       `- error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
182 |             } else {
183 |                 let (offset, byteCount, isSimple) = try scanStringBytes()
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScannerEventSource.swift:186:55: error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
184 |                 try checkForCloseTag(tag)
185 |                 let slice = reader.bytes.extracting(unchecked: offset ..< offset &+ byteCount)
186 |                 try channel.emitScalar(XMLPlistScalar.string(bytes: slice, hasEscapes: !isSimple, source: reader.bytes))
    |                                                       `- error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
187 |             }
188 |         case .integer:
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScannerEventSource.swift:192:51: error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
190 |             let (offset, byteCount) = try scanTypedValueBytes(closing: .integer)
191 |             let slice = reader.bytes.extracting(unchecked: offset ..< offset &+ byteCount)
192 |             try channel.emitScalar(XMLPlistScalar.integer(bytes: slice, source: reader.bytes))
    |                                                   `- error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
193 |         case .real:
194 |             guard !isEmpty else { throw XMLPlistError.unexpectedEmptyTag(.real, line: reader.lineNumber) }
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScannerEventSource.swift:197:51: error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
195 |             let (offset, byteCount) = try scanTypedValueBytes(closing: .real)
196 |             let slice = reader.bytes.extracting(unchecked: offset ..< offset &+ byteCount)
197 |             try channel.emitScalar(XMLPlistScalar.real(bytes: slice, source: reader.bytes))
    |                                                   `- error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
198 |         case .date:
199 |             guard !isEmpty else { throw XMLPlistError.unexpectedEmptyTag(.date, line: reader.lineNumber) }
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScannerEventSource.swift:202:51: error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
200 |             let (offset, byteCount) = try scanTypedValueBytes(closing: .date)
201 |             let slice = reader.bytes.extracting(unchecked: offset ..< offset &+ byteCount)
202 |             try channel.emitScalar(XMLPlistScalar.date(bytes: slice, source: reader.bytes))
    |                                                   `- error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
203 |         case .data:
204 |             guard !isEmpty else { throw XMLPlistError.unexpectedEmptyTag(.data, line: reader.lineNumber) }
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScannerEventSource.swift:207:51: error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
205 |             let (offset, byteCount) = try scanTypedValueBytes(closing: .data)
206 |             let slice = reader.bytes.extracting(unchecked: offset ..< offset &+ byteCount)
207 |             try channel.emitScalar(XMLPlistScalar.data(bytes: slice, source: reader.bytes))
    |                                                   `- error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
208 |         case .true:
209 |             if !isEmpty {
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScannerEventSource.swift:212:51: error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
210 |                 try checkForCloseTag(.true)
211 |             }
212 |             try channel.emitScalar(XMLPlistScalar.bool(true))
    |                                                   `- error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
213 |         case .false:
214 |             if !isEmpty {
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScannerEventSource.swift:217:51: error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
215 |                 try checkForCloseTag(.false)
216 |             }
217 |             try channel.emitScalar(XMLPlistScalar.bool(false))
    |                                                   `- error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
218 |         }
219 |     }
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScannerEventSource.swift:232:33: error: cannot convert value of type 'XMLPlistKeyView' to expected argument type 'XMLPlistVocabulary.KeyView'
230 |         if isEmpty {
231 |             let empty = reader.bytes.extracting(unchecked: reader.index ..< reader.index)
232 |             try channel.parkKey(XMLPlistKeyView(bytes: empty, hasEscapes: false, source: reader.bytes))
    |                                 `- error: cannot convert value of type 'XMLPlistKeyView' to expected argument type 'XMLPlistVocabulary.KeyView'
233 |             return
234 |         }
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScannerEventSource.swift:238:29: error: cannot convert value of type 'XMLPlistKeyView' to expected argument type 'XMLPlistVocabulary.KeyView'
236 |         try checkForCloseTag(.key)
237 |         let slice = reader.bytes.extracting(unchecked: offset ..< offset &+ byteCount)
238 |         try channel.parkKey(XMLPlistKeyView(bytes: slice, hasEscapes: !isSimple, source: reader.bytes))
    |                             `- error: cannot convert value of type 'XMLPlistKeyView' to expected argument type 'XMLPlistVocabulary.KeyView'
239 |     }
240 |
/host/spi-builder-workspace/Sources/FoundationEssentials/Span+Utils.swift:219:45: error: cannot find type 'ConvertibleToBytes' in scope
217 |     }
218 |
219 |     package mutating func withOutputSpan<T: ConvertibleToBytes & ConvertibleFromBytes, E: Error, R: ~Copyable>(
    |                                             `- error: cannot find type 'ConvertibleToBytes' in scope
220 |         of type: T.Type,
221 |         _ body: (inout OutputSpan<T>) throws(E) -> R
/host/spi-builder-workspace/Sources/FoundationEssentials/Span+Utils.swift:237:38: error: cannot find type 'ConvertibleToBytes' in scope
235 | }
236 |
237 | extension OutputSpan where Element : ConvertibleToBytes & ConvertibleFromBytes {
    |                                      `- error: cannot find type 'ConvertibleToBytes' in scope
238 |     package mutating func _append(copying span: Span<Element>) {
239 |         precondition(self.freeCapacity >= span.count, "Insufficient space to copy the provided span (have space for \(self.freeCapacity) but writing \(span.count))")
/host/spi-builder-workspace/Sources/FoundationEssentials/Span+Utils.swift:70:24: error: binary operator '==' cannot be applied to two 'Element' operands
 68 |         var i = 0
 69 |         while i < count {
 70 |             if self[i] == element {
    |                        `- error: binary operator '==' cannot be applied to two 'Element' operands
 71 |                 return i
 72 |             }
/host/spi-builder-workspace/Sources/FoundationEssentials/Span+Utils.swift:80:24: error: referencing operator function '==' on 'Equatable' requires that 'Element' conform to 'Equatable'
 78 |
 79 |     func lastIndex(of element: borrowing Element) -> Int? {
 80 |         lastIndex { $0 == element }
    |                        `- error: referencing operator function '==' on 'Equatable' requires that 'Element' conform to 'Equatable'
 81 |     }
 82 |
Swift.Equatable:1:17: note: where 'Self' = 'Element'
1 | public protocol Equatable {
  |                 `- note: where 'Self' = 'Element'
2 |     static func == (lhs: Self, rhs: Self) -> Bool
3 | }
/host/spi-builder-workspace/Sources/FoundationEssentials/Span+Utils.swift:90:24: error: binary operator '!=' cannot be applied to two 'Element' operands
 88 |         var i = 0
 89 |         while i < count {
 90 |             if self[i] != other[i] {
    |                        `- error: binary operator '!=' cannot be applied to two 'Element' operands
 91 |                 return false
 92 |             }
/host/spi-builder-workspace/Sources/FoundationEssentials/Span+Utils.swift:101:24: error: binary operator '==' cannot be applied to two 'Element' operands
 99 |     func contains(_ element: borrowing Element) -> Bool {
100 |         for i in indices {
101 |             if self[i] == element {
    |                        `- error: binary operator '==' cannot be applied to two 'Element' operands
102 |                 return true
103 |             }
/host/spi-builder-workspace/Sources/FoundationEssentials/Span+Utils.swift:119:39: error: referencing operator function '==' on 'Equatable' requires that 'Element' conform to 'Equatable'
117 |         for i in 0...(count - m) {
118 |             var j = 0
119 |             while j < m, self[i &+ j] == needle[j] {
    |                                       `- error: referencing operator function '==' on 'Equatable' requires that 'Element' conform to 'Equatable'
120 |                 j &+= 1
121 |             }
Swift.Equatable:1:17: note: where 'Self' = 'Element'
1 | public protocol Equatable {
  |                 `- note: where 'Self' = 'Element'
2 |     static func == (lhs: Self, rhs: Self) -> Bool
3 | }
/host/spi-builder-workspace/Sources/FoundationEssentials/Span+Utils.swift:134:24: error: binary operator '==' cannot be applied to two 'Element' operands
132 |         var num = 0
133 |         for i in indices {
134 |             if self[i] == element {
    |                        `- error: binary operator '==' cannot be applied to two 'Element' operands
135 |                 num += 1
136 |             }
/host/spi-builder-workspace/Sources/FoundationEssentials/Span+Utils.swift:185:47: error: property 'bytes' requires that 'Element' conform to 'BitwiseCopyable'
183 |     mutating func _append<S: Sequence<Element>, Element: ConvertibleToBytes & ConvertibleFromBytes>(copying elements: S) {
184 |         let early: Void? = elements.withContiguousStorageIfAvailable { buffer in
185 |             self._append(copying: buffer.span.bytes)
    |                                               `- error: property 'bytes' requires that 'Element' conform to 'BitwiseCopyable'
186 |         }
187 |
Swift.Span:2:11: note: where 'Element' = 'Element'
1 | @available(macOS 10.14.4, iOS 12.2, watchOS 5.2, tvOS 12.2, visionOS 1.0, *)
2 | extension Span where Element : BitwiseCopyable {
  |           `- note: where 'Element' = 'Element'
3 |     public var bytes: RawSpan { get }
4 | }
/host/spi-builder-workspace/Sources/FoundationEssentials/Span+Utils.swift:301:13: error: thrown expression type 'any Error' cannot be converted to error type 'E'
299 | extension String {
300 |     package init<E>(_capacity capacity: Int, initializingWith body: (inout OutputSpan<UTF8.CodeUnit>) throws(E) -> Void) throws(E) {
301 |         try self.init(unsafeUninitializedCapacity: capacity) { buffer throws(E) in
    |             `- error: thrown expression type 'any Error' cannot be converted to error type 'E'
302 |             var outputSpan = OutputSpan(buffer: buffer, initializedCount: 0)
303 |             try body(&outputSpan)
/host/spi-builder-workspace/Sources/FoundationEssentials/Span+Utils.swift:312:22: error: for-in loop requires 'Span<Element>' to conform to 'Sequence'
310 |     package init(copying span: borrowing Span<Element>) {
311 |         self = Self.init(capacity: span.count) { outputSpan in
312 |             for e in span {
    |                      `- error: for-in loop requires 'Span<Element>' to conform to 'Sequence'
313 |                 outputSpan.append(e)
314 |             }
/host/spi-builder-workspace/Sources/FoundationEssentials/Span+Utils.swift:324:17: error: thrown expression type 'any Error' cannot be converted to error type 'E'
322 |         var result = Dictionary(minimumCapacity: keys.count)
323 |         for i in 0..<keys.count {
324 |             try result.merge(CollectionOfOne((keys[i], values[i])), uniquingKeysWith: combine)
    |                 `- error: thrown expression type 'any Error' cannot be converted to error type 'E'
325 |         }
326 |         self = result
/host/spi-builder-workspace/Sources/FoundationEssentials/String/String+IO.swift:304:38: error: value of type 'RawSpan' has no member 'load'
302 |
303 |         if len >= MemoryLayout<UInt32>.size {
304 |             let potentialBOM = bytes.load(fromByteOffset: 0, as: UInt32.self)
    |                                      `- error: value of type 'RawSpan' has no member 'load'
305 |             if potentialBOM == 0xFFFE0000 || potentialBOM == 0x0000FEFF {
306 |                 // Looks like UTF32
/host/spi-builder-workspace/Sources/FoundationEssentials/String/String+IO.swift:312:38: error: value of type 'RawSpan' has no member 'load'
310 |
311 |         if encoding == nil && len >= MemoryLayout<UInt16>.size && (len & 1) == 0 {
312 |             let potentialBOM = bytes.load(fromByteOffset: 0, as: UInt16.self)
    |                                      `- error: value of type 'RawSpan' has no member 'load'
313 |             if potentialBOM == 0xFEFF || potentialBOM == 0xFFFE {
314 |                 encoding = .unicode
[2071/2263] Compiling FoundationEssentials String+IO.swift
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/PlistDecoderGeneric.swift:19:40: error: cannot suppress 'Copyable' requirement of an associated type
 17 |     associatedtype ContainedValueReference
 18 |
 19 |     associatedtype DictionaryIterator: PlistDictionaryIterator<ContainedValueReference> & ~Copyable & ~Escapable
    |                                        `- error: cannot suppress 'Copyable' requirement of an associated type
 20 |     associatedtype ArrayIterator: PlistArrayIterator<ContainedValueReference>
 21 |
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/PlistDecoderGeneric.swift:19:40: error: cannot suppress 'Escapable' requirement of an associated type
 17 |     associatedtype ContainedValueReference
 18 |
 19 |     associatedtype DictionaryIterator: PlistDictionaryIterator<ContainedValueReference> & ~Copyable & ~Escapable
    |                                        `- error: cannot suppress 'Escapable' requirement of an associated type
 20 |     associatedtype ArrayIterator: PlistArrayIterator<ContainedValueReference>
 21 |
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistMap.swift:138:18: error: cannot find type 'UniqueArray' in scope
136 |     typealias Value = XMLPlistMapValue
137 |
138 |     let records: UniqueArray<Int>
    |                  `- error: cannot find type 'UniqueArray' in scope
139 |
140 |     init(records: consuming UniqueArray<Int>) {
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistMap.swift:140:29: error: cannot find type 'UniqueArray' in scope
138 |     let records: UniqueArray<Int>
139 |
140 |     init(records: consuming UniqueArray<Int>) {
    |                             `- error: cannot find type 'UniqueArray' in scope
141 |         self.records = records
142 |     }
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistMapBuildingSink.swift:57:18: error: cannot find type 'UniqueArray' in scope
 55 |
 56 |     /// The flat record buffer, handed off to the produced `XMLPlistMap` at `takeResult`.
 57 |     var mapData: UniqueArray<Int>
    |                  `- error: cannot find type 'UniqueArray' in scope
 58 |     private var openContainers: UniqueArray<OpenContainer>
 59 |
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistMapBuildingSink.swift:58:33: error: cannot find type 'UniqueArray' in scope
 56 |     /// The flat record buffer, handed off to the produced `XMLPlistMap` at `takeResult`.
 57 |     var mapData: UniqueArray<Int>
 58 |     private var openContainers: UniqueArray<OpenContainer>
    |                                 `- error: cannot find type 'UniqueArray' in scope
 59 |
 60 |     init(sourceBytes: borrowing Span<UInt8>) {
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:373:28: error: cannot suppress 'Copyable' requirement of an associated type
371 |     associatedtype ValueFragment
372 |     associatedtype ContainerFragment = ValueFragment
373 |     associatedtype Output: ~Copyable
    |                            `- error: cannot suppress 'Copyable' requirement of an associated type
374 |
375 |     // Leaf events. Sink decides whether to compute and append.
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:17:28: error: cannot suppress 'Copyable' requirement of an associated type
 15 | /// The event alphabet a `ParseEventSource` emits and a `ParseEventSink` consumes. Format-specific: `JSONVocabulary`, `BPlistVocabulary`, `XMLPlistVocabulary` each pair their scalar enum with their key-view type. A `Source` and `Sink` are compatible when their `Vocabulary` associated types match.
 16 | protocol ParseEventVocabulary {
 17 |     associatedtype Scalar: ~Copyable, ~Escapable
    |                            `- error: cannot suppress 'Copyable' requirement of an associated type
 18 |     associatedtype KeyView: ~Copyable, ~Escapable
 19 |     associatedtype UnkeyedContainerKind = Void
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:17:39: error: cannot suppress 'Escapable' requirement of an associated type
 15 | /// The event alphabet a `ParseEventSource` emits and a `ParseEventSink` consumes. Format-specific: `JSONVocabulary`, `BPlistVocabulary`, `XMLPlistVocabulary` each pair their scalar enum with their key-view type. A `Source` and `Sink` are compatible when their `Vocabulary` associated types match.
 16 | protocol ParseEventVocabulary {
 17 |     associatedtype Scalar: ~Copyable, ~Escapable
    |                                       `- error: cannot suppress 'Escapable' requirement of an associated type
 18 |     associatedtype KeyView: ~Copyable, ~Escapable
 19 |     associatedtype UnkeyedContainerKind = Void
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:18:29: error: cannot suppress 'Copyable' requirement of an associated type
 16 | protocol ParseEventVocabulary {
 17 |     associatedtype Scalar: ~Copyable, ~Escapable
 18 |     associatedtype KeyView: ~Copyable, ~Escapable
    |                             `- error: cannot suppress 'Copyable' requirement of an associated type
 19 |     associatedtype UnkeyedContainerKind = Void
 20 |     associatedtype KeyedContainerKind = Void
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:18:40: error: cannot suppress 'Escapable' requirement of an associated type
 16 | protocol ParseEventVocabulary {
 17 |     associatedtype Scalar: ~Copyable, ~Escapable
 18 |     associatedtype KeyView: ~Copyable, ~Escapable
    |                                        `- error: cannot suppress 'Escapable' requirement of an associated type
 19 |     associatedtype UnkeyedContainerKind = Void
 20 |     associatedtype KeyedContainerKind = Void
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistMapBuildingSink.swift:18:8: error: type 'XMLPlistVocabulary' does not conform to protocol 'ParseEventVocabulary'
 16 |
 17 | // `ParseEventSink` that builds an `XMLPlistMap`.
 18 | struct XMLPlistMapBuildingSink: ParseEventSink, ~Copyable {
    |        `- error: type 'XMLPlistVocabulary' does not conform to protocol 'ParseEventVocabulary'
 19 |     typealias Vocabulary = XMLPlistVocabulary
 20 |     typealias ValueFragment = Void
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistMapBuildingSink.swift:18:8: error: type 'XMLPlistMapBuildingSink' does not conform to protocol 'ParseEventSink'
 16 |
 17 | // `ParseEventSink` that builds an `XMLPlistMap`.
 18 | struct XMLPlistMapBuildingSink: ParseEventSink, ~Copyable {
    |        |- error: type 'XMLPlistMapBuildingSink' does not conform to protocol 'ParseEventSink'
    |        `- note: add stubs for conformance
 19 |     typealias Vocabulary = XMLPlistVocabulary
 20 |     typealias ValueFragment = Void
 21 |     typealias Output = XMLPlistMap
    |               `- note: possibly intended match 'XMLPlistMapBuildingSink.Output' (aka 'XMLPlistMap') does not conform to 'Copyable'
 22 |
 23 |     /// Bookkeeping for a container that's been opened but not yet finalized.
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:373:20: note: protocol requires nested type 'Output'
371 |     associatedtype ValueFragment
372 |     associatedtype ContainerFragment = ValueFragment
373 |     associatedtype Output: ~Copyable
    |                    `- note: protocol requires nested type 'Output'
374 |
375 |     // Leaf events. Sink decides whether to compute and append.
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistMapBuildingSink.swift:61:24: error: cannot find 'UniqueArray' in scope
 59 |
 60 |     init(sourceBytes: borrowing Span<UInt8>) {
 61 |         self.mapData = UniqueArray()
    |                        `- error: cannot find 'UniqueArray' in scope
 62 |         // Heuristic capacity estimate: with the noise of XML tags, allocate roughly one map entry per 8 source bytes.
 63 |         self.mapData.reserveCapacity(Swift.max(64, sourceBytes.count / 8))
/host/spi-builder-workspace/Sources/FoundationEssentials/Span+Utils.swift:62:41: error: composition cannot contain '~Copyable' when another member requires 'Copyable'
 60 | }
 61 |
 62 | extension Span where Element: Equatable & ~Copyable {
    |                                         `- error: composition cannot contain '~Copyable' when another member requires 'Copyable'
 63 |     package func firstIndex(of element: borrowing Element) -> Int? {
 64 |         guard !isEmpty else {
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistMapBuildingSink.swift:64:31: error: cannot find 'UniqueArray' in scope
 62 |         // Heuristic capacity estimate: with the noise of XML tags, allocate roughly one map entry per 8 source bytes.
 63 |         self.mapData.reserveCapacity(Swift.max(64, sourceBytes.count / 8))
 64 |         self.openContainers = UniqueArray()
    |                               `- error: cannot find 'UniqueArray' in scope
 65 |         self.openContainers.reserveCapacity(32)
 66 |     }
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:71:28: error: cannot find type 'Ref' in scope
  69 |
  70 |     @_lifetime(copy mapRef, copy sourceBytes)
  71 |     init(mapRef: consuming Ref<XMLPlistMap>, sourceBytes: RawSpan, mapOffset: XMLPlistMapOffset) {
     |                            `- error: cannot find type 'Ref' in scope
  72 |         self.map = mapRef
  73 |         self.sourceBytes = sourceBytes
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:22:57: error: '~Sendable' requires -enable-experimental-feature TildeSendable
  20 |
  21 | /// Top-level entry for producing `XMLPlistPrimitive`s from a raw XML property list buffer.
  22 | internal struct XMLPropertyList: ~Escapable, ~Copyable, ~Sendable {
     |                                                         `- error: '~Sendable' requires -enable-experimental-feature TildeSendable
  23 |     let map: XMLPlistMap
  24 |     let sourceBytes: RawSpan
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:61:14: error: cannot find type 'Ref' in scope
  59 |
  60 | internal struct XMLPlistPrimitive: ~Escapable, ~Sendable {
  61 |     let map: Ref<XMLPlistMap>
     |              `- error: cannot find type 'Ref' in scope
  62 |     let sourceBytes: RawSpan
  63 |     let mapOffset: XMLPlistMapOffset
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:237:18: error: cannot find type 'Ref' in scope
 235 |     /// Iterator over the children of a `.array` primitive. Walks the inline records via record-length arithmetic.
 236 |     internal struct ArrayIterator: ~Escapable, ~Sendable {
 237 |         let map: Ref<XMLPlistMap>
     |                  `- error: cannot find type 'Ref' in scope
 238 |         let sourceBytes: RawSpan
 239 |         let count: Int
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:244:22: error: cannot find type 'Ref' in scope
 242 |
 243 |         @_lifetime(copy mapRef, copy sourceBytes)
 244 |         init(mapRef: Ref<XMLPlistMap>, sourceBytes: RawSpan, startOffset: XMLPlistMapOffset, count: Int) {
     |                      `- error: cannot find type 'Ref' in scope
 245 |             self.map = mapRef
 246 |             self.sourceBytes = sourceBytes
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:236:48: error: '~Sendable' requires -enable-experimental-feature TildeSendable
 234 |
 235 |     /// Iterator over the children of a `.array` primitive. Walks the inline records via record-length arithmetic.
 236 |     internal struct ArrayIterator: ~Escapable, ~Sendable {
     |                                                `- error: '~Sendable' requires -enable-experimental-feature TildeSendable
 237 |         let map: Ref<XMLPlistMap>
 238 |         let sourceBytes: RawSpan
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:278:18: error: cannot find type 'Ref' in scope
 276 |     /// Iterator over key-value pairs of a `.dict` primitive. Emits pairs in source order. `KeyValuePair` is a bare `(keyOffset, valueOffset)` record; primitive views are constructed on demand so they share a single lifetime tied to the enclosing iterator.
 277 |     internal struct DictionaryIterator: ~Escapable, ~Sendable {
 278 |         let map: Ref<XMLPlistMap>
     |                  `- error: cannot find type 'Ref' in scope
 279 |         let sourceBytes: RawSpan
 280 |         let count: Int
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:290:22: error: cannot find type 'Ref' in scope
 288 |
 289 |         @_lifetime(copy mapRef, copy sourceBytes)
 290 |         init(mapRef: Ref<XMLPlistMap>, sourceBytes: RawSpan, startOffset: XMLPlistMapOffset, count: Int) {
     |                      `- error: cannot find type 'Ref' in scope
 291 |             self.map = mapRef
 292 |             self.sourceBytes = sourceBytes
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:277:53: error: '~Sendable' requires -enable-experimental-feature TildeSendable
 275 |
 276 |     /// Iterator over key-value pairs of a `.dict` primitive. Emits pairs in source order. `KeyValuePair` is a bare `(keyOffset, valueOffset)` record; primitive views are constructed on demand so they share a single lifetime tied to the enclosing iterator.
 277 |     internal struct DictionaryIterator: ~Escapable, ~Sendable {
     |                                                     `- error: '~Sendable' requires -enable-experimental-feature TildeSendable
 278 |         let map: Ref<XMLPlistMap>
 279 |         let sourceBytes: RawSpan
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:60:48: error: '~Sendable' requires -enable-experimental-feature TildeSendable
  58 | }
  59 |
  60 | internal struct XMLPlistPrimitive: ~Escapable, ~Sendable {
     |                                                `- error: '~Sendable' requires -enable-experimental-feature TildeSendable
  61 |     let map: Ref<XMLPlistMap>
  62 |     let sourceBytes: RawSpan
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:497:40: error: '~Sendable' requires -enable-experimental-feature TildeSendable
 495 |
 496 | /// Parser for a  portion of an XML plist document captured by span. Parses leaf values.
 497 | struct XMLPlistSpanReader: ~Escapable, ~Sendable {
     |                                        `- error: '~Sendable' requires -enable-experimental-feature TildeSendable
 498 |     let bytes: Span<UInt8>
 499 |     var index: Int
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:29:37: error: incorrect argument label in call (have 'viewing:', expected '_bytes:')
  27 |     @_lifetime(copy sourceBytes)
  28 |     init(_ sourceBytes: RawSpan) throws {
  29 |         let sourceSpan = Span<UInt8>(viewing: sourceBytes)
     |                                     `- error: incorrect argument label in call (have 'viewing:', expected '_bytes:')
  30 |         let source = XMLPlistScannerEventSource(sourceBytes: sourceSpan)
  31 |         let sink = XMLPlistMapBuildingSink(sourceBytes: sourceSpan)
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:335:28: error: cannot suppress 'Copyable' requirement of an associated type
333 | /// Emits parse events into an `IterativeParsingDriver`. Every source is a tree walker: emits one top-level value, then advances frame-by-frame until the tree is exhausted.
334 | protocol ParseEventSource<Filter>: ~Copyable, ~Escapable {
335 |     associatedtype Filter: ParseEventFilter & ~Copyable = NullFilter
    |                            `- error: cannot suppress 'Copyable' requirement of an associated type
336 |     associatedtype Vocabulary: ParseEventVocabulary
337 |     /// Per-container state the source maintains for its walk. The driver stores it; the source reads/mutates via `channel.topSourceState`. Default `Void`.
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingSupport.swift:20:26: error: cannot suppress 'Copyable' requirement of an associated type
 18 | /// The `IterativeParsingDriver` will hand a `FilterView` for the appropriate depth level to the source whenever it is decoding a container's contents. The source is obligated to refer to the `FilterView` to discover what events it is allowed to emit from its source data.
 19 | protocol ParseEventFilter: ~Copyable {
 20 |     associatedtype View: FilterView & ~Copyable & ~Escapable
    |                          `- error: cannot suppress 'Copyable' requirement of an associated type
 21 |
 22 |     /// The root filter level (typically 0), or `nil` when nothing is filtered at any depth.
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingSupport.swift:20:26: error: cannot suppress 'Escapable' requirement of an associated type
 18 | /// The `IterativeParsingDriver` will hand a `FilterView` for the appropriate depth level to the source whenever it is decoding a container's contents. The source is obligated to refer to the `FilterView` to discover what events it is allowed to emit from its source data.
 19 | protocol ParseEventFilter: ~Copyable {
 20 |     associatedtype View: FilterView & ~Copyable & ~Escapable
    |                          `- error: cannot suppress 'Escapable' requirement of an associated type
 21 |
 22 |     /// The root filter level (typically 0), or `nil` when nothing is filtered at any depth.
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:26:146: error: cannot suppress 'Copyable' requirement of an associated type
 24 |
 25 | /// Drives an iterative parse: routes events from a `ParseEventSource` to a `ParseEventSink`, owns the frame stack, and dispatches to a `ParseEventFilter`.
 26 | struct IterativeParsingDriver<Source: ParseEventSource & ~Copyable & ~Escapable, Sink: ParseEventSink & ~Copyable>: ~Copyable where Source.Filter: ~Copyable {
    |                                                                                                                                                  `- error: cannot suppress 'Copyable' requirement of an associated type
 27 |     var sink: Sink
 28 |     var keysArena: UniqueArray<Sink.KeyFragment>
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:26:146: error: 'Source.Filter' required to be 'Copyable' but is marked with '~Copyable'
 24 |
 25 | /// Drives an iterative parse: routes events from a `ParseEventSource` to a `ParseEventSink`, owns the frame stack, and dispatches to a `ParseEventFilter`.
 26 | struct IterativeParsingDriver<Source: ParseEventSource & ~Copyable & ~Escapable, Sink: ParseEventSink & ~Copyable>: ~Copyable where Source.Filter: ~Copyable {
    |                                                                                                                                                  `- error: 'Source.Filter' required to be 'Copyable' but is marked with '~Copyable'
 27 |     var sink: Sink
 28 |     var keysArena: UniqueArray<Sink.KeyFragment>
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:65:140: error: cannot suppress 'Copyable' requirement of an associated type
 63 | }
 64 |
 65 | extension IterativeParsingDriver where Source: ~Copyable & ~Escapable, Sink: ~Copyable, Source.Vocabulary == Sink.Vocabulary, Source.Filter: ~Copyable {
    |                                                                                                                                            `- error: cannot suppress 'Copyable' requirement of an associated type
 66 |
 67 |     consuming func runReturningSink<Filter: ParseEventFilter & ~Copyable>(source: consuming Source, filter: consuming Filter) throws -> Sink where Source.Filter == Filter {
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:65:140: error: 'Source.Filter' required to be 'Copyable' but is marked with '~Copyable'
 63 | }
 64 |
 65 | extension IterativeParsingDriver where Source: ~Copyable & ~Escapable, Sink: ~Copyable, Source.Vocabulary == Sink.Vocabulary, Source.Filter: ~Copyable {
    |                                                                                                                                            `- error: 'Source.Filter' required to be 'Copyable' but is marked with '~Copyable'
 66 |
 67 |     consuming func runReturningSink<Filter: ParseEventFilter & ~Copyable>(source: consuming Source, filter: consuming Filter) throws -> Sink where Source.Filter == Filter {
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:119:32: error: 'Filter' required to be 'Copyable' but is marked with '~Copyable'
117 |     }
118 |
119 |     consuming func run<Filter: ParseEventFilter & ~Copyable>(source: consuming Source, filter: consuming Filter) throws -> Sink.Output where Source.Filter == Filter {
    |                                `- error: 'Filter' required to be 'Copyable' but is marked with '~Copyable'
120 |         return try runReturningSink(source: source, filter: filter).takeResult()
121 |     }
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:28:5: error: type 'NullFilter' does not conform to protocol 'ParseEventFilter'
  26 |     /// Run the iterative XML scanner over `sourceBytes` and produce a property list.
  27 |     @_lifetime(copy sourceBytes)
  28 |     init(_ sourceBytes: RawSpan) throws {
     |     `- error: type 'NullFilter' does not conform to protocol 'ParseEventFilter'
  29 |         let sourceSpan = Span<UInt8>(viewing: sourceBytes)
  30 |         let source = XMLPlistScannerEventSource(sourceBytes: sourceSpan)
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:124:1: error: no type for 'Source.Filter' can satisfy both 'Source.Filter == NullFilter' and 'Source.Filter : Copyable'
122 | }
123 |
124 | extension IterativeParsingDriver where Source: ~Copyable & ~Escapable, Sink: ~Copyable, Source.Vocabulary == Sink.Vocabulary, Source.Filter == NullFilter {
    | `- error: no type for 'Source.Filter' can satisfy both 'Source.Filter == NullFilter' and 'Source.Filter : Copyable'
125 |     consuming func runReturningSink(source: consuming Source) throws -> Sink {
126 |         try self.runReturningSink(source: source, filter: NullFilter())
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:67:30: error: cannot find 'Ref' in scope
  65 |     @_lifetime(borrow map, copy sourceBytes)
  66 |     init(map: borrowing XMLPlistMap, sourceBytes: RawSpan, mapOffset: XMLPlistMapOffset) {
  67 |         self = .init(mapRef: Ref(map), sourceBytes: sourceBytes, mapOffset: mapOffset)
     |                              `- error: cannot find 'Ref' in scope
  68 |     }
  69 |
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:67:21: error: incorrect argument label in call (have 'mapRef:sourceBytes:mapOffset:', expected 'map:sourceBytes:mapOffset:')
  65 |     @_lifetime(borrow map, copy sourceBytes)
  66 |     init(map: borrowing XMLPlistMap, sourceBytes: RawSpan, mapOffset: XMLPlistMapOffset) {
  67 |         self = .init(mapRef: Ref(map), sourceBytes: sourceBytes, mapOffset: mapOffset)
     |                     `- error: incorrect argument label in call (have 'mapRef:sourceBytes:mapOffset:', expected 'map:sourceBytes:mapOffset:')
  68 |     }
  69 |
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:81:33: error: incorrect argument label in call (have 'mapRef:sourceBytes:mapOffset:', expected 'map:sourceBytes:mapOffset:')
  79 |     func sibling(atMapOffset offset: XMLPlistMapOffset) -> XMLPlistPrimitive {
  80 |         assert(offset >= 0)
  81 |         return XMLPlistPrimitive(mapRef: map, sourceBytes: sourceBytes, mapOffset: offset)
     |                                 `- error: incorrect argument label in call (have 'mapRef:sourceBytes:mapOffset:', expected 'map:sourceBytes:mapOffset:')
  82 |     }
  83 |
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:105:20: error: incorrect argument label in call (have 'viewing:', expected '_bytes:')
 103 |     fileprivate func sourceRegionSpan() -> Span<UInt8> {
 104 |         let region = sourceRegion
 105 |         return Span(viewing: sourceBytes.extracting(unchecked: region.offset ..< region.offset &+ region.count))
     |                    `- error: incorrect argument label in call (have 'viewing:', expected '_bytes:')
 106 |     }
 107 |
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:112:19: error: incorrect argument label in call (have 'viewing:', expected '_bytes:')
 110 |     fileprivate var documentSpan: Span<UInt8> {
 111 |         @_lifetime(copy self)
 112 |         get { Span(viewing: sourceBytes) }
     |                   `- error: incorrect argument label in call (have 'viewing:', expected '_bytes:')
 113 |     }
 114 |
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:255:42: error: incorrect argument label in call (have 'mapRef:sourceBytes:mapOffset:', expected 'map:sourceBytes:mapOffset:')
 253 |         mutating func next() -> XMLPlistPrimitive? {
 254 |             guard elementsRemaining > 0 else { return nil }
 255 |             let child = XMLPlistPrimitive(mapRef: map, sourceBytes: sourceBytes, mapOffset: currentOffset)
     |                                          `- error: incorrect argument label in call (have 'mapRef:sourceBytes:mapOffset:', expected 'map:sourceBytes:mapOffset:')
 256 |             currentOffset = _nextMapOffset(after: currentOffset, in: map.value)
 257 |             elementsRemaining &-= 1
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:310:30: error: incorrect argument label in call (have 'mapRef:sourceBytes:mapOffset:', expected 'map:sourceBytes:mapOffset:')
 308 |         @_lifetime(copy self)
 309 |         func key(of pair: KeyValuePair) -> XMLPlistPrimitive {
 310 |             XMLPlistPrimitive(mapRef: map, sourceBytes: sourceBytes, mapOffset: pair.keyOffset)
     |                              `- error: incorrect argument label in call (have 'mapRef:sourceBytes:mapOffset:', expected 'map:sourceBytes:mapOffset:')
 311 |         }
 312 |
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:316:30: error: incorrect argument label in call (have 'mapRef:sourceBytes:mapOffset:', expected 'map:sourceBytes:mapOffset:')
 314 |         @_lifetime(copy self)
 315 |         func value(of pair: KeyValuePair) -> XMLPlistPrimitive {
 316 |             XMLPlistPrimitive(mapRef: map, sourceBytes: sourceBytes, mapOffset: pair.valueOffset)
     |                              `- error: incorrect argument label in call (have 'mapRef:sourceBytes:mapOffset:', expected 'map:sourceBytes:mapOffset:')
 317 |         }
 318 |     }
/host/spi-builder-workspace/Sources/FoundationEssentials/Span+Utils.swift:183:58: error: cannot find type 'ConvertibleToBytes' in scope
181 |     }
182 |
183 |     mutating func _append<S: Sequence<Element>, Element: ConvertibleToBytes & ConvertibleFromBytes>(copying elements: S) {
    |                                                          `- error: cannot find type 'ConvertibleToBytes' in scope
184 |         let early: Void? = elements.withContiguousStorageIfAvailable { buffer in
185 |             self._append(copying: buffer.span.bytes)
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:1227:16: error: cannot find 'withTemporaryAllocation' in scope
1225 |     // TODO: Replace this with something equivalent to a variant of `String.init(unsafeUninitializedCapacity:initializingUTF8With:)` that validates instead of repairs.
1226 |     let cap = bytes.count
1227 |     return try withTemporaryAllocation(of: UInt8.self, capacity: cap) { outputSpan throws in
     |                `- error: cannot find 'withTemporaryAllocation' in scope
1228 |         var reader = XMLPlistSpanReader(bytes, source: copy source)
1229 |         try reader.parseXMLString(into: &outputSpan)
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:1229:41: error: cannot convert value of type '_' to expected argument type 'OutputSpan<UInt8>'
1227 |     return try withTemporaryAllocation(of: UInt8.self, capacity: cap) { outputSpan throws in
1228 |         var reader = XMLPlistSpanReader(bytes, source: copy source)
1229 |         try reader.parseXMLString(into: &outputSpan)
     |                                         `- error: cannot convert value of type '_' to expected argument type 'OutputSpan<UInt8>'
1230 |
1231 |         do {
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:359:70: error: cannot suppress 'Copyable' requirement of an associated type
357 | }
358 |
359 | extension ParseEventSource where Self: ~Copyable & ~Escapable, Filter: ~Copyable {
    |                                                                      `- error: cannot suppress 'Copyable' requirement of an associated type
360 |     mutating func finish() throws {}
361 | }
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:359:70: error: 'Self.Filter' required to be 'Copyable' but is marked with '~Copyable'
357 | }
358 |
359 | extension ParseEventSource where Self: ~Copyable & ~Escapable, Filter: ~Copyable {
    |                                                                      `- error: 'Self.Filter' required to be 'Copyable' but is marked with '~Copyable'
360 |     mutating func finish() throws {}
361 | }
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitiveSource.swift:18:8: error: type 'XMLPlistPrimitiveSource<Filter>' does not conform to protocol 'ParseEventSource'
 16 |
 17 | /// Event source wrapping a pre-scanned `XMLPlistPrimitive`.
 18 | struct XMLPlistPrimitiveSource<Filter: ParseEventFilter & ~Copyable>: ParseEventSource<Filter>, ~Copyable, ~Escapable {
    |        `- error: type 'XMLPlistPrimitiveSource<Filter>' does not conform to protocol 'ParseEventSource'
 19 |
 20 |     /// Per-container walk cursor and child count.
FoundationEssentials.XMLPlistPrimitiveSource.Filter:2:73: note: possibly intended match 'XMLPlistPrimitiveSource<Filter>.Filter' (aka 'Filter') does not conform to 'Copyable'
1 | generic struct XMLPlistPrimitiveSource {
2 | internal typealias FoundationEssentials.XMLPlistPrimitiveSource<Filter>.Filter = Filter}
  |                                                                         `- note: possibly intended match 'XMLPlistPrimitiveSource<Filter>.Filter' (aka 'Filter') does not conform to 'Copyable'
3 |
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:335:20: note: protocol requires nested type 'Filter'
333 | /// Emits parse events into an `IterativeParsingDriver`. Every source is a tree walker: emits one top-level value, then advances frame-by-frame until the tree is exhausted.
334 | protocol ParseEventSource<Filter>: ~Copyable, ~Escapable {
335 |     associatedtype Filter: ParseEventFilter & ~Copyable = NullFilter
    |                    `- note: protocol requires nested type 'Filter'
336 |     associatedtype Vocabulary: ParseEventVocabulary
337 |     /// Per-container state the source maintains for its walk. The driver stores it; the source reads/mutates via `channel.topSourceState`. Default `Void`.
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitiveSource.swift:39:19: error: incorrect argument label in call (have 'viewing:', expected '_bytes:')
 37 |     private var sourceBytes: Span<UInt8> {
 38 |         @_lifetime(copy self)
 39 |         get { Span(viewing: top.sourceBytes) }
    |                   `- error: incorrect argument label in call (have 'viewing:', expected '_bytes:')
 40 |     }
 41 |
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:134:102: error: cannot suppress 'Copyable' requirement of an associated type
132 | }
133 |
134 | extension IterativeParsingDriver where Source: ~Copyable & ~Escapable, Sink: ~Copyable, Source.Filter: ~Copyable {
    |                                                                                                      `- error: cannot suppress 'Copyable' requirement of an associated type
135 |     typealias Scalar = Sink.Vocabulary.Scalar
136 |     typealias KeyView = Sink.Vocabulary.KeyView
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:134:102: error: 'Source.Filter' required to be 'Copyable' but is marked with '~Copyable'
132 | }
133 |
134 | extension IterativeParsingDriver where Source: ~Copyable & ~Escapable, Sink: ~Copyable, Source.Filter: ~Copyable {
    |                                                                                                      `- error: 'Source.Filter' required to be 'Copyable' but is marked with '~Copyable'
135 |     typealias Scalar = Sink.Vocabulary.Scalar
136 |     typealias KeyView = Sink.Vocabulary.KeyView
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitiveSource.swift:55:51: error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
 53 |             try channel.emitNull()
 54 |         case .true:
 55 |             try channel.emitScalar(XMLPlistScalar.bool(true))
    |                                                   `- error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
 56 |         case .false:
 57 |             try channel.emitScalar(XMLPlistScalar.bool(false))
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitiveSource.swift:57:51: error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
 55 |             try channel.emitScalar(XMLPlistScalar.bool(true))
 56 |         case .false:
 57 |             try channel.emitScalar(XMLPlistScalar.bool(false))
    |                                                   `- error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
 58 |         case .integer:
 59 |             try channel.emitScalar(XMLPlistScalar.integer(bytes: try prim.integerBytes, source: sourceBytes))
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitiveSource.swift:59:51: error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
 57 |             try channel.emitScalar(XMLPlistScalar.bool(false))
 58 |         case .integer:
 59 |             try channel.emitScalar(XMLPlistScalar.integer(bytes: try prim.integerBytes, source: sourceBytes))
    |                                                   `- error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
 60 |         case .real:
 61 |             try channel.emitScalar(XMLPlistScalar.real(bytes: try prim.realBytes, source: sourceBytes))
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitiveSource.swift:61:51: error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
 59 |             try channel.emitScalar(XMLPlistScalar.integer(bytes: try prim.integerBytes, source: sourceBytes))
 60 |         case .real:
 61 |             try channel.emitScalar(XMLPlistScalar.real(bytes: try prim.realBytes, source: sourceBytes))
    |                                                   `- error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
 62 |         case .date:
 63 |             try channel.emitScalar(XMLPlistScalar.date(bytes: try prim.dateBytes, source: sourceBytes))
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitiveSource.swift:63:51: error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
 61 |             try channel.emitScalar(XMLPlistScalar.real(bytes: try prim.realBytes, source: sourceBytes))
 62 |         case .date:
 63 |             try channel.emitScalar(XMLPlistScalar.date(bytes: try prim.dateBytes, source: sourceBytes))
    |                                                   `- error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
 64 |         case .data:
 65 |             try channel.emitScalar(XMLPlistScalar.data(bytes: try prim.dataBytes, source: sourceBytes))
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitiveSource.swift:65:51: error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
 63 |             try channel.emitScalar(XMLPlistScalar.date(bytes: try prim.dateBytes, source: sourceBytes))
 64 |         case .data:
 65 |             try channel.emitScalar(XMLPlistScalar.data(bytes: try prim.dataBytes, source: sourceBytes))
    |                                                   `- error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
 66 |         case .string:
 67 |             let sb = try prim.stringBytes
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitiveSource.swift:68:51: error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
 66 |         case .string:
 67 |             let sb = try prim.stringBytes
 68 |             try channel.emitScalar(XMLPlistScalar.string(bytes: sb.bytes, hasEscapes: !sb.isSimple, source: sourceBytes))
    |                                                   `- error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
 69 |         case .array:
 70 |             try pushArrayFrame(prim: prim, into: &channel)
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitiveSource.swift:74:51: error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
 72 |             try pushDictFrame(prim: prim, into: &channel)
 73 |         case .uid:
 74 |             try channel.emitScalar(XMLPlistScalar.uid(bytes: try prim.uidBytes, source: sourceBytes))
    |                                                   `- error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
 75 |         case .none:
 76 |             throw XMLPlistError.other("Invalid XML plist value type")
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitiveSource.swift:155:29: error: cannot convert value of type 'XMLPlistKeyView' to expected argument type 'XMLPlistVocabulary.KeyView'
153 |         let sb = try keyPrim.stringBytes
154 |         let keyView = XMLPlistKeyView(bytes: sb.bytes, hasEscapes: !sb.isSimple, source: sourceBytes)
155 |         try channel.parkKey(keyView)
    |                             `- error: cannot convert value of type 'XMLPlistKeyView' to expected argument type 'XMLPlistVocabulary.KeyView'
156 |         let valuePrim = top.sibling(atMapOffset: valueOffset)
157 |         f.nextChildMapOffset = nextPairOffset
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitiveSource.swift:181:33: error: cannot convert value of type 'XMLPlistKeyView' to expected argument type 'XMLPlistVocabulary.KeyView'
179 |             }
180 |             let keyView = XMLPlistKeyView(bytes: sb.bytes, hasEscapes: !sb.isSimple, source: sourceBytes)
181 |             try channel.parkKey(keyView)
    |                                 `- error: cannot convert value of type 'XMLPlistKeyView' to expected argument type 'XMLPlistVocabulary.KeyView'
182 |             let valuePrim = top.sibling(atMapOffset: valueOffset)
183 |             f.nextChildMapOffset = nextPairOffset
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:322:102: error: cannot suppress 'Copyable' requirement of an associated type
320 | }
321 |
322 | extension IterativeParsingDriver where Source: ~Copyable & ~Escapable, Sink: ~Copyable, Source.Filter: ~Copyable, Sink.Vocabulary.KeyedContainerKind == Void {
    |                                                                                                      `- error: cannot suppress 'Copyable' requirement of an associated type
323 |     mutating func endKeyedContainer() throws { try endKeyedContainer(kind: ()) }
324 |
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:322:102: error: 'Source.Filter' required to be 'Copyable' but is marked with '~Copyable'
320 | }
321 |
322 | extension IterativeParsingDriver where Source: ~Copyable & ~Escapable, Sink: ~Copyable, Source.Filter: ~Copyable, Sink.Vocabulary.KeyedContainerKind == Void {
    |                                                                                                      `- error: 'Source.Filter' required to be 'Copyable' but is marked with '~Copyable'
323 |     mutating func endKeyedContainer() throws { try endKeyedContainer(kind: ()) }
324 |
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:313:102: error: cannot suppress 'Copyable' requirement of an associated type
311 |     mutating func beginKeyedContainer(cacheKey: Int?) throws { try beginKeyedContainer(cacheKey: cacheKey, sourceState: ()) }}
312 |
313 | extension IterativeParsingDriver where Source: ~Copyable & ~Escapable, Sink: ~Copyable, Source.Filter: ~Copyable, Sink.Vocabulary.UnkeyedContainerKind == Void {
    |                                                                                                      `- error: cannot suppress 'Copyable' requirement of an associated type
314 |     mutating func endUnkeyedContainer() throws { try endUnkeyedContainer(kind: ()) }
315 |
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:313:102: error: 'Source.Filter' required to be 'Copyable' but is marked with '~Copyable'
311 |     mutating func beginKeyedContainer(cacheKey: Int?) throws { try beginKeyedContainer(cacheKey: cacheKey, sourceState: ()) }}
312 |
313 | extension IterativeParsingDriver where Source: ~Copyable & ~Escapable, Sink: ~Copyable, Source.Filter: ~Copyable, Sink.Vocabulary.UnkeyedContainerKind == Void {
    |                                                                                                      `- error: 'Source.Filter' required to be 'Copyable' but is marked with '~Copyable'
314 |     mutating func endUnkeyedContainer() throws { try endUnkeyedContainer(kind: ()) }
315 |
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:679:23: error: cannot find 'UniqueArray' in scope
 677 |
 678 |     struct PartialMapData: ~Copyable {
 679 |         var mapData = UniqueArray<Int>()
     |                       `- error: cannot find 'UniqueArray' in scope
 680 |         var prevMapDataSize = 0
 681 |
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:1321:31: error: cannot find 'UniqueArray' in scope
1319 |             default:
1320 |                 try scanXMLElement()
1321 |                 var mapData = UniqueArray<Int>()
     |                               `- error: cannot find 'UniqueArray' in scope
1322 |                 swap(&mapData, &partialMapData.mapData)
1323 |                 return XMLPlistMap(records: mapData)
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScannerEventSource.swift:18:8: error: type 'XMLPlistScannerEventSource' does not conform to protocol 'ParseEventSource'
 16 |
 17 | /// `ParseEventSource` that walks a raw XML property list byte buffer directly, emitting begin/end/scalar/key events to an `IterativeParsingDriver`.
 18 | struct XMLPlistScannerEventSource: ParseEventSource<NullFilter>, ~Copyable, ~Escapable {
    |        `- error: type 'XMLPlistScannerEventSource' does not conform to protocol 'ParseEventSource'
 19 |     typealias Vocabulary = XMLPlistVocabulary
 20 |
FoundationEssentials.XMLPlistScannerEventSource.Filter:2:68: note: possibly intended match 'XMLPlistScannerEventSource.Filter' (aka 'NullFilter') does not conform to 'Copyable'
1 | struct XMLPlistScannerEventSource {
2 | internal typealias FoundationEssentials.XMLPlistScannerEventSource.Filter = FoundationEssentials.NullFilter}
  |                                                                    `- note: possibly intended match 'XMLPlistScannerEventSource.Filter' (aka 'NullFilter') does not conform to 'Copyable'
3 |
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:335:20: note: protocol requires nested type 'Filter'
333 | /// Emits parse events into an `IterativeParsingDriver`. Every source is a tree walker: emits one top-level value, then advances frame-by-frame until the tree is exhausted.
334 | protocol ParseEventSource<Filter>: ~Copyable, ~Escapable {
335 |     associatedtype Filter: ParseEventFilter & ~Copyable = NullFilter
    |                    `- note: protocol requires nested type 'Filter'
336 |     associatedtype Vocabulary: ParseEventVocabulary
337 |     /// Per-container state the source maintains for its walk. The driver stores it; the source reads/mutates via `channel.topSourceState`. Default `Void`.
338 |     associatedtype Frame = Void
    |                    `- note: protocol requires nested type 'Frame'
339 |
340 |     /// Emit the single top-level value. If it's a leaf, call `emitScalar` / `emitNull` and return. If a container, call `beginUnkeyedContainer` / `beginKeyedContainer` (pushing a frame that `advanceTopFrame` will walk).
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScannerEventSource.swift:165:79: error: cannot convert value of type '()' to expected argument type 'XMLPlistScannerEventSource.Frame'
163 |                     throw XMLPlistError.other("Too many nested arrays or dictionaries")
164 |                 }
165 |                 try channel.beginUnkeyedContainer(cacheKey: nil, sourceState: ())
    |                                                                               `- error: cannot convert value of type '()' to expected argument type 'XMLPlistScannerEventSource.Frame'
166 |             }
167 |         case .dict:
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScannerEventSource.swift:174:77: error: cannot convert value of type '()' to expected argument type 'XMLPlistScannerEventSource.Frame'
172 |                     throw XMLPlistError.other("Too many nested arrays or dictionaries")
173 |                 }
174 |                 try channel.beginKeyedContainer(cacheKey: nil, sourceState: ())
    |                                                                             `- error: cannot convert value of type '()' to expected argument type 'XMLPlistScannerEventSource.Frame'
175 |             }
176 |         case .key, .string:
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScannerEventSource.swift:181:55: error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
179 |                 // Empty string: simpleString marker with zero bytes.
180 |                 let empty = reader.bytes.extracting(unchecked: reader.index ..< reader.index)
181 |                 try channel.emitScalar(XMLPlistScalar.string(bytes: empty, hasEscapes: false, source: reader.bytes))
    |                                                       `- error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
182 |             } else {
183 |                 let (offset, byteCount, isSimple) = try scanStringBytes()
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScannerEventSource.swift:186:55: error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
184 |                 try checkForCloseTag(tag)
185 |                 let slice = reader.bytes.extracting(unchecked: offset ..< offset &+ byteCount)
186 |                 try channel.emitScalar(XMLPlistScalar.string(bytes: slice, hasEscapes: !isSimple, source: reader.bytes))
    |                                                       `- error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
187 |             }
188 |         case .integer:
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScannerEventSource.swift:192:51: error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
190 |             let (offset, byteCount) = try scanTypedValueBytes(closing: .integer)
191 |             let slice = reader.bytes.extracting(unchecked: offset ..< offset &+ byteCount)
192 |             try channel.emitScalar(XMLPlistScalar.integer(bytes: slice, source: reader.bytes))
    |                                                   `- error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
193 |         case .real:
194 |             guard !isEmpty else { throw XMLPlistError.unexpectedEmptyTag(.real, line: reader.lineNumber) }
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScannerEventSource.swift:197:51: error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
195 |             let (offset, byteCount) = try scanTypedValueBytes(closing: .real)
196 |             let slice = reader.bytes.extracting(unchecked: offset ..< offset &+ byteCount)
197 |             try channel.emitScalar(XMLPlistScalar.real(bytes: slice, source: reader.bytes))
    |                                                   `- error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
198 |         case .date:
199 |             guard !isEmpty else { throw XMLPlistError.unexpectedEmptyTag(.date, line: reader.lineNumber) }
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScannerEventSource.swift:202:51: error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
200 |             let (offset, byteCount) = try scanTypedValueBytes(closing: .date)
201 |             let slice = reader.bytes.extracting(unchecked: offset ..< offset &+ byteCount)
202 |             try channel.emitScalar(XMLPlistScalar.date(bytes: slice, source: reader.bytes))
    |                                                   `- error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
203 |         case .data:
204 |             guard !isEmpty else { throw XMLPlistError.unexpectedEmptyTag(.data, line: reader.lineNumber) }
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScannerEventSource.swift:207:51: error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
205 |             let (offset, byteCount) = try scanTypedValueBytes(closing: .data)
206 |             let slice = reader.bytes.extracting(unchecked: offset ..< offset &+ byteCount)
207 |             try channel.emitScalar(XMLPlistScalar.data(bytes: slice, source: reader.bytes))
    |                                                   `- error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
208 |         case .true:
209 |             if !isEmpty {
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScannerEventSource.swift:212:51: error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
210 |                 try checkForCloseTag(.true)
211 |             }
212 |             try channel.emitScalar(XMLPlistScalar.bool(true))
    |                                                   `- error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
213 |         case .false:
214 |             if !isEmpty {
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScannerEventSource.swift:217:51: error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
215 |                 try checkForCloseTag(.false)
216 |             }
217 |             try channel.emitScalar(XMLPlistScalar.bool(false))
    |                                                   `- error: cannot convert value of type 'XMLPlistScalar' to expected argument type 'XMLPlistVocabulary.Scalar'
218 |         }
219 |     }
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScannerEventSource.swift:232:33: error: cannot convert value of type 'XMLPlistKeyView' to expected argument type 'XMLPlistVocabulary.KeyView'
230 |         if isEmpty {
231 |             let empty = reader.bytes.extracting(unchecked: reader.index ..< reader.index)
232 |             try channel.parkKey(XMLPlistKeyView(bytes: empty, hasEscapes: false, source: reader.bytes))
    |                                 `- error: cannot convert value of type 'XMLPlistKeyView' to expected argument type 'XMLPlistVocabulary.KeyView'
233 |             return
234 |         }
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScannerEventSource.swift:238:29: error: cannot convert value of type 'XMLPlistKeyView' to expected argument type 'XMLPlistVocabulary.KeyView'
236 |         try checkForCloseTag(.key)
237 |         let slice = reader.bytes.extracting(unchecked: offset ..< offset &+ byteCount)
238 |         try channel.parkKey(XMLPlistKeyView(bytes: slice, hasEscapes: !isSimple, source: reader.bytes))
    |                             `- error: cannot convert value of type 'XMLPlistKeyView' to expected argument type 'XMLPlistVocabulary.KeyView'
239 |     }
240 |
/host/spi-builder-workspace/Sources/FoundationEssentials/Span+Utils.swift:219:45: error: cannot find type 'ConvertibleToBytes' in scope
217 |     }
218 |
219 |     package mutating func withOutputSpan<T: ConvertibleToBytes & ConvertibleFromBytes, E: Error, R: ~Copyable>(
    |                                             `- error: cannot find type 'ConvertibleToBytes' in scope
220 |         of type: T.Type,
221 |         _ body: (inout OutputSpan<T>) throws(E) -> R
/host/spi-builder-workspace/Sources/FoundationEssentials/Span+Utils.swift:237:38: error: cannot find type 'ConvertibleToBytes' in scope
235 | }
236 |
237 | extension OutputSpan where Element : ConvertibleToBytes & ConvertibleFromBytes {
    |                                      `- error: cannot find type 'ConvertibleToBytes' in scope
238 |     package mutating func _append(copying span: Span<Element>) {
239 |         precondition(self.freeCapacity >= span.count, "Insufficient space to copy the provided span (have space for \(self.freeCapacity) but writing \(span.count))")
/host/spi-builder-workspace/Sources/FoundationEssentials/Span+Utils.swift:70:24: error: binary operator '==' cannot be applied to two 'Element' operands
 68 |         var i = 0
 69 |         while i < count {
 70 |             if self[i] == element {
    |                        `- error: binary operator '==' cannot be applied to two 'Element' operands
 71 |                 return i
 72 |             }
/host/spi-builder-workspace/Sources/FoundationEssentials/Span+Utils.swift:80:24: error: referencing operator function '==' on 'Equatable' requires that 'Element' conform to 'Equatable'
 78 |
 79 |     func lastIndex(of element: borrowing Element) -> Int? {
 80 |         lastIndex { $0 == element }
    |                        `- error: referencing operator function '==' on 'Equatable' requires that 'Element' conform to 'Equatable'
 81 |     }
 82 |
Swift.Equatable:1:17: note: where 'Self' = 'Element'
1 | public protocol Equatable {
  |                 `- note: where 'Self' = 'Element'
2 |     static func == (lhs: Self, rhs: Self) -> Bool
3 | }
/host/spi-builder-workspace/Sources/FoundationEssentials/Span+Utils.swift:90:24: error: binary operator '!=' cannot be applied to two 'Element' operands
 88 |         var i = 0
 89 |         while i < count {
 90 |             if self[i] != other[i] {
    |                        `- error: binary operator '!=' cannot be applied to two 'Element' operands
 91 |                 return false
 92 |             }
/host/spi-builder-workspace/Sources/FoundationEssentials/Span+Utils.swift:101:24: error: binary operator '==' cannot be applied to two 'Element' operands
 99 |     func contains(_ element: borrowing Element) -> Bool {
100 |         for i in indices {
101 |             if self[i] == element {
    |                        `- error: binary operator '==' cannot be applied to two 'Element' operands
102 |                 return true
103 |             }
/host/spi-builder-workspace/Sources/FoundationEssentials/Span+Utils.swift:119:39: error: referencing operator function '==' on 'Equatable' requires that 'Element' conform to 'Equatable'
117 |         for i in 0...(count - m) {
118 |             var j = 0
119 |             while j < m, self[i &+ j] == needle[j] {
    |                                       `- error: referencing operator function '==' on 'Equatable' requires that 'Element' conform to 'Equatable'
120 |                 j &+= 1
121 |             }
Swift.Equatable:1:17: note: where 'Self' = 'Element'
1 | public protocol Equatable {
  |                 `- note: where 'Self' = 'Element'
2 |     static func == (lhs: Self, rhs: Self) -> Bool
3 | }
/host/spi-builder-workspace/Sources/FoundationEssentials/Span+Utils.swift:134:24: error: binary operator '==' cannot be applied to two 'Element' operands
132 |         var num = 0
133 |         for i in indices {
134 |             if self[i] == element {
    |                        `- error: binary operator '==' cannot be applied to two 'Element' operands
135 |                 num += 1
136 |             }
/host/spi-builder-workspace/Sources/FoundationEssentials/Span+Utils.swift:185:47: error: property 'bytes' requires that 'Element' conform to 'BitwiseCopyable'
183 |     mutating func _append<S: Sequence<Element>, Element: ConvertibleToBytes & ConvertibleFromBytes>(copying elements: S) {
184 |         let early: Void? = elements.withContiguousStorageIfAvailable { buffer in
185 |             self._append(copying: buffer.span.bytes)
    |                                               `- error: property 'bytes' requires that 'Element' conform to 'BitwiseCopyable'
186 |         }
187 |
Swift.Span:2:11: note: where 'Element' = 'Element'
1 | @available(macOS 10.14.4, iOS 12.2, watchOS 5.2, tvOS 12.2, visionOS 1.0, *)
2 | extension Span where Element : BitwiseCopyable {
  |           `- note: where 'Element' = 'Element'
3 |     public var bytes: RawSpan { get }
4 | }
/host/spi-builder-workspace/Sources/FoundationEssentials/Span+Utils.swift:301:13: error: thrown expression type 'any Error' cannot be converted to error type 'E'
299 | extension String {
300 |     package init<E>(_capacity capacity: Int, initializingWith body: (inout OutputSpan<UTF8.CodeUnit>) throws(E) -> Void) throws(E) {
301 |         try self.init(unsafeUninitializedCapacity: capacity) { buffer throws(E) in
    |             `- error: thrown expression type 'any Error' cannot be converted to error type 'E'
302 |             var outputSpan = OutputSpan(buffer: buffer, initializedCount: 0)
303 |             try body(&outputSpan)
/host/spi-builder-workspace/Sources/FoundationEssentials/Span+Utils.swift:312:22: error: for-in loop requires 'Span<Element>' to conform to 'Sequence'
310 |     package init(copying span: borrowing Span<Element>) {
311 |         self = Self.init(capacity: span.count) { outputSpan in
312 |             for e in span {
    |                      `- error: for-in loop requires 'Span<Element>' to conform to 'Sequence'
313 |                 outputSpan.append(e)
314 |             }
/host/spi-builder-workspace/Sources/FoundationEssentials/Span+Utils.swift:324:17: error: thrown expression type 'any Error' cannot be converted to error type 'E'
322 |         var result = Dictionary(minimumCapacity: keys.count)
323 |         for i in 0..<keys.count {
324 |             try result.merge(CollectionOfOne((keys[i], values[i])), uniquingKeysWith: combine)
    |                 `- error: thrown expression type 'any Error' cannot be converted to error type 'E'
325 |         }
326 |         self = result
/host/spi-builder-workspace/Sources/FoundationEssentials/String/String+IO.swift:304:38: error: value of type 'RawSpan' has no member 'load'
302 |
303 |         if len >= MemoryLayout<UInt32>.size {
304 |             let potentialBOM = bytes.load(fromByteOffset: 0, as: UInt32.self)
    |                                      `- error: value of type 'RawSpan' has no member 'load'
305 |             if potentialBOM == 0xFFFE0000 || potentialBOM == 0x0000FEFF {
306 |                 // Looks like UTF32
/host/spi-builder-workspace/Sources/FoundationEssentials/String/String+IO.swift:312:38: error: value of type 'RawSpan' has no member 'load'
310 |
311 |         if encoding == nil && len >= MemoryLayout<UInt16>.size && (len & 1) == 0 {
312 |             let potentialBOM = bytes.load(fromByteOffset: 0, as: UInt16.self)
    |                                      `- error: value of type 'RawSpan' has no member 'load'
313 |             if potentialBOM == 0xFEFF || potentialBOM == 0xFFFE {
314 |                 encoding = .unicode
[2072/2263] Compiling FoundationEssentials Conversion.swift
[2073/2263] Compiling FoundationEssentials DiscontiguousAttributedSubstring.swift
[2074/2263] Compiling FoundationEssentials FoundationAttributes.swift
[2075/2263] Compiling FoundationEssentials String.Index+ABI.swift
[2076/2263] Compiling FoundationEssentials Bundle+Stub.swift
[2077/2263] Compiling FoundationEssentials Bytes+Mutation.swift
[2078/2263] Compiling FoundationEssentials Bytes+Reading.swift
[2079/2263] Compiling FoundationEssentials Bytes.swift
[2080/2263] Compiling FoundationEssentials Data+Bytes.swift
[2081/2263] Compiling FoundationEssentials RigidBytes+Mutation.swift
[2082/2263] Compiling FoundationEssentials RigidBytes+Reading.swift
[2083/2263] Compiling FoundationEssentials RigidBytes.swift
[2084/2263] Compiling FoundationEssentials Calendar.swift
[2085/2263] Compiling FoundationEssentials CalendarConstants.swift
[2086/2263] Compiling FoundationEssentials CalendarEra.swift
[2087/2263] Compiling FoundationEssentials CalendarUtility.swift
[2088/2263] Compiling FoundationEssentials Calendar_Astronomy.swift
[2089/2263] Compiling FoundationEssentials Calendar_Autoupdating.swift
[2090/2263] Compiling FoundationEssentials Calendar_Cache.swift
[2091/2263] Compiling FoundationEssentials Calendar_Chinese.swift
[2092/2263] Compiling FoundationEssentials Calendar_Enumerate.swift
[2093/2263] Compiling FoundationEssentials Calendar_FixedMonth.swift
[2094/2263] Compiling FoundationEssentials Calendar_Gregorian.swift
[2095/2263] Compiling FoundationEssentials Calendar_Hebrew.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2096/2263] Emitting module FoundationEssentials
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:17:28: error: cannot suppress 'Copyable' requirement of an associated type
 15 | /// The event alphabet a `ParseEventSource` emits and a `ParseEventSink` consumes. Format-specific: `JSONVocabulary`, `BPlistVocabulary`, `XMLPlistVocabulary` each pair their scalar enum with their key-view type. A `Source` and `Sink` are compatible when their `Vocabulary` associated types match.
 16 | protocol ParseEventVocabulary {
 17 |     associatedtype Scalar: ~Copyable, ~Escapable
    |                            `- error: cannot suppress 'Copyable' requirement of an associated type
 18 |     associatedtype KeyView: ~Copyable, ~Escapable
 19 |     associatedtype UnkeyedContainerKind = Void
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:17:39: error: cannot suppress 'Escapable' requirement of an associated type
 15 | /// The event alphabet a `ParseEventSource` emits and a `ParseEventSink` consumes. Format-specific: `JSONVocabulary`, `BPlistVocabulary`, `XMLPlistVocabulary` each pair their scalar enum with their key-view type. A `Source` and `Sink` are compatible when their `Vocabulary` associated types match.
 16 | protocol ParseEventVocabulary {
 17 |     associatedtype Scalar: ~Copyable, ~Escapable
    |                                       `- error: cannot suppress 'Escapable' requirement of an associated type
 18 |     associatedtype KeyView: ~Copyable, ~Escapable
 19 |     associatedtype UnkeyedContainerKind = Void
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:18:29: error: cannot suppress 'Copyable' requirement of an associated type
 16 | protocol ParseEventVocabulary {
 17 |     associatedtype Scalar: ~Copyable, ~Escapable
 18 |     associatedtype KeyView: ~Copyable, ~Escapable
    |                             `- error: cannot suppress 'Copyable' requirement of an associated type
 19 |     associatedtype UnkeyedContainerKind = Void
 20 |     associatedtype KeyedContainerKind = Void
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:18:40: error: cannot suppress 'Escapable' requirement of an associated type
 16 | protocol ParseEventVocabulary {
 17 |     associatedtype Scalar: ~Copyable, ~Escapable
 18 |     associatedtype KeyView: ~Copyable, ~Escapable
    |                                        `- error: cannot suppress 'Escapable' requirement of an associated type
 19 |     associatedtype UnkeyedContainerKind = Void
 20 |     associatedtype KeyedContainerKind = Void
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:335:28: error: cannot suppress 'Copyable' requirement of an associated type
333 | /// Emits parse events into an `IterativeParsingDriver`. Every source is a tree walker: emits one top-level value, then advances frame-by-frame until the tree is exhausted.
334 | protocol ParseEventSource<Filter>: ~Copyable, ~Escapable {
335 |     associatedtype Filter: ParseEventFilter & ~Copyable = NullFilter
    |                            `- error: cannot suppress 'Copyable' requirement of an associated type
336 |     associatedtype Vocabulary: ParseEventVocabulary
337 |     /// Per-container state the source maintains for its walk. The driver stores it; the source reads/mutates via `channel.topSourceState`. Default `Void`.
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:373:28: error: cannot suppress 'Copyable' requirement of an associated type
371 |     associatedtype ValueFragment
372 |     associatedtype ContainerFragment = ValueFragment
373 |     associatedtype Output: ~Copyable
    |                            `- error: cannot suppress 'Copyable' requirement of an associated type
374 |
375 |     // Leaf events. Sink decides whether to compute and append.
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingSupport.swift:20:26: error: cannot suppress 'Copyable' requirement of an associated type
 18 | /// The `IterativeParsingDriver` will hand a `FilterView` for the appropriate depth level to the source whenever it is decoding a container's contents. The source is obligated to refer to the `FilterView` to discover what events it is allowed to emit from its source data.
 19 | protocol ParseEventFilter: ~Copyable {
 20 |     associatedtype View: FilterView & ~Copyable & ~Escapable
    |                          `- error: cannot suppress 'Copyable' requirement of an associated type
 21 |
 22 |     /// The root filter level (typically 0), or `nil` when nothing is filtered at any depth.
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingSupport.swift:20:26: error: cannot suppress 'Escapable' requirement of an associated type
 18 | /// The `IterativeParsingDriver` will hand a `FilterView` for the appropriate depth level to the source whenever it is decoding a container's contents. The source is obligated to refer to the `FilterView` to discover what events it is allowed to emit from its source data.
 19 | protocol ParseEventFilter: ~Copyable {
 20 |     associatedtype View: FilterView & ~Copyable & ~Escapable
    |                          `- error: cannot suppress 'Escapable' requirement of an associated type
 21 |
 22 |     /// The root filter level (typically 0), or `nil` when nothing is filtered at any depth.
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:26:146: error: cannot suppress 'Copyable' requirement of an associated type
 24 |
 25 | /// Drives an iterative parse: routes events from a `ParseEventSource` to a `ParseEventSink`, owns the frame stack, and dispatches to a `ParseEventFilter`.
 26 | struct IterativeParsingDriver<Source: ParseEventSource & ~Copyable & ~Escapable, Sink: ParseEventSink & ~Copyable>: ~Copyable where Source.Filter: ~Copyable {
    |                                                                                                                                                  `- error: cannot suppress 'Copyable' requirement of an associated type
 27 |     var sink: Sink
 28 |     var keysArena: UniqueArray<Sink.KeyFragment>
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:26:146: error: 'Source.Filter' required to be 'Copyable' but is marked with '~Copyable'
 24 |
 25 | /// Drives an iterative parse: routes events from a `ParseEventSource` to a `ParseEventSink`, owns the frame stack, and dispatches to a `ParseEventFilter`.
 26 | struct IterativeParsingDriver<Source: ParseEventSource & ~Copyable & ~Escapable, Sink: ParseEventSink & ~Copyable>: ~Copyable where Source.Filter: ~Copyable {
    |                                                                                                                                                  `- error: 'Source.Filter' required to be 'Copyable' but is marked with '~Copyable'
 27 |     var sink: Sink
 28 |     var keysArena: UniqueArray<Sink.KeyFragment>
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:28:20: error: cannot find type 'UniqueArray' in scope
 26 | struct IterativeParsingDriver<Source: ParseEventSource & ~Copyable & ~Escapable, Sink: ParseEventSink & ~Copyable>: ~Copyable where Source.Filter: ~Copyable {
 27 |     var sink: Sink
 28 |     var keysArena: UniqueArray<Sink.KeyFragment>
    |                    `- error: cannot find type 'UniqueArray' in scope
 29 |     var valuesArena: UniqueArray<Sink.ValueFragment>
 30 |     var frames: UniqueArray<_Frame>
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:29:22: error: cannot find type 'UniqueArray' in scope
 27 |     var sink: Sink
 28 |     var keysArena: UniqueArray<Sink.KeyFragment>
 29 |     var valuesArena: UniqueArray<Sink.ValueFragment>
    |                      `- error: cannot find type 'UniqueArray' in scope
 30 |     var frames: UniqueArray<_Frame>
 31 |     /// Set by the driver before every source call; read by `beginUnkeyedContainer`/`beginKeyedContainer` to stamp the pushed child frame's `filterLevel`. `nil` = no filter at this frame.
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:30:17: error: cannot find type 'UniqueArray' in scope
 28 |     var keysArena: UniqueArray<Sink.KeyFragment>
 29 |     var valuesArena: UniqueArray<Sink.ValueFragment>
 30 |     var frames: UniqueArray<_Frame>
    |                 `- error: cannot find type 'UniqueArray' in scope
 31 |     /// Set by the driver before every source call; read by `beginUnkeyedContainer`/`beginKeyedContainer` to stamp the pushed child frame's `filterLevel`. `nil` = no filter at this frame.
 32 |     var pendingChildFilterLevel: Int?
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:65:140: error: cannot suppress 'Copyable' requirement of an associated type
 63 | }
 64 |
 65 | extension IterativeParsingDriver where Source: ~Copyable & ~Escapable, Sink: ~Copyable, Source.Vocabulary == Sink.Vocabulary, Source.Filter: ~Copyable {
    |                                                                                                                                            `- error: cannot suppress 'Copyable' requirement of an associated type
 66 |
 67 |     consuming func runReturningSink<Filter: ParseEventFilter & ~Copyable>(source: consuming Source, filter: consuming Filter) throws -> Sink where Source.Filter == Filter {
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:65:140: error: 'Source.Filter' required to be 'Copyable' but is marked with '~Copyable'
 63 | }
 64 |
 65 | extension IterativeParsingDriver where Source: ~Copyable & ~Escapable, Sink: ~Copyable, Source.Vocabulary == Sink.Vocabulary, Source.Filter: ~Copyable {
    |                                                                                                                                            `- error: 'Source.Filter' required to be 'Copyable' but is marked with '~Copyable'
 66 |
 67 |     consuming func runReturningSink<Filter: ParseEventFilter & ~Copyable>(source: consuming Source, filter: consuming Filter) throws -> Sink where Source.Filter == Filter {
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:67:45: error: 'Filter' required to be 'Copyable' but is marked with '~Copyable'
 65 | extension IterativeParsingDriver where Source: ~Copyable & ~Escapable, Sink: ~Copyable, Source.Vocabulary == Sink.Vocabulary, Source.Filter: ~Copyable {
 66 |
 67 |     consuming func runReturningSink<Filter: ParseEventFilter & ~Copyable>(source: consuming Source, filter: consuming Filter) throws -> Sink where Source.Filter == Filter {
    |                                             `- error: 'Filter' required to be 'Copyable' but is marked with '~Copyable'
 68 |         do {
 69 |             pendingChildFilterLevel = filter.rootLevel
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:85:61: error: 'Filter' required to be 'Copyable' but is marked with '~Copyable'
 83 |
 84 |     /// One step of the outer loop: ask the source to emit the next child of the top frame (respecting `filter`); if the source declines, close the frame.
 85 |     private mutating func advanceOrFinalizeTopFrame<Filter: ParseEventFilter & ~Copyable>(source: inout Source, filter: borrowing Filter) throws where Source.Filter == Filter {
    |                                                             `- error: 'Filter' required to be 'Copyable' but is marked with '~Copyable'
 86 |         let topIdx = frames.count &- 1
 87 |         let atLevel = frames[topIdx].filterLevel
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:119:32: error: 'Filter' required to be 'Copyable' but is marked with '~Copyable'
117 |     }
118 |
119 |     consuming func run<Filter: ParseEventFilter & ~Copyable>(source: consuming Source, filter: consuming Filter) throws -> Sink.Output where Source.Filter == Filter {
    |                                `- error: 'Filter' required to be 'Copyable' but is marked with '~Copyable'
120 |         return try runReturningSink(source: source, filter: filter).takeResult()
121 |     }
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:124:1: error: no type for 'Source.Filter' can satisfy both 'Source.Filter == NullFilter' and 'Source.Filter : Copyable'
122 | }
123 |
124 | extension IterativeParsingDriver where Source: ~Copyable & ~Escapable, Sink: ~Copyable, Source.Vocabulary == Sink.Vocabulary, Source.Filter == NullFilter {
    | `- error: no type for 'Source.Filter' can satisfy both 'Source.Filter == NullFilter' and 'Source.Filter : Copyable'
125 |     consuming func runReturningSink(source: consuming Source) throws -> Sink {
126 |         try self.runReturningSink(source: source, filter: NullFilter())
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:134:102: error: cannot suppress 'Copyable' requirement of an associated type
132 | }
133 |
134 | extension IterativeParsingDriver where Source: ~Copyable & ~Escapable, Sink: ~Copyable, Source.Filter: ~Copyable {
    |                                                                                                      `- error: cannot suppress 'Copyable' requirement of an associated type
135 |     typealias Scalar = Sink.Vocabulary.Scalar
136 |     typealias KeyView = Sink.Vocabulary.KeyView
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:134:102: error: 'Source.Filter' required to be 'Copyable' but is marked with '~Copyable'
132 | }
133 |
134 | extension IterativeParsingDriver where Source: ~Copyable & ~Escapable, Sink: ~Copyable, Source.Filter: ~Copyable {
    |                                                                                                      `- error: 'Source.Filter' required to be 'Copyable' but is marked with '~Copyable'
135 |     typealias Scalar = Sink.Vocabulary.Scalar
136 |     typealias KeyView = Sink.Vocabulary.KeyView
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:313:102: error: cannot suppress 'Copyable' requirement of an associated type
311 |     mutating func beginKeyedContainer(cacheKey: Int?) throws { try beginKeyedContainer(cacheKey: cacheKey, sourceState: ()) }}
312 |
313 | extension IterativeParsingDriver where Source: ~Copyable & ~Escapable, Sink: ~Copyable, Source.Filter: ~Copyable, Sink.Vocabulary.UnkeyedContainerKind == Void {
    |                                                                                                      `- error: cannot suppress 'Copyable' requirement of an associated type
314 |     mutating func endUnkeyedContainer() throws { try endUnkeyedContainer(kind: ()) }
315 |
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:313:102: error: 'Source.Filter' required to be 'Copyable' but is marked with '~Copyable'
311 |     mutating func beginKeyedContainer(cacheKey: Int?) throws { try beginKeyedContainer(cacheKey: cacheKey, sourceState: ()) }}
312 |
313 | extension IterativeParsingDriver where Source: ~Copyable & ~Escapable, Sink: ~Copyable, Source.Filter: ~Copyable, Sink.Vocabulary.UnkeyedContainerKind == Void {
    |                                                                                                      `- error: 'Source.Filter' required to be 'Copyable' but is marked with '~Copyable'
314 |     mutating func endUnkeyedContainer() throws { try endUnkeyedContainer(kind: ()) }
315 |
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:322:102: error: cannot suppress 'Copyable' requirement of an associated type
320 | }
321 |
322 | extension IterativeParsingDriver where Source: ~Copyable & ~Escapable, Sink: ~Copyable, Source.Filter: ~Copyable, Sink.Vocabulary.KeyedContainerKind == Void {
    |                                                                                                      `- error: cannot suppress 'Copyable' requirement of an associated type
323 |     mutating func endKeyedContainer() throws { try endKeyedContainer(kind: ()) }
324 |
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:322:102: error: 'Source.Filter' required to be 'Copyable' but is marked with '~Copyable'
320 | }
321 |
322 | extension IterativeParsingDriver where Source: ~Copyable & ~Escapable, Sink: ~Copyable, Source.Filter: ~Copyable, Sink.Vocabulary.KeyedContainerKind == Void {
    |                                                                                                      `- error: 'Source.Filter' required to be 'Copyable' but is marked with '~Copyable'
323 |     mutating func endKeyedContainer() throws { try endKeyedContainer(kind: ()) }
324 |
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:359:70: error: cannot suppress 'Copyable' requirement of an associated type
357 | }
358 |
359 | extension ParseEventSource where Self: ~Copyable & ~Escapable, Filter: ~Copyable {
    |                                                                      `- error: cannot suppress 'Copyable' requirement of an associated type
360 |     mutating func finish() throws {}
361 | }
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:359:70: error: 'Self.Filter' required to be 'Copyable' but is marked with '~Copyable'
357 | }
358 |
359 | extension ParseEventSource where Self: ~Copyable & ~Escapable, Filter: ~Copyable {
    |                                                                      `- error: 'Self.Filter' required to be 'Copyable' but is marked with '~Copyable'
360 |     mutating func finish() throws {}
361 | }
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:443:18: error: cannot find type 'MutableRef' in scope
441 | /// Append-only handle over one of the driver's fragment arenas. Handed to the sink during a leaf/key/finalize call so it can push (or not) without seeing the underlying storage.
442 | struct ParseEventAccumulator<Fragment>: ~Copyable, ~Escapable {
443 |     var storage: MutableRef<UniqueArray<Fragment>>
    |                  `- error: cannot find type 'MutableRef' in scope
444 |
445 |     @_lifetime(copy storage)
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:446:29: error: cannot find type 'MutableRef' in scope
444 |
445 |     @_lifetime(copy storage)
446 |     init(storage: consuming MutableRef<UniqueArray<Fragment>>) {
    |                             `- error: cannot find type 'MutableRef' in scope
447 |         self.storage = storage
448 |     }
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingSupport.swift:88:8: error: type 'NullFilter' does not conform to protocol 'ParseEventFilter'
 18 | /// The `IterativeParsingDriver` will hand a `FilterView` for the appropriate depth level to the source whenever it is decoding a container's contents. The source is obligated to refer to the `FilterView` to discover what events it is allowed to emit from its source data.
 19 | protocol ParseEventFilter: ~Copyable {
 20 |     associatedtype View: FilterView & ~Copyable & ~Escapable
    |                    `- note: protocol requires nested type 'View'
 21 |
 22 |     /// The root filter level (typically 0), or `nil` when nothing is filtered at any depth.
    :
 86 | }
 87 |
 88 | struct NullFilter: ParseEventFilter, ~Copyable {
    |        |- error: type 'NullFilter' does not conform to protocol 'ParseEventFilter'
    |        `- note: add stubs for conformance
 89 |     typealias View = NullFilterView
    |               `- note: possibly intended match 'NullFilter.View' (aka 'NullFilterView') does not conform to 'Copyable'
 90 |     @inline(__always) var rootLevel: Int? { nil }
 91 |     @inline(__always) borrowing func nextLevel(after parentLevel: Int?) -> Int? { nil }
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/ParseEventVocabularies.swift:40:6: error: type 'JSONVocabulary' does not conform to protocol 'ParseEventVocabulary'
 38 |
 39 | /// Event alphabet shared by JSON sources and sinks.
 40 | enum JSONVocabulary: ParseEventVocabulary {
    |      |- error: type 'JSONVocabulary' does not conform to protocol 'ParseEventVocabulary'
    |      `- note: add stubs for conformance
 41 |     typealias Scalar = JSONScalar
    |               `- note: possibly intended match 'JSONVocabulary.Scalar' (aka 'JSONScalar') does not conform to 'Copyable'
 42 |     typealias KeyView = JSONKeyView
    |               `- note: possibly intended match 'JSONVocabulary.KeyView' (aka 'JSONKeyView') does not conform to 'Copyable'
 43 | }
 44 |
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:17:20: note: protocol requires nested type 'Scalar'
 15 | /// The event alphabet a `ParseEventSource` emits and a `ParseEventSink` consumes. Format-specific: `JSONVocabulary`, `BPlistVocabulary`, `XMLPlistVocabulary` each pair their scalar enum with their key-view type. A `Source` and `Sink` are compatible when their `Vocabulary` associated types match.
 16 | protocol ParseEventVocabulary {
 17 |     associatedtype Scalar: ~Copyable, ~Escapable
    |                    `- note: protocol requires nested type 'Scalar'
 18 |     associatedtype KeyView: ~Copyable, ~Escapable
    |                    `- note: protocol requires nested type 'KeyView'
 19 |     associatedtype UnkeyedContainerKind = Void
 20 |     associatedtype KeyedContainerKind = Void
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/ParseEventVocabularies.swift:77:6: error: type 'XMLPlistVocabulary' does not conform to protocol 'ParseEventVocabulary'
 75 |
 76 | /// Event alphabet shared by XML plist sources and sinks.
 77 | enum XMLPlistVocabulary: ParseEventVocabulary {
    |      |- error: type 'XMLPlistVocabulary' does not conform to protocol 'ParseEventVocabulary'
    |      `- note: add stubs for conformance
 78 |     typealias Scalar = XMLPlistScalar
    |               `- note: possibly intended match 'XMLPlistVocabulary.Scalar' (aka 'XMLPlistScalar') does not conform to 'Copyable'
 79 |     typealias KeyView = XMLPlistKeyView
    |               `- note: possibly intended match 'XMLPlistVocabulary.KeyView' (aka 'XMLPlistKeyView') does not conform to 'Copyable'
 80 | }
 81 |
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:17:20: note: protocol requires nested type 'Scalar'
 15 | /// The event alphabet a `ParseEventSource` emits and a `ParseEventSink` consumes. Format-specific: `JSONVocabulary`, `BPlistVocabulary`, `XMLPlistVocabulary` each pair their scalar enum with their key-view type. A `Source` and `Sink` are compatible when their `Vocabulary` associated types match.
 16 | protocol ParseEventVocabulary {
 17 |     associatedtype Scalar: ~Copyable, ~Escapable
    |                    `- note: protocol requires nested type 'Scalar'
 18 |     associatedtype KeyView: ~Copyable, ~Escapable
    |                    `- note: protocol requires nested type 'KeyView'
 19 |     associatedtype UnkeyedContainerKind = Void
 20 |     associatedtype KeyedContainerKind = Void
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/ParseEventVocabularies.swift:165:6: error: type 'BPlistVocabulary' does not conform to protocol 'ParseEventVocabulary'
163 |
164 | /// Event alphabet shared by bplist sources and sinks.
165 | enum BPlistVocabulary: ParseEventVocabulary {
    |      |- error: type 'BPlistVocabulary' does not conform to protocol 'ParseEventVocabulary'
    |      `- note: add stubs for conformance
166 |     typealias Scalar = BPlistScalar
    |               `- note: possibly intended match 'BPlistVocabulary.Scalar' (aka 'BPlistScalar') does not conform to 'Copyable'
167 |     typealias KeyView = BPlistKeyView
    |               `- note: possibly intended match 'BPlistVocabulary.KeyView' (aka 'BPlistKeyView') does not conform to 'Copyable'
168 |     typealias UnkeyedContainerKind = BPlistUnkeyedContainerKind
169 | }
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:17:20: note: protocol requires nested type 'Scalar'
 15 | /// The event alphabet a `ParseEventSource` emits and a `ParseEventSink` consumes. Format-specific: `JSONVocabulary`, `BPlistVocabulary`, `XMLPlistVocabulary` each pair their scalar enum with their key-view type. A `Source` and `Sink` are compatible when their `Vocabulary` associated types match.
 16 | protocol ParseEventVocabulary {
 17 |     associatedtype Scalar: ~Copyable, ~Escapable
    |                    `- note: protocol requires nested type 'Scalar'
 18 |     associatedtype KeyView: ~Copyable, ~Escapable
    |                    `- note: protocol requires nested type 'KeyView'
 19 |     associatedtype UnkeyedContainerKind = Void
 20 |     associatedtype KeyedContainerKind = Void
/host/spi-builder-workspace/Sources/FoundationEssentials/Span+Utils.swift:183:58: error: cannot find type 'ConvertibleToBytes' in scope
181 |     }
182 |
183 |     mutating func _append<S: Sequence<Element>, Element: ConvertibleToBytes & ConvertibleFromBytes>(copying elements: S) {
    |                                                          `- error: cannot find type 'ConvertibleToBytes' in scope
184 |         let early: Void? = elements.withContiguousStorageIfAvailable { buffer in
185 |             self._append(copying: buffer.span.bytes)
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSON5Scanner.swift:27:23: error: cannot find 'UniqueArray' in scope
  25 |
  26 |     struct JSONPartialMapData: ~Copyable {
  27 |         var mapData = UniqueArray<Int>()
     |                       `- error: cannot find 'UniqueArray' in scope
  28 |         var prevMapDataSize = 0
  29 |
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:477:16: error: any Apple OS requires '-enable-experimental-feature AnyAppleOSAvailability'
 475 |     }
 476 |
 477 |     @available(anyAppleOS 26.0, *)
     |                `- error: any Apple OS requires '-enable-experimental-feature AnyAppleOSAvailability'
 478 |     private func _decodePrimitive<T>(_ unwrap: (JSONDecoderImpl, JSONPrimitiveScope) throws -> T, from data: Data) throws -> T {
 479 |         do {
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoder.swift:527:16: error: any Apple OS requires '-enable-experimental-feature AnyAppleOSAvailability'
 525 |     }
 526 |
 527 |     @available(anyAppleOS 26.0, *)
     |                `- error: any Apple OS requires '-enable-experimental-feature AnyAppleOSAvailability'
 528 |     private static func _scanJSONMap<Mode: JSONScannerMode>(_ mode: Mode.Type, sourceSpan: Span<UInt8>, assumesTopLevelDict: Bool) throws -> JSONMap {
 529 |         var scannerOptions = JSONScannerEventSource<Mode>.Options()
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoderImpl.swift:21:12: error: any Apple OS requires '-enable-experimental-feature AnyAppleOSAvailability'
  19 | // MARK: - JSONDecoderImpl
  20 |
  21 | @available(anyAppleOS 26.0, *)
     |            `- error: any Apple OS requires '-enable-experimental-feature AnyAppleOSAvailability'
  22 | internal class JSONDecoderImpl {
  23 |
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoderImpl.swift:25:16: error: any Apple OS requires '-enable-experimental-feature AnyAppleOSAvailability'
  23 |
  24 |     /// Shared decoding state for a JSON payload on the primitive-decoder path. One instance per `JSONDecoder.decode(_:)` call; all `JSONDecoderImpl` instances spawned during that call (root, super-decoders, and any sub-scoped decoders) hold the same document via ARC.
  25 |     @available(anyAppleOS 26.0, *)
     |                `- error: any Apple OS requires '-enable-experimental-feature AnyAppleOSAvailability'
  26 |     internal final class Document {
  27 |         let userInfo: [CodingUserInfoKey: Any]
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoderImpl.swift:78:17: error: cannot find type 'UniqueArray' in scope
  76 |
  77 |     /// The active scope stack; `topValue` is the currently-decoding scope.
  78 |     var values: UniqueArray<JSONPrimitiveScope>
     |                 `- error: cannot find type 'UniqueArray' in scope
  79 |
  80 |     var codingPathNode: _CodingPathNode
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoderImpl.swift:122:12: error: any Apple OS requires '-enable-experimental-feature AnyAppleOSAvailability'
 120 | // MARK: - Type inspection helpers
 121 |
 122 | @available(anyAppleOS 26.0, *)
     |            `- error: any Apple OS requires '-enable-experimental-feature AnyAppleOSAvailability'
 123 | extension JSONDecoderImpl {
 124 |
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoderImpl.swift:149:12: error: any Apple OS requires '-enable-experimental-feature AnyAppleOSAvailability'
 147 | // MARK: - Error construction + not-null guard
 148 |
 149 | @available(anyAppleOS 26.0, *)
     |            `- error: any Apple OS requires '-enable-experimental-feature AnyAppleOSAvailability'
 150 | extension JSONDecoderImpl {
 151 |
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoderImpl.swift:183:12: error: any Apple OS requires '-enable-experimental-feature AnyAppleOSAvailability'
 181 | // MARK: - Leaf unwraps
 182 |
 183 | @available(anyAppleOS 26.0, *)
     |            `- error: any Apple OS requires '-enable-experimental-feature AnyAppleOSAvailability'
 184 | extension JSONDecoderImpl {
 185 |
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoderImpl.swift:483:12: error: any Apple OS requires '-enable-experimental-feature AnyAppleOSAvailability'
 481 | // MARK: - Decoder conformance
 482 |
 483 | @available(anyAppleOS 26.0, *)
     |            `- error: any Apple OS requires '-enable-experimental-feature AnyAppleOSAvailability'
 484 | extension JSONDecoderImpl: Decoder {
 485 |
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoderImpl.swift:516:12: error: any Apple OS requires '-enable-experimental-feature AnyAppleOSAvailability'
 514 | // MARK: - SingleValueDecodingContainer
 515 |
 516 | @available(anyAppleOS 26.0, *)
     |            `- error: any Apple OS requires '-enable-experimental-feature AnyAppleOSAvailability'
 517 | extension JSONDecoderImpl: SingleValueDecodingContainer {
 518 |
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoderImpl.swift:564:12: error: any Apple OS requires '-enable-experimental-feature AnyAppleOSAvailability'
 562 | // MARK: - Dictionary specialization (for KeyDecodingStrategy carve-out)
 563 |
 564 | @available(anyAppleOS 26.0, *)
     |            `- error: any Apple OS requires '-enable-experimental-feature AnyAppleOSAvailability'
 565 | extension JSONDecoderImpl {
 566 |
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoderImpl.swift:607:12: error: any Apple OS requires '-enable-experimental-feature AnyAppleOSAvailability'
 605 | // MARK: - KeyedContainer_Primitive
 606 |
 607 | @available(anyAppleOS 26.0, *)
     |            `- error: any Apple OS requires '-enable-experimental-feature AnyAppleOSAvailability'
 608 | extension JSONDecoderImpl {
 609 |
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONDecoderImpl.swift:807:12: error: any Apple OS requires '-enable-experimental-feature AnyAppleOSAvailability'
 805 | // MARK: - UnkeyedContainer_Primitive
 806 |
 807 | @available(anyAppleOS 26.0, *)
     |            `- error: any Apple OS requires '-enable-experimental-feature AnyAppleOSAvailability'
 808 | extension JSONDecoderImpl {
 809 |
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONMap.swift:97:18: error: cannot find type 'UniqueArray' in scope
 95 |     typealias Value = JSONMapValue
 96 |
 97 |     let records: UniqueArray<Int>
    |                  `- error: cannot find type 'UniqueArray' in scope
 98 |
 99 |     init(records: consuming UniqueArray<Int>) {
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONMap.swift:99:29: error: cannot find type 'UniqueArray' in scope
 97 |     let records: UniqueArray<Int>
 98 |
 99 |     init(records: consuming UniqueArray<Int>) {
    |                             `- error: cannot find type 'UniqueArray' in scope
100 |         self.records = records
101 |     }
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONMapBuildingSink.swift:22:18: error: cannot find type 'UniqueArray' in scope
 20 |
 21 |     /// The flat record buffer, handed off to the produced `JSONMap` at `takeResult`.
 22 |     var mapData: UniqueArray<Int>
    |                  `- error: cannot find type 'UniqueArray' in scope
 23 |     /// Back-patch stack of `nextSiblingOffset` slot indices, one per open container.
 24 |     var openHeaderSlots: UniqueArray<Int>
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONMapBuildingSink.swift:24:26: error: cannot find type 'UniqueArray' in scope
 22 |     var mapData: UniqueArray<Int>
 23 |     /// Back-patch stack of `nextSiblingOffset` slot indices, one per open container.
 24 |     var openHeaderSlots: UniqueArray<Int>
    |                          `- error: cannot find type 'UniqueArray' in scope
 25 |     /// Per-open-container value-record count, parallel to `openHeaderSlots`. Dicts store `2 × count` on finalize; keys don't bump, the paired value's event does.
 26 |     var openChildCounts: UniqueArray<Int>
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONMapBuildingSink.swift:26:26: error: cannot find type 'UniqueArray' in scope
 24 |     var openHeaderSlots: UniqueArray<Int>
 25 |     /// Per-open-container value-record count, parallel to `openHeaderSlots`. Dicts store `2 × count` on finalize; keys don't bump, the paired value's event does.
 26 |     var openChildCounts: UniqueArray<Int>
    |                          `- error: cannot find type 'UniqueArray' in scope
 27 |
 28 |     init(sourceBytes: borrowing Span<UInt8>) {
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONMapBuildingSink.swift:16:8: error: type 'JSONMapBuildingSink' does not conform to protocol 'ParseEventSink'
 14 |
 15 | /// `ParseEventSink` that builds a `JSONMap`: the flat-`Int` array record buffer format that describes the structure of a JSON document.
 16 | struct JSONMapBuildingSink: ParseEventSink, ~Copyable {
    |        |- error: type 'JSONMapBuildingSink' does not conform to protocol 'ParseEventSink'
    |        `- note: add stubs for conformance
 17 |     typealias Vocabulary = JSONVocabulary
 18 |     typealias ValueFragment = Void
 19 |     typealias Output = JSONMap
    |               `- note: possibly intended match 'JSONMapBuildingSink.Output' (aka 'JSONMap') does not conform to 'Copyable'
 20 |
 21 |     /// The flat record buffer, handed off to the produced `JSONMap` at `takeResult`.
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:373:20: note: protocol requires nested type 'Output'
371 |     associatedtype ValueFragment
372 |     associatedtype ContainerFragment = ValueFragment
373 |     associatedtype Output: ~Copyable
    |                    `- note: protocol requires nested type 'Output'
374 |
375 |     // Leaf events. Sink decides whether to compute and append.
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONMapBuildingSink.swift:140:11: error: cannot find type 'UniqueArray' in scope
138 | }
139 |
140 | extension UniqueArray {
    |           `- error: cannot find type 'UniqueArray' in scope
141 |     @inline(__always)
142 |     mutating func append<let count: Int>(copyingInline array: [count of Element]) {
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONPrimitive.swift:64:14: error: cannot find type 'Ref' in scope
 62 |
 63 |     /// Borrowed reference to the parsed JSON map.
 64 |     let map: Ref<JSONMap>
    |              `- error: cannot find type 'Ref' in scope
 65 |
 66 |     /// The source JSON bytes, borrowed from the document's data lock.
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONPrimitive.swift:78:28: error: cannot find type 'Ref' in scope
 76 |
 77 |     @_lifetime(copy mapRef, copy jsonBytes)
 78 |     init(mapRef: consuming Ref<JSONMap>, jsonBytes: RawSpan, mapOffset: Int) {
    |                            `- error: cannot find type 'Ref' in scope
 79 |         self.map = mapRef
 80 |         self.jsonBytes = jsonBytes
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONPrimitive.swift:178:18: error: cannot find type 'Ref' in scope
176 |     /// Iterator over the children of a `.array` primitive.
177 |     internal struct ArrayIterator: ~Escapable, ~Sendable {
178 |         let map: Ref<JSONMap>
    |                  `- error: cannot find type 'Ref' in scope
179 |         let jsonBytes: RawSpan
180 |         let count: Int
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONPrimitive.swift:185:22: error: cannot find type 'Ref' in scope
183 |
184 |         @_lifetime(copy mapRef, copy jsonBytes)
185 |         init(mapRef: Ref<JSONMap>, jsonBytes: RawSpan, startOffset: Int, count: Int) {
    |                      `- error: cannot find type 'Ref' in scope
186 |             self.map = mapRef
187 |             self.jsonBytes = jsonBytes
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONPrimitive.swift:177:48: error: '~Sendable' requires -enable-experimental-feature TildeSendable
175 |
176 |     /// Iterator over the children of a `.array` primitive.
177 |     internal struct ArrayIterator: ~Escapable, ~Sendable {
    |                                                `- error: '~Sendable' requires -enable-experimental-feature TildeSendable
178 |         let map: Ref<JSONMap>
179 |         let jsonBytes: RawSpan
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONPrimitive.swift:219:18: error: cannot find type 'Ref' in scope
217 |     /// Iterator over key-value pairs of an `.object` primitive, in source order. `KeyValuePair` records offsets; primitive views are constructed on demand via `key(of:)` / `value(of:)`.
218 |     internal struct DictionaryIterator: ~Escapable, ~Sendable {
219 |         let map: Ref<JSONMap>
    |                  `- error: cannot find type 'Ref' in scope
220 |         let jsonBytes: RawSpan
221 |         let count: Int
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONPrimitive.swift:231:22: error: cannot find type 'Ref' in scope
229 |
230 |         @_lifetime(copy mapRef, copy jsonBytes)
231 |         init(mapRef: Ref<JSONMap>, jsonBytes: RawSpan, startOffset: Int, count: Int) {
    |                      `- error: cannot find type 'Ref' in scope
232 |             self.map = mapRef
233 |             self.jsonBytes = jsonBytes
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONPrimitive.swift:218:53: error: '~Sendable' requires -enable-experimental-feature TildeSendable
216 |
217 |     /// Iterator over key-value pairs of an `.object` primitive, in source order. `KeyValuePair` records offsets; primitive views are constructed on demand via `key(of:)` / `value(of:)`.
218 |     internal struct DictionaryIterator: ~Escapable, ~Sendable {
    |                                                     `- error: '~Sendable' requires -enable-experimental-feature TildeSendable
219 |         let map: Ref<JSONMap>
220 |         let jsonBytes: RawSpan
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONPrimitive.swift:61:44: error: '~Sendable' requires -enable-experimental-feature TildeSendable
 59 | }
 60 |
 61 | internal struct JSONPrimitive: ~Escapable, ~Sendable {
    |                                            `- error: '~Sendable' requires -enable-experimental-feature TildeSendable
 62 |
 63 |     /// Borrowed reference to the parsed JSON map.
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONPrimitiveSource.swift:31:8: error: type 'JSONPrimitiveSource' does not conform to protocol 'ParseEventSource'
 29 | // MARK: - JSONPrimitiveSource
 30 |
 31 | struct JSONPrimitiveSource: ParseEventSource, ~Copyable, ~Escapable {
    |        `- error: type 'JSONPrimitiveSource' does not conform to protocol 'ParseEventSource'
 32 |     typealias Vocabulary = JSONVocabulary
 33 |     typealias Frame = JSONSourceFrame
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:335:20: note: default type 'NullFilter' for associated type 'Filter' (from protocol 'ParseEventSource') does not conform to 'Copyable'
333 | /// Emits parse events into an `IterativeParsingDriver`. Every source is a tree walker: emits one top-level value, then advances frame-by-frame until the tree is exhausted.
334 | protocol ParseEventSource<Filter>: ~Copyable, ~Escapable {
335 |     associatedtype Filter: ParseEventFilter & ~Copyable = NullFilter
    |                    `- note: default type 'NullFilter' for associated type 'Filter' (from protocol 'ParseEventSource') does not conform to 'Copyable'
336 |     associatedtype Vocabulary: ParseEventVocabulary
337 |     /// Per-container state the source maintains for its walk. The driver stores it; the source reads/mutates via `channel.topSourceState`. Default `Void`.
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONScanner.swift:156:23: error: cannot find 'UniqueArray' in scope
 154 |
 155 |     struct JSONPartialMapData: ~Copyable {
 156 |         var mapData = UniqueArray<Int>()
     |                       `- error: cannot find 'UniqueArray' in scope
 157 |         var prevMapDataSize = 0
 158 |
/host/spi-builder-workspace/Sources/FoundationEssentials/JSON/JSONScannerEventSource.swift:34:8: error: type 'JSONScannerEventSource<Mode>' does not conform to protocol 'ParseEventSource'
 32 |
 33 | /// `ParseEventSource` that walks a JSON byte buffer and emits events into an `IterativeParsingDriver`. JSON5 vs strict JSON is a compile-time distinction via the `Mode` type parameter; the two specializations share source but produce independent, tightly-optimized code.
 34 | struct JSONScannerEventSource<Mode: JSONScannerMode>: ParseEventSource<NullFilter>, ~Copyable, ~Escapable {
    |        `- error: type 'JSONScannerEventSource<Mode>' does not conform to protocol 'ParseEventSource'
 35 |     typealias Vocabulary = JSONVocabulary
 36 |     typealias Frame = JSONEventScannerFrame
FoundationEssentials.JSONScannerEventSource.Filter:2:70: note: possibly intended match 'JSONScannerEventSource<Mode>.Filter' (aka 'NullFilter') does not conform to 'Copyable'
1 | generic struct JSONScannerEventSource {
2 | internal typealias FoundationEssentials.JSONScannerEventSource<Mode>.Filter = FoundationEssentials.NullFilter}
  |                                                                      `- note: possibly intended match 'JSONScannerEventSource<Mode>.Filter' (aka 'NullFilter') does not conform to 'Copyable'
3 |
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:335:20: note: protocol requires nested type 'Filter'
333 | /// Emits parse events into an `IterativeParsingDriver`. Every source is a tree walker: emits one top-level value, then advances frame-by-frame until the tree is exhausted.
334 | protocol ParseEventSource<Filter>: ~Copyable, ~Escapable {
335 |     associatedtype Filter: ParseEventFilter & ~Copyable = NullFilter
    |                    `- note: protocol requires nested type 'Filter'
336 |     associatedtype Vocabulary: ParseEventVocabulary
337 |     /// Per-container state the source maintains for its walk. The driver stores it; the source reads/mutates via `channel.topSourceState`. Default `Void`.
/host/spi-builder-workspace/Sources/FoundationEssentials/Platform.swift:445:24: warning: static property 'cLocale' is not concurrency-safe because non-'Sendable' type 'locale_t' (aka 'OpaquePointer') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
443 |     // No C locale
444 |     #else
445 |     private static let cLocale: locale_t = {
    |                        |- warning: static property 'cLocale' is not concurrency-safe because non-'Sendable' type 'locale_t' (aka 'OpaquePointer') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                        |- note: add '@MainActor' to make static property 'cLocale' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
446 |         newlocale(_stringshims_LC_ALL_MASK(), "C", locale_t(bitPattern: 0))!
447 |     }()
Swift.OpaquePointer:1:23: note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct OpaquePointer {
  |                       `- note: struct 'OpaquePointer' does not conform to the 'Sendable' protocol
2 | }
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/BPlistDecodingDocument.swift:21:12: error: any Apple OS requires '-enable-experimental-feature AnyAppleOSAvailability'
 19 | ///
 20 | /// Holds `bytes` unowned at init; `copyInBuffer()` allocates a fresh copy the class owns and switches `bytes` over. `deinit` deallocates the owned copy. `withPrimitive(for:)` opens `bytes` as a `RawSpan` per-call.
 21 | @available(anyAppleOS 26.0, *)
    |            `- error: any Apple OS requires '-enable-experimental-feature AnyAppleOSAvailability'
 22 | final class BPlistDecodingDocument: PlistDecodingDocument {
 23 |
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/PlistDecoderGeneric.swift:19:40: error: cannot suppress 'Copyable' requirement of an associated type
 17 |     associatedtype ContainedValueReference
 18 |
 19 |     associatedtype DictionaryIterator: PlistDictionaryIterator<ContainedValueReference> & ~Copyable & ~Escapable
    |                                        `- error: cannot suppress 'Copyable' requirement of an associated type
 20 |     associatedtype ArrayIterator: PlistArrayIterator<ContainedValueReference>
 21 |
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/PlistDecoderGeneric.swift:19:40: error: cannot suppress 'Escapable' requirement of an associated type
 17 |     associatedtype ContainedValueReference
 18 |
 19 |     associatedtype DictionaryIterator: PlistDictionaryIterator<ContainedValueReference> & ~Copyable & ~Escapable
    |                                        `- error: cannot suppress 'Escapable' requirement of an associated type
 20 |     associatedtype ArrayIterator: PlistArrayIterator<ContainedValueReference>
 21 |
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/BPlistDecodingDocument.swift:22:13: error: type 'BPlistDecodingDocument' does not conform to protocol 'PlistDecodingDocument'
 20 | /// Holds `bytes` unowned at init; `copyInBuffer()` allocates a fresh copy the class owns and switches `bytes` over. `deinit` deallocates the owned copy. `withPrimitive(for:)` opens `bytes` as a `RawSpan` per-call.
 21 | @available(anyAppleOS 26.0, *)
 22 | final class BPlistDecodingDocument: PlistDecodingDocument {
    |             |- error: type 'BPlistDecodingDocument' does not conform to protocol 'PlistDecodingDocument'
    |             `- note: add stubs for conformance
 23 |
 24 |     typealias Value = BPlistPrimitiveScope
    :
105 |     /// Iterator returned by `BPlistDecodingFormat.container(keyedBy:)`.
106 |     /// All KeyedDecodingContainers enumerate all dictionary entries to "stringify" keys and resolve duplicates. Hence, this iterator can be ~Escapable and wrap a `BPlistPrimitive.DictionaryIterator` directly.
107 |     struct DictionaryIterator: PlistDictionaryIterator, ~Copyable, ~Escapable {
    |            `- note: possibly intended match 'BPlistDecodingDocument.DictionaryIterator' does not conform to 'Copyable'
108 |         var iterator: BPlistPrimitive.DictionaryIterator
109 |
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/PlistDecoderGeneric.swift:19:20: note: protocol requires nested type 'DictionaryIterator'
 17 |     associatedtype ContainedValueReference
 18 |
 19 |     associatedtype DictionaryIterator: PlistDictionaryIterator<ContainedValueReference> & ~Copyable & ~Escapable
    |                    `- note: protocol requires nested type 'DictionaryIterator'
 20 |     associatedtype ArrayIterator: PlistArrayIterator<ContainedValueReference>
 21 |
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/BPlistDecodingFormat.swift:19:12: error: any Apple OS requires '-enable-experimental-feature AnyAppleOSAvailability'
 17 |
 18 | /// `PlistDecodingFormat` conformer plugging `BPlistDecodingDocument` into the generic `_PlistDecoder<Format>` machinery. `Document.Value` is a scope; unwrap methods open `document.withPrimitive(for:)` to reconstitute the `BPlistPrimitive` for the closure's duration.
 19 | @available(anyAppleOS 26.0, *)
    |            `- error: any Apple OS requires '-enable-experimental-feature AnyAppleOSAvailability'
 20 | struct BPlistDecodingFormat: PlistDecodingFormat {
 21 |     typealias Document = BPlistDecodingDocument
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/BPlistPrimitive.swift:25:60: error: '~Sendable' requires -enable-experimental-feature TildeSendable
  23 |
  24 | // The top-level type for obtaining BPlistMetadata values from binary plist data. Lives primarily to be the concrete storage of BPlistMetadata.
  25 | internal struct BinaryPropertyList: ~Escapable, ~Copyable, ~Sendable {
     |                                                            `- error: '~Sendable' requires -enable-experimental-feature TildeSendable
  26 |     let rawTrailer: BPlistTrailer
  27 |     let metadata: BPlistMetadata
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/BPlistPrimitive.swift:315:46: error: '~Sendable' requires -enable-experimental-feature TildeSendable
 313 | }
 314 |
 315 | internal struct BPlistPrimitive: ~Escapable, ~Sendable {
     |                                              `- error: '~Sendable' requires -enable-experimental-feature TildeSendable
 316 |     let metadata: BPlistMetadata
 317 |     let bplistData: RawSpan
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/BPlistPrimitiveSource.swift:35:8: error: type 'BPlistPrimitiveSource<Filter>' does not conform to protocol 'ParseEventSource'
 33 |
 34 | /// Event source the encapsulates and walks through the contents of a `BPlistPrimitive`, emitting events in depth-first-search order.
 35 | struct BPlistPrimitiveSource<Filter: ParseEventFilter & ~Copyable>: ParseEventSource<Filter>, ~Copyable, ~Escapable {
    |        `- error: type 'BPlistPrimitiveSource<Filter>' does not conform to protocol 'ParseEventSource'
 36 |     typealias Vocabulary = BPlistVocabulary
 37 |     typealias Frame = BPlistSourceFrame
FoundationEssentials.BPlistPrimitiveSource.Filter:2:71: note: possibly intended match 'BPlistPrimitiveSource<Filter>.Filter' (aka 'Filter') does not conform to 'Copyable'
1 | generic struct BPlistPrimitiveSource {
2 | internal typealias FoundationEssentials.BPlistPrimitiveSource<Filter>.Filter = Filter}
  |                                                                       `- note: possibly intended match 'BPlistPrimitiveSource<Filter>.Filter' (aka 'Filter') does not conform to 'Copyable'
3 |
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:335:20: note: protocol requires nested type 'Filter'
333 | /// Emits parse events into an `IterativeParsingDriver`. Every source is a tree walker: emits one top-level value, then advances frame-by-frame until the tree is exhausted.
334 | protocol ParseEventSource<Filter>: ~Copyable, ~Escapable {
335 |     associatedtype Filter: ParseEventFilter & ~Copyable = NullFilter
    |                    `- note: protocol requires nested type 'Filter'
336 |     associatedtype Vocabulary: ParseEventVocabulary
337 |     /// Per-container state the source maintains for its walk. The driver stores it; the source reads/mutates via `channel.topSourceState`. Default `Void`.
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistDecodingDocument.swift:21:12: error: any Apple OS requires '-enable-experimental-feature AnyAppleOSAvailability'
 19 | ///
 20 | /// Holds `bytes` unowned at init; `copyInBuffer()` allocates a fresh copy the class owns and switches `bytes` over. `deinit` deallocates the owned copy.
 21 | @available(anyAppleOS 26.0, *)
    |            `- error: any Apple OS requires '-enable-experimental-feature AnyAppleOSAvailability'
 22 | final class XMLPlistDecodingDocument: PlistDecodingDocument {
 23 |
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:278:18: error: cannot find type 'Ref' in scope
 276 |     /// Iterator over key-value pairs of a `.dict` primitive. Emits pairs in source order. `KeyValuePair` is a bare `(keyOffset, valueOffset)` record; primitive views are constructed on demand so they share a single lifetime tied to the enclosing iterator.
 277 |     internal struct DictionaryIterator: ~Escapable, ~Sendable {
 278 |         let map: Ref<XMLPlistMap>
     |                  `- error: cannot find type 'Ref' in scope
 279 |         let sourceBytes: RawSpan
 280 |         let count: Int
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistDecodingDocument.swift:22:13: error: type 'XMLPlistDecodingDocument' does not conform to protocol 'PlistDecodingDocument'
 20 | /// Holds `bytes` unowned at init; `copyInBuffer()` allocates a fresh copy the class owns and switches `bytes` over. `deinit` deallocates the owned copy.
 21 | @available(anyAppleOS 26.0, *)
 22 | final class XMLPlistDecodingDocument: PlistDecodingDocument {
    |             |- error: type 'XMLPlistDecodingDocument' does not conform to protocol 'PlistDecodingDocument'
    |             `- note: add stubs for conformance
 23 |
 24 |     typealias Value = XMLPlistPrimitiveScope
    :
 98 |     /// Iterator returned by `XMLPlistDecodingFormat.container(keyedBy:)`.
 99 |     /// All KeyedDecodingContainers enumerate all dictionary entries to "stringify" keys and resolve duplicates. Hence, this iterator can be ~Escapable and wrap an `XMLPlistPrimitive.DictionaryIterator` directly.
100 |     struct DictionaryIterator: PlistDictionaryIterator, ~Copyable, ~Escapable {
    |            `- note: possibly intended match 'XMLPlistDecodingDocument.DictionaryIterator' does not conform to 'Copyable'
101 |         var iterator: XMLPlistPrimitive.DictionaryIterator
102 |
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/PlistDecoderGeneric.swift:19:20: note: protocol requires nested type 'DictionaryIterator'
 17 |     associatedtype ContainedValueReference
 18 |
 19 |     associatedtype DictionaryIterator: PlistDictionaryIterator<ContainedValueReference> & ~Copyable & ~Escapable
    |                    `- note: protocol requires nested type 'DictionaryIterator'
 20 |     associatedtype ArrayIterator: PlistArrayIterator<ContainedValueReference>
 21 |
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistDecodingFormat.swift:17:12: error: any Apple OS requires '-enable-experimental-feature AnyAppleOSAvailability'
 15 |
 16 | /// `PlistDecodingFormat` conformer plugging `XMLPlistDecodingDocument` into the generic `_PlistDecoder<Format>` machinery. Errors thrown by the primitive layer (`XMLPlistError`) are translated to `DecodingError` at the boundary via `_translatePrimitiveError`.
 17 | @available(anyAppleOS 26.0, *)
    |            `- error: any Apple OS requires '-enable-experimental-feature AnyAppleOSAvailability'
 18 | struct XMLPlistDecodingFormat: PlistDecodingFormat {
 19 |     typealias Document = XMLPlistDecodingDocument
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistMap.swift:138:18: error: cannot find type 'UniqueArray' in scope
136 |     typealias Value = XMLPlistMapValue
137 |
138 |     let records: UniqueArray<Int>
    |                  `- error: cannot find type 'UniqueArray' in scope
139 |
140 |     init(records: consuming UniqueArray<Int>) {
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistMap.swift:140:29: error: cannot find type 'UniqueArray' in scope
138 |     let records: UniqueArray<Int>
139 |
140 |     init(records: consuming UniqueArray<Int>) {
    |                             `- error: cannot find type 'UniqueArray' in scope
141 |         self.records = records
142 |     }
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistMapBuildingSink.swift:57:18: error: cannot find type 'UniqueArray' in scope
 55 |
 56 |     /// The flat record buffer, handed off to the produced `XMLPlistMap` at `takeResult`.
 57 |     var mapData: UniqueArray<Int>
    |                  `- error: cannot find type 'UniqueArray' in scope
 58 |     private var openContainers: UniqueArray<OpenContainer>
 59 |
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistMapBuildingSink.swift:58:33: error: cannot find type 'UniqueArray' in scope
 56 |     /// The flat record buffer, handed off to the produced `XMLPlistMap` at `takeResult`.
 57 |     var mapData: UniqueArray<Int>
 58 |     private var openContainers: UniqueArray<OpenContainer>
    |                                 `- error: cannot find type 'UniqueArray' in scope
 59 |
 60 |     init(sourceBytes: borrowing Span<UInt8>) {
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistMapBuildingSink.swift:18:8: error: type 'XMLPlistMapBuildingSink' does not conform to protocol 'ParseEventSink'
 16 |
 17 | // `ParseEventSink` that builds an `XMLPlistMap`.
 18 | struct XMLPlistMapBuildingSink: ParseEventSink, ~Copyable {
    |        |- error: type 'XMLPlistMapBuildingSink' does not conform to protocol 'ParseEventSink'
    |        `- note: add stubs for conformance
 19 |     typealias Vocabulary = XMLPlistVocabulary
 20 |     typealias ValueFragment = Void
 21 |     typealias Output = XMLPlistMap
    |               `- note: possibly intended match 'XMLPlistMapBuildingSink.Output' (aka 'XMLPlistMap') does not conform to 'Copyable'
 22 |
 23 |     /// Bookkeeping for a container that's been opened but not yet finalized.
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:373:20: note: protocol requires nested type 'Output'
371 |     associatedtype ValueFragment
372 |     associatedtype ContainerFragment = ValueFragment
373 |     associatedtype Output: ~Copyable
    |                    `- note: protocol requires nested type 'Output'
374 |
375 |     // Leaf events. Sink decides whether to compute and append.
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:22:57: error: '~Sendable' requires -enable-experimental-feature TildeSendable
  20 |
  21 | /// Top-level entry for producing `XMLPlistPrimitive`s from a raw XML property list buffer.
  22 | internal struct XMLPropertyList: ~Escapable, ~Copyable, ~Sendable {
     |                                                         `- error: '~Sendable' requires -enable-experimental-feature TildeSendable
  23 |     let map: XMLPlistMap
  24 |     let sourceBytes: RawSpan
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:61:14: error: cannot find type 'Ref' in scope
  59 |
  60 | internal struct XMLPlistPrimitive: ~Escapable, ~Sendable {
  61 |     let map: Ref<XMLPlistMap>
     |              `- error: cannot find type 'Ref' in scope
  62 |     let sourceBytes: RawSpan
  63 |     let mapOffset: XMLPlistMapOffset
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:71:28: error: cannot find type 'Ref' in scope
  69 |
  70 |     @_lifetime(copy mapRef, copy sourceBytes)
  71 |     init(mapRef: consuming Ref<XMLPlistMap>, sourceBytes: RawSpan, mapOffset: XMLPlistMapOffset) {
     |                            `- error: cannot find type 'Ref' in scope
  72 |         self.map = mapRef
  73 |         self.sourceBytes = sourceBytes
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:237:18: error: cannot find type 'Ref' in scope
 235 |     /// Iterator over the children of a `.array` primitive. Walks the inline records via record-length arithmetic.
 236 |     internal struct ArrayIterator: ~Escapable, ~Sendable {
 237 |         let map: Ref<XMLPlistMap>
     |                  `- error: cannot find type 'Ref' in scope
 238 |         let sourceBytes: RawSpan
 239 |         let count: Int
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:244:22: error: cannot find type 'Ref' in scope
 242 |
 243 |         @_lifetime(copy mapRef, copy sourceBytes)
 244 |         init(mapRef: Ref<XMLPlistMap>, sourceBytes: RawSpan, startOffset: XMLPlistMapOffset, count: Int) {
     |                      `- error: cannot find type 'Ref' in scope
 245 |             self.map = mapRef
 246 |             self.sourceBytes = sourceBytes
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:236:48: error: '~Sendable' requires -enable-experimental-feature TildeSendable
 234 |
 235 |     /// Iterator over the children of a `.array` primitive. Walks the inline records via record-length arithmetic.
 236 |     internal struct ArrayIterator: ~Escapable, ~Sendable {
     |                                                `- error: '~Sendable' requires -enable-experimental-feature TildeSendable
 237 |         let map: Ref<XMLPlistMap>
 238 |         let sourceBytes: RawSpan
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:290:22: error: cannot find type 'Ref' in scope
 288 |
 289 |         @_lifetime(copy mapRef, copy sourceBytes)
 290 |         init(mapRef: Ref<XMLPlistMap>, sourceBytes: RawSpan, startOffset: XMLPlistMapOffset, count: Int) {
     |                      `- error: cannot find type 'Ref' in scope
 291 |             self.map = mapRef
 292 |             self.sourceBytes = sourceBytes
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:277:53: error: '~Sendable' requires -enable-experimental-feature TildeSendable
 275 |
 276 |     /// Iterator over key-value pairs of a `.dict` primitive. Emits pairs in source order. `KeyValuePair` is a bare `(keyOffset, valueOffset)` record; primitive views are constructed on demand so they share a single lifetime tied to the enclosing iterator.
 277 |     internal struct DictionaryIterator: ~Escapable, ~Sendable {
     |                                                     `- error: '~Sendable' requires -enable-experimental-feature TildeSendable
 278 |         let map: Ref<XMLPlistMap>
 279 |         let sourceBytes: RawSpan
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:60:48: error: '~Sendable' requires -enable-experimental-feature TildeSendable
  58 | }
  59 |
  60 | internal struct XMLPlistPrimitive: ~Escapable, ~Sendable {
     |                                                `- error: '~Sendable' requires -enable-experimental-feature TildeSendable
  61 |     let map: Ref<XMLPlistMap>
  62 |     let sourceBytes: RawSpan
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitive.swift:497:40: error: '~Sendable' requires -enable-experimental-feature TildeSendable
 495 |
 496 | /// Parser for a  portion of an XML plist document captured by span. Parses leaf values.
 497 | struct XMLPlistSpanReader: ~Escapable, ~Sendable {
     |                                        `- error: '~Sendable' requires -enable-experimental-feature TildeSendable
 498 |     let bytes: Span<UInt8>
 499 |     var index: Int
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistPrimitiveSource.swift:18:8: error: type 'XMLPlistPrimitiveSource<Filter>' does not conform to protocol 'ParseEventSource'
 16 |
 17 | /// Event source wrapping a pre-scanned `XMLPlistPrimitive`.
 18 | struct XMLPlistPrimitiveSource<Filter: ParseEventFilter & ~Copyable>: ParseEventSource<Filter>, ~Copyable, ~Escapable {
    |        `- error: type 'XMLPlistPrimitiveSource<Filter>' does not conform to protocol 'ParseEventSource'
 19 |
 20 |     /// Per-container walk cursor and child count.
FoundationEssentials.XMLPlistPrimitiveSource.Filter:2:73: note: possibly intended match 'XMLPlistPrimitiveSource<Filter>.Filter' (aka 'Filter') does not conform to 'Copyable'
1 | generic struct XMLPlistPrimitiveSource {
2 | internal typealias FoundationEssentials.XMLPlistPrimitiveSource<Filter>.Filter = Filter}
  |                                                                         `- note: possibly intended match 'XMLPlistPrimitiveSource<Filter>.Filter' (aka 'Filter') does not conform to 'Copyable'
3 |
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:335:20: note: protocol requires nested type 'Filter'
333 | /// Emits parse events into an `IterativeParsingDriver`. Every source is a tree walker: emits one top-level value, then advances frame-by-frame until the tree is exhausted.
334 | protocol ParseEventSource<Filter>: ~Copyable, ~Escapable {
335 |     associatedtype Filter: ParseEventFilter & ~Copyable = NullFilter
    |                    `- note: protocol requires nested type 'Filter'
336 |     associatedtype Vocabulary: ParseEventVocabulary
337 |     /// Per-container state the source maintains for its walk. The driver stores it; the source reads/mutates via `channel.topSourceState`. Default `Void`.
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScanner.swift:679:23: error: cannot find 'UniqueArray' in scope
 677 |
 678 |     struct PartialMapData: ~Copyable {
 679 |         var mapData = UniqueArray<Int>()
     |                       `- error: cannot find 'UniqueArray' in scope
 680 |         var prevMapDataSize = 0
 681 |
/host/spi-builder-workspace/Sources/FoundationEssentials/PropertyList/XMLPlistScannerEventSource.swift:18:8: error: type 'XMLPlistScannerEventSource' does not conform to protocol 'ParseEventSource'
 16 |
 17 | /// `ParseEventSource` that walks a raw XML property list byte buffer directly, emitting begin/end/scalar/key events to an `IterativeParsingDriver`.
 18 | struct XMLPlistScannerEventSource: ParseEventSource<NullFilter>, ~Copyable, ~Escapable {
    |        `- error: type 'XMLPlistScannerEventSource' does not conform to protocol 'ParseEventSource'
 19 |     typealias Vocabulary = XMLPlistVocabulary
 20 |
FoundationEssentials.XMLPlistScannerEventSource.Filter:2:68: note: possibly intended match 'XMLPlistScannerEventSource.Filter' (aka 'NullFilter') does not conform to 'Copyable'
1 | struct XMLPlistScannerEventSource {
2 | internal typealias FoundationEssentials.XMLPlistScannerEventSource.Filter = FoundationEssentials.NullFilter}
  |                                                                    `- note: possibly intended match 'XMLPlistScannerEventSource.Filter' (aka 'NullFilter') does not conform to 'Copyable'
3 |
/host/spi-builder-workspace/Sources/FoundationEssentials/Codable/IterativeParsingDriver.swift:335:20: note: protocol requires nested type 'Filter'
333 | /// Emits parse events into an `IterativeParsingDriver`. Every source is a tree walker: emits one top-level value, then advances frame-by-frame until the tree is exhausted.
334 | protocol ParseEventSource<Filter>: ~Copyable, ~Escapable {
335 |     associatedtype Filter: ParseEventFilter & ~Copyable = NullFilter
    |                    `- note: protocol requires nested type 'Filter'
336 |     associatedtype Vocabulary: ParseEventVocabulary
337 |     /// Per-container state the source maintains for its walk. The driver stores it; the source reads/mutates via `channel.topSourceState`. Default `Void`.
338 |     associatedtype Frame = Void
    |                    `- note: protocol requires nested type 'Frame'
339 |
340 |     /// Emit the single top-level value. If it's a leaf, call `emitScalar` / `emitNull` and return. If a container, call `beginUnkeyedContainer` / `beginKeyedContainer` (pushing a frame that `advanceTopFrame` will walk).
/host/spi-builder-workspace/Sources/FoundationEssentials/Span+Utils.swift:62:41: error: composition cannot contain '~Copyable' when another member requires 'Copyable'
 60 | }
 61 |
 62 | extension Span where Element: Equatable & ~Copyable {
    |                                         `- error: composition cannot contain '~Copyable' when another member requires 'Copyable'
 63 |     package func firstIndex(of element: borrowing Element) -> Int? {
 64 |         guard !isEmpty else {
/host/spi-builder-workspace/Sources/FoundationEssentials/Span+Utils.swift:219:45: error: cannot find type 'ConvertibleToBytes' in scope
217 |     }
218 |
219 |     package mutating func withOutputSpan<T: ConvertibleToBytes & ConvertibleFromBytes, E: Error, R: ~Copyable>(
    |                                             `- error: cannot find type 'ConvertibleToBytes' in scope
220 |         of type: T.Type,
221 |         _ body: (inout OutputSpan<T>) throws(E) -> R
/host/spi-builder-workspace/Sources/FoundationEssentials/Span+Utils.swift:237:38: error: cannot find type 'ConvertibleToBytes' in scope
235 | }
236 |
237 | extension OutputSpan where Element : ConvertibleToBytes & ConvertibleFromBytes {
    |                                      `- error: cannot find type 'ConvertibleToBytes' in scope
238 |     package mutating func _append(copying span: Span<Element>) {
239 |         precondition(self.freeCapacity >= span.count, "Insufficient space to copy the provided span (have space for \(self.freeCapacity) but writing \(span.count))")
/host/spi-builder-workspace/Sources/FoundationEssentials/UUID.swift:37:45: error: cannot find type 'ConvertibleFromBytes' in scope
 35 | public typealias uuid_string_t = (Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8, Int8)
 36 |
 37 | private extension OutputSpan where Element: ConvertibleFromBytes {
    |                                             `- error: cannot find type 'ConvertibleFromBytes' in scope
 38 |     // Placeholder for SE-0525 follow-up.
 39 |     mutating func append<E: Error>(
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
error: cancelled
[2096/2263] Compiling icu_packaged_data.cpp
BUILD FAILURE 6.3 android