Build Information
Failed to build IkigaJSON, reference 2.5.4 (ccb32a), with Swift 6.1 for Wasm on 21 Aug 2026 00:40:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orlandos-nl/swift-json.git
Reference: 2.5.4
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/orlandos-nl/swift-json
* tag 2.5.4 -> FETCH_HEAD
HEAD is now at ccb32aa Merge pull request #70 from true-false-maybe/patch-69-invalid-json-when-encodable-type-uses-multiple-containers
Cloned https://github.com/orlandos-nl/swift-json.git
Revision (git rev-parse @):
ccb32aab5a7b4c42e7f6b1898c45e13a86a79f9f
SUCCESS checkout https://github.com/orlandos-nl/swift-json.git at 2.5.4
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/orlandos-nl/swift-json.git
https://github.com/orlandos-nl/swift-json.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-nio.git
[1/85433] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.03s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.101.3 (3.48s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/1875] Fetching swift-atomics
[1876/8726] Fetching swift-atomics, swift-system
[6124/35514] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.69s)
[11673/33639] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.17s)
Fetched https://github.com/apple/swift-collections.git from cache (1.18s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.42s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.32s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.25s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.101.3
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Building for debugging...
[0/25] Write sources
[12/25] Compiling CNIOLinux liburing_shims.c
[12/25] Compiling CNIODarwin shim.c
[14/25] Compiling CNIOLinux shim.c
[15/25] Compiling CNIOFreeBSD shim.c
[16/25] Compiling CNIOOpenBSD shim.c
[16/25] Compiling CNIOWindows shim.c
[16/25] Write sources
[19/25] Compiling _AtomicsShims.c
[20/25] Compiling CNIOWindows WSAStartup.c
[21/25] Compiling CNIOWASI CNIOWASI.c
[22/25] Write swift-version-24593BA9C3E375BF.txt
[23/74] Compiling c-nioatomics.c
[25/74] Compiling Atomics UnsafeAtomic.swift
[26/74] Compiling Atomics UnsafeAtomicLazyReference.swift
[27/76] Compiling _NIODataStructures _TinyArray.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[28/76] Compiling InternalCollectionsUtilities Integer rank.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[29/76] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[30/76] Compiling InternalCollectionsUtilities UInt+reversed.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[33/78] Compiling _JSONCore Errors.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[34/78] Compiling _JSONCore Bytes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/78] Emitting module _JSONCore
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:19:21: error: expected ',' separator
17 | /// As soon as the type is destroyed/consumed, you get ownership of the bytes
18 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
19 | @_lifetime(borrow bytes)
| `- error: expected ',' separator
20 | @unsafe
21 | public init(
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:7:4: error: unknown attribute '_lifetime'
5 | @_optimize(speed)
6 | @usableFromInline
7 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
8 | internal mutating func scanArray() throws(JSONParserError) {
9 | assert(currentByte == .squareLeft, "An array was scanned but the first byte was not `[`")
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:63:4: error: unknown attribute '_lifetime'
61 | @_optimize(speed)
62 | @usableFromInline
63 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
64 | internal mutating func scanObject() throws(JSONParserError) {
65 | assert(currentByte == .curlyLeft, "An object was scanned but the first byte was not `{`")
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:126:4: error: unknown attribute '_lifetime'
124 | @_optimize(speed)
125 | @inlinable
126 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
127 | public mutating func scanValue() throws(JSONParserError) {
128 | guard hasMoreData else {
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:185:4: error: unknown attribute '_lifetime'
183 | @_optimize(speed)
184 | @usableFromInline
185 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
186 | mutating func nextByte() -> UInt8 {
187 | let byte = currentByte
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:197:4: error: unknown attribute '_lifetime'
195 | @_optimize(speed)
196 | @usableFromInline
197 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
198 | mutating func scanNumber() throws(JSONParserError) {
199 | var byteLength = 1
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:235:4: error: unknown attribute '_lifetime'
233 | @_optimize(speed)
234 | @usableFromInline
235 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
236 | mutating func scanStringLiteral() throws(JSONParserError) {
237 | if currentByte != .quote {
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:2:2: error: unknown attribute 'safe'
1 | /// This type is responsible for creating a JSONDescription for an inputted JSON buffer
2 | @safe
| `- error: unknown attribute 'safe'
3 | public struct JSONTokenizer<Destination: JSONTokenizerDestination>: ~Copyable, ~Escapable {
4 | /// Creates a new JSONParser and initializes it
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:21:10: error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
19 | @_lifetime(borrow bytes)
20 | @unsafe
21 | public init(
| `- error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
22 | bytes: UnsafeBufferPointer<UInt8>,
23 | destination: Destination
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:20:3: error: attribute requires '-enable-experimental-feature AllowUnsafeAttribute'
18 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
19 | @_lifetime(borrow bytes)
20 | @unsafe
| `- error: attribute requires '-enable-experimental-feature AllowUnsafeAttribute'
21 | public init(
22 | bytes: UnsafeBufferPointer<UInt8>,
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:19:4: error: unknown attribute '_lifetime'
17 | /// As soon as the type is destroyed/consumed, you get ownership of the bytes
18 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
19 | @_lifetime(borrow bytes)
| `- error: unknown attribute '_lifetime'
20 | @unsafe
21 | public init(
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:58:4: error: unknown attribute '_lifetime'
56 | /// Advances the amount of bytes processed and updates the related offset and count
57 | @usableFromInline
58 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
59 | internal mutating func advance(_ offset: Int) {
60 | currentOffset += offset
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:87:4: error: unknown attribute '_lifetime'
85 | @_optimize(speed)
86 | @usableFromInline
87 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
88 | mutating func _skipWhitespace() {
89 | let searchEnd = unsafe bytes.count
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:145:4: error: unknown attribute '_lifetime'
143 | @inline(__always)
144 | @usableFromInline
145 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
146 | internal mutating func skipWhitespace() throws(JSONParserError) {
147 | _skipWhitespace()
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:20:15: error: expected '{' after 'if' condition
18 | let alignedStart = (i + 7) & ~7
19 | while i < min(alignedStart, count) {
20 | if unsafe baseAddress[i] == target {
| `- error: expected '{' after 'if' condition
21 | return i
22 | }
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:28:22: error: consecutive statements on a line must be separated by ';'
26 | // Process 8 bytes at a time
27 | while i &+ 8 <= count {
28 | let word = unsafe baseAddress.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: consecutive statements on a line must be separated by ';'
29 |
30 | // XOR with target broadcast to all bytes - matching bytes become 0x00
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:28:107: error: consecutive statements on a line must be separated by ';'
26 | // Process 8 bytes at a time
27 | while i &+ 8 <= count {
28 | let word = unsafe baseAddress.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: consecutive statements on a line must be separated by ';'
29 |
30 | // XOR with target broadcast to all bytes - matching bytes become 0x00
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:48:15: error: expected '{' after 'if' condition
46 | // Process remaining bytes
47 | while i < count {
48 | if unsafe baseAddress[i] == target {
| `- error: expected '{' after 'if' condition
49 | return i
50 | }
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:74:22: error: consecutive statements on a line must be separated by ';'
72 | let alignedStart = (i + 7) & ~7
73 | while i < min(alignedStart, count) {
74 | let byte = unsafe baseAddress[i]
| `- error: consecutive statements on a line must be separated by ';'
75 | if byte == target1 || byte == target2 {
76 | return i
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:83:22: error: consecutive statements on a line must be separated by ';'
81 | // Process 8 bytes at a time
82 | while i &+ 8 <= count {
83 | let word = unsafe baseAddress.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: consecutive statements on a line must be separated by ';'
84 |
85 | // Check for target1
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:83:107: error: consecutive statements on a line must be separated by ';'
81 | // Process 8 bytes at a time
82 | while i &+ 8 <= count {
83 | let word = unsafe baseAddress.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: consecutive statements on a line must be separated by ';'
84 |
85 | // Check for target1
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:105:22: error: consecutive statements on a line must be separated by ';'
103 | // Process remaining bytes
104 | while i < count {
105 | let byte = unsafe baseAddress[i]
| `- error: consecutive statements on a line must be separated by ';'
106 | if byte == target1 || byte == target2 {
107 | return i
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:132:22: error: consecutive statements on a line must be separated by ';'
130 | let alignedStart = (i + 7) & ~7
131 | while i < min(alignedStart, count) {
132 | let byte = unsafe baseAddress[i]
| `- error: consecutive statements on a line must be separated by ';'
133 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
134 | return i - offset
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:148:24: error: consecutive statements on a line must be separated by ';'
146 | // Check if any of the 8 bytes is non-whitespace
147 | for j in 0..<8 {
148 | let byte = unsafe baseAddress[i &+ j]
| `- error: consecutive statements on a line must be separated by ';'
149 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
150 | return (i &+ j) - offset
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:158:22: error: consecutive statements on a line must be separated by ';'
156 | // Process remaining bytes
157 | while i < count {
158 | let byte = unsafe baseAddress[i]
| `- error: consecutive statements on a line must be separated by ';'
159 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
160 | return i - offset
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:20:8: error: cannot find 'unsafe' in scope
18 | let alignedStart = (i + 7) & ~7
19 | while i < min(alignedStart, count) {
20 | if unsafe baseAddress[i] == target {
| `- error: cannot find 'unsafe' in scope
21 | return i
22 | }
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:28:16: error: cannot find 'unsafe' in scope
26 | // Process 8 bytes at a time
27 | while i &+ 8 <= count {
28 | let word = unsafe baseAddress.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: cannot find 'unsafe' in scope
29 |
30 | // XOR with target broadcast to all bytes - matching bytes become 0x00
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:28:101: error: cannot find 'unsafe' in scope
26 | // Process 8 bytes at a time
27 | while i &+ 8 <= count {
28 | let word = unsafe baseAddress.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: cannot find 'unsafe' in scope
29 |
30 | // XOR with target broadcast to all bytes - matching bytes become 0x00
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:48:8: error: cannot find 'unsafe' in scope
46 | // Process remaining bytes
47 | while i < count {
48 | if unsafe baseAddress[i] == target {
| `- error: cannot find 'unsafe' in scope
49 | return i
50 | }
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:74:16: error: cannot find 'unsafe' in scope
72 | let alignedStart = (i + 7) & ~7
73 | while i < min(alignedStart, count) {
74 | let byte = unsafe baseAddress[i]
| `- error: cannot find 'unsafe' in scope
75 | if byte == target1 || byte == target2 {
76 | return i
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:74:34: warning: expression of type 'UInt8' is unused
72 | let alignedStart = (i + 7) & ~7
73 | while i < min(alignedStart, count) {
74 | let byte = unsafe baseAddress[i]
| `- warning: expression of type 'UInt8' is unused
75 | if byte == target1 || byte == target2 {
76 | return i
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:83:16: error: cannot find 'unsafe' in scope
81 | // Process 8 bytes at a time
82 | while i &+ 8 <= count {
83 | let word = unsafe baseAddress.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: cannot find 'unsafe' in scope
84 |
85 | // Check for target1
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:83:101: error: cannot find 'unsafe' in scope
81 | // Process 8 bytes at a time
82 | while i &+ 8 <= count {
83 | let word = unsafe baseAddress.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: cannot find 'unsafe' in scope
84 |
85 | // Check for target1
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:105:16: error: cannot find 'unsafe' in scope
103 | // Process remaining bytes
104 | while i < count {
105 | let byte = unsafe baseAddress[i]
| `- error: cannot find 'unsafe' in scope
106 | if byte == target1 || byte == target2 {
107 | return i
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:105:34: warning: expression of type 'UInt8' is unused
103 | // Process remaining bytes
104 | while i < count {
105 | let byte = unsafe baseAddress[i]
| `- warning: expression of type 'UInt8' is unused
106 | if byte == target1 || byte == target2 {
107 | return i
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:132:16: error: cannot find 'unsafe' in scope
130 | let alignedStart = (i + 7) & ~7
131 | while i < min(alignedStart, count) {
132 | let byte = unsafe baseAddress[i]
| `- error: cannot find 'unsafe' in scope
133 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
134 | return i - offset
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:132:34: warning: expression of type 'UInt8' is unused
130 | let alignedStart = (i + 7) & ~7
131 | while i < min(alignedStart, count) {
132 | let byte = unsafe baseAddress[i]
| `- warning: expression of type 'UInt8' is unused
133 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
134 | return i - offset
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:148:18: error: cannot find 'unsafe' in scope
146 | // Check if any of the 8 bytes is non-whitespace
147 | for j in 0..<8 {
148 | let byte = unsafe baseAddress[i &+ j]
| `- error: cannot find 'unsafe' in scope
149 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
150 | return (i &+ j) - offset
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:148:36: warning: expression of type 'UInt8' is unused
146 | // Check if any of the 8 bytes is non-whitespace
147 | for j in 0..<8 {
148 | let byte = unsafe baseAddress[i &+ j]
| `- warning: expression of type 'UInt8' is unused
149 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
150 | return (i &+ j) - offset
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:158:16: error: cannot find 'unsafe' in scope
156 | // Process remaining bytes
157 | while i < count {
158 | let byte = unsafe baseAddress[i]
| `- error: cannot find 'unsafe' in scope
159 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
160 | return i - offset
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:158:34: warning: expression of type 'UInt8' is unused
156 | // Process remaining bytes
157 | while i < count {
158 | let byte = unsafe baseAddress[i]
| `- warning: expression of type 'UInt8' is unused
159 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
160 | return i - offset
[35/78] Compiling c-atomics.c
[37/78] Compiling Atomics AtomicReference.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[38/78] Compiling Atomics OptionalRawRepresentable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[39/78] Compiling Atomics AtomicInteger.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[40/78] Compiling Atomics AtomicOptionalWrappable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[41/78] Emitting module Atomics
[42/78] Compiling _NIODataStructures PriorityQueue.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[43/78] Compiling InternalCollectionsUtilities _SortedCollection.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[44/78] Compiling InternalCollectionsUtilities _UniqueCollection.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[47/78] Compiling InternalCollectionsUtilities Span+Extras.swift
[49/78] Compiling _JSONCore FastScanner.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:20:15: error: expected '{' after 'if' condition
18 | let alignedStart = (i + 7) & ~7
19 | while i < min(alignedStart, count) {
20 | if unsafe baseAddress[i] == target {
| `- error: expected '{' after 'if' condition
21 | return i
22 | }
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:28:22: error: consecutive statements on a line must be separated by ';'
26 | // Process 8 bytes at a time
27 | while i &+ 8 <= count {
28 | let word = unsafe baseAddress.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: consecutive statements on a line must be separated by ';'
29 |
30 | // XOR with target broadcast to all bytes - matching bytes become 0x00
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:28:107: error: consecutive statements on a line must be separated by ';'
26 | // Process 8 bytes at a time
27 | while i &+ 8 <= count {
28 | let word = unsafe baseAddress.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: consecutive statements on a line must be separated by ';'
29 |
30 | // XOR with target broadcast to all bytes - matching bytes become 0x00
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:48:15: error: expected '{' after 'if' condition
46 | // Process remaining bytes
47 | while i < count {
48 | if unsafe baseAddress[i] == target {
| `- error: expected '{' after 'if' condition
49 | return i
50 | }
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:74:22: error: consecutive statements on a line must be separated by ';'
72 | let alignedStart = (i + 7) & ~7
73 | while i < min(alignedStart, count) {
74 | let byte = unsafe baseAddress[i]
| `- error: consecutive statements on a line must be separated by ';'
75 | if byte == target1 || byte == target2 {
76 | return i
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:83:22: error: consecutive statements on a line must be separated by ';'
81 | // Process 8 bytes at a time
82 | while i &+ 8 <= count {
83 | let word = unsafe baseAddress.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: consecutive statements on a line must be separated by ';'
84 |
85 | // Check for target1
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:83:107: error: consecutive statements on a line must be separated by ';'
81 | // Process 8 bytes at a time
82 | while i &+ 8 <= count {
83 | let word = unsafe baseAddress.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: consecutive statements on a line must be separated by ';'
84 |
85 | // Check for target1
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:105:22: error: consecutive statements on a line must be separated by ';'
103 | // Process remaining bytes
104 | while i < count {
105 | let byte = unsafe baseAddress[i]
| `- error: consecutive statements on a line must be separated by ';'
106 | if byte == target1 || byte == target2 {
107 | return i
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:132:22: error: consecutive statements on a line must be separated by ';'
130 | let alignedStart = (i + 7) & ~7
131 | while i < min(alignedStart, count) {
132 | let byte = unsafe baseAddress[i]
| `- error: consecutive statements on a line must be separated by ';'
133 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
134 | return i - offset
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:148:24: error: consecutive statements on a line must be separated by ';'
146 | // Check if any of the 8 bytes is non-whitespace
147 | for j in 0..<8 {
148 | let byte = unsafe baseAddress[i &+ j]
| `- error: consecutive statements on a line must be separated by ';'
149 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
150 | return (i &+ j) - offset
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:158:22: error: consecutive statements on a line must be separated by ';'
156 | // Process remaining bytes
157 | while i < count {
158 | let byte = unsafe baseAddress[i]
| `- error: consecutive statements on a line must be separated by ';'
159 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
160 | return i - offset
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:20:8: error: cannot find 'unsafe' in scope
18 | let alignedStart = (i + 7) & ~7
19 | while i < min(alignedStart, count) {
20 | if unsafe baseAddress[i] == target {
| `- error: cannot find 'unsafe' in scope
21 | return i
22 | }
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:28:16: error: cannot find 'unsafe' in scope
26 | // Process 8 bytes at a time
27 | while i &+ 8 <= count {
28 | let word = unsafe baseAddress.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: cannot find 'unsafe' in scope
29 |
30 | // XOR with target broadcast to all bytes - matching bytes become 0x00
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:28:101: error: cannot find 'unsafe' in scope
26 | // Process 8 bytes at a time
27 | while i &+ 8 <= count {
28 | let word = unsafe baseAddress.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: cannot find 'unsafe' in scope
29 |
30 | // XOR with target broadcast to all bytes - matching bytes become 0x00
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:48:8: error: cannot find 'unsafe' in scope
46 | // Process remaining bytes
47 | while i < count {
48 | if unsafe baseAddress[i] == target {
| `- error: cannot find 'unsafe' in scope
49 | return i
50 | }
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:74:16: error: cannot find 'unsafe' in scope
72 | let alignedStart = (i + 7) & ~7
73 | while i < min(alignedStart, count) {
74 | let byte = unsafe baseAddress[i]
| `- error: cannot find 'unsafe' in scope
75 | if byte == target1 || byte == target2 {
76 | return i
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:74:34: warning: expression of type 'UInt8' is unused
72 | let alignedStart = (i + 7) & ~7
73 | while i < min(alignedStart, count) {
74 | let byte = unsafe baseAddress[i]
| `- warning: expression of type 'UInt8' is unused
75 | if byte == target1 || byte == target2 {
76 | return i
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:83:16: error: cannot find 'unsafe' in scope
81 | // Process 8 bytes at a time
82 | while i &+ 8 <= count {
83 | let word = unsafe baseAddress.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: cannot find 'unsafe' in scope
84 |
85 | // Check for target1
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:83:101: error: cannot find 'unsafe' in scope
81 | // Process 8 bytes at a time
82 | while i &+ 8 <= count {
83 | let word = unsafe baseAddress.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: cannot find 'unsafe' in scope
84 |
85 | // Check for target1
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:105:16: error: cannot find 'unsafe' in scope
103 | // Process remaining bytes
104 | while i < count {
105 | let byte = unsafe baseAddress[i]
| `- error: cannot find 'unsafe' in scope
106 | if byte == target1 || byte == target2 {
107 | return i
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:105:34: warning: expression of type 'UInt8' is unused
103 | // Process remaining bytes
104 | while i < count {
105 | let byte = unsafe baseAddress[i]
| `- warning: expression of type 'UInt8' is unused
106 | if byte == target1 || byte == target2 {
107 | return i
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:132:16: error: cannot find 'unsafe' in scope
130 | let alignedStart = (i + 7) & ~7
131 | while i < min(alignedStart, count) {
132 | let byte = unsafe baseAddress[i]
| `- error: cannot find 'unsafe' in scope
133 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
134 | return i - offset
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:132:34: warning: expression of type 'UInt8' is unused
130 | let alignedStart = (i + 7) & ~7
131 | while i < min(alignedStart, count) {
132 | let byte = unsafe baseAddress[i]
| `- warning: expression of type 'UInt8' is unused
133 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
134 | return i - offset
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:148:18: error: cannot find 'unsafe' in scope
146 | // Check if any of the 8 bytes is non-whitespace
147 | for j in 0..<8 {
148 | let byte = unsafe baseAddress[i &+ j]
| `- error: cannot find 'unsafe' in scope
149 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
150 | return (i &+ j) - offset
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:148:36: warning: expression of type 'UInt8' is unused
146 | // Check if any of the 8 bytes is non-whitespace
147 | for j in 0..<8 {
148 | let byte = unsafe baseAddress[i &+ j]
| `- warning: expression of type 'UInt8' is unused
149 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
150 | return (i &+ j) - offset
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:158:16: error: cannot find 'unsafe' in scope
156 | // Process remaining bytes
157 | while i < count {
158 | let byte = unsafe baseAddress[i]
| `- error: cannot find 'unsafe' in scope
159 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
160 | return i - offset
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:158:34: warning: expression of type 'UInt8' is unused
156 | // Process remaining bytes
157 | while i < count {
158 | let byte = unsafe baseAddress[i]
| `- warning: expression of type 'UInt8' is unused
159 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
160 | return i - offset
[50/78] Compiling InternalCollectionsUtilities Debugging.swift
[51/78] Compiling InternalCollectionsUtilities Descriptions.swift
[52/78] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[53/78] Compiling Atomics AtomicStorage.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[54/78] Compiling Atomics AtomicValue.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[56/82] Compiling Atomics RawRepresentable.swift
[57/82] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[63/85] Emitting module InternalCollectionsUtilities
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[72/87] Compiling _JSONCore JSONParser+Parsing.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:244:27: error: consecutive statements on a line must be separated by ';'
242 | // Fast path: scan 8 bytes at a time looking for " or \
243 | let searchStart = currentOffset &+ 1
244 | let searchEnd = unsafe bytes.count
| `- error: consecutive statements on a line must be separated by ';'
245 |
246 | // Use closure only to find the string end index, return results outside
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:259:26: error: consecutive statements on a line must be separated by ';'
257 | let alignedStart = (i + 7) & ~7
258 | while i < min(alignedStart, searchEnd) {
259 | let byte = unsafe buffer[i]
| `- error: consecutive statements on a line must be separated by ';'
260 | if byte == .quote {
261 | var escaped = false
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:265:25: error: expected '{' after 'if' condition
263 | var backwardsOffset = i &- 1
264 | while backwardsOffset >= searchStart &- 1 {
265 | if unsafe buffer[backwardsOffset] == .backslash {
| `- error: expected '{' after 'if' condition
266 | escaped = !escaped
267 | backwardsOffset &-= 1
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:284:28: error: consecutive statements on a line must be separated by ';'
282 | // Process 8 bytes at a time
283 | while i &+ 8 <= searchEnd {
284 | let word = unsafe buffer.baseAddress!.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: consecutive statements on a line must be separated by ';'
285 |
286 | // Check for quote
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:284:121: error: consecutive statements on a line must be separated by ';'
282 | // Process 8 bytes at a time
283 | while i &+ 8 <= searchEnd {
284 | let word = unsafe buffer.baseAddress!.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: consecutive statements on a line must be separated by ';'
285 |
286 | // Check for quote
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:299:30: error: consecutive statements on a line must be separated by ';'
297 | // Found something - process bytes one by one to handle escaping correctly
298 | for j in 0..<8 {
299 | let byte = unsafe buffer[i &+ j]
| `- error: consecutive statements on a line must be separated by ';'
300 | if byte == .quote {
301 | // Check if escaped
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:306:29: error: expected '{' after 'if' condition
304 | var backwardsOffset = (i &+ j) &- 1
305 | while backwardsOffset >= searchStart &- 1 {
306 | if unsafe buffer[backwardsOffset] == .backslash {
| `- error: expected '{' after 'if' condition
307 | escaped = !escaped
308 | backwardsOffset &-= 1
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:327:26: error: consecutive statements on a line must be separated by ';'
325 | // Process remaining bytes
326 | while i < searchEnd {
327 | let byte = unsafe buffer[i]
| `- error: consecutive statements on a line must be separated by ';'
328 | if byte == .quote {
329 | // Check if escaped
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:334:25: error: expected '{' after 'if' condition
332 | var backwardsOffset = i &- 1
333 | while backwardsOffset >= searchStart &- 1 {
334 | if unsafe buffer[backwardsOffset] == .backslash {
| `- error: expected '{' after 'if' condition
335 | escaped = !escaped
336 | backwardsOffset &-= 1
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:19:21: error: expected ',' separator
17 | /// As soon as the type is destroyed/consumed, you get ownership of the bytes
18 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
19 | @_lifetime(borrow bytes)
| `- error: expected ',' separator
20 | @unsafe
21 | public init(
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:7:4: error: unknown attribute '_lifetime'
5 | @_optimize(speed)
6 | @usableFromInline
7 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
8 | internal mutating func scanArray() throws(JSONParserError) {
9 | assert(currentByte == .squareLeft, "An array was scanned but the first byte was not `[`")
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:63:4: error: unknown attribute '_lifetime'
61 | @_optimize(speed)
62 | @usableFromInline
63 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
64 | internal mutating func scanObject() throws(JSONParserError) {
65 | assert(currentByte == .curlyLeft, "An object was scanned but the first byte was not `{`")
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:126:4: error: unknown attribute '_lifetime'
124 | @_optimize(speed)
125 | @inlinable
126 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
127 | public mutating func scanValue() throws(JSONParserError) {
128 | guard hasMoreData else {
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:185:4: error: unknown attribute '_lifetime'
183 | @_optimize(speed)
184 | @usableFromInline
185 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
186 | mutating func nextByte() -> UInt8 {
187 | let byte = currentByte
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:197:4: error: unknown attribute '_lifetime'
195 | @_optimize(speed)
196 | @usableFromInline
197 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
198 | mutating func scanNumber() throws(JSONParserError) {
199 | var byteLength = 1
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:235:4: error: unknown attribute '_lifetime'
233 | @_optimize(speed)
234 | @usableFromInline
235 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
236 | mutating func scanStringLiteral() throws(JSONParserError) {
237 | if currentByte != .quote {
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:244:21: error: cannot find 'unsafe' in scope
242 | // Fast path: scan 8 bytes at a time looking for " or \
243 | let searchStart = currentOffset &+ 1
244 | let searchEnd = unsafe bytes.count
| `- error: cannot find 'unsafe' in scope
245 |
246 | // Use closure only to find the string end index, return results outside
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:244:34: warning: expression of type 'Int' is unused
242 | // Fast path: scan 8 bytes at a time looking for " or \
243 | let searchStart = currentOffset &+ 1
244 | let searchEnd = unsafe bytes.count
| `- warning: expression of type 'Int' is unused
245 |
246 | // Use closure only to find the string end index, return results outside
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:248:67: error: cannot find 'unsafe' in scope
246 | // Use closure only to find the string end index, return results outside
247 | // to avoid overlapping access errors with self mutation
248 | let result: (foundIndex: Int, didEscape: Bool, found: Bool) = unsafe { [buffer = bytes] in
| `- error: cannot find 'unsafe' in scope
249 | // Broadcast targets to all bytes in 64-bit words
250 | let quoteTarget: UInt64 = 0x2222222222222222 // " = 0x22
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:259:20: error: cannot find 'unsafe' in scope
257 | let alignedStart = (i + 7) & ~7
258 | while i < min(alignedStart, searchEnd) {
259 | let byte = unsafe buffer[i]
| `- error: cannot find 'unsafe' in scope
260 | if byte == .quote {
261 | var escaped = false
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:265:18: error: cannot find 'unsafe' in scope
263 | var backwardsOffset = i &- 1
264 | while backwardsOffset >= searchStart &- 1 {
265 | if unsafe buffer[backwardsOffset] == .backslash {
| `- error: cannot find 'unsafe' in scope
266 | escaped = !escaped
267 | backwardsOffset &-= 1
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:284:22: error: cannot find 'unsafe' in scope
282 | // Process 8 bytes at a time
283 | while i &+ 8 <= searchEnd {
284 | let word = unsafe buffer.baseAddress!.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: cannot find 'unsafe' in scope
285 |
286 | // Check for quote
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:284:115: error: cannot find 'unsafe' in scope
282 | // Process 8 bytes at a time
283 | while i &+ 8 <= searchEnd {
284 | let word = unsafe buffer.baseAddress!.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: cannot find 'unsafe' in scope
285 |
286 | // Check for quote
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:299:24: error: cannot find 'unsafe' in scope
297 | // Found something - process bytes one by one to handle escaping correctly
298 | for j in 0..<8 {
299 | let byte = unsafe buffer[i &+ j]
| `- error: cannot find 'unsafe' in scope
300 | if byte == .quote {
301 | // Check if escaped
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:306:22: error: cannot find 'unsafe' in scope
304 | var backwardsOffset = (i &+ j) &- 1
305 | while backwardsOffset >= searchStart &- 1 {
306 | if unsafe buffer[backwardsOffset] == .backslash {
| `- error: cannot find 'unsafe' in scope
307 | escaped = !escaped
308 | backwardsOffset &-= 1
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:327:20: error: cannot find 'unsafe' in scope
325 | // Process remaining bytes
326 | while i < searchEnd {
327 | let byte = unsafe buffer[i]
| `- error: cannot find 'unsafe' in scope
328 | if byte == .quote {
329 | // Check if escaped
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:334:18: error: cannot find 'unsafe' in scope
332 | var backwardsOffset = i &- 1
333 | while backwardsOffset >= searchStart &- 1 {
334 | if unsafe buffer[backwardsOffset] == .backslash {
| `- error: cannot find 'unsafe' in scope
335 | escaped = !escaped
336 | backwardsOffset &-= 1
[73/87] Compiling _JSONCore JSONTokenizer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:19:21: error: expected ',' separator
17 | /// As soon as the type is destroyed/consumed, you get ownership of the bytes
18 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
19 | @_lifetime(borrow bytes)
| `- error: expected ',' separator
20 | @unsafe
21 | public init(
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:25:13: error: consecutive statements on a line must be separated by ';'
23 | destination: Destination
24 | ) {
25 | unsafe self.bytes = bytes
| `- error: consecutive statements on a line must be separated by ';'
26 | self.destination = destination
27 | }
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:39:13: error: consecutive statements on a line must be separated by ';'
37 | @usableFromInline
38 | internal var count: Int {
39 | unsafe bytes.count - currentOffset
| `- error: consecutive statements on a line must be separated by ';'
40 | }
41 |
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:68:11: error: consecutive statements on a line must be separated by ';'
66 | @usableFromInline
67 | internal subscript(offset: Int) -> UInt8 {
68 | unsafe bytes[currentOffset + offset]
| `- error: consecutive statements on a line must be separated by ';'
69 | }
70 |
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:73:18: error: consecutive statements on a line must be separated by ';'
71 | @usableFromInline
72 | internal var hasMoreData: Bool {
73 | return unsafe currentOffset < bytes.count
| `- error: consecutive statements on a line must be separated by ';'
74 | }
75 |
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:89:27: error: consecutive statements on a line must be separated by ';'
87 | @_lifetime(self: copy self)
88 | mutating func _skipWhitespace() {
89 | let searchEnd = unsafe bytes.count
| `- error: consecutive statements on a line must be separated by ';'
90 | let searchStart = currentOffset
91 |
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:97:24: error: consecutive statements on a line must be separated by ';'
95 | let alignedStart = (i + 7) & ~7
96 | while i < min(alignedStart, searchEnd) {
97 | let byte = unsafe bytes[i]
| `- error: consecutive statements on a line must be separated by ';'
98 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
99 | advance(i - searchStart)
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:111:26: error: consecutive statements on a line must be separated by ';'
109 |
110 | for j in 0..<8 {
111 | let byte = unsafe bytes[i &+ j]
| `- error: consecutive statements on a line must be separated by ';'
112 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
113 | foundNonWhitespace = true
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:128:24: error: consecutive statements on a line must be separated by ';'
126 | // Process remaining bytes
127 | while i < searchEnd {
128 | let byte = unsafe bytes[i]
| `- error: consecutive statements on a line must be separated by ';'
129 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
130 | advance(i - searchStart)
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:2:2: error: unknown attribute 'safe'
1 | /// This type is responsible for creating a JSONDescription for an inputted JSON buffer
2 | @safe
| `- error: unknown attribute 'safe'
3 | public struct JSONTokenizer<Destination: JSONTokenizerDestination>: ~Copyable, ~Escapable {
4 | /// Creates a new JSONParser and initializes it
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:21:10: error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
19 | @_lifetime(borrow bytes)
20 | @unsafe
21 | public init(
| `- error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
22 | bytes: UnsafeBufferPointer<UInt8>,
23 | destination: Destination
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:20:3: error: attribute requires '-enable-experimental-feature AllowUnsafeAttribute'
18 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
19 | @_lifetime(borrow bytes)
20 | @unsafe
| `- error: attribute requires '-enable-experimental-feature AllowUnsafeAttribute'
21 | public init(
22 | bytes: UnsafeBufferPointer<UInt8>,
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:19:4: error: unknown attribute '_lifetime'
17 | /// As soon as the type is destroyed/consumed, you get ownership of the bytes
18 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
19 | @_lifetime(borrow bytes)
| `- error: unknown attribute '_lifetime'
20 | @unsafe
21 | public init(
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:58:4: error: unknown attribute '_lifetime'
56 | /// Advances the amount of bytes processed and updates the related offset and count
57 | @usableFromInline
58 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
59 | internal mutating func advance(_ offset: Int) {
60 | currentOffset += offset
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:87:4: error: unknown attribute '_lifetime'
85 | @_optimize(speed)
86 | @usableFromInline
87 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
88 | mutating func _skipWhitespace() {
89 | let searchEnd = unsafe bytes.count
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:145:4: error: unknown attribute '_lifetime'
143 | @inline(__always)
144 | @usableFromInline
145 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
146 | internal mutating func skipWhitespace() throws(JSONParserError) {
147 | _skipWhitespace()
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:25:7: error: cannot find 'unsafe' in scope
23 | destination: Destination
24 | ) {
25 | unsafe self.bytes = bytes
| `- error: cannot find 'unsafe' in scope
26 | self.destination = destination
27 | }
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:39:7: error: cannot find 'unsafe' in scope
37 | @usableFromInline
38 | internal var count: Int {
39 | unsafe bytes.count - currentOffset
| `- error: cannot find 'unsafe' in scope
40 | }
41 |
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:39:26: warning: result of operator '-' is unused
37 | @usableFromInline
38 | internal var count: Int {
39 | unsafe bytes.count - currentOffset
| `- warning: result of operator '-' is unused
40 | }
41 |
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:68:5: error: cannot find 'unsafe' in scope
66 | @usableFromInline
67 | internal subscript(offset: Int) -> UInt8 {
68 | unsafe bytes[currentOffset + offset]
| `- error: cannot find 'unsafe' in scope
69 | }
70 |
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:68:17: warning: expression of type 'UInt8' is unused
66 | @usableFromInline
67 | internal subscript(offset: Int) -> UInt8 {
68 | unsafe bytes[currentOffset + offset]
| `- warning: expression of type 'UInt8' is unused
69 | }
70 |
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:73:12: error: cannot find 'unsafe' in scope
71 | @usableFromInline
72 | internal var hasMoreData: Bool {
73 | return unsafe currentOffset < bytes.count
| `- error: cannot find 'unsafe' in scope
74 | }
75 |
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:73:33: warning: result of operator '<' is unused
71 | @usableFromInline
72 | internal var hasMoreData: Bool {
73 | return unsafe currentOffset < bytes.count
| `- warning: result of operator '<' is unused
74 | }
75 |
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:89:21: error: cannot find 'unsafe' in scope
87 | @_lifetime(self: copy self)
88 | mutating func _skipWhitespace() {
89 | let searchEnd = unsafe bytes.count
| `- error: cannot find 'unsafe' in scope
90 | let searchStart = currentOffset
91 |
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:89:34: warning: expression of type 'Int' is unused
87 | @_lifetime(self: copy self)
88 | mutating func _skipWhitespace() {
89 | let searchEnd = unsafe bytes.count
| `- warning: expression of type 'Int' is unused
90 | let searchStart = currentOffset
91 |
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:97:18: error: cannot find 'unsafe' in scope
95 | let alignedStart = (i + 7) & ~7
96 | while i < min(alignedStart, searchEnd) {
97 | let byte = unsafe bytes[i]
| `- error: cannot find 'unsafe' in scope
98 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
99 | advance(i - searchStart)
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:97:30: warning: expression of type 'UInt8' is unused
95 | let alignedStart = (i + 7) & ~7
96 | while i < min(alignedStart, searchEnd) {
97 | let byte = unsafe bytes[i]
| `- warning: expression of type 'UInt8' is unused
98 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
99 | advance(i - searchStart)
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:111:20: error: cannot find 'unsafe' in scope
109 |
110 | for j in 0..<8 {
111 | let byte = unsafe bytes[i &+ j]
| `- error: cannot find 'unsafe' in scope
112 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
113 | foundNonWhitespace = true
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:111:32: warning: expression of type 'UInt8' is unused
109 |
110 | for j in 0..<8 {
111 | let byte = unsafe bytes[i &+ j]
| `- warning: expression of type 'UInt8' is unused
112 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
113 | foundNonWhitespace = true
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:128:18: error: cannot find 'unsafe' in scope
126 | // Process remaining bytes
127 | while i < searchEnd {
128 | let byte = unsafe bytes[i]
| `- error: cannot find 'unsafe' in scope
129 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
130 | advance(i - searchStart)
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:128:30: warning: expression of type 'UInt8' is unused
126 | // Process remaining bytes
127 | while i < searchEnd {
128 | let byte = unsafe bytes[i]
| `- warning: expression of type 'UInt8' is unused
129 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
130 | advance(i - searchStart)
[75/87] Compiling _JSONCore JSONTokenizerDestination.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[76/87] Emitting module _NIODataStructures
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[77/87] Compiling _NIODataStructures Heap.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[78/87] Emitting module _NIOBase64
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/57] Compiling NIOConcurrencyHelpers lock.swift
[3/57] Compiling _JSONCore FastScanner.swift
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:20:15: error: expected '{' after 'if' condition
18 | let alignedStart = (i + 7) & ~7
19 | while i < min(alignedStart, count) {
20 | if unsafe baseAddress[i] == target {
| `- error: expected '{' after 'if' condition
21 | return i
22 | }
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:28:22: error: consecutive statements on a line must be separated by ';'
26 | // Process 8 bytes at a time
27 | while i &+ 8 <= count {
28 | let word = unsafe baseAddress.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: consecutive statements on a line must be separated by ';'
29 |
30 | // XOR with target broadcast to all bytes - matching bytes become 0x00
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:28:107: error: consecutive statements on a line must be separated by ';'
26 | // Process 8 bytes at a time
27 | while i &+ 8 <= count {
28 | let word = unsafe baseAddress.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: consecutive statements on a line must be separated by ';'
29 |
30 | // XOR with target broadcast to all bytes - matching bytes become 0x00
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:48:15: error: expected '{' after 'if' condition
46 | // Process remaining bytes
47 | while i < count {
48 | if unsafe baseAddress[i] == target {
| `- error: expected '{' after 'if' condition
49 | return i
50 | }
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:74:22: error: consecutive statements on a line must be separated by ';'
72 | let alignedStart = (i + 7) & ~7
73 | while i < min(alignedStart, count) {
74 | let byte = unsafe baseAddress[i]
| `- error: consecutive statements on a line must be separated by ';'
75 | if byte == target1 || byte == target2 {
76 | return i
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:83:22: error: consecutive statements on a line must be separated by ';'
81 | // Process 8 bytes at a time
82 | while i &+ 8 <= count {
83 | let word = unsafe baseAddress.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: consecutive statements on a line must be separated by ';'
84 |
85 | // Check for target1
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:83:107: error: consecutive statements on a line must be separated by ';'
81 | // Process 8 bytes at a time
82 | while i &+ 8 <= count {
83 | let word = unsafe baseAddress.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: consecutive statements on a line must be separated by ';'
84 |
85 | // Check for target1
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:105:22: error: consecutive statements on a line must be separated by ';'
103 | // Process remaining bytes
104 | while i < count {
105 | let byte = unsafe baseAddress[i]
| `- error: consecutive statements on a line must be separated by ';'
106 | if byte == target1 || byte == target2 {
107 | return i
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:132:22: error: consecutive statements on a line must be separated by ';'
130 | let alignedStart = (i + 7) & ~7
131 | while i < min(alignedStart, count) {
132 | let byte = unsafe baseAddress[i]
| `- error: consecutive statements on a line must be separated by ';'
133 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
134 | return i - offset
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:148:24: error: consecutive statements on a line must be separated by ';'
146 | // Check if any of the 8 bytes is non-whitespace
147 | for j in 0..<8 {
148 | let byte = unsafe baseAddress[i &+ j]
| `- error: consecutive statements on a line must be separated by ';'
149 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
150 | return (i &+ j) - offset
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:158:22: error: consecutive statements on a line must be separated by ';'
156 | // Process remaining bytes
157 | while i < count {
158 | let byte = unsafe baseAddress[i]
| `- error: consecutive statements on a line must be separated by ';'
159 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
160 | return i - offset
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:20:8: error: cannot find 'unsafe' in scope
18 | let alignedStart = (i + 7) & ~7
19 | while i < min(alignedStart, count) {
20 | if unsafe baseAddress[i] == target {
| `- error: cannot find 'unsafe' in scope
21 | return i
22 | }
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:28:16: error: cannot find 'unsafe' in scope
26 | // Process 8 bytes at a time
27 | while i &+ 8 <= count {
28 | let word = unsafe baseAddress.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: cannot find 'unsafe' in scope
29 |
30 | // XOR with target broadcast to all bytes - matching bytes become 0x00
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:28:101: error: cannot find 'unsafe' in scope
26 | // Process 8 bytes at a time
27 | while i &+ 8 <= count {
28 | let word = unsafe baseAddress.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: cannot find 'unsafe' in scope
29 |
30 | // XOR with target broadcast to all bytes - matching bytes become 0x00
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:48:8: error: cannot find 'unsafe' in scope
46 | // Process remaining bytes
47 | while i < count {
48 | if unsafe baseAddress[i] == target {
| `- error: cannot find 'unsafe' in scope
49 | return i
50 | }
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:74:16: error: cannot find 'unsafe' in scope
72 | let alignedStart = (i + 7) & ~7
73 | while i < min(alignedStart, count) {
74 | let byte = unsafe baseAddress[i]
| `- error: cannot find 'unsafe' in scope
75 | if byte == target1 || byte == target2 {
76 | return i
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:74:34: warning: expression of type 'UInt8' is unused
72 | let alignedStart = (i + 7) & ~7
73 | while i < min(alignedStart, count) {
74 | let byte = unsafe baseAddress[i]
| `- warning: expression of type 'UInt8' is unused
75 | if byte == target1 || byte == target2 {
76 | return i
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:83:16: error: cannot find 'unsafe' in scope
81 | // Process 8 bytes at a time
82 | while i &+ 8 <= count {
83 | let word = unsafe baseAddress.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: cannot find 'unsafe' in scope
84 |
85 | // Check for target1
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:83:101: error: cannot find 'unsafe' in scope
81 | // Process 8 bytes at a time
82 | while i &+ 8 <= count {
83 | let word = unsafe baseAddress.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: cannot find 'unsafe' in scope
84 |
85 | // Check for target1
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:105:16: error: cannot find 'unsafe' in scope
103 | // Process remaining bytes
104 | while i < count {
105 | let byte = unsafe baseAddress[i]
| `- error: cannot find 'unsafe' in scope
106 | if byte == target1 || byte == target2 {
107 | return i
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:105:34: warning: expression of type 'UInt8' is unused
103 | // Process remaining bytes
104 | while i < count {
105 | let byte = unsafe baseAddress[i]
| `- warning: expression of type 'UInt8' is unused
106 | if byte == target1 || byte == target2 {
107 | return i
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:132:16: error: cannot find 'unsafe' in scope
130 | let alignedStart = (i + 7) & ~7
131 | while i < min(alignedStart, count) {
132 | let byte = unsafe baseAddress[i]
| `- error: cannot find 'unsafe' in scope
133 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
134 | return i - offset
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:132:34: warning: expression of type 'UInt8' is unused
130 | let alignedStart = (i + 7) & ~7
131 | while i < min(alignedStart, count) {
132 | let byte = unsafe baseAddress[i]
| `- warning: expression of type 'UInt8' is unused
133 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
134 | return i - offset
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:148:18: error: cannot find 'unsafe' in scope
146 | // Check if any of the 8 bytes is non-whitespace
147 | for j in 0..<8 {
148 | let byte = unsafe baseAddress[i &+ j]
| `- error: cannot find 'unsafe' in scope
149 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
150 | return (i &+ j) - offset
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:148:36: warning: expression of type 'UInt8' is unused
146 | // Check if any of the 8 bytes is non-whitespace
147 | for j in 0..<8 {
148 | let byte = unsafe baseAddress[i &+ j]
| `- warning: expression of type 'UInt8' is unused
149 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
150 | return (i &+ j) - offset
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:158:16: error: cannot find 'unsafe' in scope
156 | // Process remaining bytes
157 | while i < count {
158 | let byte = unsafe baseAddress[i]
| `- error: cannot find 'unsafe' in scope
159 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
160 | return i - offset
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:158:34: warning: expression of type 'UInt8' is unused
156 | // Process remaining bytes
157 | while i < count {
158 | let byte = unsafe baseAddress[i]
| `- warning: expression of type 'UInt8' is unused
159 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
160 | return i - offset
[4/57] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[5/57] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[6/59] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[7/59] Compiling _NIODataStructures PriorityQueue.swift
[10/59] Compiling InternalCollectionsUtilities Span+Extras.swift
[11/59] Compiling InternalCollectionsUtilities String+Padding.swift
[12/61] Compiling InternalCollectionsUtilities Integer rank.swift
[13/61] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[14/61] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[15/61] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[16/61] Compiling _NIODataStructures Heap.swift
[17/61] Compiling _JSONCore Bytes.swift
[18/61] Compiling _JSONCore JSONTokenizer.swift
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:19:21: error: expected ',' separator
17 | /// As soon as the type is destroyed/consumed, you get ownership of the bytes
18 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
19 | @_lifetime(borrow bytes)
| `- error: expected ',' separator
20 | @unsafe
21 | public init(
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:25:13: error: consecutive statements on a line must be separated by ';'
23 | destination: Destination
24 | ) {
25 | unsafe self.bytes = bytes
| `- error: consecutive statements on a line must be separated by ';'
26 | self.destination = destination
27 | }
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:39:13: error: consecutive statements on a line must be separated by ';'
37 | @usableFromInline
38 | internal var count: Int {
39 | unsafe bytes.count - currentOffset
| `- error: consecutive statements on a line must be separated by ';'
40 | }
41 |
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:68:11: error: consecutive statements on a line must be separated by ';'
66 | @usableFromInline
67 | internal subscript(offset: Int) -> UInt8 {
68 | unsafe bytes[currentOffset + offset]
| `- error: consecutive statements on a line must be separated by ';'
69 | }
70 |
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:73:18: error: consecutive statements on a line must be separated by ';'
71 | @usableFromInline
72 | internal var hasMoreData: Bool {
73 | return unsafe currentOffset < bytes.count
| `- error: consecutive statements on a line must be separated by ';'
74 | }
75 |
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:89:27: error: consecutive statements on a line must be separated by ';'
87 | @_lifetime(self: copy self)
88 | mutating func _skipWhitespace() {
89 | let searchEnd = unsafe bytes.count
| `- error: consecutive statements on a line must be separated by ';'
90 | let searchStart = currentOffset
91 |
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:97:24: error: consecutive statements on a line must be separated by ';'
95 | let alignedStart = (i + 7) & ~7
96 | while i < min(alignedStart, searchEnd) {
97 | let byte = unsafe bytes[i]
| `- error: consecutive statements on a line must be separated by ';'
98 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
99 | advance(i - searchStart)
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:111:26: error: consecutive statements on a line must be separated by ';'
109 |
110 | for j in 0..<8 {
111 | let byte = unsafe bytes[i &+ j]
| `- error: consecutive statements on a line must be separated by ';'
112 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
113 | foundNonWhitespace = true
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:128:24: error: consecutive statements on a line must be separated by ';'
126 | // Process remaining bytes
127 | while i < searchEnd {
128 | let byte = unsafe bytes[i]
| `- error: consecutive statements on a line must be separated by ';'
129 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
130 | advance(i - searchStart)
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:2:2: error: unknown attribute 'safe'
1 | /// This type is responsible for creating a JSONDescription for an inputted JSON buffer
2 | @safe
| `- error: unknown attribute 'safe'
3 | public struct JSONTokenizer<Destination: JSONTokenizerDestination>: ~Copyable, ~Escapable {
4 | /// Creates a new JSONParser and initializes it
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:21:10: error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
19 | @_lifetime(borrow bytes)
20 | @unsafe
21 | public init(
| `- error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
22 | bytes: UnsafeBufferPointer<UInt8>,
23 | destination: Destination
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:20:3: error: attribute requires '-enable-experimental-feature AllowUnsafeAttribute'
18 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
19 | @_lifetime(borrow bytes)
20 | @unsafe
| `- error: attribute requires '-enable-experimental-feature AllowUnsafeAttribute'
21 | public init(
22 | bytes: UnsafeBufferPointer<UInt8>,
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:19:4: error: unknown attribute '_lifetime'
17 | /// As soon as the type is destroyed/consumed, you get ownership of the bytes
18 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
19 | @_lifetime(borrow bytes)
| `- error: unknown attribute '_lifetime'
20 | @unsafe
21 | public init(
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:58:4: error: unknown attribute '_lifetime'
56 | /// Advances the amount of bytes processed and updates the related offset and count
57 | @usableFromInline
58 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
59 | internal mutating func advance(_ offset: Int) {
60 | currentOffset += offset
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:87:4: error: unknown attribute '_lifetime'
85 | @_optimize(speed)
86 | @usableFromInline
87 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
88 | mutating func _skipWhitespace() {
89 | let searchEnd = unsafe bytes.count
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:145:4: error: unknown attribute '_lifetime'
143 | @inline(__always)
144 | @usableFromInline
145 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
146 | internal mutating func skipWhitespace() throws(JSONParserError) {
147 | _skipWhitespace()
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:25:7: error: cannot find 'unsafe' in scope
23 | destination: Destination
24 | ) {
25 | unsafe self.bytes = bytes
| `- error: cannot find 'unsafe' in scope
26 | self.destination = destination
27 | }
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:39:7: error: cannot find 'unsafe' in scope
37 | @usableFromInline
38 | internal var count: Int {
39 | unsafe bytes.count - currentOffset
| `- error: cannot find 'unsafe' in scope
40 | }
41 |
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:39:26: warning: result of operator '-' is unused
37 | @usableFromInline
38 | internal var count: Int {
39 | unsafe bytes.count - currentOffset
| `- warning: result of operator '-' is unused
40 | }
41 |
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:68:5: error: cannot find 'unsafe' in scope
66 | @usableFromInline
67 | internal subscript(offset: Int) -> UInt8 {
68 | unsafe bytes[currentOffset + offset]
| `- error: cannot find 'unsafe' in scope
69 | }
70 |
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:68:17: warning: expression of type 'UInt8' is unused
66 | @usableFromInline
67 | internal subscript(offset: Int) -> UInt8 {
68 | unsafe bytes[currentOffset + offset]
| `- warning: expression of type 'UInt8' is unused
69 | }
70 |
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:73:12: error: cannot find 'unsafe' in scope
71 | @usableFromInline
72 | internal var hasMoreData: Bool {
73 | return unsafe currentOffset < bytes.count
| `- error: cannot find 'unsafe' in scope
74 | }
75 |
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:73:33: warning: result of operator '<' is unused
71 | @usableFromInline
72 | internal var hasMoreData: Bool {
73 | return unsafe currentOffset < bytes.count
| `- warning: result of operator '<' is unused
74 | }
75 |
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:89:21: error: cannot find 'unsafe' in scope
87 | @_lifetime(self: copy self)
88 | mutating func _skipWhitespace() {
89 | let searchEnd = unsafe bytes.count
| `- error: cannot find 'unsafe' in scope
90 | let searchStart = currentOffset
91 |
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:89:34: warning: expression of type 'Int' is unused
87 | @_lifetime(self: copy self)
88 | mutating func _skipWhitespace() {
89 | let searchEnd = unsafe bytes.count
| `- warning: expression of type 'Int' is unused
90 | let searchStart = currentOffset
91 |
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:97:18: error: cannot find 'unsafe' in scope
95 | let alignedStart = (i + 7) & ~7
96 | while i < min(alignedStart, searchEnd) {
97 | let byte = unsafe bytes[i]
| `- error: cannot find 'unsafe' in scope
98 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
99 | advance(i - searchStart)
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:97:30: warning: expression of type 'UInt8' is unused
95 | let alignedStart = (i + 7) & ~7
96 | while i < min(alignedStart, searchEnd) {
97 | let byte = unsafe bytes[i]
| `- warning: expression of type 'UInt8' is unused
98 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
99 | advance(i - searchStart)
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:111:20: error: cannot find 'unsafe' in scope
109 |
110 | for j in 0..<8 {
111 | let byte = unsafe bytes[i &+ j]
| `- error: cannot find 'unsafe' in scope
112 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
113 | foundNonWhitespace = true
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:111:32: warning: expression of type 'UInt8' is unused
109 |
110 | for j in 0..<8 {
111 | let byte = unsafe bytes[i &+ j]
| `- warning: expression of type 'UInt8' is unused
112 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
113 | foundNonWhitespace = true
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:128:18: error: cannot find 'unsafe' in scope
126 | // Process remaining bytes
127 | while i < searchEnd {
128 | let byte = unsafe bytes[i]
| `- error: cannot find 'unsafe' in scope
129 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
130 | advance(i - searchStart)
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:128:30: warning: expression of type 'UInt8' is unused
126 | // Process remaining bytes
127 | while i < searchEnd {
128 | let byte = unsafe bytes[i]
| `- warning: expression of type 'UInt8' is unused
129 | if byte != .space && byte != .tab && byte != .carriageReturn && byte != .newLine {
130 | advance(i - searchStart)
[19/61] Compiling _JSONCore Errors.swift
[20/61] Compiling _JSONCore JSONParser+Parsing.swift
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:244:27: error: consecutive statements on a line must be separated by ';'
242 | // Fast path: scan 8 bytes at a time looking for " or \
243 | let searchStart = currentOffset &+ 1
244 | let searchEnd = unsafe bytes.count
| `- error: consecutive statements on a line must be separated by ';'
245 |
246 | // Use closure only to find the string end index, return results outside
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:259:26: error: consecutive statements on a line must be separated by ';'
257 | let alignedStart = (i + 7) & ~7
258 | while i < min(alignedStart, searchEnd) {
259 | let byte = unsafe buffer[i]
| `- error: consecutive statements on a line must be separated by ';'
260 | if byte == .quote {
261 | var escaped = false
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:265:25: error: expected '{' after 'if' condition
263 | var backwardsOffset = i &- 1
264 | while backwardsOffset >= searchStart &- 1 {
265 | if unsafe buffer[backwardsOffset] == .backslash {
| `- error: expected '{' after 'if' condition
266 | escaped = !escaped
267 | backwardsOffset &-= 1
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:284:28: error: consecutive statements on a line must be separated by ';'
282 | // Process 8 bytes at a time
283 | while i &+ 8 <= searchEnd {
284 | let word = unsafe buffer.baseAddress!.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: consecutive statements on a line must be separated by ';'
285 |
286 | // Check for quote
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:284:121: error: consecutive statements on a line must be separated by ';'
282 | // Process 8 bytes at a time
283 | while i &+ 8 <= searchEnd {
284 | let word = unsafe buffer.baseAddress!.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: consecutive statements on a line must be separated by ';'
285 |
286 | // Check for quote
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:299:30: error: consecutive statements on a line must be separated by ';'
297 | // Found something - process bytes one by one to handle escaping correctly
298 | for j in 0..<8 {
299 | let byte = unsafe buffer[i &+ j]
| `- error: consecutive statements on a line must be separated by ';'
300 | if byte == .quote {
301 | // Check if escaped
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:306:29: error: expected '{' after 'if' condition
304 | var backwardsOffset = (i &+ j) &- 1
305 | while backwardsOffset >= searchStart &- 1 {
306 | if unsafe buffer[backwardsOffset] == .backslash {
| `- error: expected '{' after 'if' condition
307 | escaped = !escaped
308 | backwardsOffset &-= 1
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:327:26: error: consecutive statements on a line must be separated by ';'
325 | // Process remaining bytes
326 | while i < searchEnd {
327 | let byte = unsafe buffer[i]
| `- error: consecutive statements on a line must be separated by ';'
328 | if byte == .quote {
329 | // Check if escaped
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:334:25: error: expected '{' after 'if' condition
332 | var backwardsOffset = i &- 1
333 | while backwardsOffset >= searchStart &- 1 {
334 | if unsafe buffer[backwardsOffset] == .backslash {
| `- error: expected '{' after 'if' condition
335 | escaped = !escaped
336 | backwardsOffset &-= 1
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:19:21: error: expected ',' separator
17 | /// As soon as the type is destroyed/consumed, you get ownership of the bytes
18 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
19 | @_lifetime(borrow bytes)
| `- error: expected ',' separator
20 | @unsafe
21 | public init(
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:7:4: error: unknown attribute '_lifetime'
5 | @_optimize(speed)
6 | @usableFromInline
7 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
8 | internal mutating func scanArray() throws(JSONParserError) {
9 | assert(currentByte == .squareLeft, "An array was scanned but the first byte was not `[`")
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:63:4: error: unknown attribute '_lifetime'
61 | @_optimize(speed)
62 | @usableFromInline
63 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
64 | internal mutating func scanObject() throws(JSONParserError) {
65 | assert(currentByte == .curlyLeft, "An object was scanned but the first byte was not `{`")
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:126:4: error: unknown attribute '_lifetime'
124 | @_optimize(speed)
125 | @inlinable
126 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
127 | public mutating func scanValue() throws(JSONParserError) {
128 | guard hasMoreData else {
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:185:4: error: unknown attribute '_lifetime'
183 | @_optimize(speed)
184 | @usableFromInline
185 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
186 | mutating func nextByte() -> UInt8 {
187 | let byte = currentByte
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:197:4: error: unknown attribute '_lifetime'
195 | @_optimize(speed)
196 | @usableFromInline
197 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
198 | mutating func scanNumber() throws(JSONParserError) {
199 | var byteLength = 1
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:235:4: error: unknown attribute '_lifetime'
233 | @_optimize(speed)
234 | @usableFromInline
235 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
236 | mutating func scanStringLiteral() throws(JSONParserError) {
237 | if currentByte != .quote {
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:244:21: error: cannot find 'unsafe' in scope
242 | // Fast path: scan 8 bytes at a time looking for " or \
243 | let searchStart = currentOffset &+ 1
244 | let searchEnd = unsafe bytes.count
| `- error: cannot find 'unsafe' in scope
245 |
246 | // Use closure only to find the string end index, return results outside
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:244:34: warning: expression of type 'Int' is unused
242 | // Fast path: scan 8 bytes at a time looking for " or \
243 | let searchStart = currentOffset &+ 1
244 | let searchEnd = unsafe bytes.count
| `- warning: expression of type 'Int' is unused
245 |
246 | // Use closure only to find the string end index, return results outside
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:248:67: error: cannot find 'unsafe' in scope
246 | // Use closure only to find the string end index, return results outside
247 | // to avoid overlapping access errors with self mutation
248 | let result: (foundIndex: Int, didEscape: Bool, found: Bool) = unsafe { [buffer = bytes] in
| `- error: cannot find 'unsafe' in scope
249 | // Broadcast targets to all bytes in 64-bit words
250 | let quoteTarget: UInt64 = 0x2222222222222222 // " = 0x22
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:259:20: error: cannot find 'unsafe' in scope
257 | let alignedStart = (i + 7) & ~7
258 | while i < min(alignedStart, searchEnd) {
259 | let byte = unsafe buffer[i]
| `- error: cannot find 'unsafe' in scope
260 | if byte == .quote {
261 | var escaped = false
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:265:18: error: cannot find 'unsafe' in scope
263 | var backwardsOffset = i &- 1
264 | while backwardsOffset >= searchStart &- 1 {
265 | if unsafe buffer[backwardsOffset] == .backslash {
| `- error: cannot find 'unsafe' in scope
266 | escaped = !escaped
267 | backwardsOffset &-= 1
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:284:22: error: cannot find 'unsafe' in scope
282 | // Process 8 bytes at a time
283 | while i &+ 8 <= searchEnd {
284 | let word = unsafe buffer.baseAddress!.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: cannot find 'unsafe' in scope
285 |
286 | // Check for quote
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:284:115: error: cannot find 'unsafe' in scope
282 | // Process 8 bytes at a time
283 | while i &+ 8 <= searchEnd {
284 | let word = unsafe buffer.baseAddress!.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: cannot find 'unsafe' in scope
285 |
286 | // Check for quote
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:299:24: error: cannot find 'unsafe' in scope
297 | // Found something - process bytes one by one to handle escaping correctly
298 | for j in 0..<8 {
299 | let byte = unsafe buffer[i &+ j]
| `- error: cannot find 'unsafe' in scope
300 | if byte == .quote {
301 | // Check if escaped
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:306:22: error: cannot find 'unsafe' in scope
304 | var backwardsOffset = (i &+ j) &- 1
305 | while backwardsOffset >= searchStart &- 1 {
306 | if unsafe buffer[backwardsOffset] == .backslash {
| `- error: cannot find 'unsafe' in scope
307 | escaped = !escaped
308 | backwardsOffset &-= 1
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:327:20: error: cannot find 'unsafe' in scope
325 | // Process remaining bytes
326 | while i < searchEnd {
327 | let byte = unsafe buffer[i]
| `- error: cannot find 'unsafe' in scope
328 | if byte == .quote {
329 | // Check if escaped
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:334:18: error: cannot find 'unsafe' in scope
332 | var backwardsOffset = i &- 1
333 | while backwardsOffset >= searchStart &- 1 {
334 | if unsafe buffer[backwardsOffset] == .backslash {
| `- error: cannot find 'unsafe' in scope
335 | escaped = !escaped
336 | backwardsOffset &-= 1
[21/61] Compiling _JSONCore JSONTokenizerDestination.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/61] Emitting module _JSONCore
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:19:21: error: expected ',' separator
17 | /// As soon as the type is destroyed/consumed, you get ownership of the bytes
18 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
19 | @_lifetime(borrow bytes)
| `- error: expected ',' separator
20 | @unsafe
21 | public init(
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:7:4: error: unknown attribute '_lifetime'
5 | @_optimize(speed)
6 | @usableFromInline
7 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
8 | internal mutating func scanArray() throws(JSONParserError) {
9 | assert(currentByte == .squareLeft, "An array was scanned but the first byte was not `[`")
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:63:4: error: unknown attribute '_lifetime'
61 | @_optimize(speed)
62 | @usableFromInline
63 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
64 | internal mutating func scanObject() throws(JSONParserError) {
65 | assert(currentByte == .curlyLeft, "An object was scanned but the first byte was not `{`")
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:126:4: error: unknown attribute '_lifetime'
124 | @_optimize(speed)
125 | @inlinable
126 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
127 | public mutating func scanValue() throws(JSONParserError) {
128 | guard hasMoreData else {
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:185:4: error: unknown attribute '_lifetime'
183 | @_optimize(speed)
184 | @usableFromInline
185 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
186 | mutating func nextByte() -> UInt8 {
187 | let byte = currentByte
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:197:4: error: unknown attribute '_lifetime'
195 | @_optimize(speed)
196 | @usableFromInline
197 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
198 | mutating func scanNumber() throws(JSONParserError) {
199 | var byteLength = 1
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONParser+Parsing.swift:235:4: error: unknown attribute '_lifetime'
233 | @_optimize(speed)
234 | @usableFromInline
235 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
236 | mutating func scanStringLiteral() throws(JSONParserError) {
237 | if currentByte != .quote {
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:2:2: error: unknown attribute 'safe'
1 | /// This type is responsible for creating a JSONDescription for an inputted JSON buffer
2 | @safe
| `- error: unknown attribute 'safe'
3 | public struct JSONTokenizer<Destination: JSONTokenizerDestination>: ~Copyable, ~Escapable {
4 | /// Creates a new JSONParser and initializes it
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:21:10: error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
19 | @_lifetime(borrow bytes)
20 | @unsafe
21 | public init(
| `- error: returning ~Escapable type requires '-enable-experimental-feature LifetimeDependence'
22 | bytes: UnsafeBufferPointer<UInt8>,
23 | destination: Destination
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:20:3: error: attribute requires '-enable-experimental-feature AllowUnsafeAttribute'
18 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
19 | @_lifetime(borrow bytes)
20 | @unsafe
| `- error: attribute requires '-enable-experimental-feature AllowUnsafeAttribute'
21 | public init(
22 | bytes: UnsafeBufferPointer<UInt8>,
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:19:4: error: unknown attribute '_lifetime'
17 | /// As soon as the type is destroyed/consumed, you get ownership of the bytes
18 | /// Any deallocation of the bytes should happen after JSONTokenizer is destroyed/consumed
19 | @_lifetime(borrow bytes)
| `- error: unknown attribute '_lifetime'
20 | @unsafe
21 | public init(
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:58:4: error: unknown attribute '_lifetime'
56 | /// Advances the amount of bytes processed and updates the related offset and count
57 | @usableFromInline
58 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
59 | internal mutating func advance(_ offset: Int) {
60 | currentOffset += offset
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:87:4: error: unknown attribute '_lifetime'
85 | @_optimize(speed)
86 | @usableFromInline
87 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
88 | mutating func _skipWhitespace() {
89 | let searchEnd = unsafe bytes.count
/host/spi-builder-workspace/Sources/_JSONCore/Parser/JSONTokenizer.swift:145:4: error: unknown attribute '_lifetime'
143 | @inline(__always)
144 | @usableFromInline
145 | @_lifetime(self: copy self)
| `- error: unknown attribute '_lifetime'
146 | internal mutating func skipWhitespace() throws(JSONParserError) {
147 | _skipWhitespace()
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:20:15: error: expected '{' after 'if' condition
18 | let alignedStart = (i + 7) & ~7
19 | while i < min(alignedStart, count) {
20 | if unsafe baseAddress[i] == target {
| `- error: expected '{' after 'if' condition
21 | return i
22 | }
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:28:22: error: consecutive statements on a line must be separated by ';'
26 | // Process 8 bytes at a time
27 | while i &+ 8 <= count {
28 | let word = unsafe baseAddress.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: consecutive statements on a line must be separated by ';'
29 |
30 | // XOR with target broadcast to all bytes - matching bytes become 0x00
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:28:107: error: consecutive statements on a line must be separated by ';'
26 | // Process 8 bytes at a time
27 | while i &+ 8 <= count {
28 | let word = unsafe baseAddress.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: consecutive statements on a line must be separated by ';'
29 |
30 | // XOR with target broadcast to all bytes - matching bytes become 0x00
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:48:15: error: expected '{' after 'if' condition
46 | // Process remaining bytes
47 | while i < count {
48 | if unsafe baseAddress[i] == target {
| `- error: expected '{' after 'if' condition
49 | return i
50 | }
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:74:22: error: consecutive statements on a line must be separated by ';'
72 | let alignedStart = (i + 7) & ~7
73 | while i < min(alignedStart, count) {
74 | let byte = unsafe baseAddress[i]
| `- error: consecutive statements on a line must be separated by ';'
75 | if byte == target1 || byte == target2 {
76 | return i
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:83:22: error: consecutive statements on a line must be separated by ';'
81 | // Process 8 bytes at a time
82 | while i &+ 8 <= count {
83 | let word = unsafe baseAddress.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: consecutive statements on a line must be separated by ';'
84 |
85 | // Check for target1
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:83:107: error: consecutive statements on a line must be separated by ';'
81 | // Process 8 bytes at a time
82 | while i &+ 8 <= count {
83 | let word = unsafe baseAddress.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: consecutive statements on a line must be separated by ';'
84 |
85 | // Check for target1
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:105:22: error: consecutive statements on a line must be separated by ';'
103 | // Process remaining bytes
104 | while i < count {
105 | let byte = unsafe baseAddress[i]
| `- error: consecutive statements on a line must be separated by ';'
106 | if byte == target1 || byte == target2 {
107 | return i
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:132:22: error: consecutive statements on a line must be separated by ';'
130 | let alignedStart = (i + 7) & ~7
131 | while i < min(alignedStart, count) {
132 | let byte = unsafe baseAddress[i]
| `- error: consecutive statements on a line must be separated by ';'
133 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
134 | return i - offset
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:148:24: error: consecutive statements on a line must be separated by ';'
146 | // Check if any of the 8 bytes is non-whitespace
147 | for j in 0..<8 {
148 | let byte = unsafe baseAddress[i &+ j]
| `- error: consecutive statements on a line must be separated by ';'
149 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
150 | return (i &+ j) - offset
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:158:22: error: consecutive statements on a line must be separated by ';'
156 | // Process remaining bytes
157 | while i < count {
158 | let byte = unsafe baseAddress[i]
| `- error: consecutive statements on a line must be separated by ';'
159 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
160 | return i - offset
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:20:8: error: cannot find 'unsafe' in scope
18 | let alignedStart = (i + 7) & ~7
19 | while i < min(alignedStart, count) {
20 | if unsafe baseAddress[i] == target {
| `- error: cannot find 'unsafe' in scope
21 | return i
22 | }
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:28:16: error: cannot find 'unsafe' in scope
26 | // Process 8 bytes at a time
27 | while i &+ 8 <= count {
28 | let word = unsafe baseAddress.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: cannot find 'unsafe' in scope
29 |
30 | // XOR with target broadcast to all bytes - matching bytes become 0x00
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:28:101: error: cannot find 'unsafe' in scope
26 | // Process 8 bytes at a time
27 | while i &+ 8 <= count {
28 | let word = unsafe baseAddress.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: cannot find 'unsafe' in scope
29 |
30 | // XOR with target broadcast to all bytes - matching bytes become 0x00
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:48:8: error: cannot find 'unsafe' in scope
46 | // Process remaining bytes
47 | while i < count {
48 | if unsafe baseAddress[i] == target {
| `- error: cannot find 'unsafe' in scope
49 | return i
50 | }
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:74:16: error: cannot find 'unsafe' in scope
72 | let alignedStart = (i + 7) & ~7
73 | while i < min(alignedStart, count) {
74 | let byte = unsafe baseAddress[i]
| `- error: cannot find 'unsafe' in scope
75 | if byte == target1 || byte == target2 {
76 | return i
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:74:34: warning: expression of type 'UInt8' is unused
72 | let alignedStart = (i + 7) & ~7
73 | while i < min(alignedStart, count) {
74 | let byte = unsafe baseAddress[i]
| `- warning: expression of type 'UInt8' is unused
75 | if byte == target1 || byte == target2 {
76 | return i
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:83:16: error: cannot find 'unsafe' in scope
81 | // Process 8 bytes at a time
82 | while i &+ 8 <= count {
83 | let word = unsafe baseAddress.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: cannot find 'unsafe' in scope
84 |
85 | // Check for target1
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:83:101: error: cannot find 'unsafe' in scope
81 | // Process 8 bytes at a time
82 | while i &+ 8 <= count {
83 | let word = unsafe baseAddress.advanced(by: i).withMemoryRebound(to: UInt64.self, capacity: 1) { unsafe $0.pointee }
| `- error: cannot find 'unsafe' in scope
84 |
85 | // Check for target1
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:105:16: error: cannot find 'unsafe' in scope
103 | // Process remaining bytes
104 | while i < count {
105 | let byte = unsafe baseAddress[i]
| `- error: cannot find 'unsafe' in scope
106 | if byte == target1 || byte == target2 {
107 | return i
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:105:34: warning: expression of type 'UInt8' is unused
103 | // Process remaining bytes
104 | while i < count {
105 | let byte = unsafe baseAddress[i]
| `- warning: expression of type 'UInt8' is unused
106 | if byte == target1 || byte == target2 {
107 | return i
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:132:16: error: cannot find 'unsafe' in scope
130 | let alignedStart = (i + 7) & ~7
131 | while i < min(alignedStart, count) {
132 | let byte = unsafe baseAddress[i]
| `- error: cannot find 'unsafe' in scope
133 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
134 | return i - offset
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:132:34: warning: expression of type 'UInt8' is unused
130 | let alignedStart = (i + 7) & ~7
131 | while i < min(alignedStart, count) {
132 | let byte = unsafe baseAddress[i]
| `- warning: expression of type 'UInt8' is unused
133 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
134 | return i - offset
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:148:18: error: cannot find 'unsafe' in scope
146 | // Check if any of the 8 bytes is non-whitespace
147 | for j in 0..<8 {
148 | let byte = unsafe baseAddress[i &+ j]
| `- error: cannot find 'unsafe' in scope
149 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
150 | return (i &+ j) - offset
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:148:36: warning: expression of type 'UInt8' is unused
146 | // Check if any of the 8 bytes is non-whitespace
147 | for j in 0..<8 {
148 | let byte = unsafe baseAddress[i &+ j]
| `- warning: expression of type 'UInt8' is unused
149 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
150 | return (i &+ j) - offset
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:158:16: error: cannot find 'unsafe' in scope
156 | // Process remaining bytes
157 | while i < count {
158 | let byte = unsafe baseAddress[i]
| `- error: cannot find 'unsafe' in scope
159 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
160 | return i - offset
/host/spi-builder-workspace/Sources/_JSONCore/SIMD/FastScanner.swift:158:34: warning: expression of type 'UInt8' is unused
156 | // Process remaining bytes
157 | while i < count {
158 | let byte = unsafe baseAddress[i]
| `- warning: expression of type 'UInt8' is unused
159 | if byte != 0x20 && byte != 0x09 && byte != 0x0A && byte != 0x0D {
160 | return i - offset
[23/61] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[24/61] Compiling InternalCollectionsUtilities Debugging.swift
[25/61] Compiling InternalCollectionsUtilities Descriptions.swift
[26/61] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
BUILD FAILURE 6.1 wasm